Skip to content

Commit b0483ab

Browse files
feat(bigqueryreservation): update the api
#### bigqueryreservation:v1 The following keys were added: - resources.projects.resources.locations.resources.capacityCommitments.methods.delete.parameters.force (Total Keys: 2) #### bigqueryreservation:v1beta1 The following keys were added: - resources.projects.resources.locations.resources.capacityCommitments.methods.delete.parameters.force (Total Keys: 2)
1 parent 518f0db commit b0483ab

File tree

4 files changed

+22
-10
lines changed

4 files changed

+22
-10
lines changed

docs/dyn/bigqueryreservation_v1.projects.locations.capacityCommitments.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ <h2>Instance Methods</h2>
8181
<code><a href="#create">create(parent, body=None, capacityCommitmentId=None, enforceSingleAdminProjectPerOrg=None, x__xgafv=None)</a></code></p>
8282
<p class="firstline">Creates a new capacity commitment resource.</p>
8383
<p class="toc_element">
84-
<code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
84+
<code><a href="#delete">delete(name, force=None, x__xgafv=None)</a></code></p>
8585
<p class="firstline">Deletes a capacity commitment. Attempting to delete capacity commitment before its commitment_end_time will fail with the error code `google.rpc.Code.FAILED_PRECONDITION`.</p>
8686
<p class="toc_element">
8787
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
@@ -166,11 +166,12 @@ <h3>Method Details</h3>
166166
</div>
167167

168168
<div class="method">
169-
<code class="details" id="delete">delete(name, x__xgafv=None)</code>
169+
<code class="details" id="delete">delete(name, force=None, x__xgafv=None)</code>
170170
<pre>Deletes a capacity commitment. Attempting to delete capacity commitment before its commitment_end_time will fail with the error code `google.rpc.Code.FAILED_PRECONDITION`.
171171

172172
Args:
173173
name: string, Required. Resource name of the capacity commitment to delete. E.g., `projects/myproject/locations/US/capacityCommitments/123` (required)
174+
force: boolean, Can be used to force delete commitments even if assignments exist. Deleting commitments with assignments may cause queries to fail if they no longer have access to slots.
174175
x__xgafv: string, V1 error format.
175176
Allowed values
176177
1 - v1 error format

docs/dyn/bigqueryreservation_v1beta1.projects.locations.capacityCommitments.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ <h2>Instance Methods</h2>
8181
<code><a href="#create">create(parent, body=None, capacityCommitmentId=None, enforceSingleAdminProjectPerOrg=None, x__xgafv=None)</a></code></p>
8282
<p class="firstline">Creates a new capacity commitment resource.</p>
8383
<p class="toc_element">
84-
<code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
84+
<code><a href="#delete">delete(name, force=None, x__xgafv=None)</a></code></p>
8585
<p class="firstline">Deletes a capacity commitment. Attempting to delete capacity commitment before its commitment_end_time will fail with the error code `google.rpc.Code.FAILED_PRECONDITION`.</p>
8686
<p class="toc_element">
8787
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
@@ -166,11 +166,12 @@ <h3>Method Details</h3>
166166
</div>
167167

168168
<div class="method">
169-
<code class="details" id="delete">delete(name, x__xgafv=None)</code>
169+
<code class="details" id="delete">delete(name, force=None, x__xgafv=None)</code>
170170
<pre>Deletes a capacity commitment. Attempting to delete capacity commitment before its commitment_end_time will fail with the error code `google.rpc.Code.FAILED_PRECONDITION`.
171171

172172
Args:
173173
name: string, Required. Resource name of the capacity commitment to delete. E.g., `projects/myproject/locations/US/capacityCommitments/123` (required)
174+
force: boolean, Can be used to force delete commitments even if assignments exist. Deleting commitments with assignments may cause queries to fail if they no longer have access to slots.
174175
x__xgafv: string, V1 error format.
175176
Allowed values
176177
1 - v1 error format

googleapiclient/discovery_cache/documents/bigqueryreservation.v1.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"oauth2": {
44
"scopes": {
55
"https://www.googleapis.com/auth/bigquery": {
6-
"description": "View and manage your data in Google BigQuery"
6+
"description": "View and manage your data in Google BigQuery and see the email address for your Google Account"
77
},
88
"https://www.googleapis.com/auth/cloud-platform": {
9-
"description": "See, edit, configure, and delete your Google Cloud Platform data"
9+
"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
1010
}
1111
}
1212
}
@@ -309,6 +309,11 @@
309309
"name"
310310
],
311311
"parameters": {
312+
"force": {
313+
"description": "Can be used to force delete commitments even if assignments exist. Deleting commitments with assignments may cause queries to fail if they no longer have access to slots.",
314+
"location": "query",
315+
"type": "boolean"
316+
},
312317
"name": {
313318
"description": "Required. Resource name of the capacity commitment to delete. E.g., `projects/myproject/locations/US/capacityCommitments/123`",
314319
"location": "path",
@@ -783,7 +788,7 @@
783788
}
784789
}
785790
},
786-
"revision": "20210727",
791+
"revision": "20210806",
787792
"rootUrl": "https://bigqueryreservation.googleapis.com/",
788793
"schemas": {
789794
"Assignment": {

googleapiclient/discovery_cache/documents/bigqueryreservation.v1beta1.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"oauth2": {
44
"scopes": {
55
"https://www.googleapis.com/auth/bigquery": {
6-
"description": "View and manage your data in Google BigQuery"
6+
"description": "View and manage your data in Google BigQuery and see the email address for your Google Account"
77
},
88
"https://www.googleapis.com/auth/cloud-platform": {
9-
"description": "See, edit, configure, and delete your Google Cloud Platform data"
9+
"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
1010
}
1111
}
1212
}
@@ -267,6 +267,11 @@
267267
"name"
268268
],
269269
"parameters": {
270+
"force": {
271+
"description": "Can be used to force delete commitments even if assignments exist. Deleting commitments with assignments may cause queries to fail if they no longer have access to slots.",
272+
"location": "query",
273+
"type": "boolean"
274+
},
270275
"name": {
271276
"description": "Required. Resource name of the capacity commitment to delete. E.g., `projects/myproject/locations/US/capacityCommitments/123`",
272277
"location": "path",
@@ -781,7 +786,7 @@
781786
}
782787
}
783788
},
784-
"revision": "20210727",
789+
"revision": "20210806",
785790
"rootUrl": "https://bigqueryreservation.googleapis.com/",
786791
"schemas": {
787792
"Assignment": {

0 commit comments

Comments
 (0)