google-apis-container_v1beta1 0.49.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: 109162e10a73cfafc9d26fa738efd58d7f4d8733bc7860ec1da35b190569d062
4
- data.tar.gz: 8f14de0dcee12504739f8b5908269ef087ad74bc2769bfbaa6e019c1e1e02df6
3
+ metadata.gz: a622a7036efda8c8e4dbf27ba76f737fb265844a19a74a7ba394bc1e2dd9e156
4
+ data.tar.gz: 6528546525b500df1fc306b84a733270fa4c39dc4e2833c8eac17a0ae4c6e402
5
5
  SHA512:
6
- metadata.gz: 0bcc23106f5d180047a64b472ba511e6b03a13ea3428d6549bfe0831a408a1e6b53c7123e5abffe23f0084054b979693b0f685789f1d9e87c920bfe62d422ff9
7
- data.tar.gz: 91adf24bcd148978af05360b16fb2340a4137ee091f56d0d185746f76401a445156bdcecf3362c497302173456695d4fb5b8f2477cdbaaefaf12c22f388ea379
6
+ metadata.gz: 1e9d5845a22dfe06b6a52bd1731d68b535027bfd80d4423adb9182bba1eb9efccfc0c094fd610a38e537a97dea03ef68709e9c7d9fab666fb21334bc2e8dd250
7
+ data.tar.gz: 3625881a7e9ccf3ab1fd46cb42075f12f930a60e43bdd3bc230fb9edda280b98eb4869c9817ff96e690a4feb60fcd1b0b077a7a7bb5315b8f255da22195b900d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.49.0 (2023-05-14)
4
8
 
5
9
  * Regenerated from discovery document revision 20230501
@@ -3717,6 +3717,39 @@ module Google
3717
3717
  end
3718
3718
  end
3719
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
+
3720
3753
  # Parameters that describe the nodes in a cluster. GKE Autopilot clusters do not
3721
3754
  # recognize parameters in `NodeConfig`. Use AutoprovisioningNodePoolDefaults
3722
3755
  # instead.
@@ -3928,6 +3961,12 @@ module Google
3928
3961
  # @return [Google::Apis::ContainerV1beta1::ShieldedInstanceConfig]
3929
3962
  attr_accessor :shielded_instance_config
3930
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
+
3931
3970
  # Spot flag for enabling Spot VM, which is a rebrand of the existing preemptible
3932
3971
  # flag.
3933
3972
  # Corresponds to the JSON property `spot`
@@ -3998,6 +4037,7 @@ module Google
3998
4037
  @sandbox_config = args[:sandbox_config] if args.key?(:sandbox_config)
3999
4038
  @service_account = args[:service_account] if args.key?(:service_account)
4000
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)
4001
4041
  @spot = args[:spot] if args.key?(:spot)
4002
4042
  @tags = args[:tags] if args.key?(:tags)
4003
4043
  @taints = args[:taints] if args.key?(:taints)
@@ -6136,6 +6176,26 @@ module Google
6136
6176
  end
6137
6177
  end
6138
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
+
6139
6199
  # Standard rollout policy is the default policy for blue-green.
6140
6200
  class StandardRolloutPolicy
6141
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.49.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 = "20230501"
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
 
@@ -2009,6 +2021,15 @@ module Google
2009
2021
  end
2010
2022
  end
2011
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
+
2012
2033
  class NodeConfig
2013
2034
  # @private
2014
2035
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2056,6 +2077,8 @@ module Google
2056
2077
  property :service_account, as: 'serviceAccount'
2057
2078
  property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::ContainerV1beta1::ShieldedInstanceConfig, decorator: Google::Apis::ContainerV1beta1::ShieldedInstanceConfig::Representation
2058
2079
 
2080
+ property :sole_tenant_config, as: 'soleTenantConfig', class: Google::Apis::ContainerV1beta1::SoleTenantConfig, decorator: Google::Apis::ContainerV1beta1::SoleTenantConfig::Representation
2081
+
2059
2082
  property :spot, as: 'spot'
2060
2083
  collection :tags, as: 'tags'
2061
2084
  collection :taints, as: 'taints', class: Google::Apis::ContainerV1beta1::NodeTaint, decorator: Google::Apis::ContainerV1beta1::NodeTaint::Representation
@@ -2592,6 +2615,14 @@ module Google
2592
2615
  end
2593
2616
  end
2594
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
+
2595
2626
  class StandardRolloutPolicy
2596
2627
  # @private
2597
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.49.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-05-14 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.49.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: []