Skip to content

Commit 92ebeff

Browse files
yoshi-automationcodyoss
authored andcommitted
feat(all): auto-regenerate discovery clients (googleapis#2858)
1 parent bd1ec20 commit 92ebeff

File tree

20 files changed

+678
-156
lines changed

20 files changed

+678
-156
lines changed

‎clouddeploy/v1/clouddeploy-api.json

Lines changed: 105 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2289,7 +2289,7 @@
22892289
}
22902290
}
22912291
},
2292-
"revision": "20241010",
2292+
"revision": "20241029",
22932293
"rootUrl": "https://clouddeploy.googleapis.com/",
22942294
"schemas": {
22952295
"AbandonReleaseRequest": {
@@ -2694,6 +2694,10 @@
26942694
"repairRolloutRule": {
26952695
"$ref": "RepairRolloutRule",
26962696
"description": "Optional. The `RepairRolloutRule` will automatically repair a failed rollout."
2697+
},
2698+
"timedPromoteReleaseRule": {
2699+
"$ref": "TimedPromoteReleaseRule",
2700+
"description": "Optional. The `TimedPromoteReleaseRule` will automatically promote a release from the current target(s) to the specified target(s) on a configured schedule."
26972701
}
26982702
},
26992703
"type": "object"
@@ -2705,6 +2709,10 @@
27052709
"targetsPresentCondition": {
27062710
"$ref": "TargetsPresentCondition",
27072711
"description": "Optional. Details around targets enumerated in the rule."
2712+
},
2713+
"timedPromoteReleaseCondition": {
2714+
"$ref": "TimedPromoteReleaseCondition",
2715+
"description": "Optional. TimedPromoteReleaseCondition contains rule conditions specific to a an Automation with a timed promote release rule defined."
27082716
}
27092717
},
27102718
"type": "object"
@@ -2804,10 +2812,15 @@
28042812
"type": "string"
28052813
},
28062814
"targetId": {
2807-
"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.",
2815+
"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.",
28082816
"readOnly": true,
28092817
"type": "string"
28102818
},
2819+
"timedPromoteReleaseOperation": {
2820+
"$ref": "TimedPromoteReleaseOperation",
2821+
"description": "Output only. Promotes a release to a specified 'Target' as defined in a Timed Promote Release rule.",
2822+
"readOnly": true
2823+
},
28112824
"updateTime": {
28122825
"description": "Output only. Time at which the automationRun was updated.",
28132826
"format": "google-datetime",
@@ -6914,6 +6927,21 @@
69146927
},
69156928
"type": "object"
69166929
},
6930+
"Targets": {
6931+
"description": "The targets involved in a single timed promotion.",
6932+
"id": "Targets",
6933+
"properties": {
6934+
"destinationTargetId": {
6935+
"description": "Optional. The destination target ID.",
6936+
"type": "string"
6937+
},
6938+
"sourceTargetId": {
6939+
"description": "Optional. The source target ID.",
6940+
"type": "string"
6941+
}
6942+
},
6943+
"type": "object"
6944+
},
69176945
"TargetsPresentCondition": {
69186946
"description": "`TargetsPresentCondition` contains information on any Targets referenced in the Delivery Pipeline that do not actually exist.",
69196947
"id": "TargetsPresentCondition",
@@ -7052,6 +7080,81 @@
70527080
},
70537081
"type": "object"
70547082
},
7083+
"TimedPromoteReleaseCondition": {
7084+
"description": "`TimedPromoteReleaseCondition` contains conditions specific to an Automation with a Timed Promote Release rule defined.",
7085+
"id": "TimedPromoteReleaseCondition",
7086+
"properties": {
7087+
"nextPromotionTime": {
7088+
"description": "Output only. When the next scheduled promotion(s) will occur.",
7089+
"format": "google-datetime",
7090+
"readOnly": true,
7091+
"type": "string"
7092+
},
7093+
"targetsList": {
7094+
"description": "Output only. A list of targets involved in the upcoming timed promotion(s).",
7095+
"items": {
7096+
"$ref": "Targets"
7097+
},
7098+
"readOnly": true,
7099+
"type": "array"
7100+
}
7101+
},
7102+
"type": "object"
7103+
},
7104+
"TimedPromoteReleaseOperation": {
7105+
"description": "Contains the information of an automated timed promote-release operation.",
7106+
"id": "TimedPromoteReleaseOperation",
7107+
"properties": {
7108+
"phase": {
7109+
"description": "Output only. The starting phase of the rollout created by this operation.",
7110+
"readOnly": true,
7111+
"type": "string"
7112+
},
7113+
"release": {
7114+
"description": "Output only. The name of the release to be promoted.",
7115+
"readOnly": true,
7116+
"type": "string"
7117+
},
7118+
"targetId": {
7119+
"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.",
7120+
"readOnly": true,
7121+
"type": "string"
7122+
}
7123+
},
7124+
"type": "object"
7125+
},
7126+
"TimedPromoteReleaseRule": {
7127+
"description": "The `TimedPromoteReleaseRule` will automatically promote a release from the current target(s) to the specified target(s) on a configured schedule.",
7128+
"id": "TimedPromoteReleaseRule",
7129+
"properties": {
7130+
"condition": {
7131+
"$ref": "AutomationRuleCondition",
7132+
"description": "Output only. Information around the state of the Automation rule.",
7133+
"readOnly": true
7134+
},
7135+
"destinationPhase": {
7136+
"description": "Optional. The starting phase of the rollout created by this rule. Default to the first phase.",
7137+
"type": "string"
7138+
},
7139+
"destinationTargetId": {
7140+
"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",
7141+
"type": "string"
7142+
},
7143+
"id": {
7144+
"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])?`.",
7145+
"type": "string"
7146+
},
7147+
"schedule": {
7148+
"description": "Required. Schedule in crontab format. e.g. \"0 9 * * 1\" for every Monday at 9am.",
7149+
"type": "string"
7150+
},
7151+
"timeZone": {
7152+
"description": "Required. The time zone in IANA format [IANA Time Zone Database](https://www.iana.org/time-zones) (e.g. America/New_York).",
7153+
"type": "string"
7154+
}
7155+
},
7156+
"type": "object"
7157+
},
70557158
"VerifyJob": {
70567159
"description": "A verify Job.",
70577160
"id": "VerifyJob",

‎clouddeploy/v1/clouddeploy-gen.go

Lines changed: 139 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)