google-apis-container_v1 0.49.0 → 0.51.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: 39c6906f9cf213cad5bf2496e4d4e3664d1df3c44dcc7c152db054181694207a
4
- data.tar.gz: 31b30fb58cf7abf03a7811d51a130bb0e8b815a182034ca3b2d9dd60ced38be5
3
+ metadata.gz: 359e950e23970efa7ecee1dc463a141e4d883b3093527c8d337957fb96213f83
4
+ data.tar.gz: 4eac933ba32a712436c606301fef44e7654416c7f28454015299d40a7f98d764
5
5
  SHA512:
6
- metadata.gz: 72ec0e16d5d8f4f52d3e218042414a4b165edc52a4d91d358ab68611b5daf02e51c5dbb839463f7a6c6b4d6cdb6e5fcbd50b73a823db0cde604ac5138bd9bf29
7
- data.tar.gz: b5e28431f5b10a07166b4111eff33b1556d643039f5b4d36792018f197703966f6e951393358534001e15f7f7dd138bd5cb95640152ce4d03c04f454ef8bac32
6
+ metadata.gz: 2bfe963ce1eee1bafdc623812914a696cbdb668c3e818de0915a0b7f2997b42414305900b924354dc73cec99484d8ec80b991d60a0a3768ead8329664c170da4
7
+ data.tar.gz: e4c04d4320758d3aedd6b9724a748776aa0d8dca4e226fcc4396c6293f57601c2a0c7f6829256a8322fa2a8b998e744496b3626c63df00f66901b9e176af0909
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-container_v1
2
2
 
3
+ ### v0.51.0 (2023-05-28)
4
+
5
+ * Regenerated from discovery document revision 20230515
6
+
7
+ ### v0.50.0 (2023-05-14)
8
+
9
+ * Regenerated from discovery document revision 20230501
10
+
3
11
  ### v0.49.0 (2023-04-23)
4
12
 
5
13
  * Regenerated from discovery document revision 20230404
@@ -1221,6 +1221,11 @@ module Google
1221
1221
  attr_accessor :desired_enable_private_endpoint
1222
1222
  alias_method :desired_enable_private_endpoint?, :desired_enable_private_endpoint
1223
1223
 
1224
+ # Fleet is the fleet configuration for the cluster.
1225
+ # Corresponds to the JSON property `desiredFleet`
1226
+ # @return [Google::Apis::ContainerV1::Fleet]
1227
+ attr_accessor :desired_fleet
1228
+
1224
1229
  # GatewayAPIConfig contains the desired config of Gateway API on this cluster.
1225
1230
  # Corresponds to the JSON property `desiredGatewayApiConfig`
1226
1231
  # @return [Google::Apis::ContainerV1::GatewayApiConfig]
@@ -1443,6 +1448,7 @@ module Google
1443
1448
  @desired_default_snat_status = args[:desired_default_snat_status] if args.key?(:desired_default_snat_status)
1444
1449
  @desired_dns_config = args[:desired_dns_config] if args.key?(:desired_dns_config)
1445
1450
  @desired_enable_private_endpoint = args[:desired_enable_private_endpoint] if args.key?(:desired_enable_private_endpoint)
1451
+ @desired_fleet = args[:desired_fleet] if args.key?(:desired_fleet)
1446
1452
  @desired_gateway_api_config = args[:desired_gateway_api_config] if args.key?(:desired_gateway_api_config)
1447
1453
  @desired_gcfs_config = args[:desired_gcfs_config] if args.key?(:desired_gcfs_config)
1448
1454
  @desired_identity_service_config = args[:desired_identity_service_config] if args.key?(:desired_identity_service_config)
@@ -3300,6 +3306,39 @@ module Google
3300
3306
  end
3301
3307
  end
3302
3308
 
3309
+ # Specifies the NodeAffinity key, values, and affinity operator according to [
3310
+ # shared sole tenant node group affinities](https://cloud.google.com/compute/
3311
+ # docs/nodes/sole-tenant-nodes#node_affinity_and_anti-affinity).
3312
+ class NodeAffinity
3313
+ include Google::Apis::Core::Hashable
3314
+
3315
+ # Key for NodeAffinity.
3316
+ # Corresponds to the JSON property `key`
3317
+ # @return [String]
3318
+ attr_accessor :key
3319
+
3320
+ # Operator for NodeAffinity.
3321
+ # Corresponds to the JSON property `operator`
3322
+ # @return [String]
3323
+ attr_accessor :operator
3324
+
3325
+ # Values for NodeAffinity.
3326
+ # Corresponds to the JSON property `values`
3327
+ # @return [Array<String>]
3328
+ attr_accessor :values
3329
+
3330
+ def initialize(**args)
3331
+ update!(**args)
3332
+ end
3333
+
3334
+ # Update properties of this object
3335
+ def update!(**args)
3336
+ @key = args[:key] if args.key?(:key)
3337
+ @operator = args[:operator] if args.key?(:operator)
3338
+ @values = args[:values] if args.key?(:values)
3339
+ end
3340
+ end
3341
+
3303
3342
  # Parameters that describe the nodes in a cluster. GKE Autopilot clusters do not
3304
3343
  # recognize parameters in `NodeConfig`. Use AutoprovisioningNodePoolDefaults
3305
3344
  # instead.
@@ -3506,6 +3545,12 @@ module Google
3506
3545
  # @return [Google::Apis::ContainerV1::ShieldedInstanceConfig]
3507
3546
  attr_accessor :shielded_instance_config
3508
3547
 
3548
+ # SoleTenantConfig contains the NodeAffinities to specify what shared sole
3549
+ # tenant node groups should back the node pool.
3550
+ # Corresponds to the JSON property `soleTenantConfig`
3551
+ # @return [Google::Apis::ContainerV1::SoleTenantConfig]
3552
+ attr_accessor :sole_tenant_config
3553
+
3509
3554
  # Spot flag for enabling Spot VM, which is a rebrand of the existing preemptible
3510
3555
  # flag.
3511
3556
  # Corresponds to the JSON property `spot`
@@ -3575,6 +3620,7 @@ module Google
3575
3620
  @sandbox_config = args[:sandbox_config] if args.key?(:sandbox_config)
3576
3621
  @service_account = args[:service_account] if args.key?(:service_account)
3577
3622
  @shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
3623
+ @sole_tenant_config = args[:sole_tenant_config] if args.key?(:sole_tenant_config)
3578
3624
  @spot = args[:spot] if args.key?(:spot)
3579
3625
  @tags = args[:tags] if args.key?(:tags)
3580
3626
  @taints = args[:taints] if args.key?(:taints)
@@ -4259,10 +4305,10 @@ module Google
4259
4305
  # Server-defined URI for the target of the operation. The format of this is a
4260
4306
  # URI to the resource being modified (such as a cluster, node pool, or node).
4261
4307
  # For node pool repairs, there may be multiple nodes being repaired, but only
4262
- # one will be the target. Examples: - `https://container.googleapis.com/v1/
4263
- # projects/123/locations/us-central1/clusters/my-cluster` - `https://container.
4308
+ # one will be the target. Examples: - ## `https://container.googleapis.com/v1/
4309
+ # projects/123/locations/us-central1/clusters/my-cluster` ## `https://container.
4264
4310
  # googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/
4265
- # nodePools/my-np` - `https://container.googleapis.com/v1/projects/123/zones/us-
4311
+ # nodePools/my-np` `https://container.googleapis.com/v1/projects/123/zones/us-
4266
4312
  # central1-c/clusters/my-cluster/nodePools/my-np/node/my-node`
4267
4313
  # Corresponds to the JSON property `targetLink`
4268
4314
  # @return [String]
@@ -5652,6 +5698,26 @@ module Google
5652
5698
  end
5653
5699
  end
5654
5700
 
5701
+ # SoleTenantConfig contains the NodeAffinities to specify what shared sole
5702
+ # tenant node groups should back the node pool.
5703
+ class SoleTenantConfig
5704
+ include Google::Apis::Core::Hashable
5705
+
5706
+ # NodeAffinities used to match to a shared sole tenant node group.
5707
+ # Corresponds to the JSON property `nodeAffinities`
5708
+ # @return [Array<Google::Apis::ContainerV1::NodeAffinity>]
5709
+ attr_accessor :node_affinities
5710
+
5711
+ def initialize(**args)
5712
+ update!(**args)
5713
+ end
5714
+
5715
+ # Update properties of this object
5716
+ def update!(**args)
5717
+ @node_affinities = args[:node_affinities] if args.key?(:node_affinities)
5718
+ end
5719
+ end
5720
+
5655
5721
  # Standard rollout policy is the default policy for blue-green.
5656
5722
  class StandardRolloutPolicy
5657
5723
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContainerV1
18
18
  # Version of the google-apis-container_v1 gem
19
- GEM_VERSION = "0.49.0"
19
+ GEM_VERSION = "0.51.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230404"
25
+ REVISION = "20230515"
26
26
  end
27
27
  end
28
28
  end
@@ -502,6 +502,12 @@ module Google
502
502
  include Google::Apis::Core::JsonObjectSupport
503
503
  end
504
504
 
505
+ class NodeAffinity
506
+ class Representation < Google::Apis::Core::JsonRepresentation; end
507
+
508
+ include Google::Apis::Core::JsonObjectSupport
509
+ end
510
+
505
511
  class NodeConfig
506
512
  class Representation < Google::Apis::Core::JsonRepresentation; end
507
513
 
@@ -784,6 +790,12 @@ module Google
784
790
  include Google::Apis::Core::JsonObjectSupport
785
791
  end
786
792
 
793
+ class SoleTenantConfig
794
+ class Representation < Google::Apis::Core::JsonRepresentation; end
795
+
796
+ include Google::Apis::Core::JsonObjectSupport
797
+ end
798
+
787
799
  class StandardRolloutPolicy
788
800
  class Representation < Google::Apis::Core::JsonRepresentation; end
789
801
 
@@ -1198,6 +1210,8 @@ module Google
1198
1210
  property :desired_dns_config, as: 'desiredDnsConfig', class: Google::Apis::ContainerV1::DnsConfig, decorator: Google::Apis::ContainerV1::DnsConfig::Representation
1199
1211
 
1200
1212
  property :desired_enable_private_endpoint, as: 'desiredEnablePrivateEndpoint'
1213
+ property :desired_fleet, as: 'desiredFleet', class: Google::Apis::ContainerV1::Fleet, decorator: Google::Apis::ContainerV1::Fleet::Representation
1214
+
1201
1215
  property :desired_gateway_api_config, as: 'desiredGatewayApiConfig', class: Google::Apis::ContainerV1::GatewayApiConfig, decorator: Google::Apis::ContainerV1::GatewayApiConfig::Representation
1202
1216
 
1203
1217
  property :desired_gcfs_config, as: 'desiredGcfsConfig', class: Google::Apis::ContainerV1::GcfsConfig, decorator: Google::Apis::ContainerV1::GcfsConfig::Representation
@@ -1783,6 +1797,15 @@ module Google
1783
1797
  end
1784
1798
  end
1785
1799
 
1800
+ class NodeAffinity
1801
+ # @private
1802
+ class Representation < Google::Apis::Core::JsonRepresentation
1803
+ property :key, as: 'key'
1804
+ property :operator, as: 'operator'
1805
+ collection :values, as: 'values'
1806
+ end
1807
+ end
1808
+
1786
1809
  class NodeConfig
1787
1810
  # @private
1788
1811
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1828,6 +1851,8 @@ module Google
1828
1851
  property :service_account, as: 'serviceAccount'
1829
1852
  property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::ContainerV1::ShieldedInstanceConfig, decorator: Google::Apis::ContainerV1::ShieldedInstanceConfig::Representation
1830
1853
 
1854
+ property :sole_tenant_config, as: 'soleTenantConfig', class: Google::Apis::ContainerV1::SoleTenantConfig, decorator: Google::Apis::ContainerV1::SoleTenantConfig::Representation
1855
+
1831
1856
  property :spot, as: 'spot'
1832
1857
  collection :tags, as: 'tags'
1833
1858
  collection :taints, as: 'taints', class: Google::Apis::ContainerV1::NodeTaint, decorator: Google::Apis::ContainerV1::NodeTaint::Representation
@@ -2343,6 +2368,14 @@ module Google
2343
2368
  end
2344
2369
  end
2345
2370
 
2371
+ class SoleTenantConfig
2372
+ # @private
2373
+ class Representation < Google::Apis::Core::JsonRepresentation
2374
+ collection :node_affinities, as: 'nodeAffinities', class: Google::Apis::ContainerV1::NodeAffinity, decorator: Google::Apis::ContainerV1::NodeAffinity::Representation
2375
+
2376
+ end
2377
+ end
2378
+
2346
2379
  class StandardRolloutPolicy
2347
2380
  # @private
2348
2381
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-container_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.49.0
4
+ version: 0.51.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-04-23 00:00:00.000000000 Z
11
+ date: 2023-05-28 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-container_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.49.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.51.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1
63
63
  post_install_message:
64
64
  rdoc_options: []