google-apis-clouddeploy_v1 0.35.0 → 0.37.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -66,9 +66,9 @@ module Google
66
66
  class AdvanceChildRolloutJobRun
67
67
  include Google::Apis::Core::Hashable
68
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`.
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
72
  # Corresponds to the JSON property `rollout`
73
73
  # @return [String]
74
74
  attr_accessor :rollout
@@ -93,7 +93,7 @@ module Google
93
93
  class AdvanceRolloutOperation
94
94
  include Google::Apis::Core::Hashable
95
95
 
96
- # Output only. The phase to which the rollout will be advanced to.
96
+ # Output only. The phase the rollout will be advanced to.
97
97
  # Corresponds to the JSON property `destinationPhase`
98
98
  # @return [String]
99
99
  attr_accessor :destination_phase
@@ -169,7 +169,7 @@ module Google
169
169
  attr_accessor :condition
170
170
 
171
171
  # Required. ID of the rule. This id must be unique in the `Automation` resource
172
- # to which this rule belongs. The format is a-z`0,62`.
172
+ # to which this rule belongs. The format is `a-z`0,62``.
173
173
  # Corresponds to the JSON property `id`
174
174
  # @return [String]
175
175
  attr_accessor :id
@@ -328,7 +328,7 @@ module Google
328
328
 
329
329
  # An `Automation` resource in the Cloud Deploy API. An `Automation` enables the
330
330
  # automation of manually driven actions for a Delivery Pipeline, which includes
331
- # Release promotion amongst Targets, Rollout repair and Rollout deployment
331
+ # Release promotion among Targets, Rollout repair and Rollout deployment
332
332
  # strategy advancement. The intention of Automation is to reduce manual
333
333
  # intervention in the continuous delivery process.
334
334
  class Automation
@@ -337,14 +337,14 @@ module Google
337
337
  # Optional. User annotations. These attributes can only be set and used by the
338
338
  # user, and not by Cloud Deploy. Annotations must meet the following constraints:
339
339
  # * Annotations are key/value pairs. * Valid annotation keys have two segments:
340
- # an optional prefix and name, separated by a slash (/). * The name segment is
340
+ # an optional prefix and name, separated by a slash (`/`). * The name segment is
341
341
  # required and must be 63 characters or less, beginning and ending with an
342
- # alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.)
343
- # , and alphanumerics between. * The prefix is optional. If specified, the
344
- # prefix must be a DNS subdomain: a series of DNS labels separated by dots(.),
345
- # not longer than 253 characters in total, followed by a slash (/). See https://
346
- # kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-
347
- # and-character-set for more details.
342
+ # alphanumeric character (`[a-z0-9A-Z]`) with dashes (`-`), underscores (`_`),
343
+ # dots (`.`), and alphanumerics between. * The prefix is optional. If specified,
344
+ # the prefix must be a DNS subdomain: a series of DNS labels separated by dots(`.
345
+ # `), not longer than 253 characters in total, followed by a slash (`/`). See
346
+ # https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#
347
+ # syntax-and-character-set for more details.
348
348
  # Corresponds to the JSON property `annotations`
349
349
  # @return [Hash<String,String>]
350
350
  attr_accessor :annotations
@@ -378,8 +378,8 @@ module Google
378
378
  # @return [Hash<String,String>]
379
379
  attr_accessor :labels
380
380
 
381
- # Output only. Name of the `Automation`. Format is projects/`project`/locations/`
382
- # location`/deliveryPipelines/`delivery_pipeline`/automations/`automation`.
381
+ # Output only. Name of the `Automation`. Format is `projects/`project`/locations/
382
+ # `location`/deliveryPipelines/`delivery_pipeline`/automations/`automation``.
383
383
  # Corresponds to the JSON property `name`
384
384
  # @return [String]
385
385
  attr_accessor :name
@@ -570,8 +570,8 @@ module Google
570
570
  class AutomationRuleCondition
571
571
  include Google::Apis::Core::Hashable
572
572
 
573
- # TargetsPresentCondition contains information on any Targets defined in the
574
- # Delivery Pipeline that do not actually exist.
573
+ # `TargetsPresentCondition` contains information on any Targets referenced in
574
+ # the Delivery Pipeline that do not actually exist.
575
575
  # Corresponds to the JSON property `targetsPresentCondition`
576
576
  # @return [Google::Apis::ClouddeployV1::TargetsPresentCondition]
577
577
  attr_accessor :targets_present_condition
@@ -586,8 +586,8 @@ module Google
586
586
  end
587
587
  end
588
588
 
589
- # An `AutomationRun` resource in the Cloud Deploy API. An `AutomationResource`
590
- # represents an automation execution instance of an automation rule.
589
+ # An `AutomationRun` resource in the Cloud Deploy API. An `AutomationRun`
590
+ # represents an execution instance of an automation rule.
591
591
  class AutomationRun
592
592
  include Google::Apis::Core::Hashable
593
593
 
@@ -603,7 +603,7 @@ module Google
603
603
 
604
604
  # An `Automation` resource in the Cloud Deploy API. An `Automation` enables the
605
605
  # automation of manually driven actions for a Delivery Pipeline, which includes
606
- # Release promotion amongst Targets, Rollout repair and Rollout deployment
606
+ # Release promotion among Targets, Rollout repair and Rollout deployment
607
607
  # strategy advancement. The intention of Automation is to reduce manual
608
608
  # intervention in the continuous delivery process.
609
609
  # Corresponds to the JSON property `automationSnapshot`
@@ -623,15 +623,15 @@ module Google
623
623
  # @return [String]
624
624
  attr_accessor :etag
625
625
 
626
- # Output only. Time the `AutomationRun` will expire. An `AutomationRun` will
627
- # expire after 14 days from its creation date.
626
+ # Output only. Time the `AutomationRun` expires. An `AutomationRun` expires
627
+ # after 14 days from its creation date.
628
628
  # Corresponds to the JSON property `expireTime`
629
629
  # @return [String]
630
630
  attr_accessor :expire_time
631
631
 
632
- # Output only. Name of the `AutomationRun`. Format is projects/`project`/
632
+ # Output only. Name of the `AutomationRun`. Format is `projects/`project`/
633
633
  # locations/`location`/deliveryPipelines/`delivery_pipeline`/automationRuns/`
634
- # automation_run`.
634
+ # automation_run``.
635
635
  # Corresponds to the JSON property `name`
636
636
  # @return [String]
637
637
  attr_accessor :name
@@ -663,7 +663,7 @@ module Google
663
663
  attr_accessor :state
664
664
 
665
665
  # Output only. Explains the current state of the `AutomationRun`. Present only
666
- # an explanation is needed.
666
+ # when an explanation is needed.
667
667
  # Corresponds to the JSON property `stateDescription`
668
668
  # @return [String]
669
669
  attr_accessor :state_description
@@ -1044,6 +1044,24 @@ module Google
1044
1044
  attr_accessor :automatic_traffic_control
1045
1045
  alias_method :automatic_traffic_control?, :automatic_traffic_control
1046
1046
 
1047
+ # Optional. A list of tags that are added to the canary revision while the
1048
+ # canary deployment is in progress.
1049
+ # Corresponds to the JSON property `canaryRevisionTags`
1050
+ # @return [Array<String>]
1051
+ attr_accessor :canary_revision_tags
1052
+
1053
+ # Optional. A list of tags that are added to the prior revision while the canary
1054
+ # deployment is in progress.
1055
+ # Corresponds to the JSON property `priorRevisionTags`
1056
+ # @return [Array<String>]
1057
+ attr_accessor :prior_revision_tags
1058
+
1059
+ # Optional. A list of tags that are added to the final stable revision after the
1060
+ # canary deployment is completed.
1061
+ # Corresponds to the JSON property `stableRevisionTags`
1062
+ # @return [Array<String>]
1063
+ attr_accessor :stable_revision_tags
1064
+
1047
1065
  def initialize(**args)
1048
1066
  update!(**args)
1049
1067
  end
@@ -1051,6 +1069,9 @@ module Google
1051
1069
  # Update properties of this object
1052
1070
  def update!(**args)
1053
1071
  @automatic_traffic_control = args[:automatic_traffic_control] if args.key?(:automatic_traffic_control)
1072
+ @canary_revision_tags = args[:canary_revision_tags] if args.key?(:canary_revision_tags)
1073
+ @prior_revision_tags = args[:prior_revision_tags] if args.key?(:prior_revision_tags)
1074
+ @stable_revision_tags = args[:stable_revision_tags] if args.key?(:stable_revision_tags)
1054
1075
  end
1055
1076
  end
1056
1077
 
@@ -1079,7 +1100,7 @@ module Google
1079
1100
  include Google::Apis::Core::Hashable
1080
1101
 
1081
1102
  # Output only. The name of the Cloud Run job that is associated with a `Rollout`.
1082
- # Format is projects/`project`/locations/`location`/jobs/`job_name`.
1103
+ # Format is `projects/`project`/locations/`location`/jobs/`job_name``.
1083
1104
  # Corresponds to the JSON property `job`
1084
1105
  # @return [String]
1085
1106
  attr_accessor :job
@@ -1090,7 +1111,8 @@ module Google
1090
1111
  attr_accessor :revision
1091
1112
 
1092
1113
  # Output only. The name of the Cloud Run Service that is associated with a `
1093
- # Rollout`. Format is projects/`project`/locations/`location`/services/`service`.
1114
+ # Rollout`. Format is `projects/`project`/locations/`location`/services/`service`
1115
+ # `.
1094
1116
  # Corresponds to the JSON property `service`
1095
1117
  # @return [String]
1096
1118
  attr_accessor :service
@@ -1119,7 +1141,7 @@ module Google
1119
1141
  include Google::Apis::Core::Hashable
1120
1142
 
1121
1143
  # Output only. The name of the Cloud Run Service in the rendered manifest.
1122
- # Format is projects/`project`/locations/`location`/services/`service`.
1144
+ # Format is `projects/`project`/locations/`location`/services/`service``.
1123
1145
  # Corresponds to the JSON property `service`
1124
1146
  # @return [String]
1125
1147
  attr_accessor :service
@@ -1184,9 +1206,9 @@ module Google
1184
1206
  class CreateChildRolloutJobRun
1185
1207
  include Google::Apis::Core::Hashable
1186
1208
 
1187
- # Output only. Name of the `ChildRollout`. Format is projects/`project`/
1188
- # locations/`location`/deliveryPipelines/`deliveryPipeline`/ releases/`release`/
1189
- # rollouts/a-z`0,62`.
1209
+ # Output only. Name of the `ChildRollout`. Format is `projects/`project`/
1210
+ # locations/`location`/deliveryPipelines/`deliveryPipeline`/releases/`release`/
1211
+ # rollouts/a-z`0,62``.
1190
1212
  # Corresponds to the JSON property `rollout`
1191
1213
  # @return [String]
1192
1214
  attr_accessor :rollout
@@ -1227,6 +1249,188 @@ module Google
1227
1249
  end
1228
1250
  end
1229
1251
 
1252
+ # CustomMetadata contains information from a user defined operation.
1253
+ class CustomMetadata
1254
+ include Google::Apis::Core::Hashable
1255
+
1256
+ # Output only. Key-value pairs provided by the user defined operation.
1257
+ # Corresponds to the JSON property `values`
1258
+ # @return [Hash<String,String>]
1259
+ attr_accessor :values
1260
+
1261
+ def initialize(**args)
1262
+ update!(**args)
1263
+ end
1264
+
1265
+ # Update properties of this object
1266
+ def update!(**args)
1267
+ @values = args[:values] if args.key?(:values)
1268
+ end
1269
+ end
1270
+
1271
+ # Information specifying a Custom Target.
1272
+ class CustomTarget
1273
+ include Google::Apis::Core::Hashable
1274
+
1275
+ # Required. The name of the CustomTargetType. Format must be `projects/`project`/
1276
+ # locations/`location`/customTargetTypes/`custom_target_type``.
1277
+ # Corresponds to the JSON property `customTargetType`
1278
+ # @return [String]
1279
+ attr_accessor :custom_target_type
1280
+
1281
+ def initialize(**args)
1282
+ update!(**args)
1283
+ end
1284
+
1285
+ # Update properties of this object
1286
+ def update!(**args)
1287
+ @custom_target_type = args[:custom_target_type] if args.key?(:custom_target_type)
1288
+ end
1289
+ end
1290
+
1291
+ # CustomTargetDeployMetadata contains information from a Custom Target deploy
1292
+ # operation.
1293
+ class CustomTargetDeployMetadata
1294
+ include Google::Apis::Core::Hashable
1295
+
1296
+ # Output only. Skip message provided in the results of a custom deploy operation.
1297
+ # Corresponds to the JSON property `skipMessage`
1298
+ # @return [String]
1299
+ attr_accessor :skip_message
1300
+
1301
+ def initialize(**args)
1302
+ update!(**args)
1303
+ end
1304
+
1305
+ # Update properties of this object
1306
+ def update!(**args)
1307
+ @skip_message = args[:skip_message] if args.key?(:skip_message)
1308
+ end
1309
+ end
1310
+
1311
+ # CustomTargetSkaffoldActions represents the `CustomTargetType` configuration
1312
+ # using Skaffold custom actions.
1313
+ class CustomTargetSkaffoldActions
1314
+ include Google::Apis::Core::Hashable
1315
+
1316
+ # Required. The Skaffold custom action responsible for deploy operations.
1317
+ # Corresponds to the JSON property `deployAction`
1318
+ # @return [String]
1319
+ attr_accessor :deploy_action
1320
+
1321
+ # Optional. List of Skaffold modules Cloud Deploy will include in the Skaffold
1322
+ # Config as required before performing diagnose.
1323
+ # Corresponds to the JSON property `includeSkaffoldModules`
1324
+ # @return [Array<Google::Apis::ClouddeployV1::SkaffoldModules>]
1325
+ attr_accessor :include_skaffold_modules
1326
+
1327
+ # Optional. The Skaffold custom action responsible for render operations. If not
1328
+ # provided then Cloud Deploy will perform the render operations via `skaffold
1329
+ # render`.
1330
+ # Corresponds to the JSON property `renderAction`
1331
+ # @return [String]
1332
+ attr_accessor :render_action
1333
+
1334
+ def initialize(**args)
1335
+ update!(**args)
1336
+ end
1337
+
1338
+ # Update properties of this object
1339
+ def update!(**args)
1340
+ @deploy_action = args[:deploy_action] if args.key?(:deploy_action)
1341
+ @include_skaffold_modules = args[:include_skaffold_modules] if args.key?(:include_skaffold_modules)
1342
+ @render_action = args[:render_action] if args.key?(:render_action)
1343
+ end
1344
+ end
1345
+
1346
+ # A `CustomTargetType` resource in the Cloud Deploy API. A `CustomTargetType`
1347
+ # defines a type of custom target that can be referenced in a `Target` in order
1348
+ # to facilitate deploying to a runtime that does not have a 1P integration with
1349
+ # Cloud Deploy.
1350
+ class CustomTargetType
1351
+ include Google::Apis::Core::Hashable
1352
+
1353
+ # Optional. User annotations. These attributes can only be set and used by the
1354
+ # user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for
1355
+ # more details such as format and size limitations.
1356
+ # Corresponds to the JSON property `annotations`
1357
+ # @return [Hash<String,String>]
1358
+ attr_accessor :annotations
1359
+
1360
+ # Output only. Time at which the `CustomTargetType` was created.
1361
+ # Corresponds to the JSON property `createTime`
1362
+ # @return [String]
1363
+ attr_accessor :create_time
1364
+
1365
+ # CustomTargetSkaffoldActions represents the `CustomTargetType` configuration
1366
+ # using Skaffold custom actions.
1367
+ # Corresponds to the JSON property `customActions`
1368
+ # @return [Google::Apis::ClouddeployV1::CustomTargetSkaffoldActions]
1369
+ attr_accessor :custom_actions
1370
+
1371
+ # Output only. Resource id of the `CustomTargetType`.
1372
+ # Corresponds to the JSON property `customTargetTypeId`
1373
+ # @return [String]
1374
+ attr_accessor :custom_target_type_id
1375
+
1376
+ # Optional. Description of the `CustomTargetType`. Max length is 255 characters.
1377
+ # Corresponds to the JSON property `description`
1378
+ # @return [String]
1379
+ attr_accessor :description
1380
+
1381
+ # Optional. This checksum is computed by the server based on the value of other
1382
+ # fields, and may be sent on update and delete requests to ensure the client has
1383
+ # an up-to-date value before proceeding.
1384
+ # Corresponds to the JSON property `etag`
1385
+ # @return [String]
1386
+ attr_accessor :etag
1387
+
1388
+ # Optional. Labels are attributes that can be set and used by both the user and
1389
+ # by Cloud Deploy. Labels must meet the following constraints: * Keys and values
1390
+ # can contain only lowercase letters, numeric characters, underscores, and
1391
+ # dashes. * All characters must use UTF-8 encoding, and international characters
1392
+ # are allowed. * Keys must start with a lowercase letter or international
1393
+ # character. * Each resource is limited to a maximum of 64 labels. Both keys and
1394
+ # values are additionally constrained to be <= 128 bytes.
1395
+ # Corresponds to the JSON property `labels`
1396
+ # @return [Hash<String,String>]
1397
+ attr_accessor :labels
1398
+
1399
+ # Optional. Name of the `CustomTargetType`. Format is `projects/`project`/
1400
+ # locations/`location`/customTargetTypes/a-z`0,62``.
1401
+ # Corresponds to the JSON property `name`
1402
+ # @return [String]
1403
+ attr_accessor :name
1404
+
1405
+ # Output only. Unique identifier of the `CustomTargetType`.
1406
+ # Corresponds to the JSON property `uid`
1407
+ # @return [String]
1408
+ attr_accessor :uid
1409
+
1410
+ # Output only. Most recent time at which the `CustomTargetType` was updated.
1411
+ # Corresponds to the JSON property `updateTime`
1412
+ # @return [String]
1413
+ attr_accessor :update_time
1414
+
1415
+ def initialize(**args)
1416
+ update!(**args)
1417
+ end
1418
+
1419
+ # Update properties of this object
1420
+ def update!(**args)
1421
+ @annotations = args[:annotations] if args.key?(:annotations)
1422
+ @create_time = args[:create_time] if args.key?(:create_time)
1423
+ @custom_actions = args[:custom_actions] if args.key?(:custom_actions)
1424
+ @custom_target_type_id = args[:custom_target_type_id] if args.key?(:custom_target_type_id)
1425
+ @description = args[:description] if args.key?(:description)
1426
+ @etag = args[:etag] if args.key?(:etag)
1427
+ @labels = args[:labels] if args.key?(:labels)
1428
+ @name = args[:name] if args.key?(:name)
1429
+ @uid = args[:uid] if args.key?(:uid)
1430
+ @update_time = args[:update_time] if args.key?(:update_time)
1431
+ end
1432
+ end
1433
+
1230
1434
  # Represents a whole or partial calendar date, such as a birthday. The time of
1231
1435
  # day and time zone are either specified elsewhere or are insignificant. The
1232
1436
  # date is relative to the Gregorian Calendar. This can represent one of the
@@ -1342,8 +1546,8 @@ module Google
1342
1546
  # @return [Hash<String,String>]
1343
1547
  attr_accessor :labels
1344
1548
 
1345
- # Optional. Name of the `DeliveryPipeline`. Format is projects/`project`/
1346
- # locations/`location`/deliveryPipelines/a-z`0,62`.
1549
+ # Optional. Name of the `DeliveryPipeline`. Format is `projects/`project`/
1550
+ # locations/`location`/deliveryPipelines/a-z`0,62``.
1347
1551
  # Corresponds to the JSON property `name`
1348
1552
  # @return [String]
1349
1553
  attr_accessor :name
@@ -1473,7 +1677,7 @@ module Google
1473
1677
  attr_accessor :artifact
1474
1678
 
1475
1679
  # Output only. The resource name of the Cloud Build `Build` object that is used
1476
- # to deploy. Format is projects/`project`/locations/`location`/builds/`build`.
1680
+ # to deploy. Format is `projects/`project`/locations/`location`/builds/`build``.
1477
1681
  # Corresponds to the JSON property `build`
1478
1682
  # @return [String]
1479
1683
  attr_accessor :build
@@ -1519,6 +1723,17 @@ module Google
1519
1723
  # @return [Google::Apis::ClouddeployV1::CloudRunMetadata]
1520
1724
  attr_accessor :cloud_run
1521
1725
 
1726
+ # CustomMetadata contains information from a user defined operation.
1727
+ # Corresponds to the JSON property `custom`
1728
+ # @return [Google::Apis::ClouddeployV1::CustomMetadata]
1729
+ attr_accessor :custom
1730
+
1731
+ # CustomTargetDeployMetadata contains information from a Custom Target deploy
1732
+ # operation.
1733
+ # Corresponds to the JSON property `customTarget`
1734
+ # @return [Google::Apis::ClouddeployV1::CustomTargetDeployMetadata]
1735
+ attr_accessor :custom_target
1736
+
1522
1737
  def initialize(**args)
1523
1738
  update!(**args)
1524
1739
  end
@@ -1526,6 +1741,8 @@ module Google
1526
1741
  # Update properties of this object
1527
1742
  def update!(**args)
1528
1743
  @cloud_run = args[:cloud_run] if args.key?(:cloud_run)
1744
+ @custom = args[:custom] if args.key?(:custom)
1745
+ @custom_target = args[:custom_target] if args.key?(:custom_target)
1529
1746
  end
1530
1747
  end
1531
1748
 
@@ -1771,7 +1988,7 @@ module Google
1771
1988
  include Google::Apis::Core::Hashable
1772
1989
 
1773
1990
  # Information specifying a GKE Cluster. Format is `projects/`project_id`/
1774
- # locations/`location_id`/clusters/`cluster_id`.
1991
+ # locations/`location_id`/clusters/`cluster_id``.
1775
1992
  # Corresponds to the JSON property `cluster`
1776
1993
  # @return [String]
1777
1994
  attr_accessor :cluster
@@ -1955,9 +2172,9 @@ module Google
1955
2172
  # @return [String]
1956
2173
  attr_accessor :job_id
1957
2174
 
1958
- # Optional. Name of the `JobRun`. Format is projects/`project`/locations/`
1959
- # location`/ deliveryPipelines/`deliveryPipeline`/releases/`releases`/rollouts/ `
1960
- # rollouts`/jobRuns/`uuid`.
2175
+ # Optional. Name of the `JobRun`. Format is `projects/`project`/locations/`
2176
+ # location`/deliveryPipelines/`deliveryPipeline`/releases/`releases`/rollouts/`
2177
+ # rollouts`/jobRuns/`uuid``.
1961
2178
  # Corresponds to the JSON property `name`
1962
2179
  # @return [String]
1963
2180
  attr_accessor :name
@@ -2139,7 +2356,7 @@ module Google
2139
2356
  class ListAutomationsResponse
2140
2357
  include Google::Apis::Core::Hashable
2141
2358
 
2142
- # The `Automations` objects.
2359
+ # The `Automation` objects.
2143
2360
  # Corresponds to the JSON property `automations`
2144
2361
  # @return [Array<Google::Apis::ClouddeployV1::Automation>]
2145
2362
  attr_accessor :automations
@@ -2167,6 +2384,38 @@ module Google
2167
2384
  end
2168
2385
  end
2169
2386
 
2387
+ # The response object from `ListCustomTargetTypes.`
2388
+ class ListCustomTargetTypesResponse
2389
+ include Google::Apis::Core::Hashable
2390
+
2391
+ # The `CustomTargetType` objects.
2392
+ # Corresponds to the JSON property `customTargetTypes`
2393
+ # @return [Array<Google::Apis::ClouddeployV1::CustomTargetType>]
2394
+ attr_accessor :custom_target_types
2395
+
2396
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
2397
+ # field is omitted, there are no subsequent pages.
2398
+ # Corresponds to the JSON property `nextPageToken`
2399
+ # @return [String]
2400
+ attr_accessor :next_page_token
2401
+
2402
+ # Locations that could not be reached.
2403
+ # Corresponds to the JSON property `unreachable`
2404
+ # @return [Array<String>]
2405
+ attr_accessor :unreachable
2406
+
2407
+ def initialize(**args)
2408
+ update!(**args)
2409
+ end
2410
+
2411
+ # Update properties of this object
2412
+ def update!(**args)
2413
+ @custom_target_types = args[:custom_target_types] if args.key?(:custom_target_types)
2414
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2415
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
2416
+ end
2417
+ end
2418
+
2170
2419
  # The response object from `ListDeliveryPipelines`.
2171
2420
  class ListDeliveryPipelinesResponse
2172
2421
  include Google::Apis::Core::Hashable
@@ -2439,6 +2688,11 @@ module Google
2439
2688
  # @return [Google::Apis::ClouddeployV1::CloudRunMetadata]
2440
2689
  attr_accessor :cloud_run
2441
2690
 
2691
+ # CustomMetadata contains information from a user defined operation.
2692
+ # Corresponds to the JSON property `custom`
2693
+ # @return [Google::Apis::ClouddeployV1::CustomMetadata]
2694
+ attr_accessor :custom
2695
+
2442
2696
  def initialize(**args)
2443
2697
  update!(**args)
2444
2698
  end
@@ -2447,6 +2701,7 @@ module Google
2447
2701
  def update!(**args)
2448
2702
  @automation = args[:automation] if args.key?(:automation)
2449
2703
  @cloud_run = args[:cloud_run] if args.key?(:cloud_run)
2704
+ @custom = args[:custom] if args.key?(:custom)
2450
2705
  end
2451
2706
  end
2452
2707
 
@@ -2731,8 +2986,8 @@ module Google
2731
2986
  # @return [Google::Apis::ClouddeployV1::PipelineReadyCondition]
2732
2987
  attr_accessor :pipeline_ready_condition
2733
2988
 
2734
- # TargetsPresentCondition contains information on any Targets defined in the
2735
- # Delivery Pipeline that do not actually exist.
2989
+ # `TargetsPresentCondition` contains information on any Targets referenced in
2990
+ # the Delivery Pipeline that do not actually exist.
2736
2991
  # Corresponds to the JSON property `targetsPresentCondition`
2737
2992
  # @return [Google::Apis::ClouddeployV1::TargetsPresentCondition]
2738
2993
  attr_accessor :targets_present_condition
@@ -2923,8 +3178,8 @@ module Google
2923
3178
  include Google::Apis::Core::Hashable
2924
3179
 
2925
3180
  # Output only. The resource name of the Cloud Build `Build` object that is used
2926
- # to execute the custom actions associated with the postdeploy Job. Format is
2927
- # projects/`project`/locations/`location`/builds/`build`.
3181
+ # to execute the custom actions associated with the postdeploy Job. Format is `
3182
+ # projects/`project`/locations/`location`/builds/`build``.
2928
3183
  # Corresponds to the JSON property `build`
2929
3184
  # @return [String]
2930
3185
  attr_accessor :build
@@ -2996,8 +3251,8 @@ module Google
2996
3251
  include Google::Apis::Core::Hashable
2997
3252
 
2998
3253
  # Output only. The resource name of the Cloud Build `Build` object that is used
2999
- # to execute the custom actions associated with the predeploy Job. Format is
3000
- # projects/`project`/locations/`location`/builds/`build`.
3254
+ # to execute the custom actions associated with the predeploy Job. Format is `
3255
+ # projects/`project`/locations/`location`/builds/`build``.
3001
3256
  # Corresponds to the JSON property `build`
3002
3257
  # @return [String]
3003
3258
  attr_accessor :build
@@ -3128,7 +3383,7 @@ module Google
3128
3383
  attr_accessor :destination_target_id
3129
3384
 
3130
3385
  # Required. ID of the rule. This id must be unique in the `Automation` resource
3131
- # to which this rule belongs. The format is a-z`0,62`.
3386
+ # to which this rule belongs. The format is `a-z`0,62``.
3132
3387
  # Corresponds to the JSON property `id`
3133
3388
  # @return [String]
3134
3389
  attr_accessor :id
@@ -3186,6 +3441,12 @@ module Google
3186
3441
  # @return [String]
3187
3442
  attr_accessor :create_time
3188
3443
 
3444
+ # Output only. Snapshot of the custom target types referenced by the targets
3445
+ # taken at release creation time.
3446
+ # Corresponds to the JSON property `customTargetTypeSnapshots`
3447
+ # @return [Array<Google::Apis::ClouddeployV1::CustomTargetType>]
3448
+ attr_accessor :custom_target_type_snapshots
3449
+
3189
3450
  # A `DeliveryPipeline` resource in the Cloud Deploy API. A `DeliveryPipeline`
3190
3451
  # defines a pipeline through which a Skaffold configuration can progress.
3191
3452
  # Corresponds to the JSON property `deliveryPipelineSnapshot`
@@ -3220,8 +3481,8 @@ module Google
3220
3481
  # @return [Hash<String,String>]
3221
3482
  attr_accessor :labels
3222
3483
 
3223
- # Optional. Name of the `Release`. Format is projects/`project`/ locations/`
3224
- # location`/deliveryPipelines/`deliveryPipeline`/ releases/a-z`0,62`.
3484
+ # Optional. Name of the `Release`. Format is `projects/`project`/locations/`
3485
+ # location`/deliveryPipelines/`deliveryPipeline`/releases/a-z`0,62``.
3225
3486
  # Corresponds to the JSON property `name`
3226
3487
  # @return [String]
3227
3488
  attr_accessor :name
@@ -3291,6 +3552,7 @@ module Google
3291
3552
  @build_artifacts = args[:build_artifacts] if args.key?(:build_artifacts)
3292
3553
  @condition = args[:condition] if args.key?(:condition)
3293
3554
  @create_time = args[:create_time] if args.key?(:create_time)
3555
+ @custom_target_type_snapshots = args[:custom_target_type_snapshots] if args.key?(:custom_target_type_snapshots)
3294
3556
  @delivery_pipeline_snapshot = args[:delivery_pipeline_snapshot] if args.key?(:delivery_pipeline_snapshot)
3295
3557
  @deploy_parameters = args[:deploy_parameters] if args.key?(:deploy_parameters)
3296
3558
  @description = args[:description] if args.key?(:description)
@@ -3321,7 +3583,7 @@ module Google
3321
3583
  attr_accessor :release_ready_condition
3322
3584
 
3323
3585
  # SkaffoldSupportedCondition contains information about when support for the
3324
- # release's version of skaffold ends.
3586
+ # release's version of Skaffold ends.
3325
3587
  # Corresponds to the JSON property `skaffoldSupportedCondition`
3326
3588
  # @return [Google::Apis::ClouddeployV1::SkaffoldSupportedCondition]
3327
3589
  attr_accessor :skaffold_supported_condition
@@ -3437,6 +3699,11 @@ module Google
3437
3699
  # @return [Google::Apis::ClouddeployV1::CloudRunRenderMetadata]
3438
3700
  attr_accessor :cloud_run
3439
3701
 
3702
+ # CustomMetadata contains information from a user defined operation.
3703
+ # Corresponds to the JSON property `custom`
3704
+ # @return [Google::Apis::ClouddeployV1::CustomMetadata]
3705
+ attr_accessor :custom
3706
+
3440
3707
  def initialize(**args)
3441
3708
  update!(**args)
3442
3709
  end
@@ -3444,6 +3711,7 @@ module Google
3444
3711
  # Update properties of this object
3445
3712
  def update!(**args)
3446
3713
  @cloud_run = args[:cloud_run] if args.key?(:cloud_run)
3714
+ @custom = args[:custom] if args.key?(:custom)
3447
3715
  end
3448
3716
  end
3449
3717
 
@@ -3508,6 +3776,16 @@ module Google
3508
3776
  # @return [Fixnum]
3509
3777
  attr_accessor :current_repair_mode_index
3510
3778
 
3779
+ # Output only. The job ID for the Job to repair.
3780
+ # Corresponds to the JSON property `jobId`
3781
+ # @return [String]
3782
+ attr_accessor :job_id
3783
+
3784
+ # Output only. The phase ID of the phase that includes the job being repaired.
3785
+ # Corresponds to the JSON property `phaseId`
3786
+ # @return [String]
3787
+ attr_accessor :phase_id
3788
+
3511
3789
  # Output only. Records of the repair attempts. Each repair phase may have
3512
3790
  # multiple retry attempts or single rollback attempt.
3513
3791
  # Corresponds to the JSON property `repairPhases`
@@ -3526,6 +3804,8 @@ module Google
3526
3804
  # Update properties of this object
3527
3805
  def update!(**args)
3528
3806
  @current_repair_mode_index = args[:current_repair_mode_index] if args.key?(:current_repair_mode_index)
3807
+ @job_id = args[:job_id] if args.key?(:job_id)
3808
+ @phase_id = args[:phase_id] if args.key?(:phase_id)
3529
3809
  @repair_phases = args[:repair_phases] if args.key?(:repair_phases)
3530
3810
  @rollout = args[:rollout] if args.key?(:rollout)
3531
3811
  end
@@ -3542,7 +3822,7 @@ module Google
3542
3822
  attr_accessor :condition
3543
3823
 
3544
3824
  # Required. ID of the rule. This id must be unique in the `Automation` resource
3545
- # to which this rule belongs. The format is a-z`0,62`.
3825
+ # to which this rule belongs. The format is `a-z`0,62``.
3546
3826
  # Corresponds to the JSON property `id`
3547
3827
  # @return [String]
3548
3828
  attr_accessor :id
@@ -3590,7 +3870,7 @@ module Google
3590
3870
  class Retry
3591
3871
  include Google::Apis::Core::Hashable
3592
3872
 
3593
- # Required. Total number of retries. Retry will skipped if set to 0; The minimum
3873
+ # Required. Total number of retries. Retry is skipped if set to 0; The minimum
3594
3874
  # value is 1, and the maximum value is 10.
3595
3875
  # Corresponds to the JSON property `attempts`
3596
3876
  # @return [Fixnum]
@@ -3919,9 +4199,9 @@ module Google
3919
4199
  # @return [String]
3920
4200
  attr_accessor :approve_time
3921
4201
 
3922
- # Output only. Name of the `ControllerRollout`. Format is projects/`project`/
3923
- # locations/`location`/deliveryPipelines/`deliveryPipeline`/ releases/`release`/
3924
- # rollouts/a-z`0,62`.
4202
+ # Output only. Name of the `ControllerRollout`. Format is `projects/`project`/
4203
+ # locations/`location`/deliveryPipelines/`deliveryPipeline`/releases/`release`/
4204
+ # rollouts/a-z`0,62``.
3925
4205
  # Corresponds to the JSON property `controllerRollout`
3926
4206
  # @return [String]
3927
4207
  attr_accessor :controller_rollout
@@ -3992,9 +4272,9 @@ module Google
3992
4272
  # @return [Google::Apis::ClouddeployV1::Metadata]
3993
4273
  attr_accessor :metadata
3994
4274
 
3995
- # Optional. Name of the `Rollout`. Format is projects/`project`/ locations/`
3996
- # location`/deliveryPipelines/`deliveryPipeline`/ releases/`release`/rollouts/a-
3997
- # z`0,62`.
4275
+ # Optional. Name of the `Rollout`. Format is `projects/`project`/locations/`
4276
+ # location`/deliveryPipelines/`deliveryPipeline`/releases/`release`/rollouts/a-z`
4277
+ # 0,62``.
3998
4278
  # Corresponds to the JSON property `name`
3999
4279
  # @return [String]
4000
4280
  attr_accessor :name
@@ -4302,29 +4582,118 @@ module Google
4302
4582
  end
4303
4583
  end
4304
4584
 
4585
+ # Cloud Storage bucket containing Skaffold Config modules.
4586
+ class SkaffoldGcsSource
4587
+ include Google::Apis::Core::Hashable
4588
+
4589
+ # Optional. Relative path from the source to the Skaffold file.
4590
+ # Corresponds to the JSON property `path`
4591
+ # @return [String]
4592
+ attr_accessor :path
4593
+
4594
+ # Required. Cloud Storage source paths to copy recursively. For example,
4595
+ # providing "gs://my-bucket/dir/configs/*" will result in Skaffold copying all
4596
+ # files within the "dir/configs" directory in the bucket "my-bucket".
4597
+ # Corresponds to the JSON property `source`
4598
+ # @return [String]
4599
+ attr_accessor :source
4600
+
4601
+ def initialize(**args)
4602
+ update!(**args)
4603
+ end
4604
+
4605
+ # Update properties of this object
4606
+ def update!(**args)
4607
+ @path = args[:path] if args.key?(:path)
4608
+ @source = args[:source] if args.key?(:source)
4609
+ end
4610
+ end
4611
+
4612
+ # Git repository containing Skaffold Config modules.
4613
+ class SkaffoldGitSource
4614
+ include Google::Apis::Core::Hashable
4615
+
4616
+ # Optional. Relative path from the repository root to the Skaffold file.
4617
+ # Corresponds to the JSON property `path`
4618
+ # @return [String]
4619
+ attr_accessor :path
4620
+
4621
+ # Optional. Git ref the package should be cloned from.
4622
+ # Corresponds to the JSON property `ref`
4623
+ # @return [String]
4624
+ attr_accessor :ref
4625
+
4626
+ # Required. Git repository the package should be cloned from.
4627
+ # Corresponds to the JSON property `repo`
4628
+ # @return [String]
4629
+ attr_accessor :repo
4630
+
4631
+ def initialize(**args)
4632
+ update!(**args)
4633
+ end
4634
+
4635
+ # Update properties of this object
4636
+ def update!(**args)
4637
+ @path = args[:path] if args.key?(:path)
4638
+ @ref = args[:ref] if args.key?(:ref)
4639
+ @repo = args[:repo] if args.key?(:repo)
4640
+ end
4641
+ end
4642
+
4643
+ # Skaffold Config modules and their remote source.
4644
+ class SkaffoldModules
4645
+ include Google::Apis::Core::Hashable
4646
+
4647
+ # Optional. The Skaffold Config modules to use from the specified source.
4648
+ # Corresponds to the JSON property `configs`
4649
+ # @return [Array<String>]
4650
+ attr_accessor :configs
4651
+
4652
+ # Git repository containing Skaffold Config modules.
4653
+ # Corresponds to the JSON property `git`
4654
+ # @return [Google::Apis::ClouddeployV1::SkaffoldGitSource]
4655
+ attr_accessor :git
4656
+
4657
+ # Cloud Storage bucket containing Skaffold Config modules.
4658
+ # Corresponds to the JSON property `googleCloudStorage`
4659
+ # @return [Google::Apis::ClouddeployV1::SkaffoldGcsSource]
4660
+ attr_accessor :google_cloud_storage
4661
+
4662
+ def initialize(**args)
4663
+ update!(**args)
4664
+ end
4665
+
4666
+ # Update properties of this object
4667
+ def update!(**args)
4668
+ @configs = args[:configs] if args.key?(:configs)
4669
+ @git = args[:git] if args.key?(:git)
4670
+ @google_cloud_storage = args[:google_cloud_storage] if args.key?(:google_cloud_storage)
4671
+ end
4672
+ end
4673
+
4305
4674
  # SkaffoldSupportedCondition contains information about when support for the
4306
- # release's version of skaffold ends.
4675
+ # release's version of Skaffold ends.
4307
4676
  class SkaffoldSupportedCondition
4308
4677
  include Google::Apis::Core::Hashable
4309
4678
 
4310
- # The time at which this release's version of skaffold will enter maintenance
4679
+ # The time at which this release's version of Skaffold will enter maintenance
4311
4680
  # mode.
4312
4681
  # Corresponds to the JSON property `maintenanceModeTime`
4313
4682
  # @return [String]
4314
4683
  attr_accessor :maintenance_mode_time
4315
4684
 
4316
- # The skaffold support state for this release's version of skaffold.
4685
+ # The Skaffold support state for this release's version of Skaffold.
4317
4686
  # Corresponds to the JSON property `skaffoldSupportState`
4318
4687
  # @return [String]
4319
4688
  attr_accessor :skaffold_support_state
4320
4689
 
4321
- # True if the version of skaffold used by this release is supported.
4690
+ # True if the version of Skaffold used by this release is supported.
4322
4691
  # Corresponds to the JSON property `status`
4323
4692
  # @return [Boolean]
4324
4693
  attr_accessor :status
4325
4694
  alias_method :status?, :status
4326
4695
 
4327
- # The time at which this release's version of skaffold will no longer be
4696
+ # The time at which this release's version of Skaffold will no longer be
4328
4697
  # supported.
4329
4698
  # Corresponds to the JSON property `supportExpirationTime`
4330
4699
  # @return [String]
@@ -4347,7 +4716,7 @@ module Google
4347
4716
  class SkaffoldVersion
4348
4717
  include Google::Apis::Core::Hashable
4349
4718
 
4350
- # The time at which this version of skaffold will enter maintenance mode.
4719
+ # The time at which this version of Skaffold will enter maintenance mode.
4351
4720
  # Corresponds to the JSON property `maintenanceModeTime`
4352
4721
  # @return [String]
4353
4722
  attr_accessor :maintenance_mode_time
@@ -4364,7 +4733,7 @@ module Google
4364
4733
  # @return [Google::Apis::ClouddeployV1::Date]
4365
4734
  attr_accessor :support_end_date
4366
4735
 
4367
- # The time at which this version of skaffold will no longer be supported.
4736
+ # The time at which this version of Skaffold will no longer be supported.
4368
4737
  # Corresponds to the JSON property `supportExpirationTime`
4369
4738
  # @return [String]
4370
4739
  attr_accessor :support_expiration_time
@@ -4546,6 +4915,11 @@ module Google
4546
4915
  # @return [String]
4547
4916
  attr_accessor :create_time
4548
4917
 
4918
+ # Information specifying a Custom Target.
4919
+ # Corresponds to the JSON property `customTarget`
4920
+ # @return [Google::Apis::ClouddeployV1::CustomTarget]
4921
+ attr_accessor :custom_target
4922
+
4549
4923
  # Optional. The deploy parameters to use for this target.
4550
4924
  # Corresponds to the JSON property `deployParameters`
4551
4925
  # @return [Hash<String,String>]
@@ -4594,8 +4968,8 @@ module Google
4594
4968
  # @return [Google::Apis::ClouddeployV1::MultiTarget]
4595
4969
  attr_accessor :multi_target
4596
4970
 
4597
- # Optional. Name of the `Target`. Format is projects/`project`/locations/`
4598
- # location`/targets/a-z`0,62`.
4971
+ # Optional. Name of the `Target`. Format is `projects/`project`/locations/`
4972
+ # location`/targets/a-z`0,62``.
4599
4973
  # Corresponds to the JSON property `name`
4600
4974
  # @return [String]
4601
4975
  attr_accessor :name
@@ -4635,6 +5009,7 @@ module Google
4635
5009
  @annotations = args[:annotations] if args.key?(:annotations)
4636
5010
  @anthos_cluster = args[:anthos_cluster] if args.key?(:anthos_cluster)
4637
5011
  @create_time = args[:create_time] if args.key?(:create_time)
5012
+ @custom_target = args[:custom_target] if args.key?(:custom_target)
4638
5013
  @deploy_parameters = args[:deploy_parameters] if args.key?(:deploy_parameters)
4639
5014
  @description = args[:description] if args.key?(:description)
4640
5015
  @etag = args[:etag] if args.key?(:etag)
@@ -4800,13 +5175,13 @@ module Google
4800
5175
  end
4801
5176
  end
4802
5177
 
4803
- # TargetsPresentCondition contains information on any Targets defined in the
4804
- # Delivery Pipeline that do not actually exist.
5178
+ # `TargetsPresentCondition` contains information on any Targets referenced in
5179
+ # the Delivery Pipeline that do not actually exist.
4805
5180
  class TargetsPresentCondition
4806
5181
  include Google::Apis::Core::Hashable
4807
5182
 
4808
- # The list of Target names that do not exist. For example, projects/`project_id`/
4809
- # locations/`location_name`/targets/`target_name`.
5183
+ # The list of Target names that do not exist. For example, `projects/`project_id`
5184
+ # /locations/`location_name`/targets/`target_name``.
4810
5185
  # Corresponds to the JSON property `missingTargets`
4811
5186
  # @return [Array<String>]
4812
5187
  attr_accessor :missing_targets
@@ -4953,7 +5328,7 @@ module Google
4953
5328
  attr_accessor :artifact_uri
4954
5329
 
4955
5330
  # Output only. The resource name of the Cloud Build `Build` object that is used
4956
- # to verify. Format is projects/`project`/locations/`location`/builds/`build`.
5331
+ # to verify. Format is `projects/`project`/locations/`location`/builds/`build``.
4957
5332
  # Corresponds to the JSON property `build`
4958
5333
  # @return [String]
4959
5334
  attr_accessor :build