google-apis-clouddeploy_v1 0.52.0 → 0.53.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: 9e1aac44a1219f5dda42db38730b2ec92c08d22e7f4663a7655fcd1beb252bbe
4
- data.tar.gz: 85f17f6d8cf7d96ae27a6f7c147f5cb635167d03300a01db308f74b9dc84bfc4
3
+ metadata.gz: c6c719bdc32b5b564be0ee5d7c830e4c83abeaa5ba71b2191225a589310e1a03
4
+ data.tar.gz: 7c250c40792eedcba957c2ead0915343341c34cf66e617569e350fce41230274
5
5
  SHA512:
6
- metadata.gz: 9a5c974e4069410f17293207dcefa497d92b582d8322888dffc93c5a194acf6f0a90a680d8c061cd5c403430ce46358d4efb8a578c7d81715a1826b8fba8c845
7
- data.tar.gz: c95c8a5694c2b69f405a334b3d1aad699269cbed2ec65cd405a6d89de0c26d4f9dea520b9506fdc2cf4a05ca6b26c97803bb30466abcd18f7fa008016f0e1eee
6
+ metadata.gz: a1609b8ed7c71fbcf262615b6209c0fc13447df366da0c92f65fac2d2e332f42aba1e7240533d14bc7e47ba64861954bf199a4440b585955e365e635b2aa18ff
7
+ data.tar.gz: fb64f5f27d1f88d8a2de8968ad33aa77108199890ef3a508201717a8ddbd882085ecdf4ba4cc648f90fede0b8093a6ac9e5705fb2e9a5f54e3d0346339811885
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-clouddeploy_v1
2
2
 
3
+ ### v0.53.0 (2024-10-20)
4
+
5
+ * Regenerated from discovery document revision 20241010
6
+
3
7
  ### v0.52.0 (2024-10-13)
4
8
 
5
9
  * Regenerated from discovery document revision 20241002
@@ -269,6 +269,31 @@ module Google
269
269
  end
270
270
  end
271
271
 
272
+ # Information about entities associated with a `Target`.
273
+ class AssociatedEntities
274
+ include Google::Apis::Core::Hashable
275
+
276
+ # Optional. Information specifying Anthos clusters as associated entities.
277
+ # Corresponds to the JSON property `anthosClusters`
278
+ # @return [Array<Google::Apis::ClouddeployV1::AnthosCluster>]
279
+ attr_accessor :anthos_clusters
280
+
281
+ # Optional. Information specifying GKE clusters as associated entities.
282
+ # Corresponds to the JSON property `gkeClusters`
283
+ # @return [Array<Google::Apis::ClouddeployV1::GkeCluster>]
284
+ attr_accessor :gke_clusters
285
+
286
+ def initialize(**args)
287
+ update!(**args)
288
+ end
289
+
290
+ # Update properties of this object
291
+ def update!(**args)
292
+ @anthos_clusters = args[:anthos_clusters] if args.key?(:anthos_clusters)
293
+ @gke_clusters = args[:gke_clusters] if args.key?(:gke_clusters)
294
+ end
295
+ end
296
+
272
297
  # Specifies the audit configuration for a service. The configuration determines
273
298
  # which permission types are logged, and what identities, if any, are exempted
274
299
  # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
@@ -2374,6 +2399,11 @@ module Google
2374
2399
  # @return [String]
2375
2400
  attr_accessor :pod_selector_label
2376
2401
 
2402
+ # Information about route destinations for the Gateway API service mesh.
2403
+ # Corresponds to the JSON property `routeDestinations`
2404
+ # @return [Google::Apis::ClouddeployV1::RouteDestinations]
2405
+ attr_accessor :route_destinations
2406
+
2377
2407
  # Optional. The time to wait for route updates to propagate. The maximum
2378
2408
  # configurable time is 3 hours, in seconds format. If unspecified, there is no
2379
2409
  # wait time.
@@ -2402,6 +2432,7 @@ module Google
2402
2432
  @deployment = args[:deployment] if args.key?(:deployment)
2403
2433
  @http_route = args[:http_route] if args.key?(:http_route)
2404
2434
  @pod_selector_label = args[:pod_selector_label] if args.key?(:pod_selector_label)
2435
+ @route_destinations = args[:route_destinations] if args.key?(:route_destinations)
2405
2436
  @route_update_wait_time = args[:route_update_wait_time] if args.key?(:route_update_wait_time)
2406
2437
  @service = args[:service] if args.key?(:service)
2407
2438
  @stable_cutback_duration = args[:stable_cutback_duration] if args.key?(:stable_cutback_duration)
@@ -5171,6 +5202,38 @@ module Google
5171
5202
  end
5172
5203
  end
5173
5204
 
5205
+ # Information about route destinations for the Gateway API service mesh.
5206
+ class RouteDestinations
5207
+ include Google::Apis::Core::Hashable
5208
+
5209
+ # Required. The clusters where the Gateway API HTTPRoute resource will be
5210
+ # deployed to. Valid entries include the associated entities IDs configured in
5211
+ # the Target resource and "@self" to include the Target cluster.
5212
+ # Corresponds to the JSON property `destinationIds`
5213
+ # @return [Array<String>]
5214
+ attr_accessor :destination_ids
5215
+
5216
+ # Optional. Whether to propagate the Kubernetes Service to the route destination
5217
+ # clusters. The Service will always be deployed to the Target cluster even if
5218
+ # the HTTPRoute is not. This option may be used to facilitiate successful DNS
5219
+ # lookup in the route destination clusters. Can only be set to true if
5220
+ # destinations are specified.
5221
+ # Corresponds to the JSON property `propagateService`
5222
+ # @return [Boolean]
5223
+ attr_accessor :propagate_service
5224
+ alias_method :propagate_service?, :propagate_service
5225
+
5226
+ def initialize(**args)
5227
+ update!(**args)
5228
+ end
5229
+
5230
+ # Update properties of this object
5231
+ def update!(**args)
5232
+ @destination_ids = args[:destination_ids] if args.key?(:destination_ids)
5233
+ @propagate_service = args[:propagate_service] if args.key?(:propagate_service)
5234
+ end
5235
+ end
5236
+
5174
5237
  # RuntimeConfig contains the runtime specific configurations for a deployment
5175
5238
  # strategy.
5176
5239
  class RuntimeConfig
@@ -5678,6 +5741,18 @@ module Google
5678
5741
  # @return [Google::Apis::ClouddeployV1::AnthosCluster]
5679
5742
  attr_accessor :anthos_cluster
5680
5743
 
5744
+ # Optional. Map of entity IDs to their associated entities. Associated entities
5745
+ # allows specifying places other than the deployment target for specific
5746
+ # features. For example, the Gateway API canary can be configured to deploy the
5747
+ # HTTPRoute to a different cluster(s) than the deployment cluster using
5748
+ # associated entities. An entity ID must consist of lower-case letters, numbers,
5749
+ # and hyphens, start with a letter and end with a letter or a number, and have a
5750
+ # max length of 63 characters. In other words, it must match the following regex:
5751
+ # `^[a-z]([a-z0-9-]`0,61`[a-z0-9])?$`.
5752
+ # Corresponds to the JSON property `associatedEntities`
5753
+ # @return [Hash<String,Google::Apis::ClouddeployV1::AssociatedEntities>]
5754
+ attr_accessor :associated_entities
5755
+
5681
5756
  # Output only. Time at which the `Target` was created.
5682
5757
  # Corresponds to the JSON property `createTime`
5683
5758
  # @return [String]
@@ -5777,6 +5852,7 @@ module Google
5777
5852
  def update!(**args)
5778
5853
  @annotations = args[:annotations] if args.key?(:annotations)
5779
5854
  @anthos_cluster = args[:anthos_cluster] if args.key?(:anthos_cluster)
5855
+ @associated_entities = args[:associated_entities] if args.key?(:associated_entities)
5780
5856
  @create_time = args[:create_time] if args.key?(:create_time)
5781
5857
  @custom_target = args[:custom_target] if args.key?(:custom_target)
5782
5858
  @deploy_parameters = args[:deploy_parameters] if args.key?(:deploy_parameters)
@@ -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.52.0"
19
+ GEM_VERSION = "0.53.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241002"
25
+ REVISION = "20241010"
26
26
  end
27
27
  end
28
28
  end
@@ -88,6 +88,12 @@ module Google
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
+ class AssociatedEntities
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
91
97
  class AuditConfig
92
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
99
 
@@ -802,6 +808,12 @@ module Google
802
808
  include Google::Apis::Core::JsonObjectSupport
803
809
  end
804
810
 
811
+ class RouteDestinations
812
+ class Representation < Google::Apis::Core::JsonRepresentation; end
813
+
814
+ include Google::Apis::Core::JsonObjectSupport
815
+ end
816
+
805
817
  class RuntimeConfig
806
818
  class Representation < Google::Apis::Core::JsonRepresentation; end
807
819
 
@@ -1064,6 +1076,16 @@ module Google
1064
1076
  end
1065
1077
  end
1066
1078
 
1079
+ class AssociatedEntities
1080
+ # @private
1081
+ class Representation < Google::Apis::Core::JsonRepresentation
1082
+ collection :anthos_clusters, as: 'anthosClusters', class: Google::Apis::ClouddeployV1::AnthosCluster, decorator: Google::Apis::ClouddeployV1::AnthosCluster::Representation
1083
+
1084
+ collection :gke_clusters, as: 'gkeClusters', class: Google::Apis::ClouddeployV1::GkeCluster, decorator: Google::Apis::ClouddeployV1::GkeCluster::Representation
1085
+
1086
+ end
1087
+ end
1088
+
1067
1089
  class AuditConfig
1068
1090
  # @private
1069
1091
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1607,6 +1629,8 @@ module Google
1607
1629
  property :deployment, as: 'deployment'
1608
1630
  property :http_route, as: 'httpRoute'
1609
1631
  property :pod_selector_label, as: 'podSelectorLabel'
1632
+ property :route_destinations, as: 'routeDestinations', class: Google::Apis::ClouddeployV1::RouteDestinations, decorator: Google::Apis::ClouddeployV1::RouteDestinations::Representation
1633
+
1610
1634
  property :route_update_wait_time, as: 'routeUpdateWaitTime'
1611
1635
  property :service, as: 'service'
1612
1636
  property :stable_cutback_duration, as: 'stableCutbackDuration'
@@ -2351,6 +2375,14 @@ module Google
2351
2375
  end
2352
2376
  end
2353
2377
 
2378
+ class RouteDestinations
2379
+ # @private
2380
+ class Representation < Google::Apis::Core::JsonRepresentation
2381
+ collection :destination_ids, as: 'destinationIds'
2382
+ property :propagate_service, as: 'propagateService'
2383
+ end
2384
+ end
2385
+
2354
2386
  class RuntimeConfig
2355
2387
  # @private
2356
2388
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2496,6 +2528,8 @@ module Google
2496
2528
  hash :annotations, as: 'annotations'
2497
2529
  property :anthos_cluster, as: 'anthosCluster', class: Google::Apis::ClouddeployV1::AnthosCluster, decorator: Google::Apis::ClouddeployV1::AnthosCluster::Representation
2498
2530
 
2531
+ hash :associated_entities, as: 'associatedEntities', class: Google::Apis::ClouddeployV1::AssociatedEntities, decorator: Google::Apis::ClouddeployV1::AssociatedEntities::Representation
2532
+
2499
2533
  property :create_time, as: 'createTime'
2500
2534
  property :custom_target, as: 'customTarget', class: Google::Apis::ClouddeployV1::CustomTarget, decorator: Google::Apis::ClouddeployV1::CustomTarget::Representation
2501
2535
 
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.52.0
4
+ version: 0.53.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-10-13 00:00:00.000000000 Z
11
+ date: 2024-10-27 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.52.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-clouddeploy_v1/v0.53.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: []