Skip to content

Commit 7537bf0

Browse files
yoshi-automationsofisl
authored andcommitted
feat(clouddeploy): update the API
#### clouddeploy:v1 The following keys were added: - schemas.AutomationRolloutMetadata.properties.currentRepairAutomationRun.description - schemas.AutomationRolloutMetadata.properties.currentRepairAutomationRun.readOnly - schemas.AutomationRolloutMetadata.properties.currentRepairAutomationRun.type The following keys were changed: - schemas.AutomationEvent.properties.type.enum - schemas.AutomationEvent.properties.type.enumDeprecated - schemas.AutomationEvent.properties.type.enumDescriptions - schemas.AutomationRun.properties.state.enum - schemas.AutomationRun.properties.state.enumDescriptions - schemas.AutomationRunEvent.properties.type.enum - schemas.AutomationRunEvent.properties.type.enumDeprecated - schemas.AutomationRunEvent.properties.type.enumDescriptions - schemas.DeliveryPipelineNotificationEvent.properties.type.enum - schemas.DeliveryPipelineNotificationEvent.properties.type.enumDeprecated - schemas.DeliveryPipelineNotificationEvent.properties.type.enumDescriptions - schemas.JobRunNotificationEvent.properties.type.enum - schemas.JobRunNotificationEvent.properties.type.enumDeprecated - schemas.JobRunNotificationEvent.properties.type.enumDescriptions - schemas.ReleaseNotificationEvent.properties.type.enum - schemas.ReleaseNotificationEvent.properties.type.enumDeprecated - schemas.ReleaseNotificationEvent.properties.type.enumDescriptions - schemas.ReleaseRenderEvent.properties.type.enum - schemas.ReleaseRenderEvent.properties.type.enumDeprecated - schemas.ReleaseRenderEvent.properties.type.enumDescriptions - schemas.RetryAttempt.properties.state.enum - schemas.RetryAttempt.properties.state.enumDescriptions - schemas.RollbackAttempt.properties.state.enum - schemas.RollbackAttempt.properties.state.enumDescriptions - schemas.RolloutNotificationEvent.properties.type.enum - schemas.RolloutNotificationEvent.properties.type.enumDeprecated - schemas.RolloutNotificationEvent.properties.type.enumDescriptions - schemas.RolloutUpdateEvent.properties.type.enum - schemas.RolloutUpdateEvent.properties.type.enumDeprecated - schemas.RolloutUpdateEvent.properties.type.enumDescriptions - schemas.TargetNotificationEvent.properties.type.enum - schemas.TargetNotificationEvent.properties.type.enumDeprecated - schemas.TargetNotificationEvent.properties.type.enumDescriptions
1 parent 5ed8cc6 commit 7537bf0

File tree

2 files changed

+49
-7
lines changed

2 files changed

+49
-7
lines changed

discovery/clouddeploy-v1.json

Lines changed: 45 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2065,7 +2065,7 @@
20652065
}
20662066
}
20672067
},
2068-
"revision": "20240207",
2068+
"revision": "20240228",
20692069
"rootUrl": "https://clouddeploy.googleapis.com/",
20702070
"schemas": {
20712071
"AbandonReleaseRequest": {
@@ -2348,6 +2348,7 @@
23482348
"TYPE_RESTRICTION_VIOLATED",
23492349
"TYPE_RESOURCE_DELETED",
23502350
"TYPE_ROLLOUT_UPDATE",
2351+
"TYPE_DEPLOY_POLICY_EVALUATION",
23512352
"TYPE_RENDER_STATUES_CHANGE"
23522353
],
23532354
"enumDeprecated": [
@@ -2358,6 +2359,7 @@
23582359
false,
23592360
false,
23602361
false,
2362+
false,
23612363
true
23622364
],
23632365
"enumDescriptions": [
@@ -2368,6 +2370,7 @@
23682370
"Restriction check failed.",
23692371
"Resource deleted.",
23702372
"Rollout updated.",
2373+
"Deploy Policy evaluation.",
23712374
"Deprecated: This field is never used. Use release_render log type instead."
23722375
],
23732376
"type": "string"
@@ -2401,6 +2404,11 @@
24012404
"readOnly": true,
24022405
"type": "array"
24032406
},
2407+
"currentRepairAutomationRun": {
2408+
"description": "Output only. The current AutomationRun repairing the rollout.",
2409+
"readOnly": true,
2410+
"type": "string"
2411+
},
24042412
"promoteAutomationRun": {
24052413
"description": "Output only. The ID of the AutomationRun initiated by a promote release rule.",
24062414
"readOnly": true,
@@ -2516,15 +2524,17 @@
25162524
"CANCELLED",
25172525
"FAILED",
25182526
"IN_PROGRESS",
2519-
"PENDING"
2527+
"PENDING",
2528+
"ABORTED"
25202529
],
25212530
"enumDescriptions": [
25222531
"The `AutomationRun` has an unspecified state.",
25232532
"The `AutomationRun` has succeeded.",
25242533
"The `AutomationRun` was cancelled.",
25252534
"The `AutomationRun` has failed.",
25262535
"The `AutomationRun` is in progress.",
2527-
"The `AutomationRun` is pending."
2536+
"The `AutomationRun` is pending.",
2537+
"The `AutomationRun` was aborted."
25282538
],
25292539
"readOnly": true,
25302540
"type": "string"
@@ -2592,6 +2602,7 @@
25922602
"TYPE_RESTRICTION_VIOLATED",
25932603
"TYPE_RESOURCE_DELETED",
25942604
"TYPE_ROLLOUT_UPDATE",
2605+
"TYPE_DEPLOY_POLICY_EVALUATION",
25952606
"TYPE_RENDER_STATUES_CHANGE"
25962607
],
25972608
"enumDeprecated": [
@@ -2602,6 +2613,7 @@
26022613
false,
26032614
false,
26042615
false,
2616+
false,
26052617
true
26062618
],
26072619
"enumDescriptions": [
@@ -2612,6 +2624,7 @@
26122624
"Restriction check failed.",
26132625
"Resource deleted.",
26142626
"Rollout updated.",
2627+
"Deploy Policy evaluation.",
26152628
"Deprecated: This field is never used. Use release_render log type instead."
26162629
],
26172630
"type": "string"
@@ -3144,6 +3157,7 @@
31443157
"TYPE_RESTRICTION_VIOLATED",
31453158
"TYPE_RESOURCE_DELETED",
31463159
"TYPE_ROLLOUT_UPDATE",
3160+
"TYPE_DEPLOY_POLICY_EVALUATION",
31473161
"TYPE_RENDER_STATUES_CHANGE"
31483162
],
31493163
"enumDeprecated": [
@@ -3154,6 +3168,7 @@
31543168
false,
31553169
false,
31563170
false,
3171+
false,
31573172
true
31583173
],
31593174
"enumDescriptions": [
@@ -3164,6 +3179,7 @@
31643179
"Restriction check failed.",
31653180
"Resource deleted.",
31663181
"Rollout updated.",
3182+
"Deploy Policy evaluation.",
31673183
"Deprecated: This field is never used. Use release_render log type instead."
31683184
],
31693185
"type": "string"
@@ -3691,6 +3707,7 @@
36913707
"TYPE_RESTRICTION_VIOLATED",
36923708
"TYPE_RESOURCE_DELETED",
36933709
"TYPE_ROLLOUT_UPDATE",
3710+
"TYPE_DEPLOY_POLICY_EVALUATION",
36943711
"TYPE_RENDER_STATUES_CHANGE"
36953712
],
36963713
"enumDeprecated": [
@@ -3701,6 +3718,7 @@
37013718
false,
37023719
false,
37033720
false,
3721+
false,
37043722
true
37053723
],
37063724
"enumDescriptions": [
@@ -3711,6 +3729,7 @@
37113729
"Restriction check failed.",
37123730
"Resource deleted.",
37133731
"Rollout updated.",
3732+
"Deploy Policy evaluation.",
37143733
"Deprecated: This field is never used. Use release_render log type instead."
37153734
],
37163735
"type": "string"
@@ -4688,6 +4707,7 @@
46884707
"TYPE_RESTRICTION_VIOLATED",
46894708
"TYPE_RESOURCE_DELETED",
46904709
"TYPE_ROLLOUT_UPDATE",
4710+
"TYPE_DEPLOY_POLICY_EVALUATION",
46914711
"TYPE_RENDER_STATUES_CHANGE"
46924712
],
46934713
"enumDeprecated": [
@@ -4698,6 +4718,7 @@
46984718
false,
46994719
false,
47004720
false,
4721+
false,
47014722
true
47024723
],
47034724
"enumDescriptions": [
@@ -4708,6 +4729,7 @@
47084729
"Restriction check failed.",
47094730
"Resource deleted.",
47104731
"Rollout updated.",
4732+
"Deploy Policy evaluation.",
47114733
"Deprecated: This field is never used. Use release_render log type instead."
47124734
],
47134735
"type": "string"
@@ -4768,6 +4790,7 @@
47684790
"TYPE_RESTRICTION_VIOLATED",
47694791
"TYPE_RESOURCE_DELETED",
47704792
"TYPE_ROLLOUT_UPDATE",
4793+
"TYPE_DEPLOY_POLICY_EVALUATION",
47714794
"TYPE_RENDER_STATUES_CHANGE"
47724795
],
47734796
"enumDeprecated": [
@@ -4778,6 +4801,7 @@
47784801
false,
47794802
false,
47804803
false,
4804+
false,
47814805
true
47824806
],
47834807
"enumDescriptions": [
@@ -4788,6 +4812,7 @@
47884812
"Restriction check failed.",
47894813
"Resource deleted.",
47904814
"Rollout updated.",
4815+
"Deploy Policy evaluation.",
47914816
"Deprecated: This field is never used. Use release_render log type instead."
47924817
],
47934818
"type": "string"
@@ -4967,7 +4992,8 @@
49674992
"REPAIR_STATE_FAILED",
49684993
"REPAIR_STATE_IN_PROGRESS",
49694994
"REPAIR_STATE_PENDING",
4970-
"REPAIR_STATE_SKIPPED"
4995+
"REPAIR_STATE_SKIPPED",
4996+
"REPAIR_STATE_ABORTED"
49714997
],
49724998
"enumDescriptions": [
49734999
"The `repair` has an unspecified state.",
@@ -4976,7 +5002,8 @@
49765002
"The `repair` action has failed.",
49775003
"The `repair` action is in progress.",
49785004
"The `repair` action is pending.",
4979-
"The `repair` action was skipped."
5005+
"The `repair` action was skipped.",
5006+
"The `repair` action was aborted."
49805007
],
49815008
"readOnly": true,
49825009
"type": "string"
@@ -5098,7 +5125,8 @@
50985125
"REPAIR_STATE_FAILED",
50995126
"REPAIR_STATE_IN_PROGRESS",
51005127
"REPAIR_STATE_PENDING",
5101-
"REPAIR_STATE_SKIPPED"
5128+
"REPAIR_STATE_SKIPPED",
5129+
"REPAIR_STATE_ABORTED"
51025130
],
51035131
"enumDescriptions": [
51045132
"The `repair` has an unspecified state.",
@@ -5107,7 +5135,8 @@
51075135
"The `repair` action has failed.",
51085136
"The `repair` action is in progress.",
51095137
"The `repair` action is pending.",
5110-
"The `repair` action was skipped."
5138+
"The `repair` action was skipped.",
5139+
"The `repair` action was aborted."
51115140
],
51125141
"readOnly": true,
51135142
"type": "string"
@@ -5409,6 +5438,7 @@
54095438
"TYPE_RESTRICTION_VIOLATED",
54105439
"TYPE_RESOURCE_DELETED",
54115440
"TYPE_ROLLOUT_UPDATE",
5441+
"TYPE_DEPLOY_POLICY_EVALUATION",
54125442
"TYPE_RENDER_STATUES_CHANGE"
54135443
],
54145444
"enumDeprecated": [
@@ -5419,6 +5449,7 @@
54195449
false,
54205450
false,
54215451
false,
5452+
false,
54225453
true
54235454
],
54245455
"enumDescriptions": [
@@ -5429,6 +5460,7 @@
54295460
"Restriction check failed.",
54305461
"Resource deleted.",
54315462
"Rollout updated.",
5463+
"Deploy Policy evaluation.",
54325464
"Deprecated: This field is never used. Use release_render log type instead."
54335465
],
54345466
"type": "string"
@@ -5510,6 +5542,7 @@
55105542
"TYPE_RESTRICTION_VIOLATED",
55115543
"TYPE_RESOURCE_DELETED",
55125544
"TYPE_ROLLOUT_UPDATE",
5545+
"TYPE_DEPLOY_POLICY_EVALUATION",
55135546
"TYPE_RENDER_STATUES_CHANGE"
55145547
],
55155548
"enumDeprecated": [
@@ -5520,6 +5553,7 @@
55205553
false,
55215554
false,
55225555
false,
5556+
false,
55235557
true
55245558
],
55255559
"enumDescriptions": [
@@ -5530,6 +5564,7 @@
55305564
"Restriction check failed.",
55315565
"Resource deleted.",
55325566
"Rollout updated.",
5567+
"Deploy Policy evaluation.",
55335568
"Deprecated: This field is never used. Use release_render log type instead."
55345569
],
55355570
"type": "string"
@@ -5972,6 +6007,7 @@
59726007
"TYPE_RESTRICTION_VIOLATED",
59736008
"TYPE_RESOURCE_DELETED",
59746009
"TYPE_ROLLOUT_UPDATE",
6010+
"TYPE_DEPLOY_POLICY_EVALUATION",
59756011
"TYPE_RENDER_STATUES_CHANGE"
59766012
],
59776013
"enumDeprecated": [
@@ -5982,6 +6018,7 @@
59826018
false,
59836019
false,
59846020
false,
6021+
false,
59856022
true
59866023
],
59876024
"enumDescriptions": [
@@ -5992,6 +6029,7 @@
59926029
"Restriction check failed.",
59936030
"Resource deleted.",
59946031
"Rollout updated.",
6032+
"Deploy Policy evaluation.",
59956033
"Deprecated: This field is never used. Use release_render log type instead."
59966034
],
59976035
"type": "string"

src/apis/clouddeploy/v1.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,10 @@ export namespace clouddeploy_v1 {
343343
* Output only. The IDs of the AutomationRuns initiated by an advance rollout rule.
344344
*/
345345
advanceAutomationRuns?: string[] | null;
346+
/**
347+
* Output only. The current AutomationRun repairing the rollout.
348+
*/
349+
currentRepairAutomationRun?: string | null;
346350
/**
347351
* Output only. The ID of the AutomationRun initiated by a promote release rule.
348352
*/

0 commit comments

Comments
 (0)