Skip to content

Commit ec43c8d

Browse files
feat(clouddeploy): update the api
#### clouddeploy:v1 The following keys were deleted: - schemas.AutomationRolloutMetadata.properties.currentRepairAutomationRun (Total Keys: 2) - schemas.RepairMode (Total Keys: 4) - schemas.RepairRolloutOperation.properties.currentRepairModeIndex (Total Keys: 3) - schemas.RepairRolloutRule.properties.repairModes (Total Keys: 2) - schemas.RepairRolloutRule.properties.sourcePhases (Total Keys: 2) - schemas.Retry (Total Keys: 13) - schemas.Rollback (Total Keys: 3)
1 parent 17071ef commit ec43c8d

7 files changed

+15
-230
lines changed

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

Lines changed: 2 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -199,21 +199,6 @@ <h3>Method Details</h3>
199199
&quot;jobs&quot;: [ # Optional. Jobs to repair. Proceeds only after job name matched any one in the list, or for all jobs if unspecified or empty. The phase that includes the job must match the phase ID specified in `source_phase`. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
200200
&quot;A String&quot;,
201201
],
202-
&quot;repairModes&quot;: [ # Required. Defines the types of automatic repair actions for failed jobs.
203-
{ # Configuration of the repair action.
204-
&quot;retry&quot;: { # Retries the failed job. # Optional. Retries a failed job.
205-
&quot;attempts&quot;: &quot;A String&quot;, # Required. Total number of retries. Retry is skipped if set to 0; The minimum value is 1, and the maximum value is 10.
206-
&quot;backoffMode&quot;: &quot;A String&quot;, # Optional. The pattern of how wait time will be increased. Default is linear. Backoff mode will be ignored if `wait` is 0.
207-
&quot;wait&quot;: &quot;A String&quot;, # Optional. How long to wait for the first retry. Default is 0, and the maximum value is 14d.
208-
},
209-
&quot;rollback&quot;: { # Rolls back a `Rollout`. # Optional. Rolls back a `Rollout`.
210-
&quot;destinationPhase&quot;: &quot;A String&quot;, # Optional. The starting phase ID for the `Rollout`. If unspecified, the `Rollout` will start in the stable phase.
211-
},
212-
},
213-
],
214-
&quot;sourcePhases&quot;: [ # Optional. Phases within which jobs are subject to automatic repair actions on failure. Proceeds only after phase name matched any one in the list, or for all phases if unspecified. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
215-
&quot;A String&quot;,
216-
],
217202
},
218203
},
219204
],
@@ -243,11 +228,10 @@ <h3>Method Details</h3>
243228
&quot;wait&quot;: &quot;A String&quot;, # Output only. How long the operation will be paused.
244229
},
245230
&quot;repairRolloutOperation&quot;: { # Contains the information for an automated `repair rollout` operation. # Output only. Repairs a failed &#x27;Rollout&#x27;.
246-
&quot;currentRepairModeIndex&quot;: &quot;A String&quot;, # Output only. The index of the current repair action in the repair sequence.
247231
&quot;jobId&quot;: &quot;A String&quot;, # Output only. The job ID for the Job to repair.
248232
&quot;phaseId&quot;: &quot;A String&quot;, # Output only. The phase ID of the phase that includes the job being repaired.
249233
&quot;repairPhases&quot;: [ # Output only. Records of the repair attempts. Each repair phase may have multiple retry attempts or single rollback attempt.
250-
{ # RepairPhase tracks the repair attempts that have been made for each `RepairMode` specified in the `Automation` resource.
234+
{ # RepairPhase tracks the repair attempts that have been made for each `RepairPhaseConfig` specified in the `Automation` resource.
251235
&quot;retry&quot;: { # RetryPhase contains the retry attempts and the metadata for initiating a new attempt. # Output only. Records of the retry attempts for retry repair mode.
252236
&quot;attempts&quot;: [ # Output only. Detail of a retry action.
253237
{ # RetryAttempt represents an action of retrying the failed Cloud Deploy job.
@@ -258,8 +242,6 @@ <h3>Method Details</h3>
258242
},
259243
],
260244
&quot;backoffMode&quot;: &quot;A String&quot;, # Output only. The pattern of how the wait time of the retry attempt is calculated.
261-
&quot;jobId&quot;: &quot;A String&quot;, # Output only. The job ID for the Job to retry.
262-
&quot;phaseId&quot;: &quot;A String&quot;, # Output only. The phase ID of the phase that includes the job being retried.
263245
&quot;totalAttempts&quot;: &quot;A String&quot;, # Output only. The number of attempts that have been made.
264246
},
265247
&quot;rollback&quot;: { # RollbackAttempt represents an action of rolling back a Cloud Deploy &#x27;Target&#x27;. # Output only. Rollback attempt for rollback repair mode .
@@ -368,21 +350,6 @@ <h3>Method Details</h3>
368350
&quot;jobs&quot;: [ # Optional. Jobs to repair. Proceeds only after job name matched any one in the list, or for all jobs if unspecified or empty. The phase that includes the job must match the phase ID specified in `source_phase`. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
369351
&quot;A String&quot;,
370352
],
371-
&quot;repairModes&quot;: [ # Required. Defines the types of automatic repair actions for failed jobs.
372-
{ # Configuration of the repair action.
373-
&quot;retry&quot;: { # Retries the failed job. # Optional. Retries a failed job.
374-
&quot;attempts&quot;: &quot;A String&quot;, # Required. Total number of retries. Retry is skipped if set to 0; The minimum value is 1, and the maximum value is 10.
375-
&quot;backoffMode&quot;: &quot;A String&quot;, # Optional. The pattern of how wait time will be increased. Default is linear. Backoff mode will be ignored if `wait` is 0.
376-
&quot;wait&quot;: &quot;A String&quot;, # Optional. How long to wait for the first retry. Default is 0, and the maximum value is 14d.
377-
},
378-
&quot;rollback&quot;: { # Rolls back a `Rollout`. # Optional. Rolls back a `Rollout`.
379-
&quot;destinationPhase&quot;: &quot;A String&quot;, # Optional. The starting phase ID for the `Rollout`. If unspecified, the `Rollout` will start in the stable phase.
380-
},
381-
},
382-
],
383-
&quot;sourcePhases&quot;: [ # Optional. Phases within which jobs are subject to automatic repair actions on failure. Proceeds only after phase name matched any one in the list, or for all phases if unspecified. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
384-
&quot;A String&quot;,
385-
],
386353
},
387354
},
388355
],
@@ -412,11 +379,10 @@ <h3>Method Details</h3>
412379
&quot;wait&quot;: &quot;A String&quot;, # Output only. How long the operation will be paused.
413380
},
414381
&quot;repairRolloutOperation&quot;: { # Contains the information for an automated `repair rollout` operation. # Output only. Repairs a failed &#x27;Rollout&#x27;.
415-
&quot;currentRepairModeIndex&quot;: &quot;A String&quot;, # Output only. The index of the current repair action in the repair sequence.
416382
&quot;jobId&quot;: &quot;A String&quot;, # Output only. The job ID for the Job to repair.
417383
&quot;phaseId&quot;: &quot;A String&quot;, # Output only. The phase ID of the phase that includes the job being repaired.
418384
&quot;repairPhases&quot;: [ # Output only. Records of the repair attempts. Each repair phase may have multiple retry attempts or single rollback attempt.
419-
{ # RepairPhase tracks the repair attempts that have been made for each `RepairMode` specified in the `Automation` resource.
385+
{ # RepairPhase tracks the repair attempts that have been made for each `RepairPhaseConfig` specified in the `Automation` resource.
420386
&quot;retry&quot;: { # RetryPhase contains the retry attempts and the metadata for initiating a new attempt. # Output only. Records of the retry attempts for retry repair mode.
421387
&quot;attempts&quot;: [ # Output only. Detail of a retry action.
422388
{ # RetryAttempt represents an action of retrying the failed Cloud Deploy job.
@@ -427,8 +393,6 @@ <h3>Method Details</h3>
427393
},
428394
],
429395
&quot;backoffMode&quot;: &quot;A String&quot;, # Output only. The pattern of how the wait time of the retry attempt is calculated.
430-
&quot;jobId&quot;: &quot;A String&quot;, # Output only. The job ID for the Job to retry.
431-
&quot;phaseId&quot;: &quot;A String&quot;, # Output only. The phase ID of the phase that includes the job being retried.
432396
&quot;totalAttempts&quot;: &quot;A String&quot;, # Output only. The number of attempts that have been made.
433397
},
434398
&quot;rollback&quot;: { # RollbackAttempt represents an action of rolling back a Cloud Deploy &#x27;Target&#x27;. # Output only. Rollback attempt for rollback repair mode .

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

Lines changed: 0 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -168,21 +168,6 @@ <h3>Method Details</h3>
168168
&quot;jobs&quot;: [ # Optional. Jobs to repair. Proceeds only after job name matched any one in the list, or for all jobs if unspecified or empty. The phase that includes the job must match the phase ID specified in `source_phase`. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
169169
&quot;A String&quot;,
170170
],
171-
&quot;repairModes&quot;: [ # Required. Defines the types of automatic repair actions for failed jobs.
172-
{ # Configuration of the repair action.
173-
&quot;retry&quot;: { # Retries the failed job. # Optional. Retries a failed job.
174-
&quot;attempts&quot;: &quot;A String&quot;, # Required. Total number of retries. Retry is skipped if set to 0; The minimum value is 1, and the maximum value is 10.
175-
&quot;backoffMode&quot;: &quot;A String&quot;, # Optional. The pattern of how wait time will be increased. Default is linear. Backoff mode will be ignored if `wait` is 0.
176-
&quot;wait&quot;: &quot;A String&quot;, # Optional. How long to wait for the first retry. Default is 0, and the maximum value is 14d.
177-
},
178-
&quot;rollback&quot;: { # Rolls back a `Rollout`. # Optional. Rolls back a `Rollout`.
179-
&quot;destinationPhase&quot;: &quot;A String&quot;, # Optional. The starting phase ID for the `Rollout`. If unspecified, the `Rollout` will start in the stable phase.
180-
},
181-
},
182-
],
183-
&quot;sourcePhases&quot;: [ # Optional. Phases within which jobs are subject to automatic repair actions on failure. Proceeds only after phase name matched any one in the list, or for all phases if unspecified. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
184-
&quot;A String&quot;,
185-
],
186171
},
187172
},
188173
],
@@ -345,21 +330,6 @@ <h3>Method Details</h3>
345330
&quot;jobs&quot;: [ # Optional. Jobs to repair. Proceeds only after job name matched any one in the list, or for all jobs if unspecified or empty. The phase that includes the job must match the phase ID specified in `source_phase`. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
346331
&quot;A String&quot;,
347332
],
348-
&quot;repairModes&quot;: [ # Required. Defines the types of automatic repair actions for failed jobs.
349-
{ # Configuration of the repair action.
350-
&quot;retry&quot;: { # Retries the failed job. # Optional. Retries a failed job.
351-
&quot;attempts&quot;: &quot;A String&quot;, # Required. Total number of retries. Retry is skipped if set to 0; The minimum value is 1, and the maximum value is 10.
352-
&quot;backoffMode&quot;: &quot;A String&quot;, # Optional. The pattern of how wait time will be increased. Default is linear. Backoff mode will be ignored if `wait` is 0.
353-
&quot;wait&quot;: &quot;A String&quot;, # Optional. How long to wait for the first retry. Default is 0, and the maximum value is 14d.
354-
},
355-
&quot;rollback&quot;: { # Rolls back a `Rollout`. # Optional. Rolls back a `Rollout`.
356-
&quot;destinationPhase&quot;: &quot;A String&quot;, # Optional. The starting phase ID for the `Rollout`. If unspecified, the `Rollout` will start in the stable phase.
357-
},
358-
},
359-
],
360-
&quot;sourcePhases&quot;: [ # Optional. Phases within which jobs are subject to automatic repair actions on failure. Proceeds only after phase name matched any one in the list, or for all phases if unspecified. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
361-
&quot;A String&quot;,
362-
],
363333
},
364334
},
365335
],
@@ -458,21 +428,6 @@ <h3>Method Details</h3>
458428
&quot;jobs&quot;: [ # Optional. Jobs to repair. Proceeds only after job name matched any one in the list, or for all jobs if unspecified or empty. The phase that includes the job must match the phase ID specified in `source_phase`. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
459429
&quot;A String&quot;,
460430
],
461-
&quot;repairModes&quot;: [ # Required. Defines the types of automatic repair actions for failed jobs.
462-
{ # Configuration of the repair action.
463-
&quot;retry&quot;: { # Retries the failed job. # Optional. Retries a failed job.
464-
&quot;attempts&quot;: &quot;A String&quot;, # Required. Total number of retries. Retry is skipped if set to 0; The minimum value is 1, and the maximum value is 10.
465-
&quot;backoffMode&quot;: &quot;A String&quot;, # Optional. The pattern of how wait time will be increased. Default is linear. Backoff mode will be ignored if `wait` is 0.
466-
&quot;wait&quot;: &quot;A String&quot;, # Optional. How long to wait for the first retry. Default is 0, and the maximum value is 14d.
467-
},
468-
&quot;rollback&quot;: { # Rolls back a `Rollout`. # Optional. Rolls back a `Rollout`.
469-
&quot;destinationPhase&quot;: &quot;A String&quot;, # Optional. The starting phase ID for the `Rollout`. If unspecified, the `Rollout` will start in the stable phase.
470-
},
471-
},
472-
],
473-
&quot;sourcePhases&quot;: [ # Optional. Phases within which jobs are subject to automatic repair actions on failure. Proceeds only after phase name matched any one in the list, or for all phases if unspecified. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
474-
&quot;A String&quot;,
475-
],
476431
},
477432
},
478433
],
@@ -580,21 +535,6 @@ <h3>Method Details</h3>
580535
&quot;jobs&quot;: [ # Optional. Jobs to repair. Proceeds only after job name matched any one in the list, or for all jobs if unspecified or empty. The phase that includes the job must match the phase ID specified in `source_phase`. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
581536
&quot;A String&quot;,
582537
],
583-
&quot;repairModes&quot;: [ # Required. Defines the types of automatic repair actions for failed jobs.
584-
{ # Configuration of the repair action.
585-
&quot;retry&quot;: { # Retries the failed job. # Optional. Retries a failed job.
586-
&quot;attempts&quot;: &quot;A String&quot;, # Required. Total number of retries. Retry is skipped if set to 0; The minimum value is 1, and the maximum value is 10.
587-
&quot;backoffMode&quot;: &quot;A String&quot;, # Optional. The pattern of how wait time will be increased. Default is linear. Backoff mode will be ignored if `wait` is 0.
588-
&quot;wait&quot;: &quot;A String&quot;, # Optional. How long to wait for the first retry. Default is 0, and the maximum value is 14d.
589-
},
590-
&quot;rollback&quot;: { # Rolls back a `Rollout`. # Optional. Rolls back a `Rollout`.
591-
&quot;destinationPhase&quot;: &quot;A String&quot;, # Optional. The starting phase ID for the `Rollout`. If unspecified, the `Rollout` will start in the stable phase.
592-
},
593-
},
594-
],
595-
&quot;sourcePhases&quot;: [ # Optional. Phases within which jobs are subject to automatic repair actions on failure. Proceeds only after phase name matched any one in the list, or for all phases if unspecified. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
596-
&quot;A String&quot;,
597-
],
598538
},
599539
},
600540
],

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -935,7 +935,6 @@ <h3>Method Details</h3>
935935
&quot;advanceAutomationRuns&quot;: [ # Output only. The names of the AutomationRuns initiated by an advance rollout rule.
936936
&quot;A String&quot;,
937937
],
938-
&quot;currentRepairAutomationRun&quot;: &quot;A String&quot;, # Output only. The current AutomationRun repairing the rollout.
939938
&quot;promoteAutomationRun&quot;: &quot;A String&quot;, # Output only. The name of the AutomationRun initiated by a promote release rule.
940939
&quot;repairAutomationRuns&quot;: [ # Output only. The names of the AutomationRuns initiated by a repair rollout rule.
941940
&quot;A String&quot;,
@@ -1165,7 +1164,6 @@ <h3>Method Details</h3>
11651164
&quot;advanceAutomationRuns&quot;: [ # Output only. The names of the AutomationRuns initiated by an advance rollout rule.
11661165
&quot;A String&quot;,
11671166
],
1168-
&quot;currentRepairAutomationRun&quot;: &quot;A String&quot;, # Output only. The current AutomationRun repairing the rollout.
11691167
&quot;promoteAutomationRun&quot;: &quot;A String&quot;, # Output only. The name of the AutomationRun initiated by a promote release rule.
11701168
&quot;repairAutomationRuns&quot;: [ # Output only. The names of the AutomationRuns initiated by a repair rollout rule.
11711169
&quot;A String&quot;,

0 commit comments

Comments
 (0)