google-apis-clouddeploy_v1 0.37.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 54acabbce98b10387705e398ff0282e8a5e7afc71f4e4b8ba9d00d267bd5053c
4
- data.tar.gz: f0350dcece1552df8278bf7296934c5c0fff5b5fea9f977c711decf65c9fdafa
3
+ metadata.gz: c7aa5ef2c652972ea7dab7215279c0d7089405e6ef822be00d0b9a3aa65b98e5
4
+ data.tar.gz: 76555c4439d68d036548c6ed44a83d0fb42243f6fa653fa267e5aa0db58b5209
5
5
  SHA512:
6
- metadata.gz: faa050b326c42ec6f259e0a3c5dff0bf5a29e9c72af95c0e2d4b27168e0ef4474ddc1242f954905ddcff2173a1a52af2a7c5fb3c6e61476fb290577ce96336c2
7
- data.tar.gz: 0735a0ac9e9912cbe6cc66fa66006b87e8605652a012a34f0d8c82b0ad56c8604f915684c1243831857f3a3479fb7d9d4be104d8bc716b9b99ea7c4c4f15d53d
6
+ metadata.gz: f1a2b28b8d9959a7ab8315c691d2de74479a067cbf6a17787e68eb81107f67811ffb9e17f6d91a26c6d967e63d2c55bd30c507b7a66a10f70aa51ff4db26b1bf
7
+ data.tar.gz: f7e56a24f6f76eeb0aa7a6299cc71145d00f920a76664d09971603aaee97369a12cded029255f3eca2ebb6528f89ae07c7e4ab3f54f2d5832160345d697f0fbc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-clouddeploy_v1
2
2
 
3
+ ### v0.38.0 (2024-01-22)
4
+
5
+ * Regenerated from discovery document revision 20240107
6
+ * Regenerated using generator version 0.13.0
7
+
3
8
  ### v0.37.0 (2023-12-10)
4
9
 
5
10
  * Regenerated from discovery document revision 20231130
@@ -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
@@ -1045,19 +1067,19 @@ module Google
1045
1067
  alias_method :automatic_traffic_control?, :automatic_traffic_control
1046
1068
 
1047
1069
  # Optional. A list of tags that are added to the canary revision while the
1048
- # canary deployment is in progress.
1070
+ # canary phase is in progress.
1049
1071
  # Corresponds to the JSON property `canaryRevisionTags`
1050
1072
  # @return [Array<String>]
1051
1073
  attr_accessor :canary_revision_tags
1052
1074
 
1053
1075
  # Optional. A list of tags that are added to the prior revision while the canary
1054
- # deployment is in progress.
1076
+ # phase is in progress.
1055
1077
  # Corresponds to the JSON property `priorRevisionTags`
1056
1078
  # @return [Array<String>]
1057
1079
  attr_accessor :prior_revision_tags
1058
1080
 
1059
- # Optional. A list of tags that are added to the final stable revision after the
1060
- # canary deployment is completed.
1081
+ # Optional. A list of tags that are added to the final stable revision when the
1082
+ # stable phase is applied.
1061
1083
  # Corresponds to the JSON property `stableRevisionTags`
1062
1084
  # @return [Array<String>]
1063
1085
  attr_accessor :stable_revision_tags
@@ -1249,11 +1271,11 @@ module Google
1249
1271
  end
1250
1272
  end
1251
1273
 
1252
- # CustomMetadata contains information from a user defined operation.
1274
+ # CustomMetadata contains information from a user-defined operation.
1253
1275
  class CustomMetadata
1254
1276
  include Google::Apis::Core::Hashable
1255
1277
 
1256
- # Output only. Key-value pairs provided by the user defined operation.
1278
+ # Output only. Key-value pairs provided by the user-defined operation.
1257
1279
  # Corresponds to the JSON property `values`
1258
1280
  # @return [Hash<String,String>]
1259
1281
  attr_accessor :values
@@ -1345,8 +1367,7 @@ module Google
1345
1367
 
1346
1368
  # A `CustomTargetType` resource in the Cloud Deploy API. A `CustomTargetType`
1347
1369
  # 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.
1370
+ # to facilitate deploying to other systems besides the supported runtimes.
1350
1371
  class CustomTargetType
1351
1372
  include Google::Apis::Core::Hashable
1352
1373
 
@@ -1610,6 +1631,11 @@ module Google
1610
1631
  # @return [String]
1611
1632
  attr_accessor :message
1612
1633
 
1634
+ # Unique identifier of the `DeliveryPipeline`.
1635
+ # Corresponds to the JSON property `pipelineUid`
1636
+ # @return [String]
1637
+ attr_accessor :pipeline_uid
1638
+
1613
1639
  # Type of this notification, e.g. for a Pub/Sub failure.
1614
1640
  # Corresponds to the JSON property `type`
1615
1641
  # @return [String]
@@ -1623,6 +1649,7 @@ module Google
1623
1649
  def update!(**args)
1624
1650
  @delivery_pipeline = args[:delivery_pipeline] if args.key?(:delivery_pipeline)
1625
1651
  @message = args[:message] if args.key?(:message)
1652
+ @pipeline_uid = args[:pipeline_uid] if args.key?(:pipeline_uid)
1626
1653
  @type = args[:type] if args.key?(:type)
1627
1654
  end
1628
1655
  end
@@ -1723,7 +1750,7 @@ module Google
1723
1750
  # @return [Google::Apis::ClouddeployV1::CloudRunMetadata]
1724
1751
  attr_accessor :cloud_run
1725
1752
 
1726
- # CustomMetadata contains information from a user defined operation.
1753
+ # CustomMetadata contains information from a user-defined operation.
1727
1754
  # Corresponds to the JSON property `custom`
1728
1755
  # @return [Google::Apis::ClouddeployV1::CustomMetadata]
1729
1756
  attr_accessor :custom
@@ -1970,6 +1997,13 @@ module Google
1970
1997
  # @return [String]
1971
1998
  attr_accessor :service
1972
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
+
1973
2007
  def initialize(**args)
1974
2008
  update!(**args)
1975
2009
  end
@@ -1980,6 +2014,7 @@ module Google
1980
2014
  @http_route = args[:http_route] if args.key?(:http_route)
1981
2015
  @route_update_wait_time = args[:route_update_wait_time] if args.key?(:route_update_wait_time)
1982
2016
  @service = args[:service] if args.key?(:service)
2017
+ @stable_cutback_duration = args[:stable_cutback_duration] if args.key?(:stable_cutback_duration)
1983
2018
  end
1984
2019
  end
1985
2020
 
@@ -2259,11 +2294,21 @@ module Google
2259
2294
  # @return [String]
2260
2295
  attr_accessor :pipeline_uid
2261
2296
 
2297
+ # The name of the `Release`.
2298
+ # Corresponds to the JSON property `release`
2299
+ # @return [String]
2300
+ attr_accessor :release
2301
+
2262
2302
  # Unique identifier of the `Release`.
2263
2303
  # Corresponds to the JSON property `releaseUid`
2264
2304
  # @return [String]
2265
2305
  attr_accessor :release_uid
2266
2306
 
2307
+ # The name of the `Rollout`.
2308
+ # Corresponds to the JSON property `rollout`
2309
+ # @return [String]
2310
+ attr_accessor :rollout
2311
+
2267
2312
  # Unique identifier of the `Rollout`.
2268
2313
  # Corresponds to the JSON property `rolloutUid`
2269
2314
  # @return [String]
@@ -2288,7 +2333,9 @@ module Google
2288
2333
  @job_run = args[:job_run] if args.key?(:job_run)
2289
2334
  @message = args[:message] if args.key?(:message)
2290
2335
  @pipeline_uid = args[:pipeline_uid] if args.key?(:pipeline_uid)
2336
+ @release = args[:release] if args.key?(:release)
2291
2337
  @release_uid = args[:release_uid] if args.key?(:release_uid)
2338
+ @rollout = args[:rollout] if args.key?(:rollout)
2292
2339
  @rollout_uid = args[:rollout_uid] if args.key?(:rollout_uid)
2293
2340
  @target_id = args[:target_id] if args.key?(:target_id)
2294
2341
  @type = args[:type] if args.key?(:type)
@@ -2688,7 +2735,7 @@ module Google
2688
2735
  # @return [Google::Apis::ClouddeployV1::CloudRunMetadata]
2689
2736
  attr_accessor :cloud_run
2690
2737
 
2691
- # CustomMetadata contains information from a user defined operation.
2738
+ # CustomMetadata contains information from a user-defined operation.
2692
2739
  # Corresponds to the JSON property `custom`
2693
2740
  # @return [Google::Apis::ClouddeployV1::CustomMetadata]
2694
2741
  attr_accessor :custom
@@ -3610,11 +3657,21 @@ module Google
3610
3657
  # @return [String]
3611
3658
  attr_accessor :message
3612
3659
 
3660
+ # Unique identifier of the `DeliveryPipeline`.
3661
+ # Corresponds to the JSON property `pipelineUid`
3662
+ # @return [String]
3663
+ attr_accessor :pipeline_uid
3664
+
3613
3665
  # The name of the `Release`.
3614
3666
  # Corresponds to the JSON property `release`
3615
3667
  # @return [String]
3616
3668
  attr_accessor :release
3617
3669
 
3670
+ # Unique identifier of the `Release`.
3671
+ # Corresponds to the JSON property `releaseUid`
3672
+ # @return [String]
3673
+ attr_accessor :release_uid
3674
+
3618
3675
  # Type of this notification, e.g. for a Pub/Sub failure.
3619
3676
  # Corresponds to the JSON property `type`
3620
3677
  # @return [String]
@@ -3627,7 +3684,9 @@ module Google
3627
3684
  # Update properties of this object
3628
3685
  def update!(**args)
3629
3686
  @message = args[:message] if args.key?(:message)
3687
+ @pipeline_uid = args[:pipeline_uid] if args.key?(:pipeline_uid)
3630
3688
  @release = args[:release] if args.key?(:release)
3689
+ @release_uid = args[:release_uid] if args.key?(:release_uid)
3631
3690
  @type = args[:type] if args.key?(:type)
3632
3691
  end
3633
3692
  end
@@ -3667,7 +3726,14 @@ module Google
3667
3726
  # @return [String]
3668
3727
  attr_accessor :message
3669
3728
 
3670
- # 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.
3671
3737
  # Corresponds to the JSON property `release`
3672
3738
  # @return [String]
3673
3739
  attr_accessor :release
@@ -3677,6 +3743,11 @@ module Google
3677
3743
  # @return [String]
3678
3744
  attr_accessor :release_render_state
3679
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
+
3680
3751
  def initialize(**args)
3681
3752
  update!(**args)
3682
3753
  end
@@ -3684,8 +3755,10 @@ module Google
3684
3755
  # Update properties of this object
3685
3756
  def update!(**args)
3686
3757
  @message = args[:message] if args.key?(:message)
3758
+ @pipeline_uid = args[:pipeline_uid] if args.key?(:pipeline_uid)
3687
3759
  @release = args[:release] if args.key?(:release)
3688
3760
  @release_render_state = args[:release_render_state] if args.key?(:release_render_state)
3761
+ @type = args[:type] if args.key?(:type)
3689
3762
  end
3690
3763
  end
3691
3764
 
@@ -3699,7 +3772,7 @@ module Google
3699
3772
  # @return [Google::Apis::ClouddeployV1::CloudRunRenderMetadata]
3700
3773
  attr_accessor :cloud_run
3701
3774
 
3702
- # CustomMetadata contains information from a user defined operation.
3775
+ # CustomMetadata contains information from a user-defined operation.
3703
3776
  # Corresponds to the JSON property `custom`
3704
3777
  # @return [Google::Apis::ClouddeployV1::CustomMetadata]
3705
3778
  attr_accessor :custom
@@ -4357,6 +4430,11 @@ module Google
4357
4430
  # @return [String]
4358
4431
  attr_accessor :pipeline_uid
4359
4432
 
4433
+ # The name of the `Release`.
4434
+ # Corresponds to the JSON property `release`
4435
+ # @return [String]
4436
+ attr_accessor :release
4437
+
4360
4438
  # Unique identifier of the `Release`.
4361
4439
  # Corresponds to the JSON property `releaseUid`
4362
4440
  # @return [String]
@@ -4367,6 +4445,11 @@ module Google
4367
4445
  # @return [String]
4368
4446
  attr_accessor :rollout
4369
4447
 
4448
+ # Unique identifier of the `Rollout`.
4449
+ # Corresponds to the JSON property `rolloutUid`
4450
+ # @return [String]
4451
+ attr_accessor :rollout_uid
4452
+
4370
4453
  # ID of the `Target` that the rollout is deployed to.
4371
4454
  # Corresponds to the JSON property `targetId`
4372
4455
  # @return [String]
@@ -4385,8 +4468,10 @@ module Google
4385
4468
  def update!(**args)
4386
4469
  @message = args[:message] if args.key?(:message)
4387
4470
  @pipeline_uid = args[:pipeline_uid] if args.key?(:pipeline_uid)
4471
+ @release = args[:release] if args.key?(:release)
4388
4472
  @release_uid = args[:release_uid] if args.key?(:release_uid)
4389
4473
  @rollout = args[:rollout] if args.key?(:rollout)
4474
+ @rollout_uid = args[:rollout_uid] if args.key?(:rollout_uid)
4390
4475
  @target_id = args[:target_id] if args.key?(:target_id)
4391
4476
  @type = args[:type] if args.key?(:type)
4392
4477
  end
@@ -4407,12 +4492,19 @@ module Google
4407
4492
  # @return [String]
4408
4493
  attr_accessor :pipeline_uid
4409
4494
 
4495
+ # The name of the `Release`.
4496
+ # Corresponds to the JSON property `release`
4497
+ # @return [String]
4498
+ attr_accessor :release
4499
+
4410
4500
  # Unique identifier of the release.
4411
4501
  # Corresponds to the JSON property `releaseUid`
4412
4502
  # @return [String]
4413
4503
  attr_accessor :release_uid
4414
4504
 
4415
- # 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.
4416
4508
  # Corresponds to the JSON property `rollout`
4417
4509
  # @return [String]
4418
4510
  attr_accessor :rollout
@@ -4440,6 +4532,7 @@ module Google
4440
4532
  def update!(**args)
4441
4533
  @message = args[:message] if args.key?(:message)
4442
4534
  @pipeline_uid = args[:pipeline_uid] if args.key?(:pipeline_uid)
4535
+ @release = args[:release] if args.key?(:release)
4443
4536
  @release_uid = args[:release_uid] if args.key?(:release_uid)
4444
4537
  @rollout = args[:rollout] if args.key?(:rollout)
4445
4538
  @rollout_update_type = args[:rollout_update_type] if args.key?(:rollout_update_type)
@@ -5066,10 +5159,7 @@ module Google
5066
5159
  end
5067
5160
  end
5068
5161
 
5069
- # Contains criteria for selecting Targets. Attributes provided must match the
5070
- # target resource in order for policy restrictions to apply. E.g. if id "prod"
5071
- # and labels "foo: bar" are given the target resource must match both that id
5072
- # and have that label in order to be selected.
5162
+ # Contains criteria for selecting Targets.
5073
5163
  class TargetAttribute
5074
5164
  include Google::Apis::Core::Hashable
5075
5165
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ClouddeployV1
18
18
  # Version of the google-apis-clouddeploy_v1 gem
19
- GEM_VERSION = "0.37.0"
19
+ GEM_VERSION = "0.38.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231130"
25
+ REVISION = "20240107"
26
26
  end
27
27
  end
28
28
  end
@@ -1326,6 +1326,7 @@ module Google
1326
1326
  class Representation < Google::Apis::Core::JsonRepresentation
1327
1327
  property :delivery_pipeline, as: 'deliveryPipeline'
1328
1328
  property :message, as: 'message'
1329
+ property :pipeline_uid, as: 'pipelineUid'
1329
1330
  property :type, as: 'type'
1330
1331
  end
1331
1332
  end
@@ -1429,6 +1430,7 @@ module Google
1429
1430
  property :http_route, as: 'httpRoute'
1430
1431
  property :route_update_wait_time, as: 'routeUpdateWaitTime'
1431
1432
  property :service, as: 'service'
1433
+ property :stable_cutback_duration, as: 'stableCutbackDuration'
1432
1434
  end
1433
1435
  end
1434
1436
 
@@ -1509,7 +1511,9 @@ module Google
1509
1511
  property :job_run, as: 'jobRun'
1510
1512
  property :message, as: 'message'
1511
1513
  property :pipeline_uid, as: 'pipelineUid'
1514
+ property :release, as: 'release'
1512
1515
  property :release_uid, as: 'releaseUid'
1516
+ property :rollout, as: 'rollout'
1513
1517
  property :rollout_uid, as: 'rolloutUid'
1514
1518
  property :target_id, as: 'targetId'
1515
1519
  property :type, as: 'type'
@@ -1873,7 +1877,9 @@ module Google
1873
1877
  # @private
1874
1878
  class Representation < Google::Apis::Core::JsonRepresentation
1875
1879
  property :message, as: 'message'
1880
+ property :pipeline_uid, as: 'pipelineUid'
1876
1881
  property :release, as: 'release'
1882
+ property :release_uid, as: 'releaseUid'
1877
1883
  property :type, as: 'type'
1878
1884
  end
1879
1885
  end
@@ -1889,8 +1895,10 @@ module Google
1889
1895
  # @private
1890
1896
  class Representation < Google::Apis::Core::JsonRepresentation
1891
1897
  property :message, as: 'message'
1898
+ property :pipeline_uid, as: 'pipelineUid'
1892
1899
  property :release, as: 'release'
1893
1900
  property :release_render_state, as: 'releaseRenderState'
1901
+ property :type, as: 'type'
1894
1902
  end
1895
1903
  end
1896
1904
 
@@ -2076,8 +2084,10 @@ module Google
2076
2084
  class Representation < Google::Apis::Core::JsonRepresentation
2077
2085
  property :message, as: 'message'
2078
2086
  property :pipeline_uid, as: 'pipelineUid'
2087
+ property :release, as: 'release'
2079
2088
  property :release_uid, as: 'releaseUid'
2080
2089
  property :rollout, as: 'rollout'
2090
+ property :rollout_uid, as: 'rolloutUid'
2081
2091
  property :target_id, as: 'targetId'
2082
2092
  property :type, as: 'type'
2083
2093
  end
@@ -2088,6 +2098,7 @@ module Google
2088
2098
  class Representation < Google::Apis::Core::JsonRepresentation
2089
2099
  property :message, as: 'message'
2090
2100
  property :pipeline_uid, as: 'pipelineUid'
2101
+ property :release, as: 'release'
2091
2102
  property :release_uid, as: 'releaseUid'
2092
2103
  property :rollout, as: 'rollout'
2093
2104
  property :rollout_update_type, as: 'rolloutUpdateType'
@@ -32,6 +32,8 @@ module Google
32
32
  #
33
33
  # @see https://cloud.google.com/deploy/
34
34
  class CloudDeployService < Google::Apis::Core::BaseService
35
+ DEFAULT_ENDPOINT_TEMPLATE = "https://clouddeploy.$UNIVERSE_DOMAIN$/"
36
+
35
37
  # @return [String]
36
38
  # API key. Your API key identifies your project and provides you with API access,
37
39
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -43,7 +45,7 @@ module Google
43
45
  attr_accessor :quota_user
44
46
 
45
47
  def initialize
46
- super('https://clouddeploy.googleapis.com/', '',
48
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
47
49
  client_name: 'google-apis-clouddeploy_v1',
48
50
  client_version: Google::Apis::ClouddeployV1::GEM_VERSION)
49
51
  @batch_path = 'batch'
@@ -155,19 +157,19 @@ module Google
155
157
  # Creates a new CustomTargetType in a given project and location.
156
158
  # @param [String] parent
157
159
  # Required. The parent collection in which the `CustomTargetType` should be
158
- # created in. Format should be `projects/`project_id`/locations/`location_name``.
160
+ # created. Format should be `projects/`project_id`/locations/`location_name``.
159
161
  # @param [Google::Apis::ClouddeployV1::CustomTargetType] custom_target_type_object
160
162
  # @param [String] custom_target_type_id
161
163
  # Required. ID of the `CustomTargetType`.
162
164
  # @param [String] request_id
163
165
  # Optional. A request ID to identify requests. Specify a unique request ID so
164
- # that if you must retry your request, the server will know to ignore the
165
- # request if it has already been completed. The server will guarantee that for
166
- # at least 60 minutes since the first request. For example, consider a situation
167
- # where you make an initial request and the request times out. If you make the
168
- # request again with the same request ID, the server can check if original
169
- # operation with the same request ID was received, and if so, will ignore the
170
- # second request. This prevents clients from accidentally creating duplicate
166
+ # that if you must retry your request, the server knows to ignore the request if
167
+ # it has already been completed. The server guarantees that for at least 60
168
+ # minutes after the first request. For example, consider a situation where you
169
+ # make an initial request and the request times out. If you make the request
170
+ # again with the same request ID, the server can check if original operation
171
+ # with the same request ID was received, and if so, will ignore the second
172
+ # request. This prevents clients from accidentally creating duplicate
171
173
  # commitments. The request ID must be a valid UUID with the exception that zero
172
174
  # UUID is not supported (00000000-0000-0000-0000-000000000000).
173
175
  # @param [Boolean] validate_only
@@ -219,13 +221,13 @@ module Google
219
221
  # an up-to-date value before proceeding.
220
222
  # @param [String] request_id
221
223
  # Optional. A request ID to identify requests. Specify a unique request ID so
222
- # that if you must retry your request, the server will know to ignore the
223
- # request if it has already been completed. The server will guarantee that for
224
- # at least 60 minutes after the first request. For example, consider a situation
225
- # where you make an initial request and the request times out. If you make the
226
- # request again with the same request ID, the server can check if original
227
- # operation with the same request ID was received, and if so, will ignore the
228
- # second request. This prevents clients from accidentally creating duplicate
224
+ # that if you must retry your request, the server knows to ignore the request if
225
+ # it has already been completed. The server guarantees that for at least 60
226
+ # minutes after the first request. For example, consider a situation where you
227
+ # make an initial request and the request times out. If you make the request
228
+ # again with the same request ID, the server can check if original operation
229
+ # with the same request ID was received, and if so, will ignore the second
230
+ # request. This prevents clients from accidentally creating duplicate
229
231
  # commitments. The request ID must be a valid UUID with the exception that zero
230
232
  # UUID is not supported (00000000-0000-0000-0000-000000000000).
231
233
  # @param [Boolean] validate_only
@@ -353,21 +355,21 @@ module Google
353
355
  # will result in the creation of a new `CustomTargetType`.
354
356
  # @param [String] request_id
355
357
  # Optional. A request ID to identify requests. Specify a unique request ID so
356
- # that if you must retry your request, the server will know to ignore the
357
- # request if it has already been completed. The server will guarantee that for
358
- # at least 60 minutes since the first request. For example, consider a situation
359
- # where you make an initial request and the request times out. If you make the
360
- # request again with the same request ID, the server can check if original
361
- # operation with the same request ID was received, and if so, will ignore the
362
- # second request. This prevents clients from accidentally creating duplicate
358
+ # that if you must retry your request, the server knows to ignore the request if
359
+ # it has already been completed. The server guarantees that for at least 60
360
+ # minutes after the first request. For example, consider a situation where you
361
+ # make an initial request and the request times out. If you make the request
362
+ # again with the same request ID, the server can check if original operation
363
+ # with the same request ID was received, and if so, will ignore the second
364
+ # request. This prevents clients from accidentally creating duplicate
363
365
  # commitments. The request ID must be a valid UUID with the exception that zero
364
366
  # UUID is not supported (00000000-0000-0000-0000-000000000000).
365
367
  # @param [String] update_mask
366
368
  # Required. Field mask is used to specify the fields to be overwritten in the `
367
369
  # CustomTargetType` resource by the update. The fields specified in the
368
370
  # update_mask are relative to the resource, not the full request. A field will
369
- # be overwritten if it is in the mask. If the user does not provide a mask then
370
- # all fields will be overwritten.
371
+ # be overwritten if it's in the mask. If the user doesn't provide a mask then
372
+ # all fields are overwritten.
371
373
  # @param [Boolean] validate_only
372
374
  # Optional. If set to true, the request is validated and the user is provided
373
375
  # with an expected result, but no actual change is made.
@@ -413,13 +415,13 @@ module Google
413
415
  # Required. ID of the `DeliveryPipeline`.
414
416
  # @param [String] request_id
415
417
  # Optional. A request ID to identify requests. Specify a unique request ID so
416
- # that if you must retry your request, the server will know to ignore the
417
- # request if it has already been completed. The server will guarantee that for
418
- # at least 60 minutes since the first request. For example, consider a situation
419
- # where you make an initial request and the request times out. If you make the
420
- # request again with the same request ID, the server can check if original
421
- # operation with the same request ID was received, and if so, will ignore the
422
- # second request. This prevents clients from accidentally creating duplicate
418
+ # that if you must retry your request, the server knows to ignore the request if
419
+ # it has already been completed. The server guarantees that for at least 60
420
+ # minutes after the first request. For example, consider a situation where you
421
+ # make an initial request and the request times out. If you make the request
422
+ # again with the same request ID, the server can check if original operation
423
+ # with the same request ID was received, and if so, will ignore the second
424
+ # request. This prevents clients from accidentally creating duplicate
423
425
  # commitments. The request ID must be a valid UUID with the exception that zero
424
426
  # UUID is not supported (00000000-0000-0000-0000-000000000000).
425
427
  # @param [Boolean] validate_only
@@ -475,13 +477,13 @@ module Google
475
477
  # resources.
476
478
  # @param [String] request_id
477
479
  # Optional. A request ID to identify requests. Specify a unique request ID so
478
- # that if you must retry your request, the server will know to ignore the
479
- # request if it has already been completed. The server will guarantee that for
480
- # at least 60 minutes after the first request. For example, consider a situation
481
- # where you make an initial request and the request times out. If you make the
482
- # request again with the same request ID, the server can check if original
483
- # operation with the same request ID was received, and if so, will ignore the
484
- # second request. This prevents clients from accidentally creating duplicate
480
+ # that if you must retry your request, the server knows to ignore the request if
481
+ # it has already been completed. The server guarantees that for at least 60
482
+ # minutes after the first request. For example, consider a situation where you
483
+ # make an initial request and the request times out. If you make the request
484
+ # again with the same request ID, the server can check if original operation
485
+ # with the same request ID was received, and if so, will ignore the second
486
+ # request. This prevents clients from accidentally creating duplicate
485
487
  # commitments. The request ID must be a valid UUID with the exception that zero
486
488
  # UUID is not supported (00000000-0000-0000-0000-000000000000).
487
489
  # @param [Boolean] validate_only
@@ -653,21 +655,21 @@ module Google
653
655
  # will result in the creation of a new `DeliveryPipeline`.
654
656
  # @param [String] request_id
655
657
  # Optional. A request ID to identify requests. Specify a unique request ID so
656
- # that if you must retry your request, the server will know to ignore the
657
- # request if it has already been completed. The server will guarantee that for
658
- # at least 60 minutes since the first request. For example, consider a situation
659
- # where you make an initial request and the request times out. If you make the
660
- # request again with the same request ID, the server can check if original
661
- # operation with the same request ID was received, and if so, will ignore the
662
- # second request. This prevents clients from accidentally creating duplicate
658
+ # that if you must retry your request, the server knows to ignore the request if
659
+ # it has already been completed. The server guarantees that for at least 60
660
+ # minutes after the first request. For example, consider a situation where you
661
+ # make an initial request and the request times out. If you make the request
662
+ # again with the same request ID, the server can check if original operation
663
+ # with the same request ID was received, and if so, will ignore the second
664
+ # request. This prevents clients from accidentally creating duplicate
663
665
  # commitments. The request ID must be a valid UUID with the exception that zero
664
666
  # UUID is not supported (00000000-0000-0000-0000-000000000000).
665
667
  # @param [String] update_mask
666
668
  # Required. Field mask is used to specify the fields to be overwritten in the `
667
669
  # DeliveryPipeline` resource by the update. The fields specified in the
668
670
  # update_mask are relative to the resource, not the full request. A field will
669
- # be overwritten if it is in the mask. If the user does not provide a mask then
670
- # all fields will be overwritten.
671
+ # be overwritten if it's in the mask. If the user doesn't provide a mask then
672
+ # all fields are overwritten.
671
673
  # @param [Boolean] validate_only
672
674
  # Optional. If set to true, the request is validated and the user is provided
673
675
  # with an expected result, but no actual change is made.
@@ -943,13 +945,13 @@ module Google
943
945
  # Required. ID of the `Automation`.
944
946
  # @param [String] request_id
945
947
  # Optional. A request ID to identify requests. Specify a unique request ID so
946
- # that if you must retry your request, the server will know to ignore the
947
- # request if it has already been completed. The server will guarantee that for
948
- # at least 60 minutes since the first request. For example, consider a situation
949
- # where you make an initial request and the request times out. If you make the
950
- # request again with the same request ID, the server can check if original
951
- # operation with the same request ID was received, and if so, will ignore the
952
- # second request. This prevents clients from accidentally creating duplicate
948
+ # that if you must retry your request, the server knows to ignore the request if
949
+ # it has already been completed. The server guarantees that for at least 60
950
+ # minutes after the first request. For example, consider a situation where you
951
+ # make an initial request and the request times out. If you make the request
952
+ # again with the same request ID, the server can check if original operation
953
+ # with the same request ID was received, and if so, will ignore the second
954
+ # request. This prevents clients from accidentally creating duplicate
953
955
  # commitments. The request ID must be a valid UUID with the exception that zero
954
956
  # UUID is not supported (00000000-0000-0000-0000-000000000000).
955
957
  # @param [Boolean] validate_only
@@ -1001,13 +1003,13 @@ module Google
1001
1003
  # delete requests to ensure the client has an up-to-date value before proceeding.
1002
1004
  # @param [String] request_id
1003
1005
  # Optional. A request ID to identify requests. Specify a unique request ID so
1004
- # that if you must retry your request, the server will know to ignore the
1005
- # request if it has already been completed. The server will guarantee that for
1006
- # at least 60 minutes after the first request. For example, consider a situation
1007
- # where you make an initial request and the request times out. If you make the
1008
- # request again with the same request ID, the server can check if original
1009
- # operation with the same request ID was received, and if so, will ignore the
1010
- # second request. This prevents clients from accidentally creating duplicate
1006
+ # that if you must retry your request, the server knows to ignore the request if
1007
+ # it has already been completed. The server guarantees that for at least 60
1008
+ # minutes after the first request. For example, consider a situation where you
1009
+ # make an initial request and the request times out. If you make the request
1010
+ # again with the same request ID, the server can check if original operation
1011
+ # with the same request ID was received, and if so, will ignore the second
1012
+ # request. This prevents clients from accidentally creating duplicate
1011
1013
  # commitments. The request ID must be a valid UUID with the exception that zero
1012
1014
  # UUID is not supported (00000000-0000-0000-0000-000000000000).
1013
1015
  # @param [Boolean] validate_only
@@ -1134,21 +1136,21 @@ module Google
1134
1136
  # result in the creation of a new `Automation`.
1135
1137
  # @param [String] request_id
1136
1138
  # Optional. A request ID to identify requests. Specify a unique request ID so
1137
- # that if you must retry your request, the server will know to ignore the
1138
- # request if it has already been completed. The server will guarantee that for
1139
- # at least 60 minutes since the first request. For example, consider a situation
1140
- # where you make an initial request and the request times out. If you make the
1141
- # request again with the same request ID, the server can check if original
1142
- # operation with the same request ID was received, and if so, will ignore the
1143
- # second request. This prevents clients from accidentally creating duplicate
1139
+ # that if you must retry your request, the server knows to ignore the request if
1140
+ # it has already been completed. The server guarantees that for at least 60
1141
+ # minutes after the first request. For example, consider a situation where you
1142
+ # make an initial request and the request times out. If you make the request
1143
+ # again with the same request ID, the server can check if original operation
1144
+ # with the same request ID was received, and if so, will ignore the second
1145
+ # request. This prevents clients from accidentally creating duplicate
1144
1146
  # commitments. The request ID must be a valid UUID with the exception that zero
1145
1147
  # UUID is not supported (00000000-0000-0000-0000-000000000000).
1146
1148
  # @param [String] update_mask
1147
1149
  # Required. Field mask is used to specify the fields to be overwritten in the `
1148
1150
  # Automation` resource by the update. The fields specified in the update_mask
1149
1151
  # are relative to the resource, not the full request. A field will be
1150
- # overwritten if it is in the mask. If the user does not provide a mask then all
1151
- # fields will be overwritten.
1152
+ # overwritten if it's in the mask. If the user doesn't provide a mask then all
1153
+ # fields are overwritten.
1152
1154
  # @param [Boolean] validate_only
1153
1155
  # Optional. If set to true, the request is validated and the user is provided
1154
1156
  # with an expected result, but no actual change is made.
@@ -1229,13 +1231,13 @@ module Google
1229
1231
  # Required. ID of the `Release`.
1230
1232
  # @param [String] request_id
1231
1233
  # Optional. A request ID to identify requests. Specify a unique request ID so
1232
- # that if you must retry your request, the server will know to ignore the
1233
- # request if it has already been completed. The server will guarantee that for
1234
- # at least 60 minutes since the first request. For example, consider a situation
1235
- # where you make an initial request and the request times out. If you make the
1236
- # request again with the same request ID, the server can check if original
1237
- # operation with the same request ID was received, and if so, will ignore the
1238
- # second request. This prevents clients from accidentally creating duplicate
1234
+ # that if you must retry your request, the server knows to ignore the request if
1235
+ # it has already been completed. The server guarantees that for at least 60
1236
+ # minutes after the first request. For example, consider a situation where you
1237
+ # make an initial request and the request times out. If you make the request
1238
+ # again with the same request ID, the server can check if original operation
1239
+ # with the same request ID was received, and if so, will ignore the second
1240
+ # request. This prevents clients from accidentally creating duplicate
1239
1241
  # commitments. The request ID must be a valid UUID with the exception that zero
1240
1242
  # UUID is not supported (00000000-0000-0000-0000-000000000000).
1241
1243
  # @param [Boolean] validate_only
@@ -1468,13 +1470,13 @@ module Google
1468
1470
  # @param [Google::Apis::ClouddeployV1::Rollout] rollout_object
1469
1471
  # @param [String] request_id
1470
1472
  # Optional. A request ID to identify requests. Specify a unique request ID so
1471
- # that if you must retry your request, the server will know to ignore the
1472
- # request if it has already been completed. The server will guarantee that for
1473
- # at least 60 minutes since the first request. For example, consider a situation
1474
- # where you make an initial request and the request times out. If you make the
1475
- # request again with the same request ID, the server can check if original
1476
- # operation with the same request ID was received, and if so, will ignore the
1477
- # second request. This prevents clients from accidentally creating duplicate
1473
+ # that if you must retry your request, the server knows to ignore the request if
1474
+ # it has already been completed. The server guarantees that for at least 60
1475
+ # minutes after the first request. For example, consider a situation where you
1476
+ # make an initial request and the request times out. If you make the request
1477
+ # again with the same request ID, the server can check if original operation
1478
+ # with the same request ID was received, and if so, will ignore the second
1479
+ # request. This prevents clients from accidentally creating duplicate
1478
1480
  # commitments. The request ID must be a valid UUID with the exception that zero
1479
1481
  # UUID is not supported (00000000-0000-0000-0000-000000000000).
1480
1482
  # @param [String] rollout_id
@@ -1935,13 +1937,13 @@ module Google
1935
1937
  # @param [Google::Apis::ClouddeployV1::Target] target_object
1936
1938
  # @param [String] request_id
1937
1939
  # Optional. A request ID to identify requests. Specify a unique request ID so
1938
- # that if you must retry your request, the server will know to ignore the
1939
- # request if it has already been completed. The server will guarantee that for
1940
- # at least 60 minutes since the first request. For example, consider a situation
1941
- # where you make an initial request and the request times out. If you make the
1942
- # request again with the same request ID, the server can check if original
1943
- # operation with the same request ID was received, and if so, will ignore the
1944
- # second request. This prevents clients from accidentally creating duplicate
1940
+ # that if you must retry your request, the server knows to ignore the request if
1941
+ # it has already been completed. The server guarantees that for at least 60
1942
+ # minutes after the first request. For example, consider a situation where you
1943
+ # make an initial request and the request times out. If you make the request
1944
+ # again with the same request ID, the server can check if original operation
1945
+ # with the same request ID was received, and if so, will ignore the second
1946
+ # request. This prevents clients from accidentally creating duplicate
1945
1947
  # commitments. The request ID must be a valid UUID with the exception that zero
1946
1948
  # UUID is not supported (00000000-0000-0000-0000-000000000000).
1947
1949
  # @param [String] target_id
@@ -1994,13 +1996,13 @@ module Google
1994
1996
  # an up-to-date value before proceeding.
1995
1997
  # @param [String] request_id
1996
1998
  # Optional. A request ID to identify requests. Specify a unique request ID so
1997
- # that if you must retry your request, the server will know to ignore the
1998
- # request if it has already been completed. The server will guarantee that for
1999
- # at least 60 minutes after the first request. For example, consider a situation
2000
- # where you make an initial request and the request times out. If you make the
2001
- # request again with the same request ID, the server can check if original
2002
- # operation with the same request ID was received, and if so, will ignore the
2003
- # second request. This prevents clients from accidentally creating duplicate
1999
+ # that if you must retry your request, the server knows to ignore the request if
2000
+ # it has already been completed. The server guarantees that for at least 60
2001
+ # minutes after the first request. For example, consider a situation where you
2002
+ # make an initial request and the request times out. If you make the request
2003
+ # again with the same request ID, the server can check if original operation
2004
+ # with the same request ID was received, and if so, will ignore the second
2005
+ # request. This prevents clients from accidentally creating duplicate
2004
2006
  # commitments. The request ID must be a valid UUID with the exception that zero
2005
2007
  # UUID is not supported (00000000-0000-0000-0000-000000000000).
2006
2008
  # @param [Boolean] validate_only
@@ -2172,20 +2174,20 @@ module Google
2172
2174
  # in the creation of a new `Target`.
2173
2175
  # @param [String] request_id
2174
2176
  # Optional. A request ID to identify requests. Specify a unique request ID so
2175
- # that if you must retry your request, the server will know to ignore the
2176
- # request if it has already been completed. The server will guarantee that for
2177
- # at least 60 minutes since the first request. For example, consider a situation
2178
- # where you make an initial request and the request times out. If you make the
2179
- # request again with the same request ID, the server can check if original
2180
- # operation with the same request ID was received, and if so, will ignore the
2181
- # second request. This prevents clients from accidentally creating duplicate
2177
+ # that if you must retry your request, the server knows to ignore the request if
2178
+ # it has already been completed. The server guarantees that for at least 60
2179
+ # minutes after the first request. For example, consider a situation where you
2180
+ # make an initial request and the request times out. If you make the request
2181
+ # again with the same request ID, the server can check if original operation
2182
+ # with the same request ID was received, and if so, will ignore the second
2183
+ # request. This prevents clients from accidentally creating duplicate
2182
2184
  # commitments. The request ID must be a valid UUID with the exception that zero
2183
2185
  # UUID is not supported (00000000-0000-0000-0000-000000000000).
2184
2186
  # @param [String] update_mask
2185
2187
  # Required. Field mask is used to specify the fields to be overwritten in the
2186
2188
  # Target resource by the update. The fields specified in the update_mask are
2187
2189
  # relative to the resource, not the full request. A field will be overwritten if
2188
- # it is in the mask. If the user does not provide a mask then all fields will be
2190
+ # it's in the mask. If the user doesn't provide a mask then all fields are
2189
2191
  # overwritten.
2190
2192
  # @param [Boolean] validate_only
2191
2193
  # Optional. If set to true, the request is validated and the user is provided
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-clouddeploy_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.37.0
4
+ version: 0.38.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-10 00:00:00.000000000 Z
11
+ date: 2024-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.12.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.0
29
+ version: 0.12.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-clouddeploy_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-clouddeploy_v1/v0.37.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-clouddeploy_v1/v0.38.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-clouddeploy_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.19
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Deploy API V1