Skip to content

Commit 621cc86

Browse files
feat(managedkafka): update the api
#### managedkafka:v1 The following keys were added: - resources.projects.resources.locations.resources.schemaRegistries.methods.create (Total Keys: 12) - resources.projects.resources.locations.resources.schemaRegistries.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.schemaRegistries.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.schemaRegistries.methods.list (Total Keys: 11) - resources.projects.resources.locations.resources.schemaRegistries.resources.compatibility.methods.checkCompatibility (Total Keys: 12) - resources.projects.resources.locations.resources.schemaRegistries.resources.config.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.schemaRegistries.resources.config.methods.get (Total Keys: 13) - resources.projects.resources.locations.resources.schemaRegistries.resources.config.methods.update (Total Keys: 12) - resources.projects.resources.locations.resources.schemaRegistries.resources.contexts.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.schemaRegistries.resources.contexts.methods.list (Total Keys: 11) - resources.projects.resources.locations.resources.schemaRegistries.resources.contexts.resources.compatibility.methods.checkCompatibility (Total Keys: 12) - resources.projects.resources.locations.resources.schemaRegistries.resources.contexts.resources.config.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.schemaRegistries.resources.contexts.resources.config.methods.get (Total Keys: 13) - resources.projects.resources.locations.resources.schemaRegistries.resources.contexts.resources.config.methods.update (Total Keys: 12) - resources.projects.resources.locations.resources.schemaRegistries.resources.contexts.resources.mode.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.schemaRegistries.resources.contexts.resources.mode.methods.update (Total Keys: 12) - resources.projects.resources.locations.resources.schemaRegistries.resources.contexts.resources.schemas.methods.get (Total Keys: 26) - resources.projects.resources.locations.resources.schemaRegistries.resources.contexts.resources.schemas.resources.subjects.methods.list (Total Keys: 15) - resources.projects.resources.locations.resources.schemaRegistries.resources.contexts.resources.schemas.resources.types.methods.list (Total Keys: 11) - resources.projects.resources.locations.resources.schemaRegistries.resources.contexts.resources.schemas.resources.versions.methods.list (Total Keys: 15) - resources.projects.resources.locations.resources.schemaRegistries.resources.contexts.resources.subjects.methods.delete (Total Keys: 13) - resources.projects.resources.locations.resources.schemaRegistries.resources.contexts.resources.subjects.methods.list (Total Keys: 15) - resources.projects.resources.locations.resources.schemaRegistries.resources.contexts.resources.subjects.methods.lookupVersion (Total Keys: 12) - resources.projects.resources.locations.resources.schemaRegistries.resources.contexts.resources.subjects.resources.versions.methods.create (Total Keys: 12) - resources.projects.resources.locations.resources.schemaRegistries.resources.contexts.resources.subjects.resources.versions.methods.delete (Total Keys: 13) - resources.projects.resources.locations.resources.schemaRegistries.resources.contexts.resources.subjects.resources.versions.methods.get (Total Keys: 26) - resources.projects.resources.locations.resources.schemaRegistries.resources.contexts.resources.subjects.resources.versions.methods.list (Total Keys: 13) - resources.projects.resources.locations.resources.schemaRegistries.resources.contexts.resources.subjects.resources.versions.resources.referencedby.methods.list (Total Keys: 11) - resources.projects.resources.locations.resources.schemaRegistries.resources.mode.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.schemaRegistries.resources.mode.methods.update (Total Keys: 12) - resources.projects.resources.locations.resources.schemaRegistries.resources.schemas.methods.get (Total Keys: 26) - resources.projects.resources.locations.resources.schemaRegistries.resources.schemas.resources.subjects.methods.list (Total Keys: 15) - resources.projects.resources.locations.resources.schemaRegistries.resources.schemas.resources.types.methods.list (Total Keys: 11) - resources.projects.resources.locations.resources.schemaRegistries.resources.schemas.resources.versions.methods.list (Total Keys: 15) - resources.projects.resources.locations.resources.schemaRegistries.resources.subjects.methods.delete (Total Keys: 13) - resources.projects.resources.locations.resources.schemaRegistries.resources.subjects.methods.list (Total Keys: 15) - resources.projects.resources.locations.resources.schemaRegistries.resources.subjects.methods.lookupVersion (Total Keys: 12) - resources.projects.resources.locations.resources.schemaRegistries.resources.subjects.resources.versions.methods.create (Total Keys: 12) - resources.projects.resources.locations.resources.schemaRegistries.resources.subjects.resources.versions.methods.delete (Total Keys: 13) - resources.projects.resources.locations.resources.schemaRegistries.resources.subjects.resources.versions.methods.get (Total Keys: 26) - resources.projects.resources.locations.resources.schemaRegistries.resources.subjects.resources.versions.methods.list (Total Keys: 13) - resources.projects.resources.locations.resources.schemaRegistries.resources.subjects.resources.versions.resources.referencedby.methods.list (Total Keys: 11) - schemas.CheckCompatibilityRequest (Total Keys: 7) - schemas.CheckCompatibilityResponse (Total Keys: 5) - schemas.Context (Total Keys: 5) - schemas.CreateSchemaRegistryRequest (Total Keys: 4) - schemas.CreateVersionRequest (Total Keys: 11) - schemas.CreateVersionResponse (Total Keys: 4) - schemas.HttpBody (Total Keys: 8) - schemas.ListSchemaRegistriesResponse (Total Keys: 4) - schemas.LookupVersionRequest (Total Keys: 8) - schemas.Schema (Total Keys: 37) - schemas.UpdateSchemaConfigRequest (Total Keys: 4) - schemas.UpdateSchemaModeRequest (Total Keys: 3)
1 parent 1965941 commit 621cc86

File tree

24 files changed

+5303
-1
lines changed

24 files changed

+5303
-1
lines changed

docs/dyn/managedkafka_v1.projects.locations.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@ <h2>Instance Methods</h2>
8989
</p>
9090
<p class="firstline">Returns the operations Resource.</p>
9191

92+
<p class="toc_element">
93+
<code><a href="managedkafka_v1.projects.locations.schemaRegistries.html">schemaRegistries()</a></code>
94+
</p>
95+
<p class="firstline">Returns the schemaRegistries Resource.</p>
96+
9297
<p class="toc_element">
9398
<code><a href="#close">close()</a></code></p>
9499
<p class="firstline">Close httplib2 connections.</p>
Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
<html><body>
2+
<style>
3+
4+
body, h1, h2, h3, div, span, p, pre, a {
5+
margin: 0;
6+
padding: 0;
7+
border: 0;
8+
font-weight: inherit;
9+
font-style: inherit;
10+
font-size: 100%;
11+
font-family: inherit;
12+
vertical-align: baseline;
13+
}
14+
15+
body {
16+
font-size: 13px;
17+
padding: 1em;
18+
}
19+
20+
h1 {
21+
font-size: 26px;
22+
margin-bottom: 1em;
23+
}
24+
25+
h2 {
26+
font-size: 24px;
27+
margin-bottom: 1em;
28+
}
29+
30+
h3 {
31+
font-size: 20px;
32+
margin-bottom: 1em;
33+
margin-top: 1em;
34+
}
35+
36+
pre, code {
37+
line-height: 1.5;
38+
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39+
}
40+
41+
pre {
42+
margin-top: 0.5em;
43+
}
44+
45+
h1, h2, h3, p {
46+
font-family: Arial, sans serif;
47+
}
48+
49+
h1, h2, h3 {
50+
border-bottom: solid #CCC 1px;
51+
}
52+
53+
.toc_element {
54+
margin-top: 0.5em;
55+
}
56+
57+
.firstline {
58+
margin-left: 2 em;
59+
}
60+
61+
.method {
62+
margin-top: 1em;
63+
border: solid 1px #CCC;
64+
padding: 1em;
65+
background: #EEE;
66+
}
67+
68+
.details {
69+
font-weight: bold;
70+
font-size: 14px;
71+
}
72+
73+
</style>
74+
75+
<h1><a href="managedkafka_v1.html">Managed Service for Apache Kafka API</a> . <a href="managedkafka_v1.projects.html">projects</a> . <a href="managedkafka_v1.projects.locations.html">locations</a> . <a href="managedkafka_v1.projects.locations.schemaRegistries.html">schemaRegistries</a> . <a href="managedkafka_v1.projects.locations.schemaRegistries.compatibility.html">compatibility</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="#checkCompatibility">checkCompatibility(name, body=None, x__xgafv=None)</a></code></p>
79+
<p class="firstline">Check compatibility of a schema with all versions or a specific version of a subject.</p>
80+
<p class="toc_element">
81+
<code><a href="#close">close()</a></code></p>
82+
<p class="firstline">Close httplib2 connections.</p>
83+
<h3>Method Details</h3>
84+
<div class="method">
85+
<code class="details" id="checkCompatibility">checkCompatibility(name, body=None, x__xgafv=None)</code>
86+
<pre>Check compatibility of a schema with all versions or a specific version of a subject.
87+
88+
Args:
89+
name: string, Required. The name of the resource to check compatibility for. The format is either of following: * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/compatibility/subjects/*/versions: Check compatibility with one or more versions of the specified subject. * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/compatibility/subjects/{subject}/versions/{version}: Check compatibility with a specific version of the subject. (required)
90+
body: object, The request body.
91+
The object takes the form of:
92+
93+
{ # Request for CheckCompatibility.
94+
&quot;references&quot;: [ # Optional. The schema references used by the schema.
95+
{ # SchemaReference is a reference to a schema.
96+
&quot;name&quot;: &quot;A String&quot;, # Required. The name of the reference.
97+
&quot;subject&quot;: &quot;A String&quot;, # Required. The subject of the reference.
98+
&quot;version&quot;: 42, # Required. The version of the reference.
99+
},
100+
],
101+
&quot;schema&quot;: &quot;A String&quot;, # Required. The schema payload
102+
&quot;schemaType&quot;: &quot;A String&quot;, # Optional. The schema type of the schema.
103+
&quot;verbose&quot;: True or False, # Optional. If true, the response will contain the compatibility check result with reasons for failed checks. The default is false.
104+
}
105+
106+
x__xgafv: string, V1 error format.
107+
Allowed values
108+
1 - v1 error format
109+
2 - v2 error format
110+
111+
Returns:
112+
An object of the form:
113+
114+
{ # Response for CheckCompatibility.
115+
&quot;is_compatible&quot;: True or False, # The compatibility check result. If true, the schema is compatible with the resource.
116+
&quot;messages&quot;: [ # Failure reasons if verbose = true.
117+
&quot;A String&quot;,
118+
],
119+
}</pre>
120+
</div>
121+
122+
<div class="method">
123+
<code class="details" id="close">close()</code>
124+
<pre>Close httplib2 connections.</pre>
125+
</div>
126+
127+
</body></html>
Lines changed: 167 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,167 @@
1+
<html><body>
2+
<style>
3+
4+
body, h1, h2, h3, div, span, p, pre, a {
5+
margin: 0;
6+
padding: 0;
7+
border: 0;
8+
font-weight: inherit;
9+
font-style: inherit;
10+
font-size: 100%;
11+
font-family: inherit;
12+
vertical-align: baseline;
13+
}
14+
15+
body {
16+
font-size: 13px;
17+
padding: 1em;
18+
}
19+
20+
h1 {
21+
font-size: 26px;
22+
margin-bottom: 1em;
23+
}
24+
25+
h2 {
26+
font-size: 24px;
27+
margin-bottom: 1em;
28+
}
29+
30+
h3 {
31+
font-size: 20px;
32+
margin-bottom: 1em;
33+
margin-top: 1em;
34+
}
35+
36+
pre, code {
37+
line-height: 1.5;
38+
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39+
}
40+
41+
pre {
42+
margin-top: 0.5em;
43+
}
44+
45+
h1, h2, h3, p {
46+
font-family: Arial, sans serif;
47+
}
48+
49+
h1, h2, h3 {
50+
border-bottom: solid #CCC 1px;
51+
}
52+
53+
.toc_element {
54+
margin-top: 0.5em;
55+
}
56+
57+
.firstline {
58+
margin-left: 2 em;
59+
}
60+
61+
.method {
62+
margin-top: 1em;
63+
border: solid 1px #CCC;
64+
padding: 1em;
65+
background: #EEE;
66+
}
67+
68+
.details {
69+
font-weight: bold;
70+
font-size: 14px;
71+
}
72+
73+
</style>
74+
75+
<h1><a href="managedkafka_v1.html">Managed Service for Apache Kafka API</a> . <a href="managedkafka_v1.projects.html">projects</a> . <a href="managedkafka_v1.projects.locations.html">locations</a> . <a href="managedkafka_v1.projects.locations.schemaRegistries.html">schemaRegistries</a> . <a href="managedkafka_v1.projects.locations.schemaRegistries.config.html">config</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="#close">close()</a></code></p>
79+
<p class="firstline">Close httplib2 connections.</p>
80+
<p class="toc_element">
81+
<code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Delete schema config for a subject.</p>
83+
<p class="toc_element">
84+
<code><a href="#get">get(name, defaultToGlobal=None, x__xgafv=None)</a></code></p>
85+
<p class="firstline">Get schema config at global level or for a subject.</p>
86+
<p class="toc_element">
87+
<code><a href="#update">update(name, body=None, x__xgafv=None)</a></code></p>
88+
<p class="firstline">Update config at global level or for a subject. Creates a SchemaSubject-level SchemaConfig if it does not exist.</p>
89+
<h3>Method Details</h3>
90+
<div class="method">
91+
<code class="details" id="close">close()</code>
92+
<pre>Close httplib2 connections.</pre>
93+
</div>
94+
95+
<div class="method">
96+
<code class="details" id="delete">delete(name, x__xgafv=None)</code>
97+
<pre>Delete schema config for a subject.
98+
99+
Args:
100+
name: string, Required. The resource name of subject to delete the config for. The format is * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config/{subject} (required)
101+
x__xgafv: string, V1 error format.
102+
Allowed values
103+
1 - v1 error format
104+
2 - v2 error format
105+
106+
Returns:
107+
An object of the form:
108+
109+
{ # SchemaConfig represents configuration for a schema registry or a specific subject.
110+
&quot;alias&quot;: &quot;A String&quot;, # Optional. The subject to which this subject is an alias of. Only applicable for subject config.
111+
&quot;compatibility&quot;: &quot;A String&quot;, # Required. The compatibility type of the schema. The default value is BACKWARD. If unset in a SchemaSubject-level SchemaConfig, defaults to the global value. If unset in a SchemaRegistry-level SchemaConfig, reverts to the default value.
112+
&quot;normalize&quot;: True or False, # Optional. If true, the schema will be normalized before being stored or looked up. The default is false. If unset in a SchemaSubject-level SchemaConfig, the global value will be used. If unset in a SchemaRegistry-level SchemaConfig, reverts to the default value.
113+
}</pre>
114+
</div>
115+
116+
<div class="method">
117+
<code class="details" id="get">get(name, defaultToGlobal=None, x__xgafv=None)</code>
118+
<pre>Get schema config at global level or for a subject.
119+
120+
Args:
121+
name: string, Required. The resource name to get the config for. It can be either of following: * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config: Get config at global level. * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config/{subject}: Get config for a specific subject. (required)
122+
defaultToGlobal: boolean, Optional. If true, the config will fall back to the config at the global level if no subject level config is found.
123+
x__xgafv: string, V1 error format.
124+
Allowed values
125+
1 - v1 error format
126+
2 - v2 error format
127+
128+
Returns:
129+
An object of the form:
130+
131+
{ # SchemaConfig represents configuration for a schema registry or a specific subject.
132+
&quot;alias&quot;: &quot;A String&quot;, # Optional. The subject to which this subject is an alias of. Only applicable for subject config.
133+
&quot;compatibility&quot;: &quot;A String&quot;, # Required. The compatibility type of the schema. The default value is BACKWARD. If unset in a SchemaSubject-level SchemaConfig, defaults to the global value. If unset in a SchemaRegistry-level SchemaConfig, reverts to the default value.
134+
&quot;normalize&quot;: True or False, # Optional. If true, the schema will be normalized before being stored or looked up. The default is false. If unset in a SchemaSubject-level SchemaConfig, the global value will be used. If unset in a SchemaRegistry-level SchemaConfig, reverts to the default value.
135+
}</pre>
136+
</div>
137+
138+
<div class="method">
139+
<code class="details" id="update">update(name, body=None, x__xgafv=None)</code>
140+
<pre>Update config at global level or for a subject. Creates a SchemaSubject-level SchemaConfig if it does not exist.
141+
142+
Args:
143+
name: string, Required. The resource name to update the config for. It can be either of following: * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config: Update config at global level. * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config/{subject}: Update config for a specific subject. (required)
144+
body: object, The request body.
145+
The object takes the form of:
146+
147+
{ # Request for updating schema config. On a SchemaSubject-level SchemaConfig, an unset field will be removed from the SchemaConfig.
148+
&quot;compatibility&quot;: &quot;A String&quot;, # Required. The compatibility type of the schemas. Cannot be unset for a SchemaRegistry-level SchemaConfig. If unset on a SchemaSubject-level SchemaConfig, removes the compatibility field for the SchemaConfig.
149+
&quot;normalize&quot;: True or False, # Optional. If true, the schema will be normalized before being stored or looked up. The default is false. Cannot be unset for a SchemaRegistry-level SchemaConfig. If unset on a SchemaSubject-level SchemaConfig, removes the normalize field for the SchemaConfig.
150+
}
151+
152+
x__xgafv: string, V1 error format.
153+
Allowed values
154+
1 - v1 error format
155+
2 - v2 error format
156+
157+
Returns:
158+
An object of the form:
159+
160+
{ # SchemaConfig represents configuration for a schema registry or a specific subject.
161+
&quot;alias&quot;: &quot;A String&quot;, # Optional. The subject to which this subject is an alias of. Only applicable for subject config.
162+
&quot;compatibility&quot;: &quot;A String&quot;, # Required. The compatibility type of the schema. The default value is BACKWARD. If unset in a SchemaSubject-level SchemaConfig, defaults to the global value. If unset in a SchemaRegistry-level SchemaConfig, reverts to the default value.
163+
&quot;normalize&quot;: True or False, # Optional. If true, the schema will be normalized before being stored or looked up. The default is false. If unset in a SchemaSubject-level SchemaConfig, the global value will be used. If unset in a SchemaRegistry-level SchemaConfig, reverts to the default value.
164+
}</pre>
165+
</div>
166+
167+
</body></html>

0 commit comments

Comments
 (0)