Skip to content

feat(all): auto-regenerate discovery clients #2858

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
107 changes: 105 additions & 2 deletions clouddeploy/v1/clouddeploy-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -2289,7 +2289,7 @@
}
}
},
"revision": "20241010",
"revision": "20241029",
"rootUrl": "https://clouddeploy.googleapis.com/",
"schemas": {
"AbandonReleaseRequest": {
Expand Down Expand Up @@ -2694,6 +2694,10 @@
"repairRolloutRule": {
"$ref": "RepairRolloutRule",
"description": "Optional. The `RepairRolloutRule` will automatically repair a failed rollout."
},
"timedPromoteReleaseRule": {
"$ref": "TimedPromoteReleaseRule",
"description": "Optional. The `TimedPromoteReleaseRule` will automatically promote a release from the current target(s) to the specified target(s) on a configured schedule."
}
},
"type": "object"
Expand All @@ -2705,6 +2709,10 @@
"targetsPresentCondition": {
"$ref": "TargetsPresentCondition",
"description": "Optional. Details around targets enumerated in the rule."
},
"timedPromoteReleaseCondition": {
"$ref": "TimedPromoteReleaseCondition",
"description": "Optional. TimedPromoteReleaseCondition contains rule conditions specific to a an Automation with a timed promote release rule defined."
}
},
"type": "object"
Expand Down Expand Up @@ -2804,10 +2812,15 @@
"type": "string"
},
"targetId": {
"description": "Output only. The ID of the target that represents the promotion stage that initiates the `AutomationRun`. The value of this field is the last segment of a target name.",
"description": "Output only. The ID of the source target that initiates the `AutomationRun`. The value of this field is the last segment of a target name.",
"readOnly": true,
"type": "string"
},
"timedPromoteReleaseOperation": {
"$ref": "TimedPromoteReleaseOperation",
"description": "Output only. Promotes a release to a specified 'Target' as defined in a Timed Promote Release rule.",
"readOnly": true
},
"updateTime": {
"description": "Output only. Time at which the automationRun was updated.",
"format": "google-datetime",
Expand Down Expand Up @@ -6914,6 +6927,21 @@
},
"type": "object"
},
"Targets": {
"description": "The targets involved in a single timed promotion.",
"id": "Targets",
"properties": {
"destinationTargetId": {
"description": "Optional. The destination target ID.",
"type": "string"
},
"sourceTargetId": {
"description": "Optional. The source target ID.",
"type": "string"
}
},
"type": "object"
},
"TargetsPresentCondition": {
"description": "`TargetsPresentCondition` contains information on any Targets referenced in the Delivery Pipeline that do not actually exist.",
"id": "TargetsPresentCondition",
Expand Down Expand Up @@ -7052,6 +7080,81 @@
},
"type": "object"
},
"TimedPromoteReleaseCondition": {
"description": "`TimedPromoteReleaseCondition` contains conditions specific to an Automation with a Timed Promote Release rule defined.",
"id": "TimedPromoteReleaseCondition",
"properties": {
"nextPromotionTime": {
"description": "Output only. When the next scheduled promotion(s) will occur.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"targetsList": {
"description": "Output only. A list of targets involved in the upcoming timed promotion(s).",
"items": {
"$ref": "Targets"
},
"readOnly": true,
"type": "array"
}
},
"type": "object"
},
"TimedPromoteReleaseOperation": {
"description": "Contains the information of an automated timed promote-release operation.",
"id": "TimedPromoteReleaseOperation",
"properties": {
"phase": {
"description": "Output only. The starting phase of the rollout created by this operation.",
"readOnly": true,
"type": "string"
},
"release": {
"description": "Output only. The name of the release to be promoted.",
"readOnly": true,
"type": "string"
},
"targetId": {
"description": "Output only. The ID of the target that represents the promotion stage to which the release will be promoted. The value of this field is the last segment of a target name.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"TimedPromoteReleaseRule": {
"description": "The `TimedPromoteReleaseRule` will automatically promote a release from the current target(s) to the specified target(s) on a configured schedule.",
"id": "TimedPromoteReleaseRule",
"properties": {
"condition": {
"$ref": "AutomationRuleCondition",
"description": "Output only. Information around the state of the Automation rule.",
"readOnly": true
},
"destinationPhase": {
"description": "Optional. The starting phase of the rollout created by this rule. Default to the first phase.",
"type": "string"
},
"destinationTargetId": {
"description": "Optional. The ID of the stage in the pipeline to which this `Release` is deploying. If unspecified, default it to the next stage in the promotion flow. The value of this field could be one of the following: * The last segment of a target name * \"@next\", the next target in the promotion sequence",
"type": "string"
},
"id": {
"description": "Required. ID of the rule. This ID must be unique in the `Automation` resource to which this rule belongs. The format is `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.",
"type": "string"
},
"schedule": {
"description": "Required. Schedule in crontab format. e.g. \"0 9 * * 1\" for every Monday at 9am.",
"type": "string"
},
"timeZone": {
"description": "Required. The time zone in IANA format [IANA Time Zone Database](https://www.iana.org/time-zones) (e.g. America/New_York).",
"type": "string"
}
},
"type": "object"
},
"VerifyJob": {
"description": "A verify Job.",
"id": "VerifyJob",
Expand Down
142 changes: 139 additions & 3 deletions clouddeploy/v1/clouddeploy-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading