Debian Codegraph @

docs/dyn/managedkafka_v1.projects.locations.schemaRegistries.config.html

raw
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>