google-cloud-container-v1beta1 0.14.0 → 0.15.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: b33b8aa59e88f8e3c098f6ac61d28da6310e8f2934610a71eead145e438d8d23
4
- data.tar.gz: ab2a03f595a19d7ae7b957d6007231b6a0e5af481d127222e5cd79695819c82d
3
+ metadata.gz: bb26944a983a98942654e0d01c33bfc57b9cd6915bc918540cd247d1bf05471a
4
+ data.tar.gz: fbf4707615587ad225a150dd4aa043f2880da93216960624766c2b8e1a0ed61c
5
5
  SHA512:
6
- metadata.gz: 291cf8c1b4dc35fadb544dd91ee2950b14ab1b48bb5745f90c728e96f67459e21b994674fa52115640cdd77f3b3200fa6a7a59462855d92a02a4d297a93996cd
7
- data.tar.gz: efd942c28fe7289f77e6331089a8718cf5893669f7de319f8734f19a967ebf07514eb2a1806b7d218ebe2acbaf891f3b284f88293c148db579c5a3e673d53ec6
6
+ metadata.gz: da7e351282715777b544ab8f24de1a310b2174e507520ad27eb78d3a1994321d3fa172c0f8f529fc3dee0e8b4e7c354af54ed06a9e45474bcf72b36ee29a98ac
7
+ data.tar.gz: '09d26a3e69bc8a2a214402188ffc8571fac3db70f85eb82de87d66457df321c98a4ed2b0e81306a01ae09f7e21a5a4c7ff101adebedce69e4da9ab17d83942ab'
@@ -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)
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)
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).
@@ -740,6 +740,8 @@ module Google
740
740
  # @param resource_labels [::Google::Cloud::Container::V1beta1::ResourceLabels, ::Hash]
741
741
  # The resource labels for the node pool to use to annotate any related
742
742
  # Google Compute Engine resources.
743
+ # @param windows_node_config [::Google::Cloud::Container::V1beta1::WindowsNodeConfig, ::Hash]
744
+ # Parameters that can be configured on Windows nodes.
743
745
  #
744
746
  # @yield [response, operation] Access the result along with the RPC operation
745
747
  # @yieldparam response [::Google::Cloud::Container::V1beta1::Operation]
@@ -33,7 +33,7 @@ module Google
33
33
  ##
34
34
  # Google Kubernetes Engine Cluster Manager v1beta1
35
35
  #
36
- # To load this service and instantiate a client:
36
+ # @example Load this service and instantiate a gRPC client
37
37
  #
38
38
  # require "google/cloud/container/v1beta1/cluster_manager"
39
39
  # client = ::Google::Cloud::Container::V1beta1::ClusterManager::Client.new
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Container
23
23
  module V1beta1
24
- VERSION = "0.14.0"
24
+ VERSION = "0.15.0"
25
25
  end
26
26
  end
27
27
  end
@@ -23,9 +23,9 @@ module Google
23
23
  module Cloud
24
24
  module Container
25
25
  ##
26
- # To load this package, including all its services, and instantiate a client:
26
+ # API client module.
27
27
  #
28
- # @example
28
+ # @example Load this package, including all its services, and instantiate a gRPC client
29
29
  #
30
30
  # require "google/cloud/container/v1beta1"
31
31
  # client = ::Google::Cloud::Container::V1beta1::ClusterManager::Client.new
@@ -26,6 +26,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
26
26
  value :CGROUP_MODE_V1, 1
27
27
  value :CGROUP_MODE_V2, 2
28
28
  end
29
+ add_message "google.container.v1beta1.WindowsNodeConfig" do
30
+ optional :os_version, :enum, 1, "google.container.v1beta1.WindowsNodeConfig.OSVersion"
31
+ end
32
+ add_enum "google.container.v1beta1.WindowsNodeConfig.OSVersion" do
33
+ value :OS_VERSION_UNSPECIFIED, 0
34
+ value :OS_VERSION_LTSC2019, 1
35
+ value :OS_VERSION_LTSC2022, 2
36
+ end
29
37
  add_message "google.container.v1beta1.NodeKubeletConfig" do
30
38
  optional :cpu_manager_policy, :string, 1
31
39
  optional :cpu_cfs_quota, :message, 2, "google.protobuf.BoolValue"
@@ -64,6 +72,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
64
72
  proto3_optional :fast_socket, :message, 36, "google.container.v1beta1.FastSocket"
65
73
  map :resource_labels, :string, :string, 37
66
74
  optional :logging_config, :message, 38, "google.container.v1beta1.NodePoolLoggingConfig"
75
+ optional :windows_node_config, :message, 39, "google.container.v1beta1.WindowsNodeConfig"
76
+ optional :local_nvme_ssd_block_config, :message, 40, "google.container.v1beta1.LocalNvmeSsdBlockConfig"
77
+ optional :ephemeral_storage_local_ssd_config, :message, 41, "google.container.v1beta1.EphemeralStorageLocalSsdConfig"
67
78
  end
68
79
  add_message "google.container.v1beta1.AdvancedMachineFeatures" do
69
80
  proto3_optional :threads_per_core, :int64, 1
@@ -98,6 +109,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
98
109
  add_message "google.container.v1beta1.EphemeralStorageConfig" do
99
110
  optional :local_ssd_count, :int32, 1
100
111
  end
112
+ add_message "google.container.v1beta1.LocalNvmeSsdBlockConfig" do
113
+ optional :local_ssd_count, :int32, 1
114
+ end
115
+ add_message "google.container.v1beta1.EphemeralStorageLocalSsdConfig" do
116
+ optional :local_ssd_count, :int32, 1
117
+ end
101
118
  add_message "google.container.v1beta1.GcfsConfig" do
102
119
  optional :enabled, :bool, 1
103
120
  end
@@ -452,6 +469,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
452
469
  proto3_optional :desired_protect_config, :message, 112, "google.container.v1beta1.ProtectConfig"
453
470
  optional :desired_gateway_api_config, :message, 114, "google.container.v1beta1.GatewayAPIConfig"
454
471
  optional :desired_node_pool_logging_config, :message, 116, "google.container.v1beta1.NodePoolLoggingConfig"
472
+ optional :desired_stack_type, :enum, 119, "google.container.v1beta1.StackType"
455
473
  end
456
474
  add_message "google.container.v1beta1.Operation" do
457
475
  optional :name, :string, 1
@@ -552,6 +570,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
552
570
  optional :fast_socket, :message, 31, "google.container.v1beta1.FastSocket"
553
571
  optional :logging_config, :message, 32, "google.container.v1beta1.NodePoolLoggingConfig"
554
572
  optional :resource_labels, :message, 33, "google.container.v1beta1.ResourceLabels"
573
+ optional :windows_node_config, :message, 34, "google.container.v1beta1.WindowsNodeConfig"
555
574
  end
556
575
  add_message "google.container.v1beta1.SetNodePoolAutoscalingRequest" do
557
576
  optional :project_id, :string, 1
@@ -1290,6 +1309,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1290
1309
  value :LEGACY_DATAPATH, 1
1291
1310
  value :ADVANCED_DATAPATH, 2
1292
1311
  end
1312
+ add_enum "google.container.v1beta1.StackType" do
1313
+ value :STACK_TYPE_UNSPECIFIED, 0
1314
+ value :IPV4, 1
1315
+ value :IPV4_IPV6, 2
1316
+ end
1293
1317
  end
1294
1318
  end
1295
1319
 
@@ -1299,6 +1323,8 @@ module Google
1299
1323
  module V1beta1
1300
1324
  LinuxNodeConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.LinuxNodeConfig").msgclass
1301
1325
  LinuxNodeConfig::CgroupMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.LinuxNodeConfig.CgroupMode").enummodule
1326
+ WindowsNodeConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.WindowsNodeConfig").msgclass
1327
+ WindowsNodeConfig::OSVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.WindowsNodeConfig.OSVersion").enummodule
1302
1328
  NodeKubeletConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.NodeKubeletConfig").msgclass
1303
1329
  NodeConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.NodeConfig").msgclass
1304
1330
  AdvancedMachineFeatures = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.AdvancedMachineFeatures").msgclass
@@ -1309,6 +1335,8 @@ module Google
1309
1335
  SandboxConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.SandboxConfig").msgclass
1310
1336
  SandboxConfig::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.SandboxConfig.Type").enummodule
1311
1337
  EphemeralStorageConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.EphemeralStorageConfig").msgclass
1338
+ LocalNvmeSsdBlockConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.LocalNvmeSsdBlockConfig").msgclass
1339
+ EphemeralStorageLocalSsdConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.EphemeralStorageLocalSsdConfig").msgclass
1312
1340
  GcfsConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.GcfsConfig").msgclass
1313
1341
  ReservationAffinity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.ReservationAffinity").msgclass
1314
1342
  ReservationAffinity::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.ReservationAffinity.Type").enummodule
@@ -1506,6 +1534,7 @@ module Google
1506
1534
  UpgradeResourceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.UpgradeResourceType").enummodule
1507
1535
  NodePoolUpdateStrategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.NodePoolUpdateStrategy").enummodule
1508
1536
  DatapathProvider = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.DatapathProvider").enummodule
1537
+ StackType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.StackType").enummodule
1509
1538
  end
1510
1539
  end
1511
1540
  end
@@ -72,6 +72,29 @@ module Google
72
72
  end
73
73
  end
74
74
 
75
+ # Parameters that can be configured on Windows nodes.
76
+ # Windows Node Config that define the parameters that will be used to
77
+ # configure the Windows node pool settings
78
+ # @!attribute [rw] os_version
79
+ # @return [::Google::Cloud::Container::V1beta1::WindowsNodeConfig::OSVersion]
80
+ # OSVersion specifies the Windows node config to be used on the node
81
+ class WindowsNodeConfig
82
+ include ::Google::Protobuf::MessageExts
83
+ extend ::Google::Protobuf::MessageExts::ClassMethods
84
+
85
+ # Possible OS version that can be used.
86
+ module OSVersion
87
+ # When OSVersion is not specified
88
+ OS_VERSION_UNSPECIFIED = 0
89
+
90
+ # LTSC2019 specifies to use LTSC2019 as the Windows Servercore Base Image
91
+ OS_VERSION_LTSC2019 = 1
92
+
93
+ # LTSC2022 specifies to use LTSC2022 as the Windows Servercore Base Image
94
+ OS_VERSION_LTSC2022 = 2
95
+ end
96
+ end
97
+
75
98
  # Node kubelet configs.
76
99
  # @!attribute [rw] cpu_manager_policy
77
100
  # @return [::String]
@@ -317,6 +340,17 @@ module Google
317
340
  # @!attribute [rw] logging_config
318
341
  # @return [::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig]
319
342
  # Logging configuration.
343
+ # @!attribute [rw] windows_node_config
344
+ # @return [::Google::Cloud::Container::V1beta1::WindowsNodeConfig]
345
+ # Parameters that can be configured on Windows nodes.
346
+ # @!attribute [rw] local_nvme_ssd_block_config
347
+ # @return [::Google::Cloud::Container::V1beta1::LocalNvmeSsdBlockConfig]
348
+ # Parameters for using raw-block Local NVMe SSDs.
349
+ # @!attribute [rw] ephemeral_storage_local_ssd_config
350
+ # @return [::Google::Cloud::Container::V1beta1::EphemeralStorageLocalSsdConfig]
351
+ # Parameters for the node ephemeral storage using Local SSDs.
352
+ # If unspecified, ephemeral storage is backed by the boot disk.
353
+ # This field is functionally equivalent to the ephemeral_storage_config
320
354
  class NodeConfig
321
355
  include ::Google::Protobuf::MessageExts
322
356
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -491,6 +525,38 @@ module Google
491
525
  extend ::Google::Protobuf::MessageExts::ClassMethods
492
526
  end
493
527
 
528
+ # LocalNvmeSsdBlockConfig contains configuration for using raw-block local
529
+ # NVMe SSDs
530
+ # @!attribute [rw] local_ssd_count
531
+ # @return [::Integer]
532
+ # The number of raw-block local NVMe SSD disks to be attached to the node.
533
+ # Each local SSD is 375 GB in size. If zero, it means no raw-block local NVMe
534
+ # SSD disks to be attached to the node.
535
+ # The limit for this value is dependent upon the maximum number of
536
+ # disks available on a machine per zone. See:
537
+ # https://cloud.google.com/compute/docs/disks/local-ssd
538
+ # for more information.
539
+ class LocalNvmeSsdBlockConfig
540
+ include ::Google::Protobuf::MessageExts
541
+ extend ::Google::Protobuf::MessageExts::ClassMethods
542
+ end
543
+
544
+ # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral
545
+ # storage using Local SSDs.
546
+ # @!attribute [rw] local_ssd_count
547
+ # @return [::Integer]
548
+ # Number of local SSDs to use to back ephemeral storage. Uses NVMe
549
+ # interfaces. Each local SSD is 375 GB in size.
550
+ # If zero, it means to disable using local SSDs as ephemeral storage.
551
+ # The limit for this value is dependent upon the maximum number of
552
+ # disks available on a machine per zone. See:
553
+ # https://cloud.google.com/compute/docs/disks/local-ssd
554
+ # for more information.
555
+ class EphemeralStorageLocalSsdConfig
556
+ include ::Google::Protobuf::MessageExts
557
+ extend ::Google::Protobuf::MessageExts::ClassMethods
558
+ end
559
+
494
560
  # GcfsConfig contains configurations of Google Container File System.
495
561
  # @!attribute [rw] enabled
496
562
  # @return [::Boolean]
@@ -1926,6 +1992,11 @@ module Google
1926
1992
  # @!attribute [rw] desired_node_pool_logging_config
1927
1993
  # @return [::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig]
1928
1994
  # The desired node pool logging configuration defaults for the cluster.
1995
+ # @!attribute [rw] desired_stack_type
1996
+ # @return [::Google::Cloud::Container::V1beta1::StackType]
1997
+ # The desired stack type of the cluster.
1998
+ # If a stack type is provided and does not match the current stack type of
1999
+ # the cluster, update will attempt to change the stack type to the new type.
1929
2000
  class ClusterUpdate
1930
2001
  include ::Google::Protobuf::MessageExts
1931
2002
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2285,6 +2356,9 @@ module Google
2285
2356
  # @return [::Google::Cloud::Container::V1beta1::ResourceLabels]
2286
2357
  # The resource labels for the node pool to use to annotate any related
2287
2358
  # Google Compute Engine resources.
2359
+ # @!attribute [rw] windows_node_config
2360
+ # @return [::Google::Cloud::Container::V1beta1::WindowsNodeConfig]
2361
+ # Parameters that can be configured on Windows nodes.
2288
2362
  class UpdateNodePoolRequest
2289
2363
  include ::Google::Protobuf::MessageExts
2290
2364
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -5044,6 +5118,18 @@ module Google
5044
5118
  # for more.
5045
5119
  ADVANCED_DATAPATH = 2
5046
5120
  end
5121
+
5122
+ # Possible values for IP stack type
5123
+ module StackType
5124
+ # By default, the clusters will be IPV4 only
5125
+ STACK_TYPE_UNSPECIFIED = 0
5126
+
5127
+ # The value used if the cluster is a IPV4 only
5128
+ IPV4 = 1
5129
+
5130
+ # The value used if the cluster is a dual stack cluster
5131
+ IPV4_IPV6 = 2
5132
+ end
5047
5133
  end
5048
5134
  end
5049
5135
  end
@@ -27,7 +27,7 @@ module Google
27
27
  # `OUT_OF_RANGE` over `FAILED_PRECONDITION` if both codes apply.
28
28
  # Similarly prefer `NOT_FOUND` or `ALREADY_EXISTS` over `FAILED_PRECONDITION`.
29
29
  module Code
30
- # Not an error; returned on success
30
+ # Not an error; returned on success.
31
31
  #
32
32
  # HTTP Mapping: 200 OK
33
33
  OK = 0
@@ -66,7 +66,7 @@ module Google
66
66
  # Some requested entity (e.g., file or directory) was not found.
67
67
  #
68
68
  # Note to server developers: if a request is denied for an entire class
69
- # of users, such as gradual feature rollout or undocumented whitelist,
69
+ # of users, such as gradual feature rollout or undocumented allowlist,
70
70
  # `NOT_FOUND` may be used. If a request is denied for some users within
71
71
  # a class of users, such as user-based access control, `PERMISSION_DENIED`
72
72
  # must be used.
@@ -112,11 +112,11 @@ module Google
112
112
  # Service implementors can use the following guidelines to decide
113
113
  # between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`:
114
114
  # (a) Use `UNAVAILABLE` if the client can retry just the failing call.
115
- # (b) Use `ABORTED` if the client should retry at a higher level
116
- # (e.g., when a client-specified test-and-set fails, indicating the
117
- # client should restart a read-modify-write sequence).
115
+ # (b) Use `ABORTED` if the client should retry at a higher level. For
116
+ # example, when a client-specified test-and-set fails, indicating the
117
+ # client should restart a read-modify-write sequence.
118
118
  # (c) Use `FAILED_PRECONDITION` if the client should not retry until
119
- # the system state has been explicitly fixed. E.g., if an "rmdir"
119
+ # the system state has been explicitly fixed. For example, if an "rmdir"
120
120
  # fails because the directory is non-empty, `FAILED_PRECONDITION`
121
121
  # should be returned since the client should not retry unless
122
122
  # the files are deleted from the directory.
@@ -28,12 +28,14 @@ module Google
28
28
  # [API Design Guide](https://cloud.google.com/apis/design/errors).
29
29
  # @!attribute [rw] code
30
30
  # @return [::Integer]
31
- # The status code, which should be an enum value of {::Google::Rpc::Code google.rpc.Code}.
31
+ # The status code, which should be an enum value of
32
+ # {::Google::Rpc::Code google.rpc.Code}.
32
33
  # @!attribute [rw] message
33
34
  # @return [::String]
34
35
  # A developer-facing error message, which should be in English. Any
35
36
  # user-facing error message should be localized and sent in the
36
- # {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized by the client.
37
+ # {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized
38
+ # by the client.
37
39
  # @!attribute [rw] details
38
40
  # @return [::Array<::Google::Protobuf::Any>]
39
41
  # A list of messages that carry the error details. There is a common set of
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.14.0
4
+ version: 0.15.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: 2022-12-09 00:00:00.000000000 Z
11
+ date: 2023-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.12'
19
+ version: 0.16.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.12'
29
+ version: 0.16.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a