google-apis-clouddeploy_v1 0.47.0 → 0.48.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f86ada97ac867afa321fbc37026360fdcaaccde7b7f94c4dc8299b93058bd60a
4
- data.tar.gz: 0bb891932f885e5c62ddbfede7df4166e858156679cd3d3ea3048d35f4500688
3
+ metadata.gz: 7ddcc5ff855fb3e37b738f43419252f2abeca028ececcaf00b06637fe6328401
4
+ data.tar.gz: 3cb3a4fe29868e7129dcd8c7a838370553d4e495c5728495106564551209e75d
5
5
  SHA512:
6
- metadata.gz: 7c17f00e37dd911d71b3e8f4384a56bb521624610f988468ae57804aa43579e844be4e79cbc845f3819ce8195d5112b10a4144582289f2b2b2268dfb2b79edd0
7
- data.tar.gz: b5f50ce6ea1a94b1c2a422076f6f57ec5e88a526fe77dbd6900465c1c3b9c2c57bddd3d9428f6207f3ea243494a1d0e3b6e0de1d0b43a640667081d97a20d92f
6
+ metadata.gz: 04527e1f69f2c637963f695c42c7043d6b99f29df4500bc17925cf6d3e8bdf291578a2417aa9d853caccf344fb7ee93663757e95ae153fbf5aecb7e07f9dba22
7
+ data.tar.gz: 4041a5a1714707add403c15a1aba422c5279d701e76219005e7e23cd8dbc05bbb6b17591bd4d443b23e97b97eabf311b4bfa8ba0bbf7de69e912587eedc0a4a9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-clouddeploy_v1
2
2
 
3
+ ### v0.48.0 (2024-08-11)
4
+
5
+ * Regenerated from discovery document revision 20240728
6
+ * Regenerated using generator version 0.15.1
7
+
3
8
  ### v0.47.0 (2024-06-23)
4
9
 
5
10
  * Regenerated from discovery document revision 20240614
@@ -543,8 +543,8 @@ module Google
543
543
  # @return [Google::Apis::ClouddeployV1::AdvanceRolloutRule]
544
544
  attr_accessor :advance_rollout_rule
545
545
 
546
- # `PromoteRelease` rule will automatically promote a release from the current
547
- # target to a specified target.
546
+ # The `PromoteRelease` rule will automatically promote a release from the
547
+ # current target to a specified target.
548
548
  # Corresponds to the JSON property `promoteReleaseRule`
549
549
  # @return [Google::Apis::ClouddeployV1::PromoteReleaseRule]
550
550
  attr_accessor :promote_release_rule
@@ -1458,6 +1458,45 @@ module Google
1458
1458
  end
1459
1459
  end
1460
1460
 
1461
+ # Payload proto for "clouddeploy.googleapis.com/customtargettype_notification"
1462
+ # Platform Log event that describes the failure to send a custom target type
1463
+ # status change Pub/Sub notification.
1464
+ class CustomTargetTypeNotificationEvent
1465
+ include Google::Apis::Core::Hashable
1466
+
1467
+ # The name of the `CustomTargetType`.
1468
+ # Corresponds to the JSON property `customTargetType`
1469
+ # @return [String]
1470
+ attr_accessor :custom_target_type
1471
+
1472
+ # Unique identifier of the `CustomTargetType`.
1473
+ # Corresponds to the JSON property `customTargetTypeUid`
1474
+ # @return [String]
1475
+ attr_accessor :custom_target_type_uid
1476
+
1477
+ # Debug message for when a notification fails to send.
1478
+ # Corresponds to the JSON property `message`
1479
+ # @return [String]
1480
+ attr_accessor :message
1481
+
1482
+ # Type of this notification, e.g. for a Pub/Sub failure.
1483
+ # Corresponds to the JSON property `type`
1484
+ # @return [String]
1485
+ attr_accessor :type
1486
+
1487
+ def initialize(**args)
1488
+ update!(**args)
1489
+ end
1490
+
1491
+ # Update properties of this object
1492
+ def update!(**args)
1493
+ @custom_target_type = args[:custom_target_type] if args.key?(:custom_target_type)
1494
+ @custom_target_type_uid = args[:custom_target_type_uid] if args.key?(:custom_target_type_uid)
1495
+ @message = args[:message] if args.key?(:message)
1496
+ @type = args[:type] if args.key?(:type)
1497
+ end
1498
+ end
1499
+
1461
1500
  # Represents a whole or partial calendar date, such as a birthday. The time of
1462
1501
  # day and time zone are either specified elsewhere or are insignificant. The
1463
1502
  # date is relative to the Gregorian Calendar. This can represent one of the
@@ -1807,6 +1846,45 @@ module Google
1807
1846
  end
1808
1847
  end
1809
1848
 
1849
+ # Payload proto for "clouddeploy.googleapis.com/deploypolicy_notification".
1850
+ # Platform Log event that describes the failure to send a pub/sub notification
1851
+ # when there is a DeployPolicy status change.
1852
+ class DeployPolicyNotificationEvent
1853
+ include Google::Apis::Core::Hashable
1854
+
1855
+ # The name of the `DeployPolicy`.
1856
+ # Corresponds to the JSON property `deployPolicy`
1857
+ # @return [String]
1858
+ attr_accessor :deploy_policy
1859
+
1860
+ # Unique identifier of the deploy policy.
1861
+ # Corresponds to the JSON property `deployPolicyUid`
1862
+ # @return [String]
1863
+ attr_accessor :deploy_policy_uid
1864
+
1865
+ # Debug message for when a deploy policy fails to send a pub/sub notification.
1866
+ # Corresponds to the JSON property `message`
1867
+ # @return [String]
1868
+ attr_accessor :message
1869
+
1870
+ # Type of this notification, e.g. for a Pub/Sub failure.
1871
+ # Corresponds to the JSON property `type`
1872
+ # @return [String]
1873
+ attr_accessor :type
1874
+
1875
+ def initialize(**args)
1876
+ update!(**args)
1877
+ end
1878
+
1879
+ # Update properties of this object
1880
+ def update!(**args)
1881
+ @deploy_policy = args[:deploy_policy] if args.key?(:deploy_policy)
1882
+ @deploy_policy_uid = args[:deploy_policy_uid] if args.key?(:deploy_policy_uid)
1883
+ @message = args[:message] if args.key?(:message)
1884
+ @type = args[:type] if args.key?(:type)
1885
+ end
1886
+ end
1887
+
1810
1888
  # Deployment job composition.
1811
1889
  class DeploymentJobs
1812
1890
  include Google::Apis::Core::Hashable
@@ -2000,6 +2078,12 @@ module Google
2000
2078
  # @return [String]
2001
2079
  attr_accessor :http_route
2002
2080
 
2081
+ # Optional. The label to use when selecting Pods for the Deployment and Service
2082
+ # resources. This label must already be present in both resources.
2083
+ # Corresponds to the JSON property `podSelectorLabel`
2084
+ # @return [String]
2085
+ attr_accessor :pod_selector_label
2086
+
2003
2087
  # Optional. The time to wait for route updates to propagate. The maximum
2004
2088
  # configurable time is 3 hours, in seconds format. If unspecified, there is no
2005
2089
  # wait time.
@@ -2027,6 +2111,7 @@ module Google
2027
2111
  def update!(**args)
2028
2112
  @deployment = args[:deployment] if args.key?(:deployment)
2029
2113
  @http_route = args[:http_route] if args.key?(:http_route)
2114
+ @pod_selector_label = args[:pod_selector_label] if args.key?(:pod_selector_label)
2030
2115
  @route_update_wait_time = args[:route_update_wait_time] if args.key?(:route_update_wait_time)
2031
2116
  @service = args[:service] if args.key?(:service)
2032
2117
  @stable_cutback_duration = args[:stable_cutback_duration] if args.key?(:stable_cutback_duration)
@@ -3426,8 +3511,8 @@ module Google
3426
3511
  end
3427
3512
  end
3428
3513
 
3429
- # `PromoteRelease` rule will automatically promote a release from the current
3430
- # target to a specified target.
3514
+ # The `PromoteRelease` rule will automatically promote a release from the
3515
+ # current target to a specified target.
3431
3516
  class PromoteReleaseRule
3432
3517
  include Google::Apis::Core::Hashable
3433
3518
 
@@ -4515,6 +4600,12 @@ module Google
4515
4600
  attr_accessor :disable_pod_overprovisioning
4516
4601
  alias_method :disable_pod_overprovisioning?, :disable_pod_overprovisioning
4517
4602
 
4603
+ # Optional. The label to use when selecting Pods for the Deployment resource.
4604
+ # This label must already be present in the Deployment.
4605
+ # Corresponds to the JSON property `podSelectorLabel`
4606
+ # @return [String]
4607
+ attr_accessor :pod_selector_label
4608
+
4518
4609
  # Required. Name of the Kubernetes Service.
4519
4610
  # Corresponds to the JSON property `service`
4520
4611
  # @return [String]
@@ -4528,6 +4619,7 @@ module Google
4528
4619
  def update!(**args)
4529
4620
  @deployment = args[:deployment] if args.key?(:deployment)
4530
4621
  @disable_pod_overprovisioning = args[:disable_pod_overprovisioning] if args.key?(:disable_pod_overprovisioning)
4622
+ @pod_selector_label = args[:pod_selector_label] if args.key?(:pod_selector_label)
4531
4623
  @service = args[:service] if args.key?(:service)
4532
4624
  end
4533
4625
  end
@@ -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.47.0"
19
+ GEM_VERSION = "0.48.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240614"
25
+ REVISION = "20240728"
26
26
  end
27
27
  end
28
28
  end
@@ -286,6 +286,12 @@ module Google
286
286
  include Google::Apis::Core::JsonObjectSupport
287
287
  end
288
288
 
289
+ class CustomTargetTypeNotificationEvent
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
289
295
  class Date
290
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
297
 
@@ -340,6 +346,12 @@ module Google
340
346
  include Google::Apis::Core::JsonObjectSupport
341
347
  end
342
348
 
349
+ class DeployPolicyNotificationEvent
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
343
355
  class DeploymentJobs
344
356
  class Representation < Google::Apis::Core::JsonRepresentation; end
345
357
 
@@ -1273,6 +1285,16 @@ module Google
1273
1285
  end
1274
1286
  end
1275
1287
 
1288
+ class CustomTargetTypeNotificationEvent
1289
+ # @private
1290
+ class Representation < Google::Apis::Core::JsonRepresentation
1291
+ property :custom_target_type, as: 'customTargetType'
1292
+ property :custom_target_type_uid, as: 'customTargetTypeUid'
1293
+ property :message, as: 'message'
1294
+ property :type, as: 'type'
1295
+ end
1296
+ end
1297
+
1276
1298
  class Date
1277
1299
  # @private
1278
1300
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1366,6 +1388,16 @@ module Google
1366
1388
  end
1367
1389
  end
1368
1390
 
1391
+ class DeployPolicyNotificationEvent
1392
+ # @private
1393
+ class Representation < Google::Apis::Core::JsonRepresentation
1394
+ property :deploy_policy, as: 'deployPolicy'
1395
+ property :deploy_policy_uid, as: 'deployPolicyUid'
1396
+ property :message, as: 'message'
1397
+ property :type, as: 'type'
1398
+ end
1399
+ end
1400
+
1369
1401
  class DeploymentJobs
1370
1402
  # @private
1371
1403
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1417,6 +1449,7 @@ module Google
1417
1449
  class Representation < Google::Apis::Core::JsonRepresentation
1418
1450
  property :deployment, as: 'deployment'
1419
1451
  property :http_route, as: 'httpRoute'
1452
+ property :pod_selector_label, as: 'podSelectorLabel'
1420
1453
  property :route_update_wait_time, as: 'routeUpdateWaitTime'
1421
1454
  property :service, as: 'service'
1422
1455
  property :stable_cutback_duration, as: 'stableCutbackDuration'
@@ -2088,6 +2121,7 @@ module Google
2088
2121
  class Representation < Google::Apis::Core::JsonRepresentation
2089
2122
  property :deployment, as: 'deployment'
2090
2123
  property :disable_pod_overprovisioning, as: 'disablePodOverprovisioning'
2124
+ property :pod_selector_label, as: 'podSelectorLabel'
2091
2125
  property :service, as: 'service'
2092
2126
  end
2093
2127
  end
@@ -156,8 +156,8 @@ module Google
156
156
 
157
157
  # Creates a new CustomTargetType in a given project and location.
158
158
  # @param [String] parent
159
- # Required. The parent collection in which the `CustomTargetType` should be
160
- # created. Format should be `projects/`project_id`/locations/`location_name``.
159
+ # Required. The parent collection in which the `CustomTargetType` must be
160
+ # created. The format is `projects/`project_id`/locations/`location_name``.
161
161
  # @param [Google::Apis::ClouddeployV1::CustomTargetType] custom_target_type_object
162
162
  # @param [String] custom_target_type_id
163
163
  # Required. ID of the `CustomTargetType`.
@@ -411,8 +411,8 @@ module Google
411
411
  # commitments. The request ID must be a valid UUID with the exception that zero
412
412
  # UUID is not supported (00000000-0000-0000-0000-000000000000).
413
413
  # @param [String] update_mask
414
- # Required. Field mask is used to specify the fields to be overwritten in the `
415
- # CustomTargetType` resource by the update. The fields specified in the
414
+ # Required. Field mask is used to specify the fields to be overwritten by the
415
+ # update in the `CustomTargetType` resource. The fields specified in the
416
416
  # update_mask are relative to the resource, not the full request. A field will
417
417
  # be overwritten if it's in the mask. If the user doesn't provide a mask then
418
418
  # all fields are overwritten.
@@ -491,8 +491,8 @@ module Google
491
491
 
492
492
  # Creates a new DeliveryPipeline in a given project and location.
493
493
  # @param [String] parent
494
- # Required. The parent collection in which the `DeliveryPipeline` should be
495
- # created. Format should be `projects/`project_id`/locations/`location_name``.
494
+ # Required. The parent collection in which the `DeliveryPipeline` must be
495
+ # created. The format is `projects/`project_id`/locations/`location_name``.
496
496
  # @param [Google::Apis::ClouddeployV1::DeliveryPipeline] delivery_pipeline_object
497
497
  # @param [String] delivery_pipeline_id
498
498
  # Required. ID of the `DeliveryPipeline`.
@@ -544,7 +544,7 @@ module Google
544
544
 
545
545
  # Deletes a single DeliveryPipeline.
546
546
  # @param [String] name
547
- # Required. The name of the `DeliveryPipeline` to delete. Format should be `
547
+ # Required. The name of the `DeliveryPipeline` to delete. The format is `
548
548
  # projects/`project_id`/locations/`location_name`/deliveryPipelines/`
549
549
  # pipeline_name``.
550
550
  # @param [Boolean] allow_missing
@@ -749,8 +749,8 @@ module Google
749
749
  # commitments. The request ID must be a valid UUID with the exception that zero
750
750
  # UUID is not supported (00000000-0000-0000-0000-000000000000).
751
751
  # @param [String] update_mask
752
- # Required. Field mask is used to specify the fields to be overwritten in the `
753
- # DeliveryPipeline` resource by the update. The fields specified in the
752
+ # Required. Field mask is used to specify the fields to be overwritten by the
753
+ # update in the `DeliveryPipeline` resource. The fields specified in the
754
754
  # update_mask are relative to the resource, not the full request. A field will
755
755
  # be overwritten if it's in the mask. If the user doesn't provide a mask then
756
756
  # all fields are overwritten.
@@ -792,8 +792,8 @@ module Google
792
792
 
793
793
  # Creates a `Rollout` to roll back the specified target.
794
794
  # @param [String] name
795
- # Required. The `DeliveryPipeline` for which the rollback `Rollout` should be
796
- # created. Format should be `projects/`project_id`/locations/`location_name`/
795
+ # Required. The `DeliveryPipeline` for which the rollback `Rollout` must be
796
+ # created. The format is `projects/`project_id`/locations/`location_name`/
797
797
  # deliveryPipelines/`pipeline_name``.
798
798
  # @param [Google::Apis::ClouddeployV1::RollbackTargetRequest] rollback_target_request_object
799
799
  # @param [String] fields
@@ -1021,9 +1021,9 @@ module Google
1021
1021
 
1022
1022
  # Creates a new Automation in a given project and location.
1023
1023
  # @param [String] parent
1024
- # Required. The parent collection in which the `Automation` should be created.
1025
- # Format should be `projects/`project_id`/locations/`location_name`/
1026
- # deliveryPipelines/`pipeline_name``.
1024
+ # Required. The parent collection in which the `Automation` must be created. The
1025
+ # format is `projects/`project_id`/locations/`location_name`/deliveryPipelines/`
1026
+ # pipeline_name``.
1027
1027
  # @param [Google::Apis::ClouddeployV1::Automation] automation_object
1028
1028
  # @param [String] automation_id
1029
1029
  # Required. ID of the `Automation`.
@@ -1075,7 +1075,7 @@ module Google
1075
1075
 
1076
1076
  # Deletes a single Automation resource.
1077
1077
  # @param [String] name
1078
- # Required. The name of the `Automation` to delete. Format should be `projects/`
1078
+ # Required. The name of the `Automation` to delete. The format is `projects/`
1079
1079
  # project_id`/locations/`location_name`/deliveryPipelines/`pipeline_name`/
1080
1080
  # automations/`automation_name``.
1081
1081
  # @param [Boolean] allow_missing
@@ -1230,8 +1230,8 @@ module Google
1230
1230
  # commitments. The request ID must be a valid UUID with the exception that zero
1231
1231
  # UUID is not supported (00000000-0000-0000-0000-000000000000).
1232
1232
  # @param [String] update_mask
1233
- # Required. Field mask is used to specify the fields to be overwritten in the `
1234
- # Automation` resource by the update. The fields specified in the update_mask
1233
+ # Required. Field mask is used to specify the fields to be overwritten by the
1234
+ # update in the `Automation` resource. The fields specified in the update_mask
1235
1235
  # are relative to the resource, not the full request. A field will be
1236
1236
  # overwritten if it's in the mask. If the user doesn't provide a mask then all
1237
1237
  # fields are overwritten.
@@ -1307,9 +1307,9 @@ module Google
1307
1307
 
1308
1308
  # Creates a new Release in a given project and location.
1309
1309
  # @param [String] parent
1310
- # Required. The parent collection in which the `Release` should be created.
1311
- # Format should be `projects/`project_id`/locations/`location_name`/
1312
- # deliveryPipelines/`pipeline_name``.
1310
+ # Required. The parent collection in which the `Release` is created. The format
1311
+ # is `projects/`project_id`/locations/`location_name`/deliveryPipelines/`
1312
+ # pipeline_name``.
1313
1313
  # @param [Google::Apis::ClouddeployV1::Release] release_object
1314
1314
  # @param [String] release_id
1315
1315
  # Required. ID of the `Release`.
@@ -1548,9 +1548,9 @@ module Google
1548
1548
 
1549
1549
  # Creates a new Rollout in a given project and location.
1550
1550
  # @param [String] parent
1551
- # Required. The parent collection in which the `Rollout` should be created.
1552
- # Format should be `projects/`project_id`/locations/`location_name`/
1553
- # deliveryPipelines/`pipeline_name`/releases/`release_name``.
1551
+ # Required. The parent collection in which the `Rollout` must be created. The
1552
+ # format is `projects/`project_id`/locations/`location_name`/deliveryPipelines/`
1553
+ # pipeline_name`/releases/`release_name``.
1554
1554
  # @param [Google::Apis::ClouddeployV1::Rollout] rollout_object
1555
1555
  # @param [String] request_id
1556
1556
  # Optional. A request ID to identify requests. Specify a unique request ID so
@@ -2016,8 +2016,8 @@ module Google
2016
2016
 
2017
2017
  # Creates a new Target in a given project and location.
2018
2018
  # @param [String] parent
2019
- # Required. The parent collection in which the `Target` should be created.
2020
- # Format should be `projects/`project_id`/locations/`location_name``.
2019
+ # Required. The parent collection in which the `Target` must be created. The
2020
+ # format is `projects/`project_id`/locations/`location_name``.
2021
2021
  # @param [Google::Apis::ClouddeployV1::Target] target_object
2022
2022
  # @param [String] request_id
2023
2023
  # Optional. A request ID to identify requests. Specify a unique request ID so
@@ -2069,7 +2069,7 @@ module Google
2069
2069
 
2070
2070
  # Deletes a single Target.
2071
2071
  # @param [String] name
2072
- # Required. The name of the `Target` to delete. Format should be `projects/`
2072
+ # Required. The name of the `Target` to delete. The format is `projects/`
2073
2073
  # project_id`/locations/`location_name`/targets/`target_name``.
2074
2074
  # @param [Boolean] allow_missing
2075
2075
  # Optional. If set to true, then deleting an already deleted or non-existing `
@@ -2269,8 +2269,8 @@ module Google
2269
2269
  # commitments. The request ID must be a valid UUID with the exception that zero
2270
2270
  # UUID is not supported (00000000-0000-0000-0000-000000000000).
2271
2271
  # @param [String] update_mask
2272
- # Required. Field mask is used to specify the fields to be overwritten in the
2273
- # Target resource by the update. The fields specified in the update_mask are
2272
+ # Required. Field mask is used to specify the fields to be overwritten by the
2273
+ # update in the `Target` resource. The fields specified in the update_mask are
2274
2274
  # relative to the resource, not the full request. A field will be overwritten if
2275
2275
  # it's in the mask. If the user doesn't provide a mask then all fields are
2276
2276
  # overwritten.
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.47.0
4
+ version: 0.48.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: 2024-06-23 00:00:00.000000000 Z
11
+ date: 2024-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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.47.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-clouddeploy_v1/v0.48.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: []