| 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></h1> |
| 76 |
<h2>Instance Methods</h2> |
| 77 |
<p class="toc_element"> |
| 78 |
<code><a href="managedkafka_v1.projects.locations.schemaRegistries.compatibility.html">compatibility()</a></code> |
| 79 |
</p> |
| 80 |
<p class="firstline">Returns the compatibility Resource.</p> |
| 81 |
|
| 82 |
<p class="toc_element"> |
| 83 |
<code><a href="managedkafka_v1.projects.locations.schemaRegistries.config.html">config()</a></code> |
| 84 |
</p> |
| 85 |
<p class="firstline">Returns the config Resource.</p> |
| 86 |
|
| 87 |
<p class="toc_element"> |
| 88 |
<code><a href="managedkafka_v1.projects.locations.schemaRegistries.contexts.html">contexts()</a></code> |
| 89 |
</p> |
| 90 |
<p class="firstline">Returns the contexts Resource.</p> |
| 91 |
|
| 92 |
<p class="toc_element"> |
| 93 |
<code><a href="managedkafka_v1.projects.locations.schemaRegistries.mode.html">mode()</a></code> |
| 94 |
</p> |
| 95 |
<p class="firstline">Returns the mode Resource.</p> |
| 96 |
|
| 97 |
<p class="toc_element"> |
| 98 |
<code><a href="managedkafka_v1.projects.locations.schemaRegistries.schemas.html">schemas()</a></code> |
| 99 |
</p> |
| 100 |
<p class="firstline">Returns the schemas Resource.</p> |
| 101 |
|
| 102 |
<p class="toc_element"> |
| 103 |
<code><a href="managedkafka_v1.projects.locations.schemaRegistries.subjects.html">subjects()</a></code> |
| 104 |
</p> |
| 105 |
<p class="firstline">Returns the subjects Resource.</p> |
| 106 |
|
| 107 |
<p class="toc_element"> |
| 108 |
<code><a href="#close">close()</a></code></p> |
| 109 |
<p class="firstline">Close httplib2 connections.</p> |
| 110 |
<p class="toc_element"> |
| 111 |
<code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p> |
| 112 |
<p class="firstline">Create a schema registry instance.</p> |
| 113 |
<p class="toc_element"> |
| 114 |
<code><a href="#delete">delete(name, x__xgafv=None)</a></code></p> |
| 115 |
<p class="firstline">Delete a schema registry instance.</p> |
| 116 |
<p class="toc_element"> |
| 117 |
<code><a href="#get">get(name, x__xgafv=None)</a></code></p> |
| 118 |
<p class="firstline">Get the schema registry instance.</p> |
| 119 |
<p class="toc_element"> |
| 120 |
<code><a href="#list">list(parent, view=None, x__xgafv=None)</a></code></p> |
| 121 |
<p class="firstline">List schema registries.</p> |
| 122 |
<h3>Method Details</h3> |
| 123 |
<div class="method"> |
| 124 |
<code class="details" id="close">close()</code> |
| 125 |
<pre>Close httplib2 connections.</pre> |
| 126 |
</div> |
| 127 |
|
| 128 |
<div class="method"> |
| 129 |
<code class="details" id="create">create(parent, body=None, x__xgafv=None)</code> |
| 130 |
<pre>Create a schema registry instance. |
| 131 |
|
| 132 |
Args: |
| 133 |
parent: string, Required. The parent whose schema registry instance is to be created. Structured like: `projects/{project}/locations/{location}` (required) |
| 134 |
body: object, The request body. |
| 135 |
The object takes the form of: |
| 136 |
|
| 137 |
{ # Request to create a schema registry instance. |
| 138 |
"schemaRegistry": { # SchemaRegistry is a schema registry instance. # Required. The schema registry instance to create. The name field is ignored. |
| 139 |
"contexts": [ # Output only. The contexts of the schema registry instance. |
| 140 |
"A String", |
| 141 |
], |
| 142 |
"name": "A String", # Identifier. The name of the schema registry instance. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}` The instance name {schema_registry} can contain the following: * Up to 255 characters. * Letters (uppercase or lowercase), numbers, and underscores. |
| 143 |
}, |
| 144 |
"schemaRegistryId": "A String", # Required. The schema registry instance ID to use for this schema registry. The ID must contain only letters (a-z, A-Z), numbers (0-9), and underscores (-). The maximum length is 63 characters. The ID must not start with a number. |
| 145 |
} |
| 146 |
|
| 147 |
x__xgafv: string, V1 error format. |
| 148 |
Allowed values |
| 149 |
1 - v1 error format |
| 150 |
2 - v2 error format |
| 151 |
|
| 152 |
Returns: |
| 153 |
An object of the form: |
| 154 |
|
| 155 |
{ # SchemaRegistry is a schema registry instance. |
| 156 |
"contexts": [ # Output only. The contexts of the schema registry instance. |
| 157 |
"A String", |
| 158 |
], |
| 159 |
"name": "A String", # Identifier. The name of the schema registry instance. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}` The instance name {schema_registry} can contain the following: * Up to 255 characters. * Letters (uppercase or lowercase), numbers, and underscores. |
| 160 |
}</pre> |
| 161 |
</div> |
| 162 |
|
| 163 |
<div class="method"> |
| 164 |
<code class="details" id="delete">delete(name, x__xgafv=None)</code> |
| 165 |
<pre>Delete a schema registry instance. |
| 166 |
|
| 167 |
Args: |
| 168 |
name: string, Required. The name of the schema registry instance to delete. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}` (required) |
| 169 |
x__xgafv: string, V1 error format. |
| 170 |
Allowed values |
| 171 |
1 - v1 error format |
| 172 |
2 - v2 error format |
| 173 |
|
| 174 |
Returns: |
| 175 |
An object of the form: |
| 176 |
|
| 177 |
{ # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } |
| 178 |
}</pre> |
| 179 |
</div> |
| 180 |
|
| 181 |
<div class="method"> |
| 182 |
<code class="details" id="get">get(name, x__xgafv=None)</code> |
| 183 |
<pre>Get the schema registry instance. |
| 184 |
|
| 185 |
Args: |
| 186 |
name: string, Required. The name of the schema registry instance to return. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}` (required) |
| 187 |
x__xgafv: string, V1 error format. |
| 188 |
Allowed values |
| 189 |
1 - v1 error format |
| 190 |
2 - v2 error format |
| 191 |
|
| 192 |
Returns: |
| 193 |
An object of the form: |
| 194 |
|
| 195 |
{ # SchemaRegistry is a schema registry instance. |
| 196 |
"contexts": [ # Output only. The contexts of the schema registry instance. |
| 197 |
"A String", |
| 198 |
], |
| 199 |
"name": "A String", # Identifier. The name of the schema registry instance. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}` The instance name {schema_registry} can contain the following: * Up to 255 characters. * Letters (uppercase or lowercase), numbers, and underscores. |
| 200 |
}</pre> |
| 201 |
</div> |
| 202 |
|
| 203 |
<div class="method"> |
| 204 |
<code class="details" id="list">list(parent, view=None, x__xgafv=None)</code> |
| 205 |
<pre>List schema registries. |
| 206 |
|
| 207 |
Args: |
| 208 |
parent: string, Required. The parent whose schema registry instances are to be listed. Structured like: `projects/{project}/locations/{location}` (required) |
| 209 |
view: string, Optional. Specifies the view to return for the schema registry instances. If not specified, the default view is SCHEMA_REGISTRY_VIEW_BASIC. |
| 210 |
Allowed values |
| 211 |
SCHEMA_REGISTRY_VIEW_UNSPECIFIED - The unset value. The API will default to SCHEMA_REGISTRY_VIEW_BASIC. |
| 212 |
SCHEMA_REGISTRY_VIEW_BASIC - If SchemaRegistryView is not specified, this is the default value. Returns only the name of the schema registry. The contexts associated with it are not included. |
| 213 |
SCHEMA_REGISTRY_VIEW_FULL - Returns the name of the schema registry and all the contexts associated with it. |
| 214 |
x__xgafv: string, V1 error format. |
| 215 |
Allowed values |
| 216 |
1 - v1 error format |
| 217 |
2 - v2 error format |
| 218 |
|
| 219 |
Returns: |
| 220 |
An object of the form: |
| 221 |
|
| 222 |
{ # Request for ListSchemaRegistries. |
| 223 |
"schemaRegistries": [ # The schema registry instances. |
| 224 |
{ # SchemaRegistry is a schema registry instance. |
| 225 |
"contexts": [ # Output only. The contexts of the schema registry instance. |
| 226 |
"A String", |
| 227 |
], |
| 228 |
"name": "A String", # Identifier. The name of the schema registry instance. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}` The instance name {schema_registry} can contain the following: * Up to 255 characters. * Letters (uppercase or lowercase), numbers, and underscores. |
| 229 |
}, |
| 230 |
], |
| 231 |
}</pre> |
| 232 |
</div> |
| 233 |
|
| 234 |
</body></html> |