google-apis-clouddeploy_v1 0.36.0 → 0.38.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.
@@ -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
@@ -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
@@ -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
@@ -587,7 +587,7 @@ module Google
587
587
  end
588
588
 
589
589
  # An `AutomationRun` resource in the Cloud Deploy API. An `AutomationRun`
590
- # represents an automation execution instance of an automation rule.
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,8 +623,8 @@ 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
@@ -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
@@ -807,21 +807,43 @@ module Google
807
807
  # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
808
808
  # email address that represents a Google group. For example, `admins@example.com`
809
809
  # . * `domain:`domain``: The G Suite domain (primary) that represents all the
810
- # users of that domain. For example, `google.com` or `example.com`. * `deleted:
811
- # user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
812
- # representing a user that has been recently deleted. For example, `alice@
813
- # example.com?uid=123456789012345678901`. If the user is recovered, this value
814
- # reverts to `user:`emailid`` and the recovered user retains the role in the
815
- # binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
816
- # (plus unique identifier) representing a service account that has been recently
817
- # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
810
+ # users of that domain. For example, `google.com` or `example.com`. * `principal:
811
+ # //iam.googleapis.com/locations/global/workforcePools/`pool_id`/subject/`
812
+ # subject_attribute_value``: A single identity in a workforce identity pool. * `
813
+ # principalSet://iam.googleapis.com/locations/global/workforcePools/`pool_id`/
814
+ # group/`group_id``: All workforce identities in a group. * `principalSet://iam.
815
+ # googleapis.com/locations/global/workforcePools/`pool_id`/attribute.`
816
+ # attribute_name`/`attribute_value``: All workforce identities with a specific
817
+ # attribute value. * `principalSet://iam.googleapis.com/locations/global/
818
+ # workforcePools/`pool_id`/*`: All identities in a workforce identity pool. * `
819
+ # principal://iam.googleapis.com/projects/`project_number`/locations/global/
820
+ # workloadIdentityPools/`pool_id`/subject/`subject_attribute_value``: A single
821
+ # identity in a workload identity pool. * `principalSet://iam.googleapis.com/
822
+ # projects/`project_number`/locations/global/workloadIdentityPools/`pool_id`/
823
+ # group/`group_id``: A workload identity pool group. * `principalSet://iam.
824
+ # googleapis.com/projects/`project_number`/locations/global/
825
+ # workloadIdentityPools/`pool_id`/attribute.`attribute_name`/`attribute_value``:
826
+ # All identities in a workload identity pool with a certain attribute. * `
827
+ # principalSet://iam.googleapis.com/projects/`project_number`/locations/global/
828
+ # workloadIdentityPools/`pool_id`/*`: All identities in a workload identity pool.
829
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
830
+ # identifier) representing a user that has been recently deleted. For example, `
831
+ # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
832
+ # value reverts to `user:`emailid`` and the recovered user retains the role in
833
+ # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
834
+ # address (plus unique identifier) representing a service account that has been
835
+ # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
818
836
  # 123456789012345678901`. If the service account is undeleted, this value
819
837
  # reverts to `serviceAccount:`emailid`` and the undeleted service account
820
838
  # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
821
839
  # An email address (plus unique identifier) representing a Google group that has
822
840
  # been recently deleted. For example, `admins@example.com?uid=
823
841
  # 123456789012345678901`. If the group is recovered, this value reverts to `
824
- # group:`emailid`` and the recovered group retains the role in the binding.
842
+ # group:`emailid`` and the recovered group retains the role in the binding. * `
843
+ # deleted:principal://iam.googleapis.com/locations/global/workforcePools/`
844
+ # pool_id`/subject/`subject_attribute_value``: Deleted single identity in a
845
+ # workforce identity pool. For example, `deleted:principal://iam.googleapis.com/
846
+ # locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
825
847
  # Corresponds to the JSON property `members`
826
848
  # @return [Array<String>]
827
849
  attr_accessor :members
@@ -1044,6 +1066,24 @@ module Google
1044
1066
  attr_accessor :automatic_traffic_control
1045
1067
  alias_method :automatic_traffic_control?, :automatic_traffic_control
1046
1068
 
1069
+ # Optional. A list of tags that are added to the canary revision while the
1070
+ # canary phase is in progress.
1071
+ # Corresponds to the JSON property `canaryRevisionTags`
1072
+ # @return [Array<String>]
1073
+ attr_accessor :canary_revision_tags
1074
+
1075
+ # Optional. A list of tags that are added to the prior revision while the canary
1076
+ # phase is in progress.
1077
+ # Corresponds to the JSON property `priorRevisionTags`
1078
+ # @return [Array<String>]
1079
+ attr_accessor :prior_revision_tags
1080
+
1081
+ # Optional. A list of tags that are added to the final stable revision when the
1082
+ # stable phase is applied.
1083
+ # Corresponds to the JSON property `stableRevisionTags`
1084
+ # @return [Array<String>]
1085
+ attr_accessor :stable_revision_tags
1086
+
1047
1087
  def initialize(**args)
1048
1088
  update!(**args)
1049
1089
  end
@@ -1051,6 +1091,9 @@ module Google
1051
1091
  # Update properties of this object
1052
1092
  def update!(**args)
1053
1093
  @automatic_traffic_control = args[:automatic_traffic_control] if args.key?(:automatic_traffic_control)
1094
+ @canary_revision_tags = args[:canary_revision_tags] if args.key?(:canary_revision_tags)
1095
+ @prior_revision_tags = args[:prior_revision_tags] if args.key?(:prior_revision_tags)
1096
+ @stable_revision_tags = args[:stable_revision_tags] if args.key?(:stable_revision_tags)
1054
1097
  end
1055
1098
  end
1056
1099
 
@@ -1228,6 +1271,187 @@ module Google
1228
1271
  end
1229
1272
  end
1230
1273
 
1274
+ # CustomMetadata contains information from a user-defined operation.
1275
+ class CustomMetadata
1276
+ include Google::Apis::Core::Hashable
1277
+
1278
+ # Output only. Key-value pairs provided by the user-defined operation.
1279
+ # Corresponds to the JSON property `values`
1280
+ # @return [Hash<String,String>]
1281
+ attr_accessor :values
1282
+
1283
+ def initialize(**args)
1284
+ update!(**args)
1285
+ end
1286
+
1287
+ # Update properties of this object
1288
+ def update!(**args)
1289
+ @values = args[:values] if args.key?(:values)
1290
+ end
1291
+ end
1292
+
1293
+ # Information specifying a Custom Target.
1294
+ class CustomTarget
1295
+ include Google::Apis::Core::Hashable
1296
+
1297
+ # Required. The name of the CustomTargetType. Format must be `projects/`project`/
1298
+ # locations/`location`/customTargetTypes/`custom_target_type``.
1299
+ # Corresponds to the JSON property `customTargetType`
1300
+ # @return [String]
1301
+ attr_accessor :custom_target_type
1302
+
1303
+ def initialize(**args)
1304
+ update!(**args)
1305
+ end
1306
+
1307
+ # Update properties of this object
1308
+ def update!(**args)
1309
+ @custom_target_type = args[:custom_target_type] if args.key?(:custom_target_type)
1310
+ end
1311
+ end
1312
+
1313
+ # CustomTargetDeployMetadata contains information from a Custom Target deploy
1314
+ # operation.
1315
+ class CustomTargetDeployMetadata
1316
+ include Google::Apis::Core::Hashable
1317
+
1318
+ # Output only. Skip message provided in the results of a custom deploy operation.
1319
+ # Corresponds to the JSON property `skipMessage`
1320
+ # @return [String]
1321
+ attr_accessor :skip_message
1322
+
1323
+ def initialize(**args)
1324
+ update!(**args)
1325
+ end
1326
+
1327
+ # Update properties of this object
1328
+ def update!(**args)
1329
+ @skip_message = args[:skip_message] if args.key?(:skip_message)
1330
+ end
1331
+ end
1332
+
1333
+ # CustomTargetSkaffoldActions represents the `CustomTargetType` configuration
1334
+ # using Skaffold custom actions.
1335
+ class CustomTargetSkaffoldActions
1336
+ include Google::Apis::Core::Hashable
1337
+
1338
+ # Required. The Skaffold custom action responsible for deploy operations.
1339
+ # Corresponds to the JSON property `deployAction`
1340
+ # @return [String]
1341
+ attr_accessor :deploy_action
1342
+
1343
+ # Optional. List of Skaffold modules Cloud Deploy will include in the Skaffold
1344
+ # Config as required before performing diagnose.
1345
+ # Corresponds to the JSON property `includeSkaffoldModules`
1346
+ # @return [Array<Google::Apis::ClouddeployV1::SkaffoldModules>]
1347
+ attr_accessor :include_skaffold_modules
1348
+
1349
+ # Optional. The Skaffold custom action responsible for render operations. If not
1350
+ # provided then Cloud Deploy will perform the render operations via `skaffold
1351
+ # render`.
1352
+ # Corresponds to the JSON property `renderAction`
1353
+ # @return [String]
1354
+ attr_accessor :render_action
1355
+
1356
+ def initialize(**args)
1357
+ update!(**args)
1358
+ end
1359
+
1360
+ # Update properties of this object
1361
+ def update!(**args)
1362
+ @deploy_action = args[:deploy_action] if args.key?(:deploy_action)
1363
+ @include_skaffold_modules = args[:include_skaffold_modules] if args.key?(:include_skaffold_modules)
1364
+ @render_action = args[:render_action] if args.key?(:render_action)
1365
+ end
1366
+ end
1367
+
1368
+ # A `CustomTargetType` resource in the Cloud Deploy API. A `CustomTargetType`
1369
+ # defines a type of custom target that can be referenced in a `Target` in order
1370
+ # to facilitate deploying to other systems besides the supported runtimes.
1371
+ class CustomTargetType
1372
+ include Google::Apis::Core::Hashable
1373
+
1374
+ # Optional. User annotations. These attributes can only be set and used by the
1375
+ # user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for
1376
+ # more details such as format and size limitations.
1377
+ # Corresponds to the JSON property `annotations`
1378
+ # @return [Hash<String,String>]
1379
+ attr_accessor :annotations
1380
+
1381
+ # Output only. Time at which the `CustomTargetType` was created.
1382
+ # Corresponds to the JSON property `createTime`
1383
+ # @return [String]
1384
+ attr_accessor :create_time
1385
+
1386
+ # CustomTargetSkaffoldActions represents the `CustomTargetType` configuration
1387
+ # using Skaffold custom actions.
1388
+ # Corresponds to the JSON property `customActions`
1389
+ # @return [Google::Apis::ClouddeployV1::CustomTargetSkaffoldActions]
1390
+ attr_accessor :custom_actions
1391
+
1392
+ # Output only. Resource id of the `CustomTargetType`.
1393
+ # Corresponds to the JSON property `customTargetTypeId`
1394
+ # @return [String]
1395
+ attr_accessor :custom_target_type_id
1396
+
1397
+ # Optional. Description of the `CustomTargetType`. Max length is 255 characters.
1398
+ # Corresponds to the JSON property `description`
1399
+ # @return [String]
1400
+ attr_accessor :description
1401
+
1402
+ # Optional. This checksum is computed by the server based on the value of other
1403
+ # fields, and may be sent on update and delete requests to ensure the client has
1404
+ # an up-to-date value before proceeding.
1405
+ # Corresponds to the JSON property `etag`
1406
+ # @return [String]
1407
+ attr_accessor :etag
1408
+
1409
+ # Optional. Labels are attributes that can be set and used by both the user and
1410
+ # by Cloud Deploy. Labels must meet the following constraints: * Keys and values
1411
+ # can contain only lowercase letters, numeric characters, underscores, and
1412
+ # dashes. * All characters must use UTF-8 encoding, and international characters
1413
+ # are allowed. * Keys must start with a lowercase letter or international
1414
+ # character. * Each resource is limited to a maximum of 64 labels. Both keys and
1415
+ # values are additionally constrained to be <= 128 bytes.
1416
+ # Corresponds to the JSON property `labels`
1417
+ # @return [Hash<String,String>]
1418
+ attr_accessor :labels
1419
+
1420
+ # Optional. Name of the `CustomTargetType`. Format is `projects/`project`/
1421
+ # locations/`location`/customTargetTypes/a-z`0,62``.
1422
+ # Corresponds to the JSON property `name`
1423
+ # @return [String]
1424
+ attr_accessor :name
1425
+
1426
+ # Output only. Unique identifier of the `CustomTargetType`.
1427
+ # Corresponds to the JSON property `uid`
1428
+ # @return [String]
1429
+ attr_accessor :uid
1430
+
1431
+ # Output only. Most recent time at which the `CustomTargetType` was updated.
1432
+ # Corresponds to the JSON property `updateTime`
1433
+ # @return [String]
1434
+ attr_accessor :update_time
1435
+
1436
+ def initialize(**args)
1437
+ update!(**args)
1438
+ end
1439
+
1440
+ # Update properties of this object
1441
+ def update!(**args)
1442
+ @annotations = args[:annotations] if args.key?(:annotations)
1443
+ @create_time = args[:create_time] if args.key?(:create_time)
1444
+ @custom_actions = args[:custom_actions] if args.key?(:custom_actions)
1445
+ @custom_target_type_id = args[:custom_target_type_id] if args.key?(:custom_target_type_id)
1446
+ @description = args[:description] if args.key?(:description)
1447
+ @etag = args[:etag] if args.key?(:etag)
1448
+ @labels = args[:labels] if args.key?(:labels)
1449
+ @name = args[:name] if args.key?(:name)
1450
+ @uid = args[:uid] if args.key?(:uid)
1451
+ @update_time = args[:update_time] if args.key?(:update_time)
1452
+ end
1453
+ end
1454
+
1231
1455
  # Represents a whole or partial calendar date, such as a birthday. The time of
1232
1456
  # day and time zone are either specified elsewhere or are insignificant. The
1233
1457
  # date is relative to the Gregorian Calendar. This can represent one of the
@@ -1407,6 +1631,11 @@ module Google
1407
1631
  # @return [String]
1408
1632
  attr_accessor :message
1409
1633
 
1634
+ # Unique identifier of the `DeliveryPipeline`.
1635
+ # Corresponds to the JSON property `pipelineUid`
1636
+ # @return [String]
1637
+ attr_accessor :pipeline_uid
1638
+
1410
1639
  # Type of this notification, e.g. for a Pub/Sub failure.
1411
1640
  # Corresponds to the JSON property `type`
1412
1641
  # @return [String]
@@ -1420,6 +1649,7 @@ module Google
1420
1649
  def update!(**args)
1421
1650
  @delivery_pipeline = args[:delivery_pipeline] if args.key?(:delivery_pipeline)
1422
1651
  @message = args[:message] if args.key?(:message)
1652
+ @pipeline_uid = args[:pipeline_uid] if args.key?(:pipeline_uid)
1423
1653
  @type = args[:type] if args.key?(:type)
1424
1654
  end
1425
1655
  end
@@ -1520,6 +1750,17 @@ module Google
1520
1750
  # @return [Google::Apis::ClouddeployV1::CloudRunMetadata]
1521
1751
  attr_accessor :cloud_run
1522
1752
 
1753
+ # CustomMetadata contains information from a user-defined operation.
1754
+ # Corresponds to the JSON property `custom`
1755
+ # @return [Google::Apis::ClouddeployV1::CustomMetadata]
1756
+ attr_accessor :custom
1757
+
1758
+ # CustomTargetDeployMetadata contains information from a Custom Target deploy
1759
+ # operation.
1760
+ # Corresponds to the JSON property `customTarget`
1761
+ # @return [Google::Apis::ClouddeployV1::CustomTargetDeployMetadata]
1762
+ attr_accessor :custom_target
1763
+
1523
1764
  def initialize(**args)
1524
1765
  update!(**args)
1525
1766
  end
@@ -1527,6 +1768,8 @@ module Google
1527
1768
  # Update properties of this object
1528
1769
  def update!(**args)
1529
1770
  @cloud_run = args[:cloud_run] if args.key?(:cloud_run)
1771
+ @custom = args[:custom] if args.key?(:custom)
1772
+ @custom_target = args[:custom_target] if args.key?(:custom_target)
1530
1773
  end
1531
1774
  end
1532
1775
 
@@ -1754,6 +1997,13 @@ module Google
1754
1997
  # @return [String]
1755
1998
  attr_accessor :service
1756
1999
 
2000
+ # Optional. The amount of time to migrate traffic back from the canary Service
2001
+ # to the original Service during the stable phase deployment. If specified, must
2002
+ # be between 15s and 3600s. If unspecified, there is no cutback time.
2003
+ # Corresponds to the JSON property `stableCutbackDuration`
2004
+ # @return [String]
2005
+ attr_accessor :stable_cutback_duration
2006
+
1757
2007
  def initialize(**args)
1758
2008
  update!(**args)
1759
2009
  end
@@ -1764,6 +2014,7 @@ module Google
1764
2014
  @http_route = args[:http_route] if args.key?(:http_route)
1765
2015
  @route_update_wait_time = args[:route_update_wait_time] if args.key?(:route_update_wait_time)
1766
2016
  @service = args[:service] if args.key?(:service)
2017
+ @stable_cutback_duration = args[:stable_cutback_duration] if args.key?(:stable_cutback_duration)
1767
2018
  end
1768
2019
  end
1769
2020
 
@@ -2043,11 +2294,21 @@ module Google
2043
2294
  # @return [String]
2044
2295
  attr_accessor :pipeline_uid
2045
2296
 
2297
+ # The name of the `Release`.
2298
+ # Corresponds to the JSON property `release`
2299
+ # @return [String]
2300
+ attr_accessor :release
2301
+
2046
2302
  # Unique identifier of the `Release`.
2047
2303
  # Corresponds to the JSON property `releaseUid`
2048
2304
  # @return [String]
2049
2305
  attr_accessor :release_uid
2050
2306
 
2307
+ # The name of the `Rollout`.
2308
+ # Corresponds to the JSON property `rollout`
2309
+ # @return [String]
2310
+ attr_accessor :rollout
2311
+
2051
2312
  # Unique identifier of the `Rollout`.
2052
2313
  # Corresponds to the JSON property `rolloutUid`
2053
2314
  # @return [String]
@@ -2072,7 +2333,9 @@ module Google
2072
2333
  @job_run = args[:job_run] if args.key?(:job_run)
2073
2334
  @message = args[:message] if args.key?(:message)
2074
2335
  @pipeline_uid = args[:pipeline_uid] if args.key?(:pipeline_uid)
2336
+ @release = args[:release] if args.key?(:release)
2075
2337
  @release_uid = args[:release_uid] if args.key?(:release_uid)
2338
+ @rollout = args[:rollout] if args.key?(:rollout)
2076
2339
  @rollout_uid = args[:rollout_uid] if args.key?(:rollout_uid)
2077
2340
  @target_id = args[:target_id] if args.key?(:target_id)
2078
2341
  @type = args[:type] if args.key?(:type)
@@ -2140,7 +2403,7 @@ module Google
2140
2403
  class ListAutomationsResponse
2141
2404
  include Google::Apis::Core::Hashable
2142
2405
 
2143
- # The `Automations` objects.
2406
+ # The `Automation` objects.
2144
2407
  # Corresponds to the JSON property `automations`
2145
2408
  # @return [Array<Google::Apis::ClouddeployV1::Automation>]
2146
2409
  attr_accessor :automations
@@ -2168,6 +2431,38 @@ module Google
2168
2431
  end
2169
2432
  end
2170
2433
 
2434
+ # The response object from `ListCustomTargetTypes.`
2435
+ class ListCustomTargetTypesResponse
2436
+ include Google::Apis::Core::Hashable
2437
+
2438
+ # The `CustomTargetType` objects.
2439
+ # Corresponds to the JSON property `customTargetTypes`
2440
+ # @return [Array<Google::Apis::ClouddeployV1::CustomTargetType>]
2441
+ attr_accessor :custom_target_types
2442
+
2443
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
2444
+ # field is omitted, there are no subsequent pages.
2445
+ # Corresponds to the JSON property `nextPageToken`
2446
+ # @return [String]
2447
+ attr_accessor :next_page_token
2448
+
2449
+ # Locations that could not be reached.
2450
+ # Corresponds to the JSON property `unreachable`
2451
+ # @return [Array<String>]
2452
+ attr_accessor :unreachable
2453
+
2454
+ def initialize(**args)
2455
+ update!(**args)
2456
+ end
2457
+
2458
+ # Update properties of this object
2459
+ def update!(**args)
2460
+ @custom_target_types = args[:custom_target_types] if args.key?(:custom_target_types)
2461
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2462
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
2463
+ end
2464
+ end
2465
+
2171
2466
  # The response object from `ListDeliveryPipelines`.
2172
2467
  class ListDeliveryPipelinesResponse
2173
2468
  include Google::Apis::Core::Hashable
@@ -2440,6 +2735,11 @@ module Google
2440
2735
  # @return [Google::Apis::ClouddeployV1::CloudRunMetadata]
2441
2736
  attr_accessor :cloud_run
2442
2737
 
2738
+ # CustomMetadata contains information from a user-defined operation.
2739
+ # Corresponds to the JSON property `custom`
2740
+ # @return [Google::Apis::ClouddeployV1::CustomMetadata]
2741
+ attr_accessor :custom
2742
+
2443
2743
  def initialize(**args)
2444
2744
  update!(**args)
2445
2745
  end
@@ -2448,6 +2748,7 @@ module Google
2448
2748
  def update!(**args)
2449
2749
  @automation = args[:automation] if args.key?(:automation)
2450
2750
  @cloud_run = args[:cloud_run] if args.key?(:cloud_run)
2751
+ @custom = args[:custom] if args.key?(:custom)
2451
2752
  end
2452
2753
  end
2453
2754
 
@@ -2732,8 +3033,8 @@ module Google
2732
3033
  # @return [Google::Apis::ClouddeployV1::PipelineReadyCondition]
2733
3034
  attr_accessor :pipeline_ready_condition
2734
3035
 
2735
- # TargetsPresentCondition contains information on any Targets defined in the
2736
- # Delivery Pipeline that do not actually exist.
3036
+ # `TargetsPresentCondition` contains information on any Targets referenced in
3037
+ # the Delivery Pipeline that do not actually exist.
2737
3038
  # Corresponds to the JSON property `targetsPresentCondition`
2738
3039
  # @return [Google::Apis::ClouddeployV1::TargetsPresentCondition]
2739
3040
  attr_accessor :targets_present_condition
@@ -3187,6 +3488,12 @@ module Google
3187
3488
  # @return [String]
3188
3489
  attr_accessor :create_time
3189
3490
 
3491
+ # Output only. Snapshot of the custom target types referenced by the targets
3492
+ # taken at release creation time.
3493
+ # Corresponds to the JSON property `customTargetTypeSnapshots`
3494
+ # @return [Array<Google::Apis::ClouddeployV1::CustomTargetType>]
3495
+ attr_accessor :custom_target_type_snapshots
3496
+
3190
3497
  # A `DeliveryPipeline` resource in the Cloud Deploy API. A `DeliveryPipeline`
3191
3498
  # defines a pipeline through which a Skaffold configuration can progress.
3192
3499
  # Corresponds to the JSON property `deliveryPipelineSnapshot`
@@ -3292,6 +3599,7 @@ module Google
3292
3599
  @build_artifacts = args[:build_artifacts] if args.key?(:build_artifacts)
3293
3600
  @condition = args[:condition] if args.key?(:condition)
3294
3601
  @create_time = args[:create_time] if args.key?(:create_time)
3602
+ @custom_target_type_snapshots = args[:custom_target_type_snapshots] if args.key?(:custom_target_type_snapshots)
3295
3603
  @delivery_pipeline_snapshot = args[:delivery_pipeline_snapshot] if args.key?(:delivery_pipeline_snapshot)
3296
3604
  @deploy_parameters = args[:deploy_parameters] if args.key?(:deploy_parameters)
3297
3605
  @description = args[:description] if args.key?(:description)
@@ -3322,7 +3630,7 @@ module Google
3322
3630
  attr_accessor :release_ready_condition
3323
3631
 
3324
3632
  # SkaffoldSupportedCondition contains information about when support for the
3325
- # release's version of skaffold ends.
3633
+ # release's version of Skaffold ends.
3326
3634
  # Corresponds to the JSON property `skaffoldSupportedCondition`
3327
3635
  # @return [Google::Apis::ClouddeployV1::SkaffoldSupportedCondition]
3328
3636
  attr_accessor :skaffold_supported_condition
@@ -3349,11 +3657,21 @@ module Google
3349
3657
  # @return [String]
3350
3658
  attr_accessor :message
3351
3659
 
3660
+ # Unique identifier of the `DeliveryPipeline`.
3661
+ # Corresponds to the JSON property `pipelineUid`
3662
+ # @return [String]
3663
+ attr_accessor :pipeline_uid
3664
+
3352
3665
  # The name of the `Release`.
3353
3666
  # Corresponds to the JSON property `release`
3354
3667
  # @return [String]
3355
3668
  attr_accessor :release
3356
3669
 
3670
+ # Unique identifier of the `Release`.
3671
+ # Corresponds to the JSON property `releaseUid`
3672
+ # @return [String]
3673
+ attr_accessor :release_uid
3674
+
3357
3675
  # Type of this notification, e.g. for a Pub/Sub failure.
3358
3676
  # Corresponds to the JSON property `type`
3359
3677
  # @return [String]
@@ -3366,7 +3684,9 @@ module Google
3366
3684
  # Update properties of this object
3367
3685
  def update!(**args)
3368
3686
  @message = args[:message] if args.key?(:message)
3687
+ @pipeline_uid = args[:pipeline_uid] if args.key?(:pipeline_uid)
3369
3688
  @release = args[:release] if args.key?(:release)
3689
+ @release_uid = args[:release_uid] if args.key?(:release_uid)
3370
3690
  @type = args[:type] if args.key?(:type)
3371
3691
  end
3372
3692
  end
@@ -3406,7 +3726,14 @@ module Google
3406
3726
  # @return [String]
3407
3727
  attr_accessor :message
3408
3728
 
3409
- # The name of the release.
3729
+ # Unique identifier of the `DeliveryPipeline`.
3730
+ # Corresponds to the JSON property `pipelineUid`
3731
+ # @return [String]
3732
+ attr_accessor :pipeline_uid
3733
+
3734
+ # The name of the release. release_uid is not in this log message because we
3735
+ # write some of these log messages at release creation time, before we've
3736
+ # generated the uid.
3410
3737
  # Corresponds to the JSON property `release`
3411
3738
  # @return [String]
3412
3739
  attr_accessor :release
@@ -3416,6 +3743,11 @@ module Google
3416
3743
  # @return [String]
3417
3744
  attr_accessor :release_render_state
3418
3745
 
3746
+ # Type of this notification, e.g. for a release render state change event.
3747
+ # Corresponds to the JSON property `type`
3748
+ # @return [String]
3749
+ attr_accessor :type
3750
+
3419
3751
  def initialize(**args)
3420
3752
  update!(**args)
3421
3753
  end
@@ -3423,8 +3755,10 @@ module Google
3423
3755
  # Update properties of this object
3424
3756
  def update!(**args)
3425
3757
  @message = args[:message] if args.key?(:message)
3758
+ @pipeline_uid = args[:pipeline_uid] if args.key?(:pipeline_uid)
3426
3759
  @release = args[:release] if args.key?(:release)
3427
3760
  @release_render_state = args[:release_render_state] if args.key?(:release_render_state)
3761
+ @type = args[:type] if args.key?(:type)
3428
3762
  end
3429
3763
  end
3430
3764
 
@@ -3438,6 +3772,11 @@ module Google
3438
3772
  # @return [Google::Apis::ClouddeployV1::CloudRunRenderMetadata]
3439
3773
  attr_accessor :cloud_run
3440
3774
 
3775
+ # CustomMetadata contains information from a user-defined operation.
3776
+ # Corresponds to the JSON property `custom`
3777
+ # @return [Google::Apis::ClouddeployV1::CustomMetadata]
3778
+ attr_accessor :custom
3779
+
3441
3780
  def initialize(**args)
3442
3781
  update!(**args)
3443
3782
  end
@@ -3445,6 +3784,7 @@ module Google
3445
3784
  # Update properties of this object
3446
3785
  def update!(**args)
3447
3786
  @cloud_run = args[:cloud_run] if args.key?(:cloud_run)
3787
+ @custom = args[:custom] if args.key?(:custom)
3448
3788
  end
3449
3789
  end
3450
3790
 
@@ -3509,6 +3849,16 @@ module Google
3509
3849
  # @return [Fixnum]
3510
3850
  attr_accessor :current_repair_mode_index
3511
3851
 
3852
+ # Output only. The job ID for the Job to repair.
3853
+ # Corresponds to the JSON property `jobId`
3854
+ # @return [String]
3855
+ attr_accessor :job_id
3856
+
3857
+ # Output only. The phase ID of the phase that includes the job being repaired.
3858
+ # Corresponds to the JSON property `phaseId`
3859
+ # @return [String]
3860
+ attr_accessor :phase_id
3861
+
3512
3862
  # Output only. Records of the repair attempts. Each repair phase may have
3513
3863
  # multiple retry attempts or single rollback attempt.
3514
3864
  # Corresponds to the JSON property `repairPhases`
@@ -3527,6 +3877,8 @@ module Google
3527
3877
  # Update properties of this object
3528
3878
  def update!(**args)
3529
3879
  @current_repair_mode_index = args[:current_repair_mode_index] if args.key?(:current_repair_mode_index)
3880
+ @job_id = args[:job_id] if args.key?(:job_id)
3881
+ @phase_id = args[:phase_id] if args.key?(:phase_id)
3530
3882
  @repair_phases = args[:repair_phases] if args.key?(:repair_phases)
3531
3883
  @rollout = args[:rollout] if args.key?(:rollout)
3532
3884
  end
@@ -3591,7 +3943,7 @@ module Google
3591
3943
  class Retry
3592
3944
  include Google::Apis::Core::Hashable
3593
3945
 
3594
- # Required. Total number of retries. Retry will skipped if set to 0; The minimum
3946
+ # Required. Total number of retries. Retry is skipped if set to 0; The minimum
3595
3947
  # value is 1, and the maximum value is 10.
3596
3948
  # Corresponds to the JSON property `attempts`
3597
3949
  # @return [Fixnum]
@@ -4078,6 +4430,11 @@ module Google
4078
4430
  # @return [String]
4079
4431
  attr_accessor :pipeline_uid
4080
4432
 
4433
+ # The name of the `Release`.
4434
+ # Corresponds to the JSON property `release`
4435
+ # @return [String]
4436
+ attr_accessor :release
4437
+
4081
4438
  # Unique identifier of the `Release`.
4082
4439
  # Corresponds to the JSON property `releaseUid`
4083
4440
  # @return [String]
@@ -4088,6 +4445,11 @@ module Google
4088
4445
  # @return [String]
4089
4446
  attr_accessor :rollout
4090
4447
 
4448
+ # Unique identifier of the `Rollout`.
4449
+ # Corresponds to the JSON property `rolloutUid`
4450
+ # @return [String]
4451
+ attr_accessor :rollout_uid
4452
+
4091
4453
  # ID of the `Target` that the rollout is deployed to.
4092
4454
  # Corresponds to the JSON property `targetId`
4093
4455
  # @return [String]
@@ -4106,8 +4468,10 @@ module Google
4106
4468
  def update!(**args)
4107
4469
  @message = args[:message] if args.key?(:message)
4108
4470
  @pipeline_uid = args[:pipeline_uid] if args.key?(:pipeline_uid)
4471
+ @release = args[:release] if args.key?(:release)
4109
4472
  @release_uid = args[:release_uid] if args.key?(:release_uid)
4110
4473
  @rollout = args[:rollout] if args.key?(:rollout)
4474
+ @rollout_uid = args[:rollout_uid] if args.key?(:rollout_uid)
4111
4475
  @target_id = args[:target_id] if args.key?(:target_id)
4112
4476
  @type = args[:type] if args.key?(:type)
4113
4477
  end
@@ -4128,12 +4492,19 @@ module Google
4128
4492
  # @return [String]
4129
4493
  attr_accessor :pipeline_uid
4130
4494
 
4495
+ # The name of the `Release`.
4496
+ # Corresponds to the JSON property `release`
4497
+ # @return [String]
4498
+ attr_accessor :release
4499
+
4131
4500
  # Unique identifier of the release.
4132
4501
  # Corresponds to the JSON property `releaseUid`
4133
4502
  # @return [String]
4134
4503
  attr_accessor :release_uid
4135
4504
 
4136
- # The name of the rollout.
4505
+ # The name of the rollout. rollout_uid is not in this log message because we
4506
+ # write some of these log messages at rollout creation time, before we've
4507
+ # generated the uid.
4137
4508
  # Corresponds to the JSON property `rollout`
4138
4509
  # @return [String]
4139
4510
  attr_accessor :rollout
@@ -4161,6 +4532,7 @@ module Google
4161
4532
  def update!(**args)
4162
4533
  @message = args[:message] if args.key?(:message)
4163
4534
  @pipeline_uid = args[:pipeline_uid] if args.key?(:pipeline_uid)
4535
+ @release = args[:release] if args.key?(:release)
4164
4536
  @release_uid = args[:release_uid] if args.key?(:release_uid)
4165
4537
  @rollout = args[:rollout] if args.key?(:rollout)
4166
4538
  @rollout_update_type = args[:rollout_update_type] if args.key?(:rollout_update_type)
@@ -4303,29 +4675,118 @@ module Google
4303
4675
  end
4304
4676
  end
4305
4677
 
4678
+ # Cloud Storage bucket containing Skaffold Config modules.
4679
+ class SkaffoldGcsSource
4680
+ include Google::Apis::Core::Hashable
4681
+
4682
+ # Optional. Relative path from the source to the Skaffold file.
4683
+ # Corresponds to the JSON property `path`
4684
+ # @return [String]
4685
+ attr_accessor :path
4686
+
4687
+ # Required. Cloud Storage source paths to copy recursively. For example,
4688
+ # providing "gs://my-bucket/dir/configs/*" will result in Skaffold copying all
4689
+ # files within the "dir/configs" directory in the bucket "my-bucket".
4690
+ # Corresponds to the JSON property `source`
4691
+ # @return [String]
4692
+ attr_accessor :source
4693
+
4694
+ def initialize(**args)
4695
+ update!(**args)
4696
+ end
4697
+
4698
+ # Update properties of this object
4699
+ def update!(**args)
4700
+ @path = args[:path] if args.key?(:path)
4701
+ @source = args[:source] if args.key?(:source)
4702
+ end
4703
+ end
4704
+
4705
+ # Git repository containing Skaffold Config modules.
4706
+ class SkaffoldGitSource
4707
+ include Google::Apis::Core::Hashable
4708
+
4709
+ # Optional. Relative path from the repository root to the Skaffold file.
4710
+ # Corresponds to the JSON property `path`
4711
+ # @return [String]
4712
+ attr_accessor :path
4713
+
4714
+ # Optional. Git ref the package should be cloned from.
4715
+ # Corresponds to the JSON property `ref`
4716
+ # @return [String]
4717
+ attr_accessor :ref
4718
+
4719
+ # Required. Git repository the package should be cloned from.
4720
+ # Corresponds to the JSON property `repo`
4721
+ # @return [String]
4722
+ attr_accessor :repo
4723
+
4724
+ def initialize(**args)
4725
+ update!(**args)
4726
+ end
4727
+
4728
+ # Update properties of this object
4729
+ def update!(**args)
4730
+ @path = args[:path] if args.key?(:path)
4731
+ @ref = args[:ref] if args.key?(:ref)
4732
+ @repo = args[:repo] if args.key?(:repo)
4733
+ end
4734
+ end
4735
+
4736
+ # Skaffold Config modules and their remote source.
4737
+ class SkaffoldModules
4738
+ include Google::Apis::Core::Hashable
4739
+
4740
+ # Optional. The Skaffold Config modules to use from the specified source.
4741
+ # Corresponds to the JSON property `configs`
4742
+ # @return [Array<String>]
4743
+ attr_accessor :configs
4744
+
4745
+ # Git repository containing Skaffold Config modules.
4746
+ # Corresponds to the JSON property `git`
4747
+ # @return [Google::Apis::ClouddeployV1::SkaffoldGitSource]
4748
+ attr_accessor :git
4749
+
4750
+ # Cloud Storage bucket containing Skaffold Config modules.
4751
+ # Corresponds to the JSON property `googleCloudStorage`
4752
+ # @return [Google::Apis::ClouddeployV1::SkaffoldGcsSource]
4753
+ attr_accessor :google_cloud_storage
4754
+
4755
+ def initialize(**args)
4756
+ update!(**args)
4757
+ end
4758
+
4759
+ # Update properties of this object
4760
+ def update!(**args)
4761
+ @configs = args[:configs] if args.key?(:configs)
4762
+ @git = args[:git] if args.key?(:git)
4763
+ @google_cloud_storage = args[:google_cloud_storage] if args.key?(:google_cloud_storage)
4764
+ end
4765
+ end
4766
+
4306
4767
  # SkaffoldSupportedCondition contains information about when support for the
4307
- # release's version of skaffold ends.
4768
+ # release's version of Skaffold ends.
4308
4769
  class SkaffoldSupportedCondition
4309
4770
  include Google::Apis::Core::Hashable
4310
4771
 
4311
- # The time at which this release's version of skaffold will enter maintenance
4772
+ # The time at which this release's version of Skaffold will enter maintenance
4312
4773
  # mode.
4313
4774
  # Corresponds to the JSON property `maintenanceModeTime`
4314
4775
  # @return [String]
4315
4776
  attr_accessor :maintenance_mode_time
4316
4777
 
4317
- # The skaffold support state for this release's version of skaffold.
4778
+ # The Skaffold support state for this release's version of Skaffold.
4318
4779
  # Corresponds to the JSON property `skaffoldSupportState`
4319
4780
  # @return [String]
4320
4781
  attr_accessor :skaffold_support_state
4321
4782
 
4322
- # True if the version of skaffold used by this release is supported.
4783
+ # True if the version of Skaffold used by this release is supported.
4323
4784
  # Corresponds to the JSON property `status`
4324
4785
  # @return [Boolean]
4325
4786
  attr_accessor :status
4326
4787
  alias_method :status?, :status
4327
4788
 
4328
- # The time at which this release's version of skaffold will no longer be
4789
+ # The time at which this release's version of Skaffold will no longer be
4329
4790
  # supported.
4330
4791
  # Corresponds to the JSON property `supportExpirationTime`
4331
4792
  # @return [String]
@@ -4348,7 +4809,7 @@ module Google
4348
4809
  class SkaffoldVersion
4349
4810
  include Google::Apis::Core::Hashable
4350
4811
 
4351
- # The time at which this version of skaffold will enter maintenance mode.
4812
+ # The time at which this version of Skaffold will enter maintenance mode.
4352
4813
  # Corresponds to the JSON property `maintenanceModeTime`
4353
4814
  # @return [String]
4354
4815
  attr_accessor :maintenance_mode_time
@@ -4365,7 +4826,7 @@ module Google
4365
4826
  # @return [Google::Apis::ClouddeployV1::Date]
4366
4827
  attr_accessor :support_end_date
4367
4828
 
4368
- # The time at which this version of skaffold will no longer be supported.
4829
+ # The time at which this version of Skaffold will no longer be supported.
4369
4830
  # Corresponds to the JSON property `supportExpirationTime`
4370
4831
  # @return [String]
4371
4832
  attr_accessor :support_expiration_time
@@ -4547,6 +5008,11 @@ module Google
4547
5008
  # @return [String]
4548
5009
  attr_accessor :create_time
4549
5010
 
5011
+ # Information specifying a Custom Target.
5012
+ # Corresponds to the JSON property `customTarget`
5013
+ # @return [Google::Apis::ClouddeployV1::CustomTarget]
5014
+ attr_accessor :custom_target
5015
+
4550
5016
  # Optional. The deploy parameters to use for this target.
4551
5017
  # Corresponds to the JSON property `deployParameters`
4552
5018
  # @return [Hash<String,String>]
@@ -4636,6 +5102,7 @@ module Google
4636
5102
  @annotations = args[:annotations] if args.key?(:annotations)
4637
5103
  @anthos_cluster = args[:anthos_cluster] if args.key?(:anthos_cluster)
4638
5104
  @create_time = args[:create_time] if args.key?(:create_time)
5105
+ @custom_target = args[:custom_target] if args.key?(:custom_target)
4639
5106
  @deploy_parameters = args[:deploy_parameters] if args.key?(:deploy_parameters)
4640
5107
  @description = args[:description] if args.key?(:description)
4641
5108
  @etag = args[:etag] if args.key?(:etag)
@@ -4692,10 +5159,7 @@ module Google
4692
5159
  end
4693
5160
  end
4694
5161
 
4695
- # Contains criteria for selecting Targets. Attributes provided must match the
4696
- # target resource in order for policy restrictions to apply. E.g. if id "prod"
4697
- # and labels "foo: bar" are given the target resource must match both that id
4698
- # and have that label in order to be selected.
5162
+ # Contains criteria for selecting Targets.
4699
5163
  class TargetAttribute
4700
5164
  include Google::Apis::Core::Hashable
4701
5165
 
@@ -4801,8 +5265,8 @@ module Google
4801
5265
  end
4802
5266
  end
4803
5267
 
4804
- # TargetsPresentCondition contains information on any Targets defined in the
4805
- # Delivery Pipeline that do not actually exist.
5268
+ # `TargetsPresentCondition` contains information on any Targets referenced in
5269
+ # the Delivery Pipeline that do not actually exist.
4806
5270
  class TargetsPresentCondition
4807
5271
  include Google::Apis::Core::Hashable
4808
5272