Skip to content

Commit

Permalink
feat(clouddeploy): update the API
Browse files Browse the repository at this point in the history
#### 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
  • Loading branch information
yoshi-automation authored and sofisl committed Mar 14, 2024
1 parent 5ed8cc6 commit 7537bf0
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 7 deletions.
52 changes: 45 additions & 7 deletions discovery/clouddeploy-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2065,7 +2065,7 @@
}
}
},
"revision": "20240207",
"revision": "20240228",
"rootUrl": "https://clouddeploy.googleapis.com/",
"schemas": {
"AbandonReleaseRequest": {
Expand Down Expand Up @@ -2348,6 +2348,7 @@
"TYPE_RESTRICTION_VIOLATED",
"TYPE_RESOURCE_DELETED",
"TYPE_ROLLOUT_UPDATE",
"TYPE_DEPLOY_POLICY_EVALUATION",
"TYPE_RENDER_STATUES_CHANGE"
],
"enumDeprecated": [
Expand All @@ -2358,6 +2359,7 @@
false,
false,
false,
false,
true
],
"enumDescriptions": [
Expand All @@ -2368,6 +2370,7 @@
"Restriction check failed.",
"Resource deleted.",
"Rollout updated.",
"Deploy Policy evaluation.",
"Deprecated: This field is never used. Use release_render log type instead."
],
"type": "string"
Expand Down Expand Up @@ -2401,6 +2404,11 @@
"readOnly": true,
"type": "array"
},
"currentRepairAutomationRun": {
"description": "Output only. The current AutomationRun repairing the rollout.",
"readOnly": true,
"type": "string"
},
"promoteAutomationRun": {
"description": "Output only. The ID of the AutomationRun initiated by a promote release rule.",
"readOnly": true,
Expand Down Expand Up @@ -2516,15 +2524,17 @@
"CANCELLED",
"FAILED",
"IN_PROGRESS",
"PENDING"
"PENDING",
"ABORTED"
],
"enumDescriptions": [
"The `AutomationRun` has an unspecified state.",
"The `AutomationRun` has succeeded.",
"The `AutomationRun` was cancelled.",
"The `AutomationRun` has failed.",
"The `AutomationRun` is in progress.",
"The `AutomationRun` is pending."
"The `AutomationRun` is pending.",
"The `AutomationRun` was aborted."
],
"readOnly": true,
"type": "string"
Expand Down Expand Up @@ -2592,6 +2602,7 @@
"TYPE_RESTRICTION_VIOLATED",
"TYPE_RESOURCE_DELETED",
"TYPE_ROLLOUT_UPDATE",
"TYPE_DEPLOY_POLICY_EVALUATION",
"TYPE_RENDER_STATUES_CHANGE"
],
"enumDeprecated": [
Expand All @@ -2602,6 +2613,7 @@
false,
false,
false,
false,
true
],
"enumDescriptions": [
Expand All @@ -2612,6 +2624,7 @@
"Restriction check failed.",
"Resource deleted.",
"Rollout updated.",
"Deploy Policy evaluation.",
"Deprecated: This field is never used. Use release_render log type instead."
],
"type": "string"
Expand Down Expand Up @@ -3144,6 +3157,7 @@
"TYPE_RESTRICTION_VIOLATED",
"TYPE_RESOURCE_DELETED",
"TYPE_ROLLOUT_UPDATE",
"TYPE_DEPLOY_POLICY_EVALUATION",
"TYPE_RENDER_STATUES_CHANGE"
],
"enumDeprecated": [
Expand All @@ -3154,6 +3168,7 @@
false,
false,
false,
false,
true
],
"enumDescriptions": [
Expand All @@ -3164,6 +3179,7 @@
"Restriction check failed.",
"Resource deleted.",
"Rollout updated.",
"Deploy Policy evaluation.",
"Deprecated: This field is never used. Use release_render log type instead."
],
"type": "string"
Expand Down Expand Up @@ -3691,6 +3707,7 @@
"TYPE_RESTRICTION_VIOLATED",
"TYPE_RESOURCE_DELETED",
"TYPE_ROLLOUT_UPDATE",
"TYPE_DEPLOY_POLICY_EVALUATION",
"TYPE_RENDER_STATUES_CHANGE"
],
"enumDeprecated": [
Expand All @@ -3701,6 +3718,7 @@
false,
false,
false,
false,
true
],
"enumDescriptions": [
Expand All @@ -3711,6 +3729,7 @@
"Restriction check failed.",
"Resource deleted.",
"Rollout updated.",
"Deploy Policy evaluation.",
"Deprecated: This field is never used. Use release_render log type instead."
],
"type": "string"
Expand Down Expand Up @@ -4688,6 +4707,7 @@
"TYPE_RESTRICTION_VIOLATED",
"TYPE_RESOURCE_DELETED",
"TYPE_ROLLOUT_UPDATE",
"TYPE_DEPLOY_POLICY_EVALUATION",
"TYPE_RENDER_STATUES_CHANGE"
],
"enumDeprecated": [
Expand All @@ -4698,6 +4718,7 @@
false,
false,
false,
false,
true
],
"enumDescriptions": [
Expand All @@ -4708,6 +4729,7 @@
"Restriction check failed.",
"Resource deleted.",
"Rollout updated.",
"Deploy Policy evaluation.",
"Deprecated: This field is never used. Use release_render log type instead."
],
"type": "string"
Expand Down Expand Up @@ -4768,6 +4790,7 @@
"TYPE_RESTRICTION_VIOLATED",
"TYPE_RESOURCE_DELETED",
"TYPE_ROLLOUT_UPDATE",
"TYPE_DEPLOY_POLICY_EVALUATION",
"TYPE_RENDER_STATUES_CHANGE"
],
"enumDeprecated": [
Expand All @@ -4778,6 +4801,7 @@
false,
false,
false,
false,
true
],
"enumDescriptions": [
Expand All @@ -4788,6 +4812,7 @@
"Restriction check failed.",
"Resource deleted.",
"Rollout updated.",
"Deploy Policy evaluation.",
"Deprecated: This field is never used. Use release_render log type instead."
],
"type": "string"
Expand Down Expand Up @@ -4967,7 +4992,8 @@
"REPAIR_STATE_FAILED",
"REPAIR_STATE_IN_PROGRESS",
"REPAIR_STATE_PENDING",
"REPAIR_STATE_SKIPPED"
"REPAIR_STATE_SKIPPED",
"REPAIR_STATE_ABORTED"
],
"enumDescriptions": [
"The `repair` has an unspecified state.",
Expand All @@ -4976,7 +5002,8 @@
"The `repair` action has failed.",
"The `repair` action is in progress.",
"The `repair` action is pending.",
"The `repair` action was skipped."
"The `repair` action was skipped.",
"The `repair` action was aborted."
],
"readOnly": true,
"type": "string"
Expand Down Expand Up @@ -5098,7 +5125,8 @@
"REPAIR_STATE_FAILED",
"REPAIR_STATE_IN_PROGRESS",
"REPAIR_STATE_PENDING",
"REPAIR_STATE_SKIPPED"
"REPAIR_STATE_SKIPPED",
"REPAIR_STATE_ABORTED"
],
"enumDescriptions": [
"The `repair` has an unspecified state.",
Expand All @@ -5107,7 +5135,8 @@
"The `repair` action has failed.",
"The `repair` action is in progress.",
"The `repair` action is pending.",
"The `repair` action was skipped."
"The `repair` action was skipped.",
"The `repair` action was aborted."
],
"readOnly": true,
"type": "string"
Expand Down Expand Up @@ -5409,6 +5438,7 @@
"TYPE_RESTRICTION_VIOLATED",
"TYPE_RESOURCE_DELETED",
"TYPE_ROLLOUT_UPDATE",
"TYPE_DEPLOY_POLICY_EVALUATION",
"TYPE_RENDER_STATUES_CHANGE"
],
"enumDeprecated": [
Expand All @@ -5419,6 +5449,7 @@
false,
false,
false,
false,
true
],
"enumDescriptions": [
Expand All @@ -5429,6 +5460,7 @@
"Restriction check failed.",
"Resource deleted.",
"Rollout updated.",
"Deploy Policy evaluation.",
"Deprecated: This field is never used. Use release_render log type instead."
],
"type": "string"
Expand Down Expand Up @@ -5510,6 +5542,7 @@
"TYPE_RESTRICTION_VIOLATED",
"TYPE_RESOURCE_DELETED",
"TYPE_ROLLOUT_UPDATE",
"TYPE_DEPLOY_POLICY_EVALUATION",
"TYPE_RENDER_STATUES_CHANGE"
],
"enumDeprecated": [
Expand All @@ -5520,6 +5553,7 @@
false,
false,
false,
false,
true
],
"enumDescriptions": [
Expand All @@ -5530,6 +5564,7 @@
"Restriction check failed.",
"Resource deleted.",
"Rollout updated.",
"Deploy Policy evaluation.",
"Deprecated: This field is never used. Use release_render log type instead."
],
"type": "string"
Expand Down Expand Up @@ -5972,6 +6007,7 @@
"TYPE_RESTRICTION_VIOLATED",
"TYPE_RESOURCE_DELETED",
"TYPE_ROLLOUT_UPDATE",
"TYPE_DEPLOY_POLICY_EVALUATION",
"TYPE_RENDER_STATUES_CHANGE"
],
"enumDeprecated": [
Expand All @@ -5982,6 +6018,7 @@
false,
false,
false,
false,
true
],
"enumDescriptions": [
Expand All @@ -5992,6 +6029,7 @@
"Restriction check failed.",
"Resource deleted.",
"Rollout updated.",
"Deploy Policy evaluation.",
"Deprecated: This field is never used. Use release_render log type instead."
],
"type": "string"
Expand Down
4 changes: 4 additions & 0 deletions src/apis/clouddeploy/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,10 @@ export namespace clouddeploy_v1 {
* Output only. The IDs of the AutomationRuns initiated by an advance rollout rule.
*/
advanceAutomationRuns?: string[] | null;
/**
* Output only. The current AutomationRun repairing the rollout.
*/
currentRepairAutomationRun?: string | null;
/**
* Output only. The ID of the AutomationRun initiated by a promote release rule.
*/
Expand Down

0 comments on commit 7537bf0

Please sign in to comment.