google-apis-container_v1beta1 0.48.0 → 0.50.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: '085f35ebb2bf9f15abcef098f446907126522e25da829de9eab6360ca9124552'
4
- data.tar.gz: 89cf39481a69eac413c173a910ae29c259e8fcabe21a5beccef726809c5a83b8
3
+ metadata.gz: a622a7036efda8c8e4dbf27ba76f737fb265844a19a74a7ba394bc1e2dd9e156
4
+ data.tar.gz: 6528546525b500df1fc306b84a733270fa4c39dc4e2833c8eac17a0ae4c6e402
5
5
  SHA512:
6
- metadata.gz: c1918ab69c9b70e265ea0958bf6580953da50d9728a3d3ae719d681595ed2b599ebc05794df2bfeebd00b4703876ad955c98af8c5a34e429fbc6011c66f78417
7
- data.tar.gz: 96e632de15fc5df934836fccc6a0ec1093db8fa1862c5f546f1732e504cb9456a7322af96c5b5b6d0b8e44394d662eb5df846393bbe3a8d86ad06ab4a38963c5
6
+ metadata.gz: 1e9d5845a22dfe06b6a52bd1731d68b535027bfd80d4423adb9182bba1eb9efccfc0c094fd610a38e537a97dea03ef68709e9c7d9fab666fb21334bc2e8dd250
7
+ data.tar.gz: 3625881a7e9ccf3ab1fd46cb42075f12f930a60e43bdd3bc230fb9edda280b98eb4869c9817ff96e690a4feb60fcd1b0b077a7a7bb5315b8f255da22195b900d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-container_v1beta1
2
2
 
3
+ ### v0.50.0 (2023-05-28)
4
+
5
+ * Regenerated from discovery document revision 20230515
6
+
7
+ ### v0.49.0 (2023-05-14)
8
+
9
+ * Regenerated from discovery document revision 20230501
10
+
3
11
  ### v0.48.0 (2023-04-30)
4
12
 
5
13
  * Regenerated from discovery document revision 20230406
@@ -1355,6 +1355,11 @@ module Google
1355
1355
  attr_accessor :desired_enable_private_endpoint
1356
1356
  alias_method :desired_enable_private_endpoint?, :desired_enable_private_endpoint
1357
1357
 
1358
+ # Fleet is the fleet configuration for the cluster.
1359
+ # Corresponds to the JSON property `desiredFleet`
1360
+ # @return [Google::Apis::ContainerV1beta1::Fleet]
1361
+ attr_accessor :desired_fleet
1362
+
1358
1363
  # GatewayAPIConfig contains the desired config of Gateway API on this cluster.
1359
1364
  # Corresponds to the JSON property `desiredGatewayApiConfig`
1360
1365
  # @return [Google::Apis::ContainerV1beta1::GatewayApiConfig]
@@ -1610,6 +1615,7 @@ module Google
1610
1615
  @desired_default_snat_status = args[:desired_default_snat_status] if args.key?(:desired_default_snat_status)
1611
1616
  @desired_dns_config = args[:desired_dns_config] if args.key?(:desired_dns_config)
1612
1617
  @desired_enable_private_endpoint = args[:desired_enable_private_endpoint] if args.key?(:desired_enable_private_endpoint)
1618
+ @desired_fleet = args[:desired_fleet] if args.key?(:desired_fleet)
1613
1619
  @desired_gateway_api_config = args[:desired_gateway_api_config] if args.key?(:desired_gateway_api_config)
1614
1620
  @desired_gcfs_config = args[:desired_gcfs_config] if args.key?(:desired_gcfs_config)
1615
1621
  @desired_identity_service_config = args[:desired_identity_service_config] if args.key?(:desired_identity_service_config)
@@ -3711,6 +3717,39 @@ module Google
3711
3717
  end
3712
3718
  end
3713
3719
 
3720
+ # Specifies the NodeAffinity key, values, and affinity operator according to [
3721
+ # shared sole tenant node group affinities](https://cloud.google.com/compute/
3722
+ # docs/nodes/sole-tenant-nodes#node_affinity_and_anti-affinity).
3723
+ class NodeAffinity
3724
+ include Google::Apis::Core::Hashable
3725
+
3726
+ # Key for NodeAffinity.
3727
+ # Corresponds to the JSON property `key`
3728
+ # @return [String]
3729
+ attr_accessor :key
3730
+
3731
+ # Operator for NodeAffinity.
3732
+ # Corresponds to the JSON property `operator`
3733
+ # @return [String]
3734
+ attr_accessor :operator
3735
+
3736
+ # Values for NodeAffinity.
3737
+ # Corresponds to the JSON property `values`
3738
+ # @return [Array<String>]
3739
+ attr_accessor :values
3740
+
3741
+ def initialize(**args)
3742
+ update!(**args)
3743
+ end
3744
+
3745
+ # Update properties of this object
3746
+ def update!(**args)
3747
+ @key = args[:key] if args.key?(:key)
3748
+ @operator = args[:operator] if args.key?(:operator)
3749
+ @values = args[:values] if args.key?(:values)
3750
+ end
3751
+ end
3752
+
3714
3753
  # Parameters that describe the nodes in a cluster. GKE Autopilot clusters do not
3715
3754
  # recognize parameters in `NodeConfig`. Use AutoprovisioningNodePoolDefaults
3716
3755
  # instead.
@@ -3922,6 +3961,12 @@ module Google
3922
3961
  # @return [Google::Apis::ContainerV1beta1::ShieldedInstanceConfig]
3923
3962
  attr_accessor :shielded_instance_config
3924
3963
 
3964
+ # SoleTenantConfig contains the NodeAffinities to specify what shared sole
3965
+ # tenant node groups should back the node pool.
3966
+ # Corresponds to the JSON property `soleTenantConfig`
3967
+ # @return [Google::Apis::ContainerV1beta1::SoleTenantConfig]
3968
+ attr_accessor :sole_tenant_config
3969
+
3925
3970
  # Spot flag for enabling Spot VM, which is a rebrand of the existing preemptible
3926
3971
  # flag.
3927
3972
  # Corresponds to the JSON property `spot`
@@ -3992,6 +4037,7 @@ module Google
3992
4037
  @sandbox_config = args[:sandbox_config] if args.key?(:sandbox_config)
3993
4038
  @service_account = args[:service_account] if args.key?(:service_account)
3994
4039
  @shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
4040
+ @sole_tenant_config = args[:sole_tenant_config] if args.key?(:sole_tenant_config)
3995
4041
  @spot = args[:spot] if args.key?(:spot)
3996
4042
  @tags = args[:tags] if args.key?(:tags)
3997
4043
  @taints = args[:taints] if args.key?(:taints)
@@ -4670,11 +4716,11 @@ module Google
4670
4716
  # Server-defined URI for the target of the operation. The format of this is a
4671
4717
  # URI to the resource being modified (such as a cluster, node pool, or node).
4672
4718
  # For node pool repairs, there may be multiple nodes being repaired, but only
4673
- # one will be the target. Examples: - `https://container.googleapis.com/v1beta1/
4674
- # projects/123/locations/us-central1/clusters/my-cluster` - `https://container.
4675
- # googleapis.com/v1beta1/projects/123/zones/us-central1-c/clusters/my-cluster/
4676
- # nodePools/my-np` - `https://container.googleapis.com/v1beta1/projects/123/
4677
- # zones/us-central1-c/clusters/my-cluster/nodePools/my-np/node/my-node`
4719
+ # one will be the target. Examples: - ## `https://container.googleapis.com/v1/
4720
+ # projects/123/locations/us-central1/clusters/my-cluster` ## `https://container.
4721
+ # googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/
4722
+ # nodePools/my-np` `https://container.googleapis.com/v1/projects/123/zones/us-
4723
+ # central1-c/clusters/my-cluster/nodePools/my-np/node/my-node`
4678
4724
  # Corresponds to the JSON property `targetLink`
4679
4725
  # @return [String]
4680
4726
  attr_accessor :target_link
@@ -6130,6 +6176,26 @@ module Google
6130
6176
  end
6131
6177
  end
6132
6178
 
6179
+ # SoleTenantConfig contains the NodeAffinities to specify what shared sole
6180
+ # tenant node groups should back the node pool.
6181
+ class SoleTenantConfig
6182
+ include Google::Apis::Core::Hashable
6183
+
6184
+ # NodeAffinities used to match to a shared sole tenant node group.
6185
+ # Corresponds to the JSON property `nodeAffinities`
6186
+ # @return [Array<Google::Apis::ContainerV1beta1::NodeAffinity>]
6187
+ attr_accessor :node_affinities
6188
+
6189
+ def initialize(**args)
6190
+ update!(**args)
6191
+ end
6192
+
6193
+ # Update properties of this object
6194
+ def update!(**args)
6195
+ @node_affinities = args[:node_affinities] if args.key?(:node_affinities)
6196
+ end
6197
+ end
6198
+
6133
6199
  # Standard rollout policy is the default policy for blue-green.
6134
6200
  class StandardRolloutPolicy
6135
6201
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContainerV1beta1
18
18
  # Version of the google-apis-container_v1beta1 gem
19
- GEM_VERSION = "0.48.0"
19
+ GEM_VERSION = "0.50.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 = "20230406"
25
+ REVISION = "20230515"
26
26
  end
27
27
  end
28
28
  end
@@ -562,6 +562,12 @@ module Google
562
562
  include Google::Apis::Core::JsonObjectSupport
563
563
  end
564
564
 
565
+ class NodeAffinity
566
+ class Representation < Google::Apis::Core::JsonRepresentation; end
567
+
568
+ include Google::Apis::Core::JsonObjectSupport
569
+ end
570
+
565
571
  class NodeConfig
566
572
  class Representation < Google::Apis::Core::JsonRepresentation; end
567
573
 
@@ -856,6 +862,12 @@ module Google
856
862
  include Google::Apis::Core::JsonObjectSupport
857
863
  end
858
864
 
865
+ class SoleTenantConfig
866
+ class Representation < Google::Apis::Core::JsonRepresentation; end
867
+
868
+ include Google::Apis::Core::JsonObjectSupport
869
+ end
870
+
859
871
  class StandardRolloutPolicy
860
872
  class Representation < Google::Apis::Core::JsonRepresentation; end
861
873
 
@@ -1346,6 +1358,8 @@ module Google
1346
1358
  property :desired_dns_config, as: 'desiredDnsConfig', class: Google::Apis::ContainerV1beta1::DnsConfig, decorator: Google::Apis::ContainerV1beta1::DnsConfig::Representation
1347
1359
 
1348
1360
  property :desired_enable_private_endpoint, as: 'desiredEnablePrivateEndpoint'
1361
+ property :desired_fleet, as: 'desiredFleet', class: Google::Apis::ContainerV1beta1::Fleet, decorator: Google::Apis::ContainerV1beta1::Fleet::Representation
1362
+
1349
1363
  property :desired_gateway_api_config, as: 'desiredGatewayApiConfig', class: Google::Apis::ContainerV1beta1::GatewayApiConfig, decorator: Google::Apis::ContainerV1beta1::GatewayApiConfig::Representation
1350
1364
 
1351
1365
  property :desired_gcfs_config, as: 'desiredGcfsConfig', class: Google::Apis::ContainerV1beta1::GcfsConfig, decorator: Google::Apis::ContainerV1beta1::GcfsConfig::Representation
@@ -2007,6 +2021,15 @@ module Google
2007
2021
  end
2008
2022
  end
2009
2023
 
2024
+ class NodeAffinity
2025
+ # @private
2026
+ class Representation < Google::Apis::Core::JsonRepresentation
2027
+ property :key, as: 'key'
2028
+ property :operator, as: 'operator'
2029
+ collection :values, as: 'values'
2030
+ end
2031
+ end
2032
+
2010
2033
  class NodeConfig
2011
2034
  # @private
2012
2035
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2054,6 +2077,8 @@ module Google
2054
2077
  property :service_account, as: 'serviceAccount'
2055
2078
  property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::ContainerV1beta1::ShieldedInstanceConfig, decorator: Google::Apis::ContainerV1beta1::ShieldedInstanceConfig::Representation
2056
2079
 
2080
+ property :sole_tenant_config, as: 'soleTenantConfig', class: Google::Apis::ContainerV1beta1::SoleTenantConfig, decorator: Google::Apis::ContainerV1beta1::SoleTenantConfig::Representation
2081
+
2057
2082
  property :spot, as: 'spot'
2058
2083
  collection :tags, as: 'tags'
2059
2084
  collection :taints, as: 'taints', class: Google::Apis::ContainerV1beta1::NodeTaint, decorator: Google::Apis::ContainerV1beta1::NodeTaint::Representation
@@ -2590,6 +2615,14 @@ module Google
2590
2615
  end
2591
2616
  end
2592
2617
 
2618
+ class SoleTenantConfig
2619
+ # @private
2620
+ class Representation < Google::Apis::Core::JsonRepresentation
2621
+ collection :node_affinities, as: 'nodeAffinities', class: Google::Apis::ContainerV1beta1::NodeAffinity, decorator: Google::Apis::ContainerV1beta1::NodeAffinity::Representation
2622
+
2623
+ end
2624
+ end
2625
+
2593
2626
  class StandardRolloutPolicy
2594
2627
  # @private
2595
2628
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-container_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.48.0
4
+ version: 0.50.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-30 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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1beta1/v0.48.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1beta1/v0.50.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []