Skip to content

Commit 2c59d35

Browse files
feat(cloudbuild): update the api
#### cloudbuild:v1 The following keys were added: - endpoints (Total Keys: 1) #### cloudbuild:v2 The following keys were added: - endpoints (Total Keys: 1)
1 parent d55bedd commit 2c59d35

File tree

5 files changed

+467
-13
lines changed

5 files changed

+467
-13
lines changed

docs/dyn/cloudbuild_v1.operations.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ <h1><a href="cloudbuild_v1.html">Cloud Build API</a> . <a href="cloudbuild_v1.op
7676
<h2>Instance Methods</h2>
7777
<p class="toc_element">
7878
<code><a href="#cancel">cancel(name, body=None, x__xgafv=None)</a></code></p>
79-
<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>
79+
<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>
8080
<p class="toc_element">
8181
<code><a href="#close">close()</a></code></p>
8282
<p class="firstline">Close httplib2 connections.</p>
@@ -86,7 +86,7 @@ <h2>Instance Methods</h2>
8686
<h3>Method Details</h3>
8787
<div class="method">
8888
<code class="details" id="cancel">cancel(name, body=None, x__xgafv=None)</code>
89-
<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`.
89+
<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`.
9090

9191
Args:
9292
name: string, The name of the operation resource to be cancelled. (required)

docs/dyn/cloudbuild_v1.projects.locations.operations.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ <h1><a href="cloudbuild_v1.html">Cloud Build API</a> . <a href="cloudbuild_v1.pr
7676
<h2>Instance Methods</h2>
7777
<p class="toc_element">
7878
<code><a href="#cancel">cancel(name, body=None, x__xgafv=None)</a></code></p>
79-
<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>
79+
<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>
8080
<p class="toc_element">
8181
<code><a href="#close">close()</a></code></p>
8282
<p class="firstline">Close httplib2 connections.</p>
@@ -86,7 +86,7 @@ <h2>Instance Methods</h2>
8686
<h3>Method Details</h3>
8787
<div class="method">
8888
<code class="details" id="cancel">cancel(name, body=None, x__xgafv=None)</code>
89-
<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`.
89+
<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`.
9090

9191
Args:
9292
name: string, The name of the operation resource to be cancelled. (required)

docs/dyn/cloudbuild_v2.projects.locations.operations.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ <h1><a href="cloudbuild_v2.html">Cloud Build API</a> . <a href="cloudbuild_v2.pr
7676
<h2>Instance Methods</h2>
7777
<p class="toc_element">
7878
<code><a href="#cancel">cancel(name, body=None, x__xgafv=None)</a></code></p>
79-
<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>
79+
<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>
8080
<p class="toc_element">
8181
<code><a href="#close">close()</a></code></p>
8282
<p class="firstline">Close httplib2 connections.</p>
@@ -86,7 +86,7 @@ <h2>Instance Methods</h2>
8686
<h3>Method Details</h3>
8787
<div class="method">
8888
<code class="details" id="cancel">cancel(name, body=None, x__xgafv=None)</code>
89-
<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`.
89+
<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`.
9090

9191
Args:
9292
name: string, The name of the operation resource to be cancelled. (required)

googleapiclient/discovery_cache/documents/cloudbuild.v1.json

Lines changed: 231 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,233 @@
1515
"description": "Creates and manages builds on Google Cloud Platform.",
1616
"discoveryVersion": "v1",
1717
"documentationLink": "https://cloud.google.com/cloud-build/docs/",
18+
"endpoints": [
19+
{
20+
"description": "Regional Endpoint",
21+
"endpointUrl": "https://cloudbuild.africa-south1.rep.googleapis.com/",
22+
"location": "africa-south1"
23+
},
24+
{
25+
"description": "Regional Endpoint",
26+
"endpointUrl": "https://cloudbuild.asia-east1.rep.googleapis.com/",
27+
"location": "asia-east1"
28+
},
29+
{
30+
"description": "Regional Endpoint",
31+
"endpointUrl": "https://cloudbuild.asia-east2.rep.googleapis.com/",
32+
"location": "asia-east2"
33+
},
34+
{
35+
"description": "Regional Endpoint",
36+
"endpointUrl": "https://cloudbuild.asia-northeast1.rep.googleapis.com/",
37+
"location": "asia-northeast1"
38+
},
39+
{
40+
"description": "Regional Endpoint",
41+
"endpointUrl": "https://cloudbuild.asia-northeast2.rep.googleapis.com/",
42+
"location": "asia-northeast2"
43+
},
44+
{
45+
"description": "Regional Endpoint",
46+
"endpointUrl": "https://cloudbuild.asia-northeast3.rep.googleapis.com/",
47+
"location": "asia-northeast3"
48+
},
49+
{
50+
"description": "Regional Endpoint",
51+
"endpointUrl": "https://cloudbuild.asia-south1.rep.googleapis.com/",
52+
"location": "asia-south1"
53+
},
54+
{
55+
"description": "Regional Endpoint",
56+
"endpointUrl": "https://cloudbuild.asia-south2.rep.googleapis.com/",
57+
"location": "asia-south2"
58+
},
59+
{
60+
"description": "Regional Endpoint",
61+
"endpointUrl": "https://cloudbuild.asia-southeast1.rep.googleapis.com/",
62+
"location": "asia-southeast1"
63+
},
64+
{
65+
"description": "Regional Endpoint",
66+
"endpointUrl": "https://cloudbuild.asia-southeast2.rep.googleapis.com/",
67+
"location": "asia-southeast2"
68+
},
69+
{
70+
"description": "Regional Endpoint",
71+
"endpointUrl": "https://cloudbuild.australia-southeast1.rep.googleapis.com/",
72+
"location": "australia-southeast1"
73+
},
74+
{
75+
"description": "Regional Endpoint",
76+
"endpointUrl": "https://cloudbuild.australia-southeast2.rep.googleapis.com/",
77+
"location": "australia-southeast2"
78+
},
79+
{
80+
"description": "Regional Endpoint",
81+
"endpointUrl": "https://cloudbuild.europe-central2.rep.googleapis.com/",
82+
"location": "europe-central2"
83+
},
84+
{
85+
"description": "Regional Endpoint",
86+
"endpointUrl": "https://cloudbuild.europe-north1.rep.googleapis.com/",
87+
"location": "europe-north1"
88+
},
89+
{
90+
"description": "Regional Endpoint",
91+
"endpointUrl": "https://cloudbuild.europe-southwest1.rep.googleapis.com/",
92+
"location": "europe-southwest1"
93+
},
94+
{
95+
"description": "Regional Endpoint",
96+
"endpointUrl": "https://cloudbuild.europe-west1.rep.googleapis.com/",
97+
"location": "europe-west1"
98+
},
99+
{
100+
"description": "Regional Endpoint",
101+
"endpointUrl": "https://cloudbuild.europe-west10.rep.googleapis.com/",
102+
"location": "europe-west10"
103+
},
104+
{
105+
"description": "Regional Endpoint",
106+
"endpointUrl": "https://cloudbuild.europe-west12.rep.googleapis.com/",
107+
"location": "europe-west12"
108+
},
109+
{
110+
"description": "Regional Endpoint",
111+
"endpointUrl": "https://cloudbuild.europe-west2.rep.googleapis.com/",
112+
"location": "europe-west2"
113+
},
114+
{
115+
"description": "Regional Endpoint",
116+
"endpointUrl": "https://cloudbuild.europe-west3.rep.googleapis.com/",
117+
"location": "europe-west3"
118+
},
119+
{
120+
"description": "Regional Endpoint",
121+
"endpointUrl": "https://cloudbuild.europe-west4.rep.googleapis.com/",
122+
"location": "europe-west4"
123+
},
124+
{
125+
"description": "Regional Endpoint",
126+
"endpointUrl": "https://cloudbuild.europe-west6.rep.googleapis.com/",
127+
"location": "europe-west6"
128+
},
129+
{
130+
"description": "Regional Endpoint",
131+
"endpointUrl": "https://cloudbuild.europe-west8.rep.googleapis.com/",
132+
"location": "europe-west8"
133+
},
134+
{
135+
"description": "Regional Endpoint",
136+
"endpointUrl": "https://cloudbuild.europe-west9.rep.googleapis.com/",
137+
"location": "europe-west9"
138+
},
139+
{
140+
"description": "Regional Endpoint",
141+
"endpointUrl": "https://cloudbuild.me-central1.rep.googleapis.com/",
142+
"location": "me-central1"
143+
},
144+
{
145+
"description": "Regional Endpoint",
146+
"endpointUrl": "https://cloudbuild.me-central2.rep.googleapis.com/",
147+
"location": "me-central2"
148+
},
149+
{
150+
"description": "Regional Endpoint",
151+
"endpointUrl": "https://cloudbuild.me-west1.rep.googleapis.com/",
152+
"location": "me-west1"
153+
},
154+
{
155+
"description": "Regional Endpoint",
156+
"endpointUrl": "https://cloudbuild.northamerica-northeast1.rep.googleapis.com/",
157+
"location": "northamerica-northeast1"
158+
},
159+
{
160+
"description": "Regional Endpoint",
161+
"endpointUrl": "https://cloudbuild.northamerica-northeast2.rep.googleapis.com/",
162+
"location": "northamerica-northeast2"
163+
},
164+
{
165+
"description": "Regional Endpoint",
166+
"endpointUrl": "https://cloudbuild.northamerica-south1.rep.googleapis.com/",
167+
"location": "northamerica-south1"
168+
},
169+
{
170+
"description": "Regional Endpoint",
171+
"endpointUrl": "https://cloudbuild.southamerica-east1.rep.googleapis.com/",
172+
"location": "southamerica-east1"
173+
},
174+
{
175+
"description": "Regional Endpoint",
176+
"endpointUrl": "https://cloudbuild.southamerica-west1.rep.googleapis.com/",
177+
"location": "southamerica-west1"
178+
},
179+
{
180+
"description": "Regional Endpoint",
181+
"endpointUrl": "https://cloudbuild.us-central1.rep.googleapis.com/",
182+
"location": "us-central1"
183+
},
184+
{
185+
"description": "Regional Endpoint",
186+
"endpointUrl": "https://cloudbuild.us-central2.rep.googleapis.com/",
187+
"location": "us-central2"
188+
},
189+
{
190+
"description": "Regional Endpoint",
191+
"endpointUrl": "https://cloudbuild.us-east1.rep.googleapis.com/",
192+
"location": "us-east1"
193+
},
194+
{
195+
"description": "Regional Endpoint",
196+
"endpointUrl": "https://cloudbuild.us-east10.rep.googleapis.com/",
197+
"location": "us-east10"
198+
},
199+
{
200+
"description": "Regional Endpoint",
201+
"endpointUrl": "https://cloudbuild.us-east4.rep.googleapis.com/",
202+
"location": "us-east4"
203+
},
204+
{
205+
"description": "Regional Endpoint",
206+
"endpointUrl": "https://cloudbuild.us-east5.rep.googleapis.com/",
207+
"location": "us-east5"
208+
},
209+
{
210+
"description": "Regional Endpoint",
211+
"endpointUrl": "https://cloudbuild.us-east7.rep.googleapis.com/",
212+
"location": "us-east7"
213+
},
214+
{
215+
"description": "Regional Endpoint",
216+
"endpointUrl": "https://cloudbuild.us-south1.rep.googleapis.com/",
217+
"location": "us-south1"
218+
},
219+
{
220+
"description": "Regional Endpoint",
221+
"endpointUrl": "https://cloudbuild.us-west1.rep.googleapis.com/",
222+
"location": "us-west1"
223+
},
224+
{
225+
"description": "Regional Endpoint",
226+
"endpointUrl": "https://cloudbuild.us-west2.rep.googleapis.com/",
227+
"location": "us-west2"
228+
},
229+
{
230+
"description": "Regional Endpoint",
231+
"endpointUrl": "https://cloudbuild.us-west3.rep.googleapis.com/",
232+
"location": "us-west3"
233+
},
234+
{
235+
"description": "Regional Endpoint",
236+
"endpointUrl": "https://cloudbuild.us-west4.rep.googleapis.com/",
237+
"location": "us-west4"
238+
},
239+
{
240+
"description": "Regional Endpoint",
241+
"endpointUrl": "https://cloudbuild.us-west8.rep.googleapis.com/",
242+
"location": "us-west8"
243+
}
244+
],
18245
"fullyEncodeReservedExpansion": true,
19246
"icons": {
20247
"x16": "http://www.google.com/images/icons/product/search-16.gif",
@@ -167,7 +394,7 @@
167394
"operations": {
168395
"methods": {
169396
"cancel": {
170-
"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`.",
397+
"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`.",
171398
"flatPath": "v1/operations/{operationsId}:cancel",
172399
"httpMethod": "POST",
173400
"id": "cloudbuild.operations.cancel",
@@ -1552,7 +1779,7 @@
15521779
"operations": {
15531780
"methods": {
15541781
"cancel": {
1555-
"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`.",
1782+
"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`.",
15561783
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
15571784
"httpMethod": "POST",
15581785
"id": "cloudbuild.projects.locations.operations.cancel",
@@ -2346,7 +2573,7 @@
23462573
}
23472574
}
23482575
},
2349-
"revision": "20241025",
2576+
"revision": "20241210",
23502577
"rootUrl": "https://cloudbuild.googleapis.com/",
23512578
"schemas": {
23522579
"ApprovalConfig": {
@@ -4578,7 +4805,7 @@ false
45784805
"type": "string"
45794806
},
45804807
"cancelRequested": {
4581-
"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
4808+
"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.",
45824809
"readOnly": true,
45834810
"type": "boolean"
45844811
},

0 commit comments

Comments
 (0)