Skip to content

Commit e98fcec

Browse files
feat(clouddeploy): update the api
#### clouddeploy:v1 The following keys were added: - schemas.Rollout.properties.deployFailureCause (Total Keys: 2) - schemas.TargetRender.properties.failureCause (Total Keys: 2)
1 parent c1b6f96 commit e98fcec

File tree

3 files changed

+41
-1
lines changed

3 files changed

+41
-1
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ <h3>Method Details</h3>
178178
},
179179
&quot;targetRenders&quot;: { # Output only. Map from target ID to details of the render operation for that target.
180180
&quot;a_key&quot;: { # Details of rendering for a single target.
181+
&quot;failureCause&quot;: &quot;A String&quot;, # Output only. Reason this render failed. This will always be unspecified while the render in progress.
181182
&quot;renderingBuild&quot;: &quot;A String&quot;, # Output only. The resource name of the Cloud Build `Build` object that is used to render the manifest for this target. Format is `projects/{project}/locations/{location}/builds/{build}`.
182183
&quot;renderingState&quot;: &quot;A String&quot;, # Output only. Current state of the render operation for this Target.
183184
},
@@ -337,6 +338,7 @@ <h3>Method Details</h3>
337338
},
338339
&quot;targetRenders&quot;: { # Output only. Map from target ID to details of the render operation for that target.
339340
&quot;a_key&quot;: { # Details of rendering for a single target.
341+
&quot;failureCause&quot;: &quot;A String&quot;, # Output only. Reason this render failed. This will always be unspecified while the render in progress.
340342
&quot;renderingBuild&quot;: &quot;A String&quot;, # Output only. The resource name of the Cloud Build `Build` object that is used to render the manifest for this target. Format is `projects/{project}/locations/{location}/builds/{build}`.
341343
&quot;renderingState&quot;: &quot;A String&quot;, # Output only. Current state of the render operation for this Target.
342344
},
@@ -472,6 +474,7 @@ <h3>Method Details</h3>
472474
},
473475
&quot;targetRenders&quot;: { # Output only. Map from target ID to details of the render operation for that target.
474476
&quot;a_key&quot;: { # Details of rendering for a single target.
477+
&quot;failureCause&quot;: &quot;A String&quot;, # Output only. Reason this render failed. This will always be unspecified while the render in progress.
475478
&quot;renderingBuild&quot;: &quot;A String&quot;, # Output only. The resource name of the Cloud Build `Build` object that is used to render the manifest for this target. Format is `projects/{project}/locations/{location}/builds/{build}`.
476479
&quot;renderingState&quot;: &quot;A String&quot;, # Output only. Current state of the render operation for this Target.
477480
},

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ <h3>Method Details</h3>
140140
&quot;approveTime&quot;: &quot;A String&quot;, # Output only. Time at which the `Rollout` was approved.
141141
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the `Rollout` was created.
142142
&quot;deployEndTime&quot;: &quot;A String&quot;, # Output only. Time at which the `Rollout` finished deploying.
143+
&quot;deployFailureCause&quot;: &quot;A String&quot;, # Output only. The reason this deploy failed. This will always be unspecified while the deploy in progress.
143144
&quot;deployStartTime&quot;: &quot;A String&quot;, # Output only. Time at which the `Rollout` started deploying.
144145
&quot;deployingBuild&quot;: &quot;A String&quot;, # Output only. The resource name of the Cloud Build `Build` object that is used to deploy the Rollout. Format is `projects/{project}/locations/{location}/builds/{build}`.
145146
&quot;description&quot;: &quot;A String&quot;, # Description of the `Rollout` for user purposes. Max length is 255 characters.
@@ -209,6 +210,7 @@ <h3>Method Details</h3>
209210
&quot;approveTime&quot;: &quot;A String&quot;, # Output only. Time at which the `Rollout` was approved.
210211
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the `Rollout` was created.
211212
&quot;deployEndTime&quot;: &quot;A String&quot;, # Output only. Time at which the `Rollout` finished deploying.
213+
&quot;deployFailureCause&quot;: &quot;A String&quot;, # Output only. The reason this deploy failed. This will always be unspecified while the deploy in progress.
212214
&quot;deployStartTime&quot;: &quot;A String&quot;, # Output only. Time at which the `Rollout` started deploying.
213215
&quot;deployingBuild&quot;: &quot;A String&quot;, # Output only. The resource name of the Cloud Build `Build` object that is used to deploy the Rollout. Format is `projects/{project}/locations/{location}/builds/{build}`.
214216
&quot;description&quot;: &quot;A String&quot;, # Description of the `Rollout` for user purposes. Max length is 255 characters.
@@ -254,6 +256,7 @@ <h3>Method Details</h3>
254256
&quot;approveTime&quot;: &quot;A String&quot;, # Output only. Time at which the `Rollout` was approved.
255257
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the `Rollout` was created.
256258
&quot;deployEndTime&quot;: &quot;A String&quot;, # Output only. Time at which the `Rollout` finished deploying.
259+
&quot;deployFailureCause&quot;: &quot;A String&quot;, # Output only. The reason this deploy failed. This will always be unspecified while the deploy in progress.
257260
&quot;deployStartTime&quot;: &quot;A String&quot;, # Output only. Time at which the `Rollout` started deploying.
258261
&quot;deployingBuild&quot;: &quot;A String&quot;, # Output only. The resource name of the Cloud Build `Build` object that is used to deploy the Rollout. Format is `projects/{project}/locations/{location}/builds/{build}`.
259262
&quot;description&quot;: &quot;A String&quot;, # Description of the `Rollout` for user purposes. Max length is 255 characters.

googleapiclient/discovery_cache/documents/clouddeploy.v1.json

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1201,7 +1201,7 @@
12011201
}
12021202
}
12031203
},
1204-
"revision": "20211201",
1204+
"revision": "20211212",
12051205
"rootUrl": "https://clouddeploy.googleapis.com/",
12061206
"schemas": {
12071207
"ApproveRolloutRequest": {
@@ -2003,6 +2003,25 @@
20032003
"readOnly": true,
20042004
"type": "string"
20052005
},
2006+
"deployFailureCause": {
2007+
"description": "Output only. The reason this deploy failed. This will always be unspecified while the deploy in progress.",
2008+
"enum": [
2009+
"FAILURE_CAUSE_UNSPECIFIED",
2010+
"CLOUD_BUILD_UNAVAILABLE",
2011+
"EXECUTION_FAILED",
2012+
"DEADLINE_EXCEEDED",
2013+
"RELEASE_FAILED"
2014+
],
2015+
"enumDescriptions": [
2016+
"No reason for failure is specified.",
2017+
"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).",
2018+
"The deploy operation did not complete successfully; check Cloud Build logs.",
2019+
"Deployment did not complete within the alloted time.",
2020+
"Release is in a failed state."
2021+
],
2022+
"readOnly": true,
2023+
"type": "string"
2024+
},
20062025
"deployStartTime": {
20072026
"description": "Output only. Time at which the `Rollout` started deploying.",
20082027
"format": "google-datetime",
@@ -2267,6 +2286,21 @@
22672286
"description": "Details of rendering for a single target.",
22682287
"id": "TargetRender",
22692288
"properties": {
2289+
"failureCause": {
2290+
"description": "Output only. Reason this render failed. This will always be unspecified while the render in progress.",
2291+
"enum": [
2292+
"FAILURE_CAUSE_UNSPECIFIED",
2293+
"CLOUD_BUILD_UNAVAILABLE",
2294+
"EXECUTION_FAILED"
2295+
],
2296+
"enumDescriptions": [
2297+
"No reason for failure is specified.",
2298+
"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).",
2299+
"The render operation did not complete successfully; check Cloud Build logs."
2300+
],
2301+
"readOnly": true,
2302+
"type": "string"
2303+
},
22702304
"renderingBuild": {
22712305
"description": "Output only. The resource name of the Cloud Build `Build` object that is used to render the manifest for this target. Format is `projects/{project}/locations/{location}/builds/{build}`.",
22722306
"readOnly": true,

0 commit comments

Comments
 (0)