Skip to content

Commit 5962e7e

Browse files
feat(clouddeploy): update the api
#### clouddeploy:v1 The following keys were added: - schemas.AdvanceChildRolloutJob (Total Keys: 8) - schemas.ChildRolloutJobs (Total Keys: 8) - schemas.CreateChildRolloutJob (Total Keys: 8) - schemas.Job.properties.advanceChildRolloutJob (Total Keys: 2) - schemas.Job.properties.createChildRolloutJob (Total Keys: 2) - schemas.JobRun.properties.advanceChildRolloutJobRun (Total Keys: 2) - schemas.JobRun.properties.createChildRolloutJobRun (Total Keys: 2) - schemas.MultiTarget (Total Keys: 4) - schemas.Phase.properties.childRolloutJobs (Total Keys: 2) - schemas.Rollout.properties.controllerRollout (Total Keys: 2) - schemas.Target.properties.multiTarget.$ref (Total Keys: 1)
1 parent 55d8bd6 commit 5962e7e

5 files changed

+292
-1
lines changed

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,11 @@ <h3>Method Details</h3>
271271
&quot;labels&quot;: { # Optional. Labels are attributes that can be set and used by both the user and by Google Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be &lt;= 128 bytes.
272272
&quot;a_key&quot;: &quot;A String&quot;,
273273
},
274+
&quot;multiTarget&quot;: { # Information specifying a multiTarget. # Information specifying a multiTarget.
275+
&quot;targetIds&quot;: [ # Required. The target_ids of this multiTarget.
276+
&quot;A String&quot;,
277+
],
278+
},
274279
&quot;name&quot;: &quot;A String&quot;, # Optional. Name of the `Target`. Format is projects/{project}/locations/{location}/targets/a-z{0,62}.
275280
&quot;requireApproval&quot;: True or False, # Optional. Whether or not the `Target` requires approval.
276281
&quot;run&quot;: { # Information specifying where to deploy a Cloud Run Service. # Information specifying a Cloud Run deployment target.
@@ -465,6 +470,11 @@ <h3>Method Details</h3>
465470
&quot;labels&quot;: { # Optional. Labels are attributes that can be set and used by both the user and by Google Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be &lt;= 128 bytes.
466471
&quot;a_key&quot;: &quot;A String&quot;,
467472
},
473+
&quot;multiTarget&quot;: { # Information specifying a multiTarget. # Information specifying a multiTarget.
474+
&quot;targetIds&quot;: [ # Required. The target_ids of this multiTarget.
475+
&quot;A String&quot;,
476+
],
477+
},
468478
&quot;name&quot;: &quot;A String&quot;, # Optional. Name of the `Target`. Format is projects/{project}/locations/{location}/targets/a-z{0,62}.
469479
&quot;requireApproval&quot;: True or False, # Optional. Whether or not the `Target` requires approval.
470480
&quot;run&quot;: { # Information specifying where to deploy a Cloud Run Service. # Information specifying a Cloud Run deployment target.
@@ -635,6 +645,11 @@ <h3>Method Details</h3>
635645
&quot;labels&quot;: { # Optional. Labels are attributes that can be set and used by both the user and by Google Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be &lt;= 128 bytes.
636646
&quot;a_key&quot;: &quot;A String&quot;,
637647
},
648+
&quot;multiTarget&quot;: { # Information specifying a multiTarget. # Information specifying a multiTarget.
649+
&quot;targetIds&quot;: [ # Required. The target_ids of this multiTarget.
650+
&quot;A String&quot;,
651+
],
652+
},
638653
&quot;name&quot;: &quot;A String&quot;, # Optional. Name of the `Target`. Format is projects/{project}/locations/{location}/targets/a-z{0,62}.
639654
&quot;requireApproval&quot;: True or False, # Optional. Whether or not the `Target` requires approval.
640655
&quot;run&quot;: { # Information specifying where to deploy a Cloud Run Service. # Information specifying a Cloud Run deployment target.

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

Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ <h3>Method Details</h3>
146146
},
147147
&quot;approvalState&quot;: &quot;A String&quot;, # Output only. Approval state of the `Rollout`.
148148
&quot;approveTime&quot;: &quot;A String&quot;, # Output only. Time at which the `Rollout` was approved.
149+
&quot;controllerRollout&quot;: &quot;A String&quot;, # Output only. Name of the `ControllerRollout`. Format is projects/{project}/ locations/{location}/deliveryPipelines/{deliveryPipeline}/ releases/{release}/rollouts/a-z{0,62}.
149150
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the `Rollout` was created.
150151
&quot;deployEndTime&quot;: &quot;A String&quot;, # Output only. Time at which the `Rollout` finished deploying.
151152
&quot;deployFailureCause&quot;: &quot;A String&quot;, # Output only. The reason this rollout failed. This will always be unspecified while the rollout is in progress.
@@ -170,8 +171,44 @@ <h3>Method Details</h3>
170171
&quot;name&quot;: &quot;A String&quot;, # Optional. Name of the `Rollout`. Format is projects/{project}/ locations/{location}/deliveryPipelines/{deliveryPipeline}/ releases/{release}/rollouts/a-z{0,62}.
171172
&quot;phases&quot;: [ # Output only. The phases that represent the workflows of this `Rollout`.
172173
{ # Phase represents a collection of jobs that are logically grouped together for a `Rollout`.
174+
&quot;childRolloutJobs&quot;: { # ChildRollouts job composition # Output only. ChildRollout job composition.
175+
&quot;advanceRolloutJobs&quot;: [ # Output only. List of AdvanceChildRolloutJobs
176+
{ # Job represents an operation for a `Rollout`.
177+
&quot;advanceChildRolloutJob&quot;: { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job.
178+
},
179+
&quot;createChildRolloutJob&quot;: { # A createChildRollout Job. # Output only. A createChildRollout Job.
180+
},
181+
&quot;deployJob&quot;: { # A deploy Job. # Output only. A deploy Job.
182+
},
183+
&quot;id&quot;: &quot;A String&quot;, # Output only. The ID of the Job.
184+
&quot;jobRun&quot;: &quot;A String&quot;, # Output only. The name of the `JobRun` responsible for the most recent invocation of this Job.
185+
&quot;state&quot;: &quot;A String&quot;, # Output only. The current state of the Job.
186+
&quot;verifyJob&quot;: { # A verify Job. # Output only. A verify Job.
187+
},
188+
},
189+
],
190+
&quot;createRolloutJobs&quot;: [ # Output only. List of CreateChildRolloutJobs
191+
{ # Job represents an operation for a `Rollout`.
192+
&quot;advanceChildRolloutJob&quot;: { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job.
193+
},
194+
&quot;createChildRolloutJob&quot;: { # A createChildRollout Job. # Output only. A createChildRollout Job.
195+
},
196+
&quot;deployJob&quot;: { # A deploy Job. # Output only. A deploy Job.
197+
},
198+
&quot;id&quot;: &quot;A String&quot;, # Output only. The ID of the Job.
199+
&quot;jobRun&quot;: &quot;A String&quot;, # Output only. The name of the `JobRun` responsible for the most recent invocation of this Job.
200+
&quot;state&quot;: &quot;A String&quot;, # Output only. The current state of the Job.
201+
&quot;verifyJob&quot;: { # A verify Job. # Output only. A verify Job.
202+
},
203+
},
204+
],
205+
},
173206
&quot;deploymentJobs&quot;: { # Deployment job composition. # Output only. Deployment job composition.
174207
&quot;deployJob&quot;: { # Job represents an operation for a `Rollout`. # Output only. The deploy Job. This is the first job run in the phase.
208+
&quot;advanceChildRolloutJob&quot;: { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job.
209+
},
210+
&quot;createChildRolloutJob&quot;: { # A createChildRollout Job. # Output only. A createChildRollout Job.
211+
},
175212
&quot;deployJob&quot;: { # A deploy Job. # Output only. A deploy Job.
176213
},
177214
&quot;id&quot;: &quot;A String&quot;, # Output only. The ID of the Job.
@@ -181,6 +218,10 @@ <h3>Method Details</h3>
181218
},
182219
},
183220
&quot;verifyJob&quot;: { # Job represents an operation for a `Rollout`. # Output only. The verify Job. Runs after a deploy if the deploy succeeds.
221+
&quot;advanceChildRolloutJob&quot;: { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job.
222+
},
223+
&quot;createChildRolloutJob&quot;: { # A createChildRollout Job. # Output only. A createChildRollout Job.
224+
},
184225
&quot;deployJob&quot;: { # A deploy Job. # Output only. A deploy Job.
185226
},
186227
&quot;id&quot;: &quot;A String&quot;, # Output only. The ID of the Job.
@@ -252,6 +293,7 @@ <h3>Method Details</h3>
252293
},
253294
&quot;approvalState&quot;: &quot;A String&quot;, # Output only. Approval state of the `Rollout`.
254295
&quot;approveTime&quot;: &quot;A String&quot;, # Output only. Time at which the `Rollout` was approved.
296+
&quot;controllerRollout&quot;: &quot;A String&quot;, # Output only. Name of the `ControllerRollout`. Format is projects/{project}/ locations/{location}/deliveryPipelines/{deliveryPipeline}/ releases/{release}/rollouts/a-z{0,62}.
255297
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the `Rollout` was created.
256298
&quot;deployEndTime&quot;: &quot;A String&quot;, # Output only. Time at which the `Rollout` finished deploying.
257299
&quot;deployFailureCause&quot;: &quot;A String&quot;, # Output only. The reason this rollout failed. This will always be unspecified while the rollout is in progress.
@@ -276,8 +318,44 @@ <h3>Method Details</h3>
276318
&quot;name&quot;: &quot;A String&quot;, # Optional. Name of the `Rollout`. Format is projects/{project}/ locations/{location}/deliveryPipelines/{deliveryPipeline}/ releases/{release}/rollouts/a-z{0,62}.
277319
&quot;phases&quot;: [ # Output only. The phases that represent the workflows of this `Rollout`.
278320
{ # Phase represents a collection of jobs that are logically grouped together for a `Rollout`.
321+
&quot;childRolloutJobs&quot;: { # ChildRollouts job composition # Output only. ChildRollout job composition.
322+
&quot;advanceRolloutJobs&quot;: [ # Output only. List of AdvanceChildRolloutJobs
323+
{ # Job represents an operation for a `Rollout`.
324+
&quot;advanceChildRolloutJob&quot;: { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job.
325+
},
326+
&quot;createChildRolloutJob&quot;: { # A createChildRollout Job. # Output only. A createChildRollout Job.
327+
},
328+
&quot;deployJob&quot;: { # A deploy Job. # Output only. A deploy Job.
329+
},
330+
&quot;id&quot;: &quot;A String&quot;, # Output only. The ID of the Job.
331+
&quot;jobRun&quot;: &quot;A String&quot;, # Output only. The name of the `JobRun` responsible for the most recent invocation of this Job.
332+
&quot;state&quot;: &quot;A String&quot;, # Output only. The current state of the Job.
333+
&quot;verifyJob&quot;: { # A verify Job. # Output only. A verify Job.
334+
},
335+
},
336+
],
337+
&quot;createRolloutJobs&quot;: [ # Output only. List of CreateChildRolloutJobs
338+
{ # Job represents an operation for a `Rollout`.
339+
&quot;advanceChildRolloutJob&quot;: { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job.
340+
},
341+
&quot;createChildRolloutJob&quot;: { # A createChildRollout Job. # Output only. A createChildRollout Job.
342+
},
343+
&quot;deployJob&quot;: { # A deploy Job. # Output only. A deploy Job.
344+
},
345+
&quot;id&quot;: &quot;A String&quot;, # Output only. The ID of the Job.
346+
&quot;jobRun&quot;: &quot;A String&quot;, # Output only. The name of the `JobRun` responsible for the most recent invocation of this Job.
347+
&quot;state&quot;: &quot;A String&quot;, # Output only. The current state of the Job.
348+
&quot;verifyJob&quot;: { # A verify Job. # Output only. A verify Job.
349+
},
350+
},
351+
],
352+
},
279353
&quot;deploymentJobs&quot;: { # Deployment job composition. # Output only. Deployment job composition.
280354
&quot;deployJob&quot;: { # Job represents an operation for a `Rollout`. # Output only. The deploy Job. This is the first job run in the phase.
355+
&quot;advanceChildRolloutJob&quot;: { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job.
356+
},
357+
&quot;createChildRolloutJob&quot;: { # A createChildRollout Job. # Output only. A createChildRollout Job.
358+
},
281359
&quot;deployJob&quot;: { # A deploy Job. # Output only. A deploy Job.
282360
},
283361
&quot;id&quot;: &quot;A String&quot;, # Output only. The ID of the Job.
@@ -287,6 +365,10 @@ <h3>Method Details</h3>
287365
},
288366
},
289367
&quot;verifyJob&quot;: { # Job represents an operation for a `Rollout`. # Output only. The verify Job. Runs after a deploy if the deploy succeeds.
368+
&quot;advanceChildRolloutJob&quot;: { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job.
369+
},
370+
&quot;createChildRolloutJob&quot;: { # A createChildRollout Job. # Output only. A createChildRollout Job.
371+
},
290372
&quot;deployJob&quot;: { # A deploy Job. # Output only. A deploy Job.
291373
},
292374
&quot;id&quot;: &quot;A String&quot;, # Output only. The ID of the Job.
@@ -333,6 +415,7 @@ <h3>Method Details</h3>
333415
},
334416
&quot;approvalState&quot;: &quot;A String&quot;, # Output only. Approval state of the `Rollout`.
335417
&quot;approveTime&quot;: &quot;A String&quot;, # Output only. Time at which the `Rollout` was approved.
418+
&quot;controllerRollout&quot;: &quot;A String&quot;, # Output only. Name of the `ControllerRollout`. Format is projects/{project}/ locations/{location}/deliveryPipelines/{deliveryPipeline}/ releases/{release}/rollouts/a-z{0,62}.
336419
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time at which the `Rollout` was created.
337420
&quot;deployEndTime&quot;: &quot;A String&quot;, # Output only. Time at which the `Rollout` finished deploying.
338421
&quot;deployFailureCause&quot;: &quot;A String&quot;, # Output only. The reason this rollout failed. This will always be unspecified while the rollout is in progress.
@@ -357,8 +440,44 @@ <h3>Method Details</h3>
357440
&quot;name&quot;: &quot;A String&quot;, # Optional. Name of the `Rollout`. Format is projects/{project}/ locations/{location}/deliveryPipelines/{deliveryPipeline}/ releases/{release}/rollouts/a-z{0,62}.
358441
&quot;phases&quot;: [ # Output only. The phases that represent the workflows of this `Rollout`.
359442
{ # Phase represents a collection of jobs that are logically grouped together for a `Rollout`.
443+
&quot;childRolloutJobs&quot;: { # ChildRollouts job composition # Output only. ChildRollout job composition.
444+
&quot;advanceRolloutJobs&quot;: [ # Output only. List of AdvanceChildRolloutJobs
445+
{ # Job represents an operation for a `Rollout`.
446+
&quot;advanceChildRolloutJob&quot;: { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job.
447+
},
448+
&quot;createChildRolloutJob&quot;: { # A createChildRollout Job. # Output only. A createChildRollout Job.
449+
},
450+
&quot;deployJob&quot;: { # A deploy Job. # Output only. A deploy Job.
451+
},
452+
&quot;id&quot;: &quot;A String&quot;, # Output only. The ID of the Job.
453+
&quot;jobRun&quot;: &quot;A String&quot;, # Output only. The name of the `JobRun` responsible for the most recent invocation of this Job.
454+
&quot;state&quot;: &quot;A String&quot;, # Output only. The current state of the Job.
455+
&quot;verifyJob&quot;: { # A verify Job. # Output only. A verify Job.
456+
},
457+
},
458+
],
459+
&quot;createRolloutJobs&quot;: [ # Output only. List of CreateChildRolloutJobs
460+
{ # Job represents an operation for a `Rollout`.
461+
&quot;advanceChildRolloutJob&quot;: { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job.
462+
},
463+
&quot;createChildRolloutJob&quot;: { # A createChildRollout Job. # Output only. A createChildRollout Job.
464+
},
465+
&quot;deployJob&quot;: { # A deploy Job. # Output only. A deploy Job.
466+
},
467+
&quot;id&quot;: &quot;A String&quot;, # Output only. The ID of the Job.
468+
&quot;jobRun&quot;: &quot;A String&quot;, # Output only. The name of the `JobRun` responsible for the most recent invocation of this Job.
469+
&quot;state&quot;: &quot;A String&quot;, # Output only. The current state of the Job.
470+
&quot;verifyJob&quot;: { # A verify Job. # Output only. A verify Job.
471+
},
472+
},
473+
],
474+
},
360475
&quot;deploymentJobs&quot;: { # Deployment job composition. # Output only. Deployment job composition.
361476
&quot;deployJob&quot;: { # Job represents an operation for a `Rollout`. # Output only. The deploy Job. This is the first job run in the phase.
477+
&quot;advanceChildRolloutJob&quot;: { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job.
478+
},
479+
&quot;createChildRolloutJob&quot;: { # A createChildRollout Job. # Output only. A createChildRollout Job.
480+
},
362481
&quot;deployJob&quot;: { # A deploy Job. # Output only. A deploy Job.
363482
},
364483
&quot;id&quot;: &quot;A String&quot;, # Output only. The ID of the Job.
@@ -368,6 +487,10 @@ <h3>Method Details</h3>
368487
},
369488
},
370489
&quot;verifyJob&quot;: { # Job represents an operation for a `Rollout`. # Output only. The verify Job. Runs after a deploy if the deploy succeeds.
490+
&quot;advanceChildRolloutJob&quot;: { # An advanceChildRollout Job. # Output only. An advanceChildRollout Job.
491+
},
492+
&quot;createChildRolloutJob&quot;: { # A createChildRollout Job. # Output only. A createChildRollout Job.
493+
},
371494
&quot;deployJob&quot;: { # A deploy Job. # Output only. A deploy Job.
372495
},
373496
&quot;id&quot;: &quot;A String&quot;, # Output only. The ID of the Job.

0 commit comments

Comments
 (0)