google-cloud-container-v1beta1 0.15.0 → 0.16.1

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: bb26944a983a98942654e0d01c33bfc57b9cd6915bc918540cd247d1bf05471a
4
- data.tar.gz: fbf4707615587ad225a150dd4aa043f2880da93216960624766c2b8e1a0ed61c
3
+ metadata.gz: 44f83c4af9fbaf48143a1b2bc90e47a352efb5ba19639c47eef0d36f91bd2e43
4
+ data.tar.gz: fa389f4812ca97a534a877b071ed4da5fdbdded7b539fd00df4d10c06c09f6e8
5
5
  SHA512:
6
- metadata.gz: da7e351282715777b544ab8f24de1a310b2174e507520ad27eb78d3a1994321d3fa172c0f8f529fc3dee0e8b4e7c354af54ed06a9e45474bcf72b36ee29a98ac
7
- data.tar.gz: '09d26a3e69bc8a2a214402188ffc8571fac3db70f85eb82de87d66457df321c98a4ed2b0e81306a01ae09f7e21a5a4c7ff101adebedce69e4da9ab17d83942ab'
6
+ metadata.gz: f1b9f34953139e108b4724dcdcf437a1e8f336e3b29470490028aba63e956efdae086d23c28f39d870ac487c0964709112a7e01ac35af734fd43384c70ec8266
7
+ data.tar.gz: 9ec2557208f1fcd9b3e379a1fabcbf8d21e2a6dcba891fe3fbe9617c99e2fdc9d1f3b58c72e39abf9425ae2d55eb4c3254fa1828a5fc8fbcbaf8cc2d53504812
@@ -660,7 +660,7 @@ module Google
660
660
  # @param options [::Gapic::CallOptions, ::Hash]
661
661
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
662
662
  #
663
- # @overload update_node_pool(project_id: nil, zone: nil, cluster_id: nil, node_pool_id: nil, node_version: nil, image_type: nil, locations: nil, workload_metadata_config: nil, name: nil, upgrade_settings: nil, tags: nil, taints: nil, labels: nil, linux_node_config: nil, kubelet_config: nil, node_network_config: nil, gcfs_config: nil, confidential_nodes: nil, gvnic: nil, fast_socket: nil, logging_config: nil, resource_labels: nil, windows_node_config: nil)
663
+ # @overload update_node_pool(project_id: nil, zone: nil, cluster_id: nil, node_pool_id: nil, node_version: nil, image_type: nil, locations: nil, workload_metadata_config: nil, name: nil, upgrade_settings: nil, tags: nil, taints: nil, labels: nil, linux_node_config: nil, kubelet_config: nil, node_network_config: nil, gcfs_config: nil, confidential_nodes: nil, gvnic: nil, etag: nil, fast_socket: nil, logging_config: nil, resource_labels: nil, windows_node_config: nil)
664
664
  # Pass arguments to `update_node_pool` via keyword arguments. Note that at
665
665
  # least one keyword argument is required. To specify no parameters, or to keep all
666
666
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -693,7 +693,9 @@ module Google
693
693
  # - "1.X.Y-gke.N": picks an explicit Kubernetes version
694
694
  # - "-": picks the Kubernetes master version
695
695
  # @param image_type [::String]
696
- # Required. The desired image type for the node pool.
696
+ # Required. The desired image type for the node pool. Please see
697
+ # https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
698
+ # available image types.
697
699
  # @param locations [::Array<::String>]
698
700
  # The desired list of Google Compute Engine
699
701
  # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -733,6 +735,10 @@ module Google
733
735
  # All the nodes in the node pool will be Confidential VM once enabled.
734
736
  # @param gvnic [::Google::Cloud::Container::V1beta1::VirtualNIC, ::Hash]
735
737
  # Enable or disable gvnic on the node pool.
738
+ # @param etag [::String]
739
+ # The current etag of the node pool.
740
+ # If an etag is provided and does not match the current etag of the node
741
+ # pool, update will be blocked and an ABORTED error will be returned.
736
742
  # @param fast_socket [::Google::Cloud::Container::V1beta1::FastSocket, ::Hash]
737
743
  # Enable or disable NCCL fast socket for the node pool.
738
744
  # @param logging_config [::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig, ::Hash]
@@ -1162,8 +1168,8 @@ module Google
1162
1168
  # Required. Deprecated. The name of the cluster to upgrade.
1163
1169
  # This field has been deprecated and replaced by the name field.
1164
1170
  # @param addons_config [::Google::Cloud::Container::V1beta1::AddonsConfig, ::Hash]
1165
- # Required. The desired configurations for the various addons available to run in the
1166
- # cluster.
1171
+ # Required. The desired configurations for the various addons available to
1172
+ # run in the cluster.
1167
1173
  # @param name [::String]
1168
1174
  # The name (project, location, cluster) of the cluster to set addons.
1169
1175
  # Specified in the format `projects/*/locations/*/clusters/*`.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Container
23
23
  module V1beta1
24
- VERSION = "0.15.0"
24
+ VERSION = "0.16.1"
25
25
  end
26
26
  end
27
27
  end
@@ -384,6 +384,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
384
384
  optional :monitoring_config, :message, 133, "google.container.v1beta1.MonitoringConfig"
385
385
  optional :node_pool_auto_config, :message, 136, "google.container.v1beta1.NodePoolAutoConfig"
386
386
  proto3_optional :protect_config, :message, 137, "google.container.v1beta1.ProtectConfig"
387
+ optional :etag, :string, 139
387
388
  end
388
389
  add_enum "google.container.v1beta1.Cluster.Status" do
389
390
  value :STATUS_UNSPECIFIED, 0
@@ -468,6 +469,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
468
469
  optional :desired_node_pool_auto_config_network_tags, :message, 110, "google.container.v1beta1.NetworkTags"
469
470
  proto3_optional :desired_protect_config, :message, 112, "google.container.v1beta1.ProtectConfig"
470
471
  optional :desired_gateway_api_config, :message, 114, "google.container.v1beta1.GatewayAPIConfig"
472
+ optional :etag, :string, 115
471
473
  optional :desired_node_pool_logging_config, :message, 116, "google.container.v1beta1.NodePoolLoggingConfig"
472
474
  optional :desired_stack_type, :enum, 119, "google.container.v1beta1.StackType"
473
475
  end
@@ -567,6 +569,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
567
569
  optional :gcfs_config, :message, 22, "google.container.v1beta1.GcfsConfig"
568
570
  optional :confidential_nodes, :message, 23, "google.container.v1beta1.ConfidentialNodes"
569
571
  optional :gvnic, :message, 29, "google.container.v1beta1.VirtualNIC"
572
+ optional :etag, :string, 30
570
573
  optional :fast_socket, :message, 31, "google.container.v1beta1.FastSocket"
571
574
  optional :logging_config, :message, 32, "google.container.v1beta1.NodePoolLoggingConfig"
572
575
  optional :resource_labels, :message, 33, "google.container.v1beta1.ResourceLabels"
@@ -756,6 +759,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
756
759
  optional :upgrade_settings, :message, 107, "google.container.v1beta1.NodePool.UpgradeSettings"
757
760
  optional :placement_policy, :message, 108, "google.container.v1beta1.NodePool.PlacementPolicy"
758
761
  optional :update_info, :message, 109, "google.container.v1beta1.NodePool.UpdateInfo"
762
+ optional :etag, :string, 110
759
763
  end
760
764
  add_message "google.container.v1beta1.NodePool.UpgradeSettings" do
761
765
  optional :max_surge, :int32, 1
@@ -218,7 +218,9 @@ module Google
218
218
  # @!attribute [rw] image_type
219
219
  # @return [::String]
220
220
  # The image type to use for this node. Note that for a given image type,
221
- # the latest version of it will be used.
221
+ # the latest version of it will be used. Please see
222
+ # https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
223
+ # available image types.
222
224
  # @!attribute [rw] labels
223
225
  # @return [::Google::Protobuf::Map{::String => ::String}]
224
226
  # The map of Kubernetes labels (key/value pairs) to be applied to each node.
@@ -1201,7 +1203,8 @@ module Google
1201
1203
  # The ipv6 access type (internal or external) when create_subnetwork is true
1202
1204
  # @!attribute [r] subnet_ipv6_cidr_block
1203
1205
  # @return [::String]
1204
- # Output only. [Output only] The subnet's IPv6 CIDR block used by nodes and pods.
1206
+ # Output only. [Output only] The subnet's IPv6 CIDR block used by nodes and
1207
+ # pods.
1205
1208
  # @!attribute [r] services_ipv6_cidr_block
1206
1209
  # @return [::String]
1207
1210
  # Output only. [Output only] The services IPv6 CIDR block for the cluster.
@@ -1661,6 +1664,11 @@ module Google
1661
1664
  # @!attribute [rw] protect_config
1662
1665
  # @return [::Google::Cloud::Container::V1beta1::ProtectConfig]
1663
1666
  # Enable/Disable Protect API features for the cluster.
1667
+ # @!attribute [rw] etag
1668
+ # @return [::String]
1669
+ # This checksum is computed by the server based on the value of cluster
1670
+ # fields, and may be sent on update requests to ensure the client has an
1671
+ # up-to-date value before proceeding.
1664
1672
  class Cluster
1665
1673
  include ::Google::Protobuf::MessageExts
1666
1674
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1989,6 +1997,11 @@ module Google
1989
1997
  # @!attribute [rw] desired_gateway_api_config
1990
1998
  # @return [::Google::Cloud::Container::V1beta1::GatewayAPIConfig]
1991
1999
  # The desired config of Gateway API on this cluster.
2000
+ # @!attribute [rw] etag
2001
+ # @return [::String]
2002
+ # The current etag of the cluster.
2003
+ # If an etag is provided and does not match the current etag of the cluster,
2004
+ # update will be blocked and an ABORTED error will be returned.
1992
2005
  # @!attribute [rw] desired_node_pool_logging_config
1993
2006
  # @return [::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig]
1994
2007
  # The desired node pool logging configuration defaults for the cluster.
@@ -2293,7 +2306,9 @@ module Google
2293
2306
  # - "-": picks the Kubernetes master version
2294
2307
  # @!attribute [rw] image_type
2295
2308
  # @return [::String]
2296
- # Required. The desired image type for the node pool.
2309
+ # Required. The desired image type for the node pool. Please see
2310
+ # https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
2311
+ # available image types.
2297
2312
  # @!attribute [rw] locations
2298
2313
  # @return [::Array<::String>]
2299
2314
  # The desired list of Google Compute Engine
@@ -2346,6 +2361,11 @@ module Google
2346
2361
  # @!attribute [rw] gvnic
2347
2362
  # @return [::Google::Cloud::Container::V1beta1::VirtualNIC]
2348
2363
  # Enable or disable gvnic on the node pool.
2364
+ # @!attribute [rw] etag
2365
+ # @return [::String]
2366
+ # The current etag of the node pool.
2367
+ # If an etag is provided and does not match the current etag of the node
2368
+ # pool, update will be blocked and an ABORTED error will be returned.
2349
2369
  # @!attribute [rw] fast_socket
2350
2370
  # @return [::Google::Cloud::Container::V1beta1::FastSocket]
2351
2371
  # Enable or disable NCCL fast socket for the node pool.
@@ -2491,8 +2511,8 @@ module Google
2491
2511
  # This field has been deprecated and replaced by the name field.
2492
2512
  # @!attribute [rw] addons_config
2493
2513
  # @return [::Google::Cloud::Container::V1beta1::AddonsConfig]
2494
- # Required. The desired configurations for the various addons available to run in the
2495
- # cluster.
2514
+ # Required. The desired configurations for the various addons available to
2515
+ # run in the cluster.
2496
2516
  # @!attribute [rw] name
2497
2517
  # @return [::String]
2498
2518
  # The name (project, location, cluster) of the cluster to set addons.
@@ -3127,8 +3147,13 @@ module Google
3127
3147
  # Specifies the node placement policy.
3128
3148
  # @!attribute [r] update_info
3129
3149
  # @return [::Google::Cloud::Container::V1beta1::NodePool::UpdateInfo]
3130
- # Output only. [Output only] Update info contains relevant information during a node
3131
- # pool update.
3150
+ # Output only. [Output only] Update info contains relevant information during
3151
+ # a node pool update.
3152
+ # @!attribute [rw] etag
3153
+ # @return [::String]
3154
+ # This checksum is computed by the server based on the value of node pool
3155
+ # fields, and may be sent on update requests to ensure the client has an
3156
+ # up-to-date value before proceeding.
3132
3157
  class NodePool
3133
3158
  include ::Google::Protobuf::MessageExts
3134
3159
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -3699,7 +3724,9 @@ module Google
3699
3724
  # https://cloud.google.com/compute/docs/disks/customer-managed-encryption
3700
3725
  # @!attribute [rw] image_type
3701
3726
  # @return [::String]
3702
- # The image type to use for NAP created node.
3727
+ # The image type to use for NAP created node. Please see
3728
+ # https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
3729
+ # available image types.
3703
3730
  class AutoprovisioningNodePoolDefaults
3704
3731
  include ::Google::Protobuf::MessageExts
3705
3732
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -5092,7 +5119,8 @@ module Google
5092
5119
 
5093
5120
  # Strategy used for node pool update.
5094
5121
  module NodePoolUpdateStrategy
5095
- # Default value.
5122
+ # Default value if unset. GKE internally defaults the update strategy to
5123
+ # SURGE for unspecified strategies.
5096
5124
  NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED = 0
5097
5125
 
5098
5126
  # blue-green upgrade.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-container-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.16.1
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-01-06 00:00:00.000000000 Z
11
+ date: 2023-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -211,7 +211,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
211
211
  - !ruby/object:Gem::Version
212
212
  version: '0'
213
213
  requirements: []
214
- rubygems_version: 3.3.14
214
+ rubygems_version: 3.4.2
215
215
  signing_key:
216
216
  specification_version: 4
217
217
  summary: API Client library for the Kubernetes Engine V1beta1 API