Skip to content

Commit 4d24378

Browse files
feat(clouddeploy): update the api
#### clouddeploy:v1 The following keys were added: - resources.projects.resources.locations.resources.deliveryPipelines.resources.releases.methods.abandon (Total Keys: 12) - schemas.AbandonReleaseRequest (Total Keys: 2) - schemas.AbandonReleaseResponse (Total Keys: 2) - schemas.DeliveryPipeline.properties.suspended.type (Total Keys: 1) - schemas.Release.properties.abandoned (Total Keys: 2)
1 parent f0918bf commit 4d24378

File tree

3 files changed

+91
-3
lines changed

3 files changed

+91
-3
lines changed

docs/dyn/clouddeploy_v1.projects.locations.deliveryPipelines.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ <h3>Method Details</h3>
158158
},
159159
],
160160
},
161+
&quot;suspended&quot;: True or False, # When suspended, no new releases or rollouts can be created, but in-progress ones will complete.
161162
&quot;uid&quot;: &quot;A String&quot;, # Output only. Unique identifier of the `DeliveryPipeline`.
162163
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Most recent time at which the pipeline was updated.
163164
}
@@ -282,6 +283,7 @@ <h3>Method Details</h3>
282283
},
283284
],
284285
},
286+
&quot;suspended&quot;: True or False, # When suspended, no new releases or rollouts can be created, but in-progress ones will complete.
285287
&quot;uid&quot;: &quot;A String&quot;, # Output only. Unique identifier of the `DeliveryPipeline`.
286288
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Most recent time at which the pipeline was updated.
287289
}</pre>
@@ -389,6 +391,7 @@ <h3>Method Details</h3>
389391
},
390392
],
391393
},
394+
&quot;suspended&quot;: True or False, # When suspended, no new releases or rollouts can be created, but in-progress ones will complete.
392395
&quot;uid&quot;: &quot;A String&quot;, # Output only. Unique identifier of the `DeliveryPipeline`.
393396
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Most recent time at which the pipeline was updated.
394397
},
@@ -457,6 +460,7 @@ <h3>Method Details</h3>
457460
},
458461
],
459462
},
463+
&quot;suspended&quot;: True or False, # When suspended, no new releases or rollouts can be created, but in-progress ones will complete.
460464
&quot;uid&quot;: &quot;A String&quot;, # Output only. Unique identifier of the `DeliveryPipeline`.
461465
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Most recent time at which the pipeline was updated.
462466
}

docs/dyn/clouddeploy_v1.projects.locations.deliveryPipelines.releases.html

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

82+
<p class="toc_element">
83+
<code><a href="#abandon">abandon(name, body=None, x__xgafv=None)</a></code></p>
84+
<p class="firstline">Abandons a Release in the Delivery Pipeline.</p>
8285
<p class="toc_element">
8386
<code><a href="#close">close()</a></code></p>
8487
<p class="firstline">Close httplib2 connections.</p>
@@ -95,6 +98,30 @@ <h2>Instance Methods</h2>
9598
<code><a href="#list_next">list_next()</a></code></p>
9699
<p class="firstline">Retrieves the next page of results.</p>
97100
<h3>Method Details</h3>
101+
<div class="method">
102+
<code class="details" id="abandon">abandon(name, body=None, x__xgafv=None)</code>
103+
<pre>Abandons a Release in the Delivery Pipeline.
104+
105+
Args:
106+
name: string, Required. Name of the Release. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/ releases/{release}. (required)
107+
body: object, The request body.
108+
The object takes the form of:
109+
110+
{ # The request object used by `AbandonRelease`.
111+
}
112+
113+
x__xgafv: string, V1 error format.
114+
Allowed values
115+
1 - v1 error format
116+
2 - v2 error format
117+
118+
Returns:
119+
An object of the form:
120+
121+
{ # The response object for `AbandonRelease`.
122+
}</pre>
123+
</div>
124+
98125
<div class="method">
99126
<code class="details" id="close">close()</code>
100127
<pre>Close httplib2 connections.</pre>
@@ -110,6 +137,7 @@ <h3>Method Details</h3>
110137
The object takes the form of:
111138

112139
{ # A `Release` resource in the Google Cloud Deploy API. A `Release` defines a specific Skaffold configuration instance that can be deployed.
140+
&quot;abandoned&quot;: True or False, # Output only. Indicates whether this is an abandoned release.
113141
&quot;annotations&quot;: { # User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
114142
&quot;a_key&quot;: &quot;A String&quot;,
115143
},
@@ -154,6 +182,7 @@ <h3>Method Details</h3>
154182
},
155183
],
156184
},
185+
&quot;suspended&quot;: True or False, # When suspended, no new releases or rollouts can be created, but in-progress ones will complete.
157186
&quot;uid&quot;: &quot;A String&quot;, # Output only. Unique identifier of the `DeliveryPipeline`.
158187
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Most recent time at which the pipeline was updated.
159188
},
@@ -278,6 +307,7 @@ <h3>Method Details</h3>
278307
An object of the form:
279308

280309
{ # A `Release` resource in the Google Cloud Deploy API. A `Release` defines a specific Skaffold configuration instance that can be deployed.
310+
&quot;abandoned&quot;: True or False, # Output only. Indicates whether this is an abandoned release.
281311
&quot;annotations&quot;: { # User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
282312
&quot;a_key&quot;: &quot;A String&quot;,
283313
},
@@ -322,6 +352,7 @@ <h3>Method Details</h3>
322352
},
323353
],
324354
},
355+
&quot;suspended&quot;: True or False, # When suspended, no new releases or rollouts can be created, but in-progress ones will complete.
325356
&quot;uid&quot;: &quot;A String&quot;, # Output only. Unique identifier of the `DeliveryPipeline`.
326357
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Most recent time at which the pipeline was updated.
327358
},
@@ -422,6 +453,7 @@ <h3>Method Details</h3>
422453
&quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
423454
&quot;releases&quot;: [ # The `Release` objects.
424455
{ # A `Release` resource in the Google Cloud Deploy API. A `Release` defines a specific Skaffold configuration instance that can be deployed.
456+
&quot;abandoned&quot;: True or False, # Output only. Indicates whether this is an abandoned release.
425457
&quot;annotations&quot;: { # User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
426458
&quot;a_key&quot;: &quot;A String&quot;,
427459
},
@@ -466,6 +498,7 @@ <h3>Method Details</h3>
466498
},
467499
],
468500
},
501+
&quot;suspended&quot;: True or False, # When suspended, no new releases or rollouts can be created, but in-progress ones will complete.
469502
&quot;uid&quot;: &quot;A String&quot;, # Output only. Unique identifier of the `DeliveryPipeline`.
470503
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Most recent time at which the pipeline was updated.
471504
},

googleapiclient/discovery_cache/documents/clouddeploy.v1.json

Lines changed: 54 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,34 @@
508508
"resources": {
509509
"releases": {
510510
"methods": {
511+
"abandon": {
512+
"description": "Abandons a Release in the Delivery Pipeline.",
513+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deliveryPipelines/{deliveryPipelinesId}/releases/{releasesId}:abandon",
514+
"httpMethod": "POST",
515+
"id": "clouddeploy.projects.locations.deliveryPipelines.releases.abandon",
516+
"parameterOrder": [
517+
"name"
518+
],
519+
"parameters": {
520+
"name": {
521+
"description": "Required. Name of the Release. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/ releases/{release}.",
522+
"location": "path",
523+
"pattern": "^projects/[^/]+/locations/[^/]+/deliveryPipelines/[^/]+/releases/[^/]+$",
524+
"required": true,
525+
"type": "string"
526+
}
527+
},
528+
"path": "v1/{+name}:abandon",
529+
"request": {
530+
"$ref": "AbandonReleaseRequest"
531+
},
532+
"response": {
533+
"$ref": "AbandonReleaseResponse"
534+
},
535+
"scopes": [
536+
"https://www.googleapis.com/auth/cloud-platform"
537+
]
538+
},
511539
"create": {
512540
"description": "Creates a new Release in a given project and location.",
513541
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/deliveryPipelines/{deliveryPipelinesId}/releases",
@@ -1201,9 +1229,21 @@
12011229
}
12021230
}
12031231
},
1204-
"revision": "20220602",
1232+
"revision": "20220609",
12051233
"rootUrl": "https://clouddeploy.googleapis.com/",
12061234
"schemas": {
1235+
"AbandonReleaseRequest": {
1236+
"description": "The request object used by `AbandonRelease`.",
1237+
"id": "AbandonReleaseRequest",
1238+
"properties": {},
1239+
"type": "object"
1240+
},
1241+
"AbandonReleaseResponse": {
1242+
"description": "The response object for `AbandonRelease`.",
1243+
"id": "AbandonReleaseResponse",
1244+
"properties": {},
1245+
"type": "object"
1246+
},
12071247
"AnthosCluster": {
12081248
"description": "Information specifying an Anthos Cluster.",
12091249
"id": "AnthosCluster",
@@ -1429,6 +1469,10 @@
14291469
"$ref": "SerialPipeline",
14301470
"description": "SerialPipeline defines a sequential set of stages for a `DeliveryPipeline`."
14311471
},
1472+
"suspended": {
1473+
"description": "When suspended, no new releases or rollouts can be created, but in-progress ones will complete.",
1474+
"type": "boolean"
1475+
},
14321476
"uid": {
14331477
"description": "Output only. Unique identifier of the `DeliveryPipeline`.",
14341478
"readOnly": true,
@@ -1899,6 +1943,11 @@
18991943
"description": "A `Release` resource in the Google Cloud Deploy API. A `Release` defines a specific Skaffold configuration instance that can be deployed.",
19001944
"id": "Release",
19011945
"properties": {
1946+
"abandoned": {
1947+
"description": "Output only. Indicates whether this is an abandoned release.",
1948+
"readOnly": true,
1949+
"type": "boolean"
1950+
},
19021951
"annotations": {
19031952
"additionalProperties": {
19041953
"type": "string"
@@ -2115,14 +2164,16 @@
21152164
"CLOUD_BUILD_UNAVAILABLE",
21162165
"EXECUTION_FAILED",
21172166
"DEADLINE_EXCEEDED",
2118-
"RELEASE_FAILED"
2167+
"RELEASE_FAILED",
2168+
"RELEASE_ABANDONED"
21192169
],
21202170
"enumDescriptions": [
21212171
"No reason for failure is specified.",
21222172
"Cloud Build is not available, either because it is not enabled or because Cloud Deploy has insufficient permissions. See [required permission](/deploy/docs/cloud-deploy-service-account#required_permissions).",
21232173
"The deploy operation did not complete successfully; check Cloud Build logs.",
21242174
"Deployment did not complete within the alloted time.",
2125-
"Release is in a failed state."
2175+
"Release is in a failed state.",
2176+
"Release is abandoned."
21262177
],
21272178
"readOnly": true,
21282179
"type": "string"

0 commit comments

Comments
 (0)