Skip to content

Commit 8b1b10b

Browse files
feat(managedkafka): update the api
#### managedkafka:v1 The following keys were added: - resources.projects.resources.locations.resources.schemaRegistries.resources.contexts.resources.mode.methods.delete (Total Keys: 11) - resources.projects.resources.locations.resources.schemaRegistries.resources.mode.methods.delete (Total Keys: 11)
1 parent 92db902 commit 8b1b10b

File tree

3 files changed

+95
-1
lines changed

3 files changed

+95
-1
lines changed

docs/dyn/managedkafka_v1.projects.locations.schemaRegistries.contexts.mode.html

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ <h2>Instance Methods</h2>
7777
<p class="toc_element">
7878
<code><a href="#close">close()</a></code></p>
7979
<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 mode for a subject.</p>
8083
<p class="toc_element">
8184
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
8285
<p class="firstline">Get mode at global level or for a subject.</p>
@@ -89,6 +92,25 @@ <h3>Method Details</h3>
8992
<pre>Close httplib2 connections.</pre>
9093
</div>
9194

95+
<div class="method">
96+
<code class="details" id="delete">delete(name, x__xgafv=None)</code>
97+
<pre>Delete schema mode for a subject.
98+
99+
Args:
100+
name: string, Required. The resource name of subject to delete the mode for. The format is * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/mode/{subject} * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/mode/{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+
{ # SchemaMode represents the mode of a schema registry or a specific subject. Four modes are supported: * NONE: This is the default mode for a subject and essentially means that the subject does not have any mode set. This means the subject will follow the schema registry&#x27;s mode. * READONLY: The schema registry is in read-only mode. * READWRITE: The schema registry is in read-write mode, which allows limited write operations on the schema. * IMPORT: The schema registry is in import mode, which allows more editing operations on the schema for data importing purposes.
110+
&quot;mode&quot;: &quot;A String&quot;, # Required. The mode type of a schema registry (READWRITE by default) or of a subject (NONE by default, which means use the global schema registry setting).
111+
}</pre>
112+
</div>
113+
92114
<div class="method">
93115
<code class="details" id="get">get(name, x__xgafv=None)</code>
94116
<pre>Get mode at global level or for a subject.

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ <h2>Instance Methods</h2>
7777
<p class="toc_element">
7878
<code><a href="#close">close()</a></code></p>
7979
<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 mode for a subject.</p>
8083
<p class="toc_element">
8184
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
8285
<p class="firstline">Get mode at global level or for a subject.</p>
@@ -89,6 +92,25 @@ <h3>Method Details</h3>
8992
<pre>Close httplib2 connections.</pre>
9093
</div>
9194

95+
<div class="method">
96+
<code class="details" id="delete">delete(name, x__xgafv=None)</code>
97+
<pre>Delete schema mode for a subject.
98+
99+
Args:
100+
name: string, Required. The resource name of subject to delete the mode for. The format is * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/mode/{subject} * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/mode/{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+
{ # SchemaMode represents the mode of a schema registry or a specific subject. Four modes are supported: * NONE: This is the default mode for a subject and essentially means that the subject does not have any mode set. This means the subject will follow the schema registry&#x27;s mode. * READONLY: The schema registry is in read-only mode. * READWRITE: The schema registry is in read-write mode, which allows limited write operations on the schema. * IMPORT: The schema registry is in import mode, which allows more editing operations on the schema for data importing purposes.
110+
&quot;mode&quot;: &quot;A String&quot;, # Required. The mode type of a schema registry (READWRITE by default) or of a subject (NONE by default, which means use the global schema registry setting).
111+
}</pre>
112+
</div>
113+
92114
<div class="method">
93115
<code class="details" id="get">get(name, x__xgafv=None)</code>
94116
<pre>Get mode at global level or for a subject.

googleapiclient/discovery_cache/documents/managedkafka.v1.json

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1838,6 +1838,31 @@
18381838
},
18391839
"mode": {
18401840
"methods": {
1841+
"delete": {
1842+
"description": "Delete schema mode for a subject.",
1843+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/mode/{modeId}",
1844+
"httpMethod": "DELETE",
1845+
"id": "managedkafka.projects.locations.schemaRegistries.contexts.mode.delete",
1846+
"parameterOrder": [
1847+
"name"
1848+
],
1849+
"parameters": {
1850+
"name": {
1851+
"description": "Required. The resource name of subject to delete the mode for. The format is * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/mode/{subject} * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/mode/{subject}",
1852+
"location": "path",
1853+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/contexts/[^/]+/mode/.*$",
1854+
"required": true,
1855+
"type": "string"
1856+
}
1857+
},
1858+
"path": "v1/{+name}",
1859+
"response": {
1860+
"$ref": "SchemaMode"
1861+
},
1862+
"scopes": [
1863+
"https://www.googleapis.com/auth/cloud-platform"
1864+
]
1865+
},
18411866
"get": {
18421867
"description": "Get mode at global level or for a subject.",
18431868
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/contexts/{contextsId}/mode/{modeId}",
@@ -2352,6 +2377,31 @@
23522377
},
23532378
"mode": {
23542379
"methods": {
2380+
"delete": {
2381+
"description": "Delete schema mode for a subject.",
2382+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/mode/{modeId}",
2383+
"httpMethod": "DELETE",
2384+
"id": "managedkafka.projects.locations.schemaRegistries.mode.delete",
2385+
"parameterOrder": [
2386+
"name"
2387+
],
2388+
"parameters": {
2389+
"name": {
2390+
"description": "Required. The resource name of subject to delete the mode for. The format is * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/mode/{subject} * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/mode/{subject}",
2391+
"location": "path",
2392+
"pattern": "^projects/[^/]+/locations/[^/]+/schemaRegistries/[^/]+/mode/.*$",
2393+
"required": true,
2394+
"type": "string"
2395+
}
2396+
},
2397+
"path": "v1/{+name}",
2398+
"response": {
2399+
"$ref": "SchemaMode"
2400+
},
2401+
"scopes": [
2402+
"https://www.googleapis.com/auth/cloud-platform"
2403+
]
2404+
},
23552405
"get": {
23562406
"description": "Get mode at global level or for a subject.",
23572407
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/schemaRegistries/{schemaRegistriesId}/mode/{modeId}",
@@ -2869,7 +2919,7 @@
28692919
}
28702920
}
28712921
},
2872-
"revision": "20250508",
2922+
"revision": "20250529",
28732923
"rootUrl": "https://managedkafka.googleapis.com/",
28742924
"schemas": {
28752925
"AccessConfig": {

0 commit comments

Comments
 (0)