google-apis-clouddeploy_v1 0.21.0 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -48,6 +48,79 @@ module Google
48
48
  end
49
49
  end
50
50
 
51
+ # An advanceChildRollout Job.
52
+ class AdvanceChildRolloutJob
53
+ include Google::Apis::Core::Hashable
54
+
55
+ def initialize(**args)
56
+ update!(**args)
57
+ end
58
+
59
+ # Update properties of this object
60
+ def update!(**args)
61
+ end
62
+ end
63
+
64
+ # AdvanceChildRolloutJobRun contains information specific to a
65
+ # advanceChildRollout `JobRun`.
66
+ class AdvanceChildRolloutJobRun
67
+ include Google::Apis::Core::Hashable
68
+
69
+ # Output only. Name of the `ChildRollout`. Format is projects/`project`/
70
+ # locations/`location`/deliveryPipelines/`deliveryPipeline`/ releases/`release`/
71
+ # rollouts/a-z`0,62`.
72
+ # Corresponds to the JSON property `rollout`
73
+ # @return [String]
74
+ attr_accessor :rollout
75
+
76
+ # Output only. the ID of the ChildRollout's Phase.
77
+ # Corresponds to the JSON property `rolloutPhaseId`
78
+ # @return [String]
79
+ attr_accessor :rollout_phase_id
80
+
81
+ def initialize(**args)
82
+ update!(**args)
83
+ end
84
+
85
+ # Update properties of this object
86
+ def update!(**args)
87
+ @rollout = args[:rollout] if args.key?(:rollout)
88
+ @rollout_phase_id = args[:rollout_phase_id] if args.key?(:rollout_phase_id)
89
+ end
90
+ end
91
+
92
+ # The request object used by `AdvanceRollout`.
93
+ class AdvanceRolloutRequest
94
+ include Google::Apis::Core::Hashable
95
+
96
+ # Required. The phase ID to advance the `Rollout` to.
97
+ # Corresponds to the JSON property `phaseId`
98
+ # @return [String]
99
+ attr_accessor :phase_id
100
+
101
+ def initialize(**args)
102
+ update!(**args)
103
+ end
104
+
105
+ # Update properties of this object
106
+ def update!(**args)
107
+ @phase_id = args[:phase_id] if args.key?(:phase_id)
108
+ end
109
+ end
110
+
111
+ # The response object from `AdvanceRollout`.
112
+ class AdvanceRolloutResponse
113
+ include Google::Apis::Core::Hashable
114
+
115
+ def initialize(**args)
116
+ update!(**args)
117
+ end
118
+
119
+ # Update properties of this object
120
+ def update!(**args)
121
+ end
122
+ end
123
+
51
124
  # Information specifying an Anthos Cluster.
52
125
  class AnthosCluster
53
126
  include Google::Apis::Core::Hashable
@@ -275,6 +348,66 @@ module Google
275
348
  end
276
349
  end
277
350
 
351
+ # Canary represents the canary deployment strategy.
352
+ class Canary
353
+ include Google::Apis::Core::Hashable
354
+
355
+ # CanaryDeployment represents the canary deployment configuration
356
+ # Corresponds to the JSON property `canaryDeployment`
357
+ # @return [Google::Apis::ClouddeployV1::CanaryDeployment]
358
+ attr_accessor :canary_deployment
359
+
360
+ # CustomCanaryDeployment represents the custom canary deployment configuration.
361
+ # Corresponds to the JSON property `customCanaryDeployment`
362
+ # @return [Google::Apis::ClouddeployV1::CustomCanaryDeployment]
363
+ attr_accessor :custom_canary_deployment
364
+
365
+ # RuntimeConfig contains the runtime specific configurations for a deployment
366
+ # strategy.
367
+ # Corresponds to the JSON property `runtimeConfig`
368
+ # @return [Google::Apis::ClouddeployV1::RuntimeConfig]
369
+ attr_accessor :runtime_config
370
+
371
+ def initialize(**args)
372
+ update!(**args)
373
+ end
374
+
375
+ # Update properties of this object
376
+ def update!(**args)
377
+ @canary_deployment = args[:canary_deployment] if args.key?(:canary_deployment)
378
+ @custom_canary_deployment = args[:custom_canary_deployment] if args.key?(:custom_canary_deployment)
379
+ @runtime_config = args[:runtime_config] if args.key?(:runtime_config)
380
+ end
381
+ end
382
+
383
+ # CanaryDeployment represents the canary deployment configuration
384
+ class CanaryDeployment
385
+ include Google::Apis::Core::Hashable
386
+
387
+ # Required. The percentage based deployments that will occur as a part of a `
388
+ # Rollout`. List is expected in ascending order and each integer n is 0 <= n <
389
+ # 100.
390
+ # Corresponds to the JSON property `percentages`
391
+ # @return [Array<Fixnum>]
392
+ attr_accessor :percentages
393
+
394
+ # Whether to run verify tests after each percentage deployment.
395
+ # Corresponds to the JSON property `verify`
396
+ # @return [Boolean]
397
+ attr_accessor :verify
398
+ alias_method :verify?, :verify
399
+
400
+ def initialize(**args)
401
+ update!(**args)
402
+ end
403
+
404
+ # Update properties of this object
405
+ def update!(**args)
406
+ @percentages = args[:percentages] if args.key?(:percentages)
407
+ @verify = args[:verify] if args.key?(:verify)
408
+ end
409
+ end
410
+
278
411
  # The request message for Operations.CancelOperation.
279
412
  class CancelOperationRequest
280
413
  include Google::Apis::Core::Hashable
@@ -288,6 +421,79 @@ module Google
288
421
  end
289
422
  end
290
423
 
424
+ # The request object used by `CancelRollout`.
425
+ class CancelRolloutRequest
426
+ include Google::Apis::Core::Hashable
427
+
428
+ def initialize(**args)
429
+ update!(**args)
430
+ end
431
+
432
+ # Update properties of this object
433
+ def update!(**args)
434
+ end
435
+ end
436
+
437
+ # The response object from `CancelRollout`.
438
+ class CancelRolloutResponse
439
+ include Google::Apis::Core::Hashable
440
+
441
+ def initialize(**args)
442
+ update!(**args)
443
+ end
444
+
445
+ # Update properties of this object
446
+ def update!(**args)
447
+ end
448
+ end
449
+
450
+ # ChildRollouts job composition
451
+ class ChildRolloutJobs
452
+ include Google::Apis::Core::Hashable
453
+
454
+ # Output only. List of AdvanceChildRolloutJobs
455
+ # Corresponds to the JSON property `advanceRolloutJobs`
456
+ # @return [Array<Google::Apis::ClouddeployV1::Job>]
457
+ attr_accessor :advance_rollout_jobs
458
+
459
+ # Output only. List of CreateChildRolloutJobs
460
+ # Corresponds to the JSON property `createRolloutJobs`
461
+ # @return [Array<Google::Apis::ClouddeployV1::Job>]
462
+ attr_accessor :create_rollout_jobs
463
+
464
+ def initialize(**args)
465
+ update!(**args)
466
+ end
467
+
468
+ # Update properties of this object
469
+ def update!(**args)
470
+ @advance_rollout_jobs = args[:advance_rollout_jobs] if args.key?(:advance_rollout_jobs)
471
+ @create_rollout_jobs = args[:create_rollout_jobs] if args.key?(:create_rollout_jobs)
472
+ end
473
+ end
474
+
475
+ # CloudRunConfig contains the Cloud Run runtime configuration.
476
+ class CloudRunConfig
477
+ include Google::Apis::Core::Hashable
478
+
479
+ # Whether Cloud Deploy should update the traffic stanza in a Cloud Run Service
480
+ # on the user's behalf to facilitate traffic splitting. This is required to be
481
+ # true for CanaryDeployments, but optional for CustomCanaryDeployments.
482
+ # Corresponds to the JSON property `automaticTrafficControl`
483
+ # @return [Boolean]
484
+ attr_accessor :automatic_traffic_control
485
+ alias_method :automatic_traffic_control?, :automatic_traffic_control
486
+
487
+ def initialize(**args)
488
+ update!(**args)
489
+ end
490
+
491
+ # Update properties of this object
492
+ def update!(**args)
493
+ @automatic_traffic_control = args[:automatic_traffic_control] if args.key?(:automatic_traffic_control)
494
+ end
495
+ end
496
+
291
497
  # Information specifying where to deploy a Cloud Run Service.
292
498
  class CloudRunLocation
293
499
  include Google::Apis::Core::Hashable
@@ -340,6 +546,27 @@ module Google
340
546
  end
341
547
  end
342
548
 
549
+ # CloudRunRenderMetadata contains Cloud Run information associated with a `
550
+ # Release` render.
551
+ class CloudRunRenderMetadata
552
+ include Google::Apis::Core::Hashable
553
+
554
+ # Output only. The name of the Cloud Run Service in the rendered manifest.
555
+ # Format is projects/`project`/locations/`location`/services/`service`.
556
+ # Corresponds to the JSON property `service`
557
+ # @return [String]
558
+ attr_accessor :service
559
+
560
+ def initialize(**args)
561
+ update!(**args)
562
+ end
563
+
564
+ # Update properties of this object
565
+ def update!(**args)
566
+ @service = args[:service] if args.key?(:service)
567
+ end
568
+ end
569
+
343
570
  # Service-wide configuration.
344
571
  class Config
345
572
  include Google::Apis::Core::Hashable
@@ -372,6 +599,67 @@ module Google
372
599
  end
373
600
  end
374
601
 
602
+ # A createChildRollout Job.
603
+ class CreateChildRolloutJob
604
+ include Google::Apis::Core::Hashable
605
+
606
+ def initialize(**args)
607
+ update!(**args)
608
+ end
609
+
610
+ # Update properties of this object
611
+ def update!(**args)
612
+ end
613
+ end
614
+
615
+ # CreateChildRolloutJobRun contains information specific to a createChildRollout
616
+ # `JobRun`.
617
+ class CreateChildRolloutJobRun
618
+ include Google::Apis::Core::Hashable
619
+
620
+ # Output only. Name of the `ChildRollout`. Format is projects/`project`/
621
+ # locations/`location`/deliveryPipelines/`deliveryPipeline`/ releases/`release`/
622
+ # rollouts/a-z`0,62`.
623
+ # Corresponds to the JSON property `rollout`
624
+ # @return [String]
625
+ attr_accessor :rollout
626
+
627
+ # Output only. The ID of the childRollout Phase initiated by this JobRun.
628
+ # Corresponds to the JSON property `rolloutPhaseId`
629
+ # @return [String]
630
+ attr_accessor :rollout_phase_id
631
+
632
+ def initialize(**args)
633
+ update!(**args)
634
+ end
635
+
636
+ # Update properties of this object
637
+ def update!(**args)
638
+ @rollout = args[:rollout] if args.key?(:rollout)
639
+ @rollout_phase_id = args[:rollout_phase_id] if args.key?(:rollout_phase_id)
640
+ end
641
+ end
642
+
643
+ # CustomCanaryDeployment represents the custom canary deployment configuration.
644
+ class CustomCanaryDeployment
645
+ include Google::Apis::Core::Hashable
646
+
647
+ # Required. Configuration for each phase in the canary deployment in the order
648
+ # executed.
649
+ # Corresponds to the JSON property `phaseConfigs`
650
+ # @return [Array<Google::Apis::ClouddeployV1::PhaseConfig>]
651
+ attr_accessor :phase_configs
652
+
653
+ def initialize(**args)
654
+ update!(**args)
655
+ end
656
+
657
+ # Update properties of this object
658
+ def update!(**args)
659
+ @phase_configs = args[:phase_configs] if args.key?(:phase_configs)
660
+ end
661
+ end
662
+
375
663
  # Represents a whole or partial calendar date, such as a birthday. The time of
376
664
  # day and time zone are either specified elsewhere or are insignificant. The
377
665
  # date is relative to the Gregorian Calendar. This can represent one of the
@@ -800,6 +1088,38 @@ module Google
800
1088
  end
801
1089
  end
802
1090
 
1091
+ # Information about the Kubernetes Gateway API service mesh configuration.
1092
+ class GatewayServiceMesh
1093
+ include Google::Apis::Core::Hashable
1094
+
1095
+ # Required. Name of the Kubernetes Deployment whose traffic is managed by the
1096
+ # specified HTTPRoute and Service.
1097
+ # Corresponds to the JSON property `deployment`
1098
+ # @return [String]
1099
+ attr_accessor :deployment
1100
+
1101
+ # Required. Name of the Gateway API HTTPRoute.
1102
+ # Corresponds to the JSON property `httpRoute`
1103
+ # @return [String]
1104
+ attr_accessor :http_route
1105
+
1106
+ # Required. Name of the Kubernetes Service.
1107
+ # Corresponds to the JSON property `service`
1108
+ # @return [String]
1109
+ attr_accessor :service
1110
+
1111
+ def initialize(**args)
1112
+ update!(**args)
1113
+ end
1114
+
1115
+ # Update properties of this object
1116
+ def update!(**args)
1117
+ @deployment = args[:deployment] if args.key?(:deployment)
1118
+ @http_route = args[:http_route] if args.key?(:http_route)
1119
+ @service = args[:service] if args.key?(:service)
1120
+ end
1121
+ end
1122
+
803
1123
  # Information specifying a GKE Cluster.
804
1124
  class GkeCluster
805
1125
  include Google::Apis::Core::Hashable
@@ -833,10 +1153,58 @@ module Google
833
1153
  end
834
1154
  end
835
1155
 
1156
+ # The request object used by `IgnoreJob`.
1157
+ class IgnoreJobRequest
1158
+ include Google::Apis::Core::Hashable
1159
+
1160
+ # Required. The job ID for the Job to ignore.
1161
+ # Corresponds to the JSON property `jobId`
1162
+ # @return [String]
1163
+ attr_accessor :job_id
1164
+
1165
+ # Required. The phase ID the Job to ignore belongs to.
1166
+ # Corresponds to the JSON property `phaseId`
1167
+ # @return [String]
1168
+ attr_accessor :phase_id
1169
+
1170
+ def initialize(**args)
1171
+ update!(**args)
1172
+ end
1173
+
1174
+ # Update properties of this object
1175
+ def update!(**args)
1176
+ @job_id = args[:job_id] if args.key?(:job_id)
1177
+ @phase_id = args[:phase_id] if args.key?(:phase_id)
1178
+ end
1179
+ end
1180
+
1181
+ # The response object from `IgnoreJob`.
1182
+ class IgnoreJobResponse
1183
+ include Google::Apis::Core::Hashable
1184
+
1185
+ def initialize(**args)
1186
+ update!(**args)
1187
+ end
1188
+
1189
+ # Update properties of this object
1190
+ def update!(**args)
1191
+ end
1192
+ end
1193
+
836
1194
  # Job represents an operation for a `Rollout`.
837
1195
  class Job
838
1196
  include Google::Apis::Core::Hashable
839
1197
 
1198
+ # An advanceChildRollout Job.
1199
+ # Corresponds to the JSON property `advanceChildRolloutJob`
1200
+ # @return [Google::Apis::ClouddeployV1::AdvanceChildRolloutJob]
1201
+ attr_accessor :advance_child_rollout_job
1202
+
1203
+ # A createChildRollout Job.
1204
+ # Corresponds to the JSON property `createChildRolloutJob`
1205
+ # @return [Google::Apis::ClouddeployV1::CreateChildRolloutJob]
1206
+ attr_accessor :create_child_rollout_job
1207
+
840
1208
  # A deploy Job.
841
1209
  # Corresponds to the JSON property `deployJob`
842
1210
  # @return [Google::Apis::ClouddeployV1::DeployJob]
@@ -853,6 +1221,11 @@ module Google
853
1221
  # @return [String]
854
1222
  attr_accessor :job_run
855
1223
 
1224
+ # Output only. Additional information on why the Job was skipped, if available.
1225
+ # Corresponds to the JSON property `skipMessage`
1226
+ # @return [String]
1227
+ attr_accessor :skip_message
1228
+
856
1229
  # Output only. The current state of the Job.
857
1230
  # Corresponds to the JSON property `state`
858
1231
  # @return [String]
@@ -869,9 +1242,12 @@ module Google
869
1242
 
870
1243
  # Update properties of this object
871
1244
  def update!(**args)
1245
+ @advance_child_rollout_job = args[:advance_child_rollout_job] if args.key?(:advance_child_rollout_job)
1246
+ @create_child_rollout_job = args[:create_child_rollout_job] if args.key?(:create_child_rollout_job)
872
1247
  @deploy_job = args[:deploy_job] if args.key?(:deploy_job)
873
1248
  @id = args[:id] if args.key?(:id)
874
1249
  @job_run = args[:job_run] if args.key?(:job_run)
1250
+ @skip_message = args[:skip_message] if args.key?(:skip_message)
875
1251
  @state = args[:state] if args.key?(:state)
876
1252
  @verify_job = args[:verify_job] if args.key?(:verify_job)
877
1253
  end
@@ -882,6 +1258,18 @@ module Google
882
1258
  class JobRun
883
1259
  include Google::Apis::Core::Hashable
884
1260
 
1261
+ # AdvanceChildRolloutJobRun contains information specific to a
1262
+ # advanceChildRollout `JobRun`.
1263
+ # Corresponds to the JSON property `advanceChildRolloutJobRun`
1264
+ # @return [Google::Apis::ClouddeployV1::AdvanceChildRolloutJobRun]
1265
+ attr_accessor :advance_child_rollout_job_run
1266
+
1267
+ # CreateChildRolloutJobRun contains information specific to a createChildRollout
1268
+ # `JobRun`.
1269
+ # Corresponds to the JSON property `createChildRolloutJobRun`
1270
+ # @return [Google::Apis::ClouddeployV1::CreateChildRolloutJobRun]
1271
+ attr_accessor :create_child_rollout_job_run
1272
+
885
1273
  # Output only. Time at which the `JobRun` was created.
886
1274
  # Corresponds to the JSON property `createTime`
887
1275
  # @return [String]
@@ -947,6 +1335,8 @@ module Google
947
1335
 
948
1336
  # Update properties of this object
949
1337
  def update!(**args)
1338
+ @advance_child_rollout_job_run = args[:advance_child_rollout_job_run] if args.key?(:advance_child_rollout_job_run)
1339
+ @create_child_rollout_job_run = args[:create_child_rollout_job_run] if args.key?(:create_child_rollout_job_run)
950
1340
  @create_time = args[:create_time] if args.key?(:create_time)
951
1341
  @deploy_job_run = args[:deploy_job_run] if args.key?(:deploy_job_run)
952
1342
  @end_time = args[:end_time] if args.key?(:end_time)
@@ -1018,6 +1408,31 @@ module Google
1018
1408
  end
1019
1409
  end
1020
1410
 
1411
+ # KubernetesConfig contains the Kubernetes runtime configuration.
1412
+ class KubernetesConfig
1413
+ include Google::Apis::Core::Hashable
1414
+
1415
+ # Information about the Kubernetes Gateway API service mesh configuration.
1416
+ # Corresponds to the JSON property `gatewayServiceMesh`
1417
+ # @return [Google::Apis::ClouddeployV1::GatewayServiceMesh]
1418
+ attr_accessor :gateway_service_mesh
1419
+
1420
+ # Information about the Kubernetes Service networking configuration.
1421
+ # Corresponds to the JSON property `serviceNetworking`
1422
+ # @return [Google::Apis::ClouddeployV1::ServiceNetworking]
1423
+ attr_accessor :service_networking
1424
+
1425
+ def initialize(**args)
1426
+ update!(**args)
1427
+ end
1428
+
1429
+ # Update properties of this object
1430
+ def update!(**args)
1431
+ @gateway_service_mesh = args[:gateway_service_mesh] if args.key?(:gateway_service_mesh)
1432
+ @service_networking = args[:service_networking] if args.key?(:service_networking)
1433
+ end
1434
+ end
1435
+
1021
1436
  # The response object from `ListDeliveryPipelines`.
1022
1437
  class ListDeliveryPipelinesResponse
1023
1438
  include Google::Apis::Core::Hashable
@@ -1294,6 +1709,25 @@ module Google
1294
1709
  end
1295
1710
  end
1296
1711
 
1712
+ # Information specifying a multiTarget.
1713
+ class MultiTarget
1714
+ include Google::Apis::Core::Hashable
1715
+
1716
+ # Required. The target_ids of this multiTarget.
1717
+ # Corresponds to the JSON property `targetIds`
1718
+ # @return [Array<String>]
1719
+ attr_accessor :target_ids
1720
+
1721
+ def initialize(**args)
1722
+ update!(**args)
1723
+ end
1724
+
1725
+ # Update properties of this object
1726
+ def update!(**args)
1727
+ @target_ids = args[:target_ids] if args.key?(:target_ids)
1728
+ end
1729
+ end
1730
+
1297
1731
  # This resource represents a long-running operation that is the result of a
1298
1732
  # network API call.
1299
1733
  class Operation
@@ -1420,6 +1854,11 @@ module Google
1420
1854
  class Phase
1421
1855
  include Google::Apis::Core::Hashable
1422
1856
 
1857
+ # ChildRollouts job composition
1858
+ # Corresponds to the JSON property `childRolloutJobs`
1859
+ # @return [Google::Apis::ClouddeployV1::ChildRolloutJobs]
1860
+ attr_accessor :child_rollout_jobs
1861
+
1423
1862
  # Deployment job composition.
1424
1863
  # Corresponds to the JSON property `deploymentJobs`
1425
1864
  # @return [Google::Apis::ClouddeployV1::DeploymentJobs]
@@ -1430,6 +1869,11 @@ module Google
1430
1869
  # @return [String]
1431
1870
  attr_accessor :id
1432
1871
 
1872
+ # Output only. Additional information on why the Phase was skipped, if available.
1873
+ # Corresponds to the JSON property `skipMessage`
1874
+ # @return [String]
1875
+ attr_accessor :skip_message
1876
+
1433
1877
  # Output only. Current state of the Phase.
1434
1878
  # Corresponds to the JSON property `state`
1435
1879
  # @return [String]
@@ -1441,12 +1885,83 @@ module Google
1441
1885
 
1442
1886
  # Update properties of this object
1443
1887
  def update!(**args)
1888
+ @child_rollout_jobs = args[:child_rollout_jobs] if args.key?(:child_rollout_jobs)
1444
1889
  @deployment_jobs = args[:deployment_jobs] if args.key?(:deployment_jobs)
1445
1890
  @id = args[:id] if args.key?(:id)
1891
+ @skip_message = args[:skip_message] if args.key?(:skip_message)
1446
1892
  @state = args[:state] if args.key?(:state)
1447
1893
  end
1448
1894
  end
1449
1895
 
1896
+ # Contains the paths to the artifacts, relative to the URI, for a phase.
1897
+ class PhaseArtifact
1898
+ include Google::Apis::Core::Hashable
1899
+
1900
+ # Output only. File path of the rendered manifest relative to the URI.
1901
+ # Corresponds to the JSON property `manifestPath`
1902
+ # @return [String]
1903
+ attr_accessor :manifest_path
1904
+
1905
+ # Output only. File path of the resolved Skaffold configuration relative to the
1906
+ # URI.
1907
+ # Corresponds to the JSON property `skaffoldConfigPath`
1908
+ # @return [String]
1909
+ attr_accessor :skaffold_config_path
1910
+
1911
+ def initialize(**args)
1912
+ update!(**args)
1913
+ end
1914
+
1915
+ # Update properties of this object
1916
+ def update!(**args)
1917
+ @manifest_path = args[:manifest_path] if args.key?(:manifest_path)
1918
+ @skaffold_config_path = args[:skaffold_config_path] if args.key?(:skaffold_config_path)
1919
+ end
1920
+ end
1921
+
1922
+ # PhaseConfig represents the configuration for a phase in the custom canary
1923
+ # deployment.
1924
+ class PhaseConfig
1925
+ include Google::Apis::Core::Hashable
1926
+
1927
+ # Required. Percentage deployment for the phase.
1928
+ # Corresponds to the JSON property `percentage`
1929
+ # @return [Fixnum]
1930
+ attr_accessor :percentage
1931
+
1932
+ # Required. The ID to assign to the `Rollout` phase. This value must consist of
1933
+ # lower-case letters, numbers, and hyphens, start with a letter and end with a
1934
+ # letter or a number, and have a max length of 63 characters. In other words, it
1935
+ # must match the following regex: `^[a-z]([a-z0-9-]`0,61`[a-z0-9])?$`.
1936
+ # Corresponds to the JSON property `phaseId`
1937
+ # @return [String]
1938
+ attr_accessor :phase_id
1939
+
1940
+ # Skaffold profiles to use when rendering the manifest for this phase. These are
1941
+ # in addition to the profiles list specified in the `DeliveryPipeline` stage.
1942
+ # Corresponds to the JSON property `profiles`
1943
+ # @return [Array<String>]
1944
+ attr_accessor :profiles
1945
+
1946
+ # Whether to run verify tests after the deployment.
1947
+ # Corresponds to the JSON property `verify`
1948
+ # @return [Boolean]
1949
+ attr_accessor :verify
1950
+ alias_method :verify?, :verify
1951
+
1952
+ def initialize(**args)
1953
+ update!(**args)
1954
+ end
1955
+
1956
+ # Update properties of this object
1957
+ def update!(**args)
1958
+ @percentage = args[:percentage] if args.key?(:percentage)
1959
+ @phase_id = args[:phase_id] if args.key?(:phase_id)
1960
+ @profiles = args[:profiles] if args.key?(:profiles)
1961
+ @verify = args[:verify] if args.key?(:verify)
1962
+ end
1963
+ end
1964
+
1450
1965
  # PipelineCondition contains all conditions relevant to a Delivery Pipeline.
1451
1966
  class PipelineCondition
1452
1967
  include Google::Apis::Core::Hashable
@@ -1904,6 +2419,26 @@ module Google
1904
2419
  end
1905
2420
  end
1906
2421
 
2422
+ # RenderMetadata includes information associated with a `Release` render.
2423
+ class RenderMetadata
2424
+ include Google::Apis::Core::Hashable
2425
+
2426
+ # CloudRunRenderMetadata contains Cloud Run information associated with a `
2427
+ # Release` render.
2428
+ # Corresponds to the JSON property `cloudRun`
2429
+ # @return [Google::Apis::ClouddeployV1::CloudRunRenderMetadata]
2430
+ attr_accessor :cloud_run
2431
+
2432
+ def initialize(**args)
2433
+ update!(**args)
2434
+ end
2435
+
2436
+ # Update properties of this object
2437
+ def update!(**args)
2438
+ @cloud_run = args[:cloud_run] if args.key?(:cloud_run)
2439
+ end
2440
+ end
2441
+
1907
2442
  # RetryJobRequest is the request object used by `RetryJob`.
1908
2443
  class RetryJobRequest
1909
2444
  include Google::Apis::Core::Hashable
@@ -1964,6 +2499,13 @@ module Google
1964
2499
  # @return [String]
1965
2500
  attr_accessor :approve_time
1966
2501
 
2502
+ # Output only. Name of the `ControllerRollout`. Format is projects/`project`/
2503
+ # locations/`location`/deliveryPipelines/`deliveryPipeline`/ releases/`release`/
2504
+ # rollouts/a-z`0,62`.
2505
+ # Corresponds to the JSON property `controllerRollout`
2506
+ # @return [String]
2507
+ attr_accessor :controller_rollout
2508
+
1967
2509
  # Output only. Time at which the `Rollout` was created.
1968
2510
  # Corresponds to the JSON property `createTime`
1969
2511
  # @return [String]
@@ -2066,6 +2608,7 @@ module Google
2066
2608
  @annotations = args[:annotations] if args.key?(:annotations)
2067
2609
  @approval_state = args[:approval_state] if args.key?(:approval_state)
2068
2610
  @approve_time = args[:approve_time] if args.key?(:approve_time)
2611
+ @controller_rollout = args[:controller_rollout] if args.key?(:controller_rollout)
2069
2612
  @create_time = args[:create_time] if args.key?(:create_time)
2070
2613
  @deploy_end_time = args[:deploy_end_time] if args.key?(:deploy_end_time)
2071
2614
  @deploy_failure_cause = args[:deploy_failure_cause] if args.key?(:deploy_failure_cause)
@@ -2136,6 +2679,32 @@ module Google
2136
2679
  end
2137
2680
  end
2138
2681
 
2682
+ # RuntimeConfig contains the runtime specific configurations for a deployment
2683
+ # strategy.
2684
+ class RuntimeConfig
2685
+ include Google::Apis::Core::Hashable
2686
+
2687
+ # CloudRunConfig contains the Cloud Run runtime configuration.
2688
+ # Corresponds to the JSON property `cloudRun`
2689
+ # @return [Google::Apis::ClouddeployV1::CloudRunConfig]
2690
+ attr_accessor :cloud_run
2691
+
2692
+ # KubernetesConfig contains the Kubernetes runtime configuration.
2693
+ # Corresponds to the JSON property `kubernetes`
2694
+ # @return [Google::Apis::ClouddeployV1::KubernetesConfig]
2695
+ attr_accessor :kubernetes
2696
+
2697
+ def initialize(**args)
2698
+ update!(**args)
2699
+ end
2700
+
2701
+ # Update properties of this object
2702
+ def update!(**args)
2703
+ @cloud_run = args[:cloud_run] if args.key?(:cloud_run)
2704
+ @kubernetes = args[:kubernetes] if args.key?(:kubernetes)
2705
+ end
2706
+ end
2707
+
2139
2708
  # SerialPipeline defines a sequential set of stages for a `DeliveryPipeline`.
2140
2709
  class SerialPipeline
2141
2710
  include Google::Apis::Core::Hashable
@@ -2156,6 +2725,32 @@ module Google
2156
2725
  end
2157
2726
  end
2158
2727
 
2728
+ # Information about the Kubernetes Service networking configuration.
2729
+ class ServiceNetworking
2730
+ include Google::Apis::Core::Hashable
2731
+
2732
+ # Required. Name of the Kubernetes Deployment whose traffic is managed by the
2733
+ # specified Service.
2734
+ # Corresponds to the JSON property `deployment`
2735
+ # @return [String]
2736
+ attr_accessor :deployment
2737
+
2738
+ # Required. Name of the Kubernetes Service.
2739
+ # Corresponds to the JSON property `service`
2740
+ # @return [String]
2741
+ attr_accessor :service
2742
+
2743
+ def initialize(**args)
2744
+ update!(**args)
2745
+ end
2746
+
2747
+ # Update properties of this object
2748
+ def update!(**args)
2749
+ @deployment = args[:deployment] if args.key?(:deployment)
2750
+ @service = args[:service] if args.key?(:service)
2751
+ end
2752
+ end
2753
+
2159
2754
  # Request message for `SetIamPolicy` method.
2160
2755
  class SetIamPolicyRequest
2161
2756
  include Google::Apis::Core::Hashable
@@ -2392,6 +2987,11 @@ module Google
2392
2987
  class Strategy
2393
2988
  include Google::Apis::Core::Hashable
2394
2989
 
2990
+ # Canary represents the canary deployment strategy.
2991
+ # Corresponds to the JSON property `canary`
2992
+ # @return [Google::Apis::ClouddeployV1::Canary]
2993
+ attr_accessor :canary
2994
+
2395
2995
  # Standard represents the standard deployment strategy.
2396
2996
  # Corresponds to the JSON property `standard`
2397
2997
  # @return [Google::Apis::ClouddeployV1::Standard]
@@ -2403,6 +3003,7 @@ module Google
2403
3003
 
2404
3004
  # Update properties of this object
2405
3005
  def update!(**args)
3006
+ @canary = args[:canary] if args.key?(:canary)
2406
3007
  @standard = args[:standard] if args.key?(:standard)
2407
3008
  end
2408
3009
  end
@@ -2467,6 +3068,11 @@ module Google
2467
3068
  # @return [Hash<String,String>]
2468
3069
  attr_accessor :labels
2469
3070
 
3071
+ # Information specifying a multiTarget.
3072
+ # Corresponds to the JSON property `multiTarget`
3073
+ # @return [Google::Apis::ClouddeployV1::MultiTarget]
3074
+ attr_accessor :multi_target
3075
+
2470
3076
  # Optional. Name of the `Target`. Format is projects/`project`/locations/`
2471
3077
  # location`/targets/a-z`0,62`.
2472
3078
  # Corresponds to the JSON property `name`
@@ -2513,6 +3119,7 @@ module Google
2513
3119
  @execution_configs = args[:execution_configs] if args.key?(:execution_configs)
2514
3120
  @gke = args[:gke] if args.key?(:gke)
2515
3121
  @labels = args[:labels] if args.key?(:labels)
3122
+ @multi_target = args[:multi_target] if args.key?(:multi_target)
2516
3123
  @name = args[:name] if args.key?(:name)
2517
3124
  @require_approval = args[:require_approval] if args.key?(:require_approval)
2518
3125
  @run = args[:run] if args.key?(:run)
@@ -2538,6 +3145,11 @@ module Google
2538
3145
  # @return [String]
2539
3146
  attr_accessor :manifest_path
2540
3147
 
3148
+ # Output only. Map from the phase ID to the phase artifacts for the `Target`.
3149
+ # Corresponds to the JSON property `phaseArtifacts`
3150
+ # @return [Hash<String,Google::Apis::ClouddeployV1::PhaseArtifact>]
3151
+ attr_accessor :phase_artifacts
3152
+
2541
3153
  # Output only. File path of the resolved Skaffold configuration relative to the
2542
3154
  # URI.
2543
3155
  # Corresponds to the JSON property `skaffoldConfigPath`
@@ -2552,6 +3164,7 @@ module Google
2552
3164
  def update!(**args)
2553
3165
  @artifact_uri = args[:artifact_uri] if args.key?(:artifact_uri)
2554
3166
  @manifest_path = args[:manifest_path] if args.key?(:manifest_path)
3167
+ @phase_artifacts = args[:phase_artifacts] if args.key?(:phase_artifacts)
2555
3168
  @skaffold_config_path = args[:skaffold_config_path] if args.key?(:skaffold_config_path)
2556
3169
  end
2557
3170
  end
@@ -2604,6 +3217,11 @@ module Google
2604
3217
  # @return [String]
2605
3218
  attr_accessor :failure_message
2606
3219
 
3220
+ # RenderMetadata includes information associated with a `Release` render.
3221
+ # Corresponds to the JSON property `metadata`
3222
+ # @return [Google::Apis::ClouddeployV1::RenderMetadata]
3223
+ attr_accessor :metadata
3224
+
2607
3225
  # Output only. The resource name of the Cloud Build `Build` object that is used
2608
3226
  # to render the manifest for this target. Format is `projects/`project`/
2609
3227
  # locations/`location`/builds/`build``.
@@ -2624,6 +3242,7 @@ module Google
2624
3242
  def update!(**args)
2625
3243
  @failure_cause = args[:failure_cause] if args.key?(:failure_cause)
2626
3244
  @failure_message = args[:failure_message] if args.key?(:failure_message)
3245
+ @metadata = args[:metadata] if args.key?(:metadata)
2627
3246
  @rendering_build = args[:rendering_build] if args.key?(:rendering_build)
2628
3247
  @rendering_state = args[:rendering_state] if args.key?(:rendering_state)
2629
3248
  end
@@ -2692,6 +3311,32 @@ module Google
2692
3311
  end
2693
3312
  end
2694
3313
 
3314
+ # The request object used by `TerminateJobRun`.
3315
+ class TerminateJobRunRequest
3316
+ include Google::Apis::Core::Hashable
3317
+
3318
+ def initialize(**args)
3319
+ update!(**args)
3320
+ end
3321
+
3322
+ # Update properties of this object
3323
+ def update!(**args)
3324
+ end
3325
+ end
3326
+
3327
+ # The response object from `TerminateJobRun`.
3328
+ class TerminateJobRunResponse
3329
+ include Google::Apis::Core::Hashable
3330
+
3331
+ def initialize(**args)
3332
+ update!(**args)
3333
+ end
3334
+
3335
+ # Update properties of this object
3336
+ def update!(**args)
3337
+ end
3338
+ end
3339
+
2695
3340
  # Request message for `TestIamPermissions` method.
2696
3341
  class TestIamPermissionsRequest
2697
3342
  include Google::Apis::Core::Hashable