Skip to content

Commit b197b9c

Browse files
feat(bigtableadmin): update the api
#### bigtableadmin:v2 The following keys were added: - resources.operations.methods.cancel (Total Keys: 11) - resources.operations.methods.delete (Total Keys: 11) - resources.projects.resources.locations.methods.get (Total Keys: 11)
1 parent 46362d5 commit b197b9c

File tree

3 files changed

+164
-1
lines changed

3 files changed

+164
-1
lines changed

docs/dyn/bigtableadmin_v2.operations.html

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,18 +79,60 @@ <h2>Instance Methods</h2>
7979
</p>
8080
<p class="firstline">Returns the projects Resource.</p>
8181

82+
<p class="toc_element">
83+
<code><a href="#cancel">cancel(name, x__xgafv=None)</a></code></p>
84+
<p class="firstline">Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.</p>
8285
<p class="toc_element">
8386
<code><a href="#close">close()</a></code></p>
8487
<p class="firstline">Close httplib2 connections.</p>
88+
<p class="toc_element">
89+
<code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
90+
<p class="firstline">Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.</p>
8591
<p class="toc_element">
8692
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
8793
<p class="firstline">Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.</p>
8894
<h3>Method Details</h3>
95+
<div class="method">
96+
<code class="details" id="cancel">cancel(name, x__xgafv=None)</code>
97+
<pre>Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn&#x27;t support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
98+
99+
Args:
100+
name: string, The name of the operation resource to be cancelled. (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+
{ # 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); }
110+
}</pre>
111+
</div>
112+
89113
<div class="method">
90114
<code class="details" id="close">close()</code>
91115
<pre>Close httplib2 connections.</pre>
92116
</div>
93117

118+
<div class="method">
119+
<code class="details" id="delete">delete(name, x__xgafv=None)</code>
120+
<pre>Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn&#x27;t support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
121+
122+
Args:
123+
name: string, The name of the operation resource to be deleted. (required)
124+
x__xgafv: string, V1 error format.
125+
Allowed values
126+
1 - v1 error format
127+
2 - v2 error format
128+
129+
Returns:
130+
An object of the form:
131+
132+
{ # 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); }
133+
}</pre>
134+
</div>
135+
94136
<div class="method">
95137
<code class="details" id="get">get(name, x__xgafv=None)</code>
96138
<pre>Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

docs/dyn/bigtableadmin_v2.projects.locations.html

Lines changed: 30 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="#get">get(name, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Gets information about a location.</p>
8083
<p class="toc_element">
8184
<code><a href="#list">list(name, extraLocationTypes=None, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
8285
<p class="firstline">Lists information about the supported locations for this service.</p>
@@ -89,6 +92,33 @@ <h3>Method Details</h3>
8992
<pre>Close httplib2 connections.</pre>
9093
</div>
9194

95+
<div class="method">
96+
<code class="details" id="get">get(name, x__xgafv=None)</code>
97+
<pre>Gets information about a location.
98+
99+
Args:
100+
name: string, Resource name for the location. (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+
{ # A resource that represents a Google Cloud location.
110+
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
111+
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
112+
&quot;a_key&quot;: &quot;A String&quot;,
113+
},
114+
&quot;locationId&quot;: &quot;A String&quot;, # The canonical id for this location. For example: `&quot;us-east1&quot;`.
115+
&quot;metadata&quot;: { # Service-specific metadata. For example the available capacity at the given location.
116+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
117+
},
118+
&quot;name&quot;: &quot;A String&quot;, # Resource name for the location, which may vary between implementations. For example: `&quot;projects/example-project/locations/us-east1&quot;`
119+
}</pre>
120+
</div>
121+
92122
<div class="method">
93123
<code class="details" id="list">list(name, extraLocationTypes=None, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
94124
<pre>Lists information about the supported locations for this service.

googleapiclient/discovery_cache/documents/bigtableadmin.v2.json

Lines changed: 92 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,66 @@
131131
"resources": {
132132
"operations": {
133133
"methods": {
134+
"cancel": {
135+
"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.",
136+
"flatPath": "v2/operations/{operationsId}:cancel",
137+
"httpMethod": "POST",
138+
"id": "bigtableadmin.operations.cancel",
139+
"parameterOrder": [
140+
"name"
141+
],
142+
"parameters": {
143+
"name": {
144+
"description": "The name of the operation resource to be cancelled.",
145+
"location": "path",
146+
"pattern": "^operations/.*$",
147+
"required": true,
148+
"type": "string"
149+
}
150+
},
151+
"path": "v2/{+name}:cancel",
152+
"response": {
153+
"$ref": "Empty"
154+
},
155+
"scopes": [
156+
"https://www.googleapis.com/auth/bigtable.admin",
157+
"https://www.googleapis.com/auth/bigtable.admin.cluster",
158+
"https://www.googleapis.com/auth/bigtable.admin.instance",
159+
"https://www.googleapis.com/auth/cloud-bigtable.admin",
160+
"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster",
161+
"https://www.googleapis.com/auth/cloud-platform"
162+
]
163+
},
164+
"delete": {
165+
"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.",
166+
"flatPath": "v2/operations/{operationsId}",
167+
"httpMethod": "DELETE",
168+
"id": "bigtableadmin.operations.delete",
169+
"parameterOrder": [
170+
"name"
171+
],
172+
"parameters": {
173+
"name": {
174+
"description": "The name of the operation resource to be deleted.",
175+
"location": "path",
176+
"pattern": "^operations/.*$",
177+
"required": true,
178+
"type": "string"
179+
}
180+
},
181+
"path": "v2/{+name}",
182+
"response": {
183+
"$ref": "Empty"
184+
},
185+
"scopes": [
186+
"https://www.googleapis.com/auth/bigtable.admin",
187+
"https://www.googleapis.com/auth/bigtable.admin.cluster",
188+
"https://www.googleapis.com/auth/bigtable.admin.instance",
189+
"https://www.googleapis.com/auth/cloud-bigtable.admin",
190+
"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster",
191+
"https://www.googleapis.com/auth/cloud-platform"
192+
]
193+
},
134194
"get": {
135195
"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
136196
"flatPath": "v2/operations/{operationsId}",
@@ -2719,6 +2779,37 @@
27192779
},
27202780
"locations": {
27212781
"methods": {
2782+
"get": {
2783+
"description": "Gets information about a location.",
2784+
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}",
2785+
"httpMethod": "GET",
2786+
"id": "bigtableadmin.projects.locations.get",
2787+
"parameterOrder": [
2788+
"name"
2789+
],
2790+
"parameters": {
2791+
"name": {
2792+
"description": "Resource name for the location.",
2793+
"location": "path",
2794+
"pattern": "^projects/[^/]+/locations/[^/]+$",
2795+
"required": true,
2796+
"type": "string"
2797+
}
2798+
},
2799+
"path": "v2/{+name}",
2800+
"response": {
2801+
"$ref": "Location"
2802+
},
2803+
"scopes": [
2804+
"https://www.googleapis.com/auth/bigtable.admin",
2805+
"https://www.googleapis.com/auth/bigtable.admin.cluster",
2806+
"https://www.googleapis.com/auth/bigtable.admin.instance",
2807+
"https://www.googleapis.com/auth/cloud-bigtable.admin",
2808+
"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster",
2809+
"https://www.googleapis.com/auth/cloud-platform",
2810+
"https://www.googleapis.com/auth/cloud-platform.read-only"
2811+
]
2812+
},
27222813
"list": {
27232814
"description": "Lists information about the supported locations for this service.",
27242815
"flatPath": "v2/projects/{projectsId}/locations",
@@ -2777,7 +2868,7 @@
27772868
}
27782869
}
27792870
},
2780-
"revision": "20250430",
2871+
"revision": "20250512",
27812872
"rootUrl": "https://bigtableadmin.googleapis.com/",
27822873
"schemas": {
27832874
"AppProfile": {

0 commit comments

Comments
 (0)