google-cloud-container-v1beta1 0.13.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: b0c43f5c0d4d3abc76c397f141b7f6bc0d538fe75279a42b2c0190e55e9d60e8
4
- data.tar.gz: 8412d68ce9841352a9e9683892c7d5c9c3bb2a3072bddbef64b40621852f0898
3
+ metadata.gz: bb26944a983a98942654e0d01c33bfc57b9cd6915bc918540cd247d1bf05471a
4
+ data.tar.gz: fbf4707615587ad225a150dd4aa043f2880da93216960624766c2b8e1a0ed61c
5
5
  SHA512:
6
- metadata.gz: 7519e592d61e157269a50ea3bea0445691cb93adaac24ebfa9962cff37131155787419a1b9b228a975f4c6694384aa19f3dd19c70a4c96f36376f547228394cb
7
- data.tar.gz: a8444ae386b7996d563347248ef062bd307c8222b8e6360de9274397eb9ce2b9ec26eaadd7860f7237458f744d47105153e7685be5536c66dc58fab1e688946f
6
+ metadata.gz: da7e351282715777b544ab8f24de1a310b2174e507520ad27eb78d3a1994321d3fa172c0f8f529fc3dee0e8b4e7c354af54ed06a9e45474bcf72b36ee29a98ac
7
+ data.tar.gz: '09d26a3e69bc8a2a214402188ffc8571fac3db70f85eb82de87d66457df321c98a4ed2b0e81306a01ae09f7e21a5a4c7ff101adebedce69e4da9ab17d83942ab'
data/README.md CHANGED
@@ -46,7 +46,7 @@ for general usage information.
46
46
  ## Enabling Logging
47
47
 
48
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
- The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
49
+ The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
50
  or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
51
51
  that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
52
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
@@ -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, 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).
@@ -733,11 +733,15 @@ module Google
733
733
  # All the nodes in the node pool will be Confidential VM once enabled.
734
734
  # @param gvnic [::Google::Cloud::Container::V1beta1::VirtualNIC, ::Hash]
735
735
  # Enable or disable gvnic on the node pool.
736
+ # @param fast_socket [::Google::Cloud::Container::V1beta1::FastSocket, ::Hash]
737
+ # Enable or disable NCCL fast socket for the node pool.
736
738
  # @param logging_config [::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig, ::Hash]
737
739
  # Logging configuration.
738
740
  # @param resource_labels [::Google::Cloud::Container::V1beta1::ResourceLabels, ::Hash]
739
741
  # The resource labels for the node pool to use to annotate any related
740
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.
741
745
  #
742
746
  # @yield [response, operation] Access the result along with the RPC operation
743
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.13.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"
@@ -61,8 +69,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
61
69
  optional :gvnic, :message, 29, "google.container.v1beta1.VirtualNIC"
62
70
  optional :spot, :bool, 32
63
71
  optional :confidential_nodes, :message, 35, "google.container.v1beta1.ConfidentialNodes"
72
+ proto3_optional :fast_socket, :message, 36, "google.container.v1beta1.FastSocket"
64
73
  map :resource_labels, :string, :string, 37
65
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"
66
78
  end
67
79
  add_message "google.container.v1beta1.AdvancedMachineFeatures" do
68
80
  proto3_optional :threads_per_core, :int64, 1
@@ -97,6 +109,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
97
109
  add_message "google.container.v1beta1.EphemeralStorageConfig" do
98
110
  optional :local_ssd_count, :int32, 1
99
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
100
118
  add_message "google.container.v1beta1.GcfsConfig" do
101
119
  optional :enabled, :bool, 1
102
120
  end
@@ -451,6 +469,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
451
469
  proto3_optional :desired_protect_config, :message, 112, "google.container.v1beta1.ProtectConfig"
452
470
  optional :desired_gateway_api_config, :message, 114, "google.container.v1beta1.GatewayAPIConfig"
453
471
  optional :desired_node_pool_logging_config, :message, 116, "google.container.v1beta1.NodePoolLoggingConfig"
472
+ optional :desired_stack_type, :enum, 119, "google.container.v1beta1.StackType"
454
473
  end
455
474
  add_message "google.container.v1beta1.Operation" do
456
475
  optional :name, :string, 1
@@ -548,8 +567,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
548
567
  optional :gcfs_config, :message, 22, "google.container.v1beta1.GcfsConfig"
549
568
  optional :confidential_nodes, :message, 23, "google.container.v1beta1.ConfidentialNodes"
550
569
  optional :gvnic, :message, 29, "google.container.v1beta1.VirtualNIC"
570
+ optional :fast_socket, :message, 31, "google.container.v1beta1.FastSocket"
551
571
  optional :logging_config, :message, 32, "google.container.v1beta1.NodePoolLoggingConfig"
552
572
  optional :resource_labels, :message, 33, "google.container.v1beta1.ResourceLabels"
573
+ optional :windows_node_config, :message, 34, "google.container.v1beta1.WindowsNodeConfig"
553
574
  end
554
575
  add_message "google.container.v1beta1.SetNodePoolAutoscalingRequest" do
555
576
  optional :project_id, :string, 1
@@ -1123,6 +1144,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1123
1144
  add_message "google.container.v1beta1.VirtualNIC" do
1124
1145
  optional :enabled, :bool, 1
1125
1146
  end
1147
+ add_message "google.container.v1beta1.FastSocket" do
1148
+ optional :enabled, :bool, 1
1149
+ end
1126
1150
  add_message "google.container.v1beta1.GetOpenIDConfigRequest" do
1127
1151
  optional :parent, :string, 1
1128
1152
  end
@@ -1285,6 +1309,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1285
1309
  value :LEGACY_DATAPATH, 1
1286
1310
  value :ADVANCED_DATAPATH, 2
1287
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
1288
1317
  end
1289
1318
  end
1290
1319
 
@@ -1294,6 +1323,8 @@ module Google
1294
1323
  module V1beta1
1295
1324
  LinuxNodeConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.LinuxNodeConfig").msgclass
1296
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
1297
1328
  NodeKubeletConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.NodeKubeletConfig").msgclass
1298
1329
  NodeConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.NodeConfig").msgclass
1299
1330
  AdvancedMachineFeatures = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.AdvancedMachineFeatures").msgclass
@@ -1304,6 +1335,8 @@ module Google
1304
1335
  SandboxConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.SandboxConfig").msgclass
1305
1336
  SandboxConfig::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.SandboxConfig.Type").enummodule
1306
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
1307
1340
  GcfsConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.GcfsConfig").msgclass
1308
1341
  ReservationAffinity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.ReservationAffinity").msgclass
1309
1342
  ReservationAffinity::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.ReservationAffinity.Type").enummodule
@@ -1467,6 +1500,7 @@ module Google
1467
1500
  ResourceUsageExportConfig::ConsumptionMeteringConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig").msgclass
1468
1501
  ShieldedNodes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.ShieldedNodes").msgclass
1469
1502
  VirtualNIC = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.VirtualNIC").msgclass
1503
+ FastSocket = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.FastSocket").msgclass
1470
1504
  GetOpenIDConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.GetOpenIDConfigRequest").msgclass
1471
1505
  GetOpenIDConfigResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.GetOpenIDConfigResponse").msgclass
1472
1506
  GetJSONWebKeysRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.GetJSONWebKeysRequest").msgclass
@@ -1500,6 +1534,7 @@ module Google
1500
1534
  UpgradeResourceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.UpgradeResourceType").enummodule
1501
1535
  NodePoolUpdateStrategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.NodePoolUpdateStrategy").enummodule
1502
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
1503
1538
  end
1504
1539
  end
1505
1540
  end
@@ -0,0 +1,318 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Api
22
+ # Required information for every language.
23
+ # @!attribute [rw] reference_docs_uri
24
+ # @return [::String]
25
+ # Link to automatically generated reference documentation. Example:
26
+ # https://cloud.google.com/nodejs/docs/reference/asset/latest
27
+ # @!attribute [rw] destinations
28
+ # @return [::Array<::Google::Api::ClientLibraryDestination>]
29
+ # The destination where API teams want this client library to be published.
30
+ class CommonLanguageSettings
31
+ include ::Google::Protobuf::MessageExts
32
+ extend ::Google::Protobuf::MessageExts::ClassMethods
33
+ end
34
+
35
+ # Details about how and where to publish client libraries.
36
+ # @!attribute [rw] version
37
+ # @return [::String]
38
+ # Version of the API to apply these settings to.
39
+ # @!attribute [rw] launch_stage
40
+ # @return [::Google::Api::LaunchStage]
41
+ # Launch stage of this version of the API.
42
+ # @!attribute [rw] rest_numeric_enums
43
+ # @return [::Boolean]
44
+ # When using transport=rest, the client request will encode enums as
45
+ # numbers rather than strings.
46
+ # @!attribute [rw] java_settings
47
+ # @return [::Google::Api::JavaSettings]
48
+ # Settings for legacy Java features, supported in the Service YAML.
49
+ # @!attribute [rw] cpp_settings
50
+ # @return [::Google::Api::CppSettings]
51
+ # Settings for C++ client libraries.
52
+ # @!attribute [rw] php_settings
53
+ # @return [::Google::Api::PhpSettings]
54
+ # Settings for PHP client libraries.
55
+ # @!attribute [rw] python_settings
56
+ # @return [::Google::Api::PythonSettings]
57
+ # Settings for Python client libraries.
58
+ # @!attribute [rw] node_settings
59
+ # @return [::Google::Api::NodeSettings]
60
+ # Settings for Node client libraries.
61
+ # @!attribute [rw] dotnet_settings
62
+ # @return [::Google::Api::DotnetSettings]
63
+ # Settings for .NET client libraries.
64
+ # @!attribute [rw] ruby_settings
65
+ # @return [::Google::Api::RubySettings]
66
+ # Settings for Ruby client libraries.
67
+ # @!attribute [rw] go_settings
68
+ # @return [::Google::Api::GoSettings]
69
+ # Settings for Go client libraries.
70
+ class ClientLibrarySettings
71
+ include ::Google::Protobuf::MessageExts
72
+ extend ::Google::Protobuf::MessageExts::ClassMethods
73
+ end
74
+
75
+ # This message configures the settings for publishing [Google Cloud Client
76
+ # libraries](https://cloud.google.com/apis/docs/cloud-client-libraries)
77
+ # generated from the service config.
78
+ # @!attribute [rw] method_settings
79
+ # @return [::Array<::Google::Api::MethodSettings>]
80
+ # A list of API method settings, e.g. the behavior for methods that use the
81
+ # long-running operation pattern.
82
+ # @!attribute [rw] new_issue_uri
83
+ # @return [::String]
84
+ # Link to a place that API users can report issues. Example:
85
+ # https://issuetracker.google.com/issues/new?component=190865&template=1161103
86
+ # @!attribute [rw] documentation_uri
87
+ # @return [::String]
88
+ # Link to product home page. Example:
89
+ # https://cloud.google.com/asset-inventory/docs/overview
90
+ # @!attribute [rw] api_short_name
91
+ # @return [::String]
92
+ # Used as a tracking tag when collecting data about the APIs developer
93
+ # relations artifacts like docs, packages delivered to package managers,
94
+ # etc. Example: "speech".
95
+ # @!attribute [rw] github_label
96
+ # @return [::String]
97
+ # GitHub label to apply to issues and pull requests opened for this API.
98
+ # @!attribute [rw] codeowner_github_teams
99
+ # @return [::Array<::String>]
100
+ # GitHub teams to be added to CODEOWNERS in the directory in GitHub
101
+ # containing source code for the client libraries for this API.
102
+ # @!attribute [rw] doc_tag_prefix
103
+ # @return [::String]
104
+ # A prefix used in sample code when demarking regions to be included in
105
+ # documentation.
106
+ # @!attribute [rw] organization
107
+ # @return [::Google::Api::ClientLibraryOrganization]
108
+ # For whom the client library is being published.
109
+ # @!attribute [rw] library_settings
110
+ # @return [::Array<::Google::Api::ClientLibrarySettings>]
111
+ # Client library settings. If the same version string appears multiple
112
+ # times in this list, then the last one wins. Settings from earlier
113
+ # settings with the same version string are discarded.
114
+ class Publishing
115
+ include ::Google::Protobuf::MessageExts
116
+ extend ::Google::Protobuf::MessageExts::ClassMethods
117
+ end
118
+
119
+ # Settings for Java client libraries.
120
+ # @!attribute [rw] library_package
121
+ # @return [::String]
122
+ # The package name to use in Java. Clobbers the java_package option
123
+ # set in the protobuf. This should be used **only** by APIs
124
+ # who have already set the language_settings.java.package_name" field
125
+ # in gapic.yaml. API teams should use the protobuf java_package option
126
+ # where possible.
127
+ #
128
+ # Example of a YAML configuration::
129
+ #
130
+ # publishing:
131
+ # java_settings:
132
+ # library_package: com.google.cloud.pubsub.v1
133
+ # @!attribute [rw] service_class_names
134
+ # @return [::Google::Protobuf::Map{::String => ::String}]
135
+ # Configure the Java class name to use instead of the service's for its
136
+ # corresponding generated GAPIC client. Keys are fully-qualified
137
+ # service names as they appear in the protobuf (including the full
138
+ # the language_settings.java.interface_names" field in gapic.yaml. API
139
+ # teams should otherwise use the service name as it appears in the
140
+ # protobuf.
141
+ #
142
+ # Example of a YAML configuration::
143
+ #
144
+ # publishing:
145
+ # java_settings:
146
+ # service_class_names:
147
+ # - google.pubsub.v1.Publisher: TopicAdmin
148
+ # - google.pubsub.v1.Subscriber: SubscriptionAdmin
149
+ # @!attribute [rw] common
150
+ # @return [::Google::Api::CommonLanguageSettings]
151
+ # Some settings.
152
+ class JavaSettings
153
+ include ::Google::Protobuf::MessageExts
154
+ extend ::Google::Protobuf::MessageExts::ClassMethods
155
+
156
+ # @!attribute [rw] key
157
+ # @return [::String]
158
+ # @!attribute [rw] value
159
+ # @return [::String]
160
+ class ServiceClassNamesEntry
161
+ include ::Google::Protobuf::MessageExts
162
+ extend ::Google::Protobuf::MessageExts::ClassMethods
163
+ end
164
+ end
165
+
166
+ # Settings for C++ client libraries.
167
+ # @!attribute [rw] common
168
+ # @return [::Google::Api::CommonLanguageSettings]
169
+ # Some settings.
170
+ class CppSettings
171
+ include ::Google::Protobuf::MessageExts
172
+ extend ::Google::Protobuf::MessageExts::ClassMethods
173
+ end
174
+
175
+ # Settings for Php client libraries.
176
+ # @!attribute [rw] common
177
+ # @return [::Google::Api::CommonLanguageSettings]
178
+ # Some settings.
179
+ class PhpSettings
180
+ include ::Google::Protobuf::MessageExts
181
+ extend ::Google::Protobuf::MessageExts::ClassMethods
182
+ end
183
+
184
+ # Settings for Python client libraries.
185
+ # @!attribute [rw] common
186
+ # @return [::Google::Api::CommonLanguageSettings]
187
+ # Some settings.
188
+ class PythonSettings
189
+ include ::Google::Protobuf::MessageExts
190
+ extend ::Google::Protobuf::MessageExts::ClassMethods
191
+ end
192
+
193
+ # Settings for Node client libraries.
194
+ # @!attribute [rw] common
195
+ # @return [::Google::Api::CommonLanguageSettings]
196
+ # Some settings.
197
+ class NodeSettings
198
+ include ::Google::Protobuf::MessageExts
199
+ extend ::Google::Protobuf::MessageExts::ClassMethods
200
+ end
201
+
202
+ # Settings for Dotnet client libraries.
203
+ # @!attribute [rw] common
204
+ # @return [::Google::Api::CommonLanguageSettings]
205
+ # Some settings.
206
+ class DotnetSettings
207
+ include ::Google::Protobuf::MessageExts
208
+ extend ::Google::Protobuf::MessageExts::ClassMethods
209
+ end
210
+
211
+ # Settings for Ruby client libraries.
212
+ # @!attribute [rw] common
213
+ # @return [::Google::Api::CommonLanguageSettings]
214
+ # Some settings.
215
+ class RubySettings
216
+ include ::Google::Protobuf::MessageExts
217
+ extend ::Google::Protobuf::MessageExts::ClassMethods
218
+ end
219
+
220
+ # Settings for Go client libraries.
221
+ # @!attribute [rw] common
222
+ # @return [::Google::Api::CommonLanguageSettings]
223
+ # Some settings.
224
+ class GoSettings
225
+ include ::Google::Protobuf::MessageExts
226
+ extend ::Google::Protobuf::MessageExts::ClassMethods
227
+ end
228
+
229
+ # Describes the generator configuration for a method.
230
+ # @!attribute [rw] selector
231
+ # @return [::String]
232
+ # The fully qualified name of the method, for which the options below apply.
233
+ # This is used to find the method to apply the options.
234
+ # @!attribute [rw] long_running
235
+ # @return [::Google::Api::MethodSettings::LongRunning]
236
+ # Describes settings to use for long-running operations when generating
237
+ # API methods for RPCs. Complements RPCs that use the annotations in
238
+ # google/longrunning/operations.proto.
239
+ #
240
+ # Example of a YAML configuration::
241
+ #
242
+ # publishing:
243
+ # method_behavior:
244
+ # - selector: CreateAdDomain
245
+ # long_running:
246
+ # initial_poll_delay:
247
+ # seconds: 60 # 1 minute
248
+ # poll_delay_multiplier: 1.5
249
+ # max_poll_delay:
250
+ # seconds: 360 # 6 minutes
251
+ # total_poll_timeout:
252
+ # seconds: 54000 # 90 minutes
253
+ class MethodSettings
254
+ include ::Google::Protobuf::MessageExts
255
+ extend ::Google::Protobuf::MessageExts::ClassMethods
256
+
257
+ # Describes settings to use when generating API methods that use the
258
+ # long-running operation pattern.
259
+ # All default values below are from those used in the client library
260
+ # generators (e.g.
261
+ # [Java](https://github.com/googleapis/gapic-generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java)).
262
+ # @!attribute [rw] initial_poll_delay
263
+ # @return [::Google::Protobuf::Duration]
264
+ # Initial delay after which the first poll request will be made.
265
+ # Default value: 5 seconds.
266
+ # @!attribute [rw] poll_delay_multiplier
267
+ # @return [::Float]
268
+ # Multiplier to gradually increase delay between subsequent polls until it
269
+ # reaches max_poll_delay.
270
+ # Default value: 1.5.
271
+ # @!attribute [rw] max_poll_delay
272
+ # @return [::Google::Protobuf::Duration]
273
+ # Maximum time between two subsequent poll requests.
274
+ # Default value: 45 seconds.
275
+ # @!attribute [rw] total_poll_timeout
276
+ # @return [::Google::Protobuf::Duration]
277
+ # Total polling timeout.
278
+ # Default value: 5 minutes.
279
+ class LongRunning
280
+ include ::Google::Protobuf::MessageExts
281
+ extend ::Google::Protobuf::MessageExts::ClassMethods
282
+ end
283
+ end
284
+
285
+ # The organization for which the client libraries are being published.
286
+ # Affects the url where generated docs are published, etc.
287
+ module ClientLibraryOrganization
288
+ # Not useful.
289
+ CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED = 0
290
+
291
+ # Google Cloud Platform Org.
292
+ CLOUD = 1
293
+
294
+ # Ads (Advertising) Org.
295
+ ADS = 2
296
+
297
+ # Photos Org.
298
+ PHOTOS = 3
299
+
300
+ # Street View Org.
301
+ STREET_VIEW = 4
302
+ end
303
+
304
+ # To where should client libraries be published?
305
+ module ClientLibraryDestination
306
+ # Client libraries will neither be generated nor published to package
307
+ # managers.
308
+ CLIENT_LIBRARY_DESTINATION_UNSPECIFIED = 0
309
+
310
+ # Generate the client library in a repo under github.com/googleapis,
311
+ # but don't publish it to package managers.
312
+ GITHUB = 10
313
+
314
+ # Publish the library to package managers like nuget.org and npmjs.com.
315
+ PACKAGE_MANAGER = 20
316
+ end
317
+ end
318
+ end
@@ -0,0 +1,71 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Api
22
+ # The launch stage as defined by [Google Cloud Platform
23
+ # Launch Stages](https://cloud.google.com/terms/launch-stages).
24
+ module LaunchStage
25
+ # Do not use this default value.
26
+ LAUNCH_STAGE_UNSPECIFIED = 0
27
+
28
+ # The feature is not yet implemented. Users can not use it.
29
+ UNIMPLEMENTED = 6
30
+
31
+ # Prelaunch features are hidden from users and are only visible internally.
32
+ PRELAUNCH = 7
33
+
34
+ # Early Access features are limited to a closed group of testers. To use
35
+ # these features, you must sign up in advance and sign a Trusted Tester
36
+ # agreement (which includes confidentiality provisions). These features may
37
+ # be unstable, changed in backward-incompatible ways, and are not
38
+ # guaranteed to be released.
39
+ EARLY_ACCESS = 1
40
+
41
+ # Alpha is a limited availability test for releases before they are cleared
42
+ # for widespread use. By Alpha, all significant design issues are resolved
43
+ # and we are in the process of verifying functionality. Alpha customers
44
+ # need to apply for access, agree to applicable terms, and have their
45
+ # projects allowlisted. Alpha releases don't have to be feature complete,
46
+ # no SLAs are provided, and there are no technical support obligations, but
47
+ # they will be far enough along that customers can actually use them in
48
+ # test environments or for limited-use tests -- just like they would in
49
+ # normal production cases.
50
+ ALPHA = 2
51
+
52
+ # Beta is the point at which we are ready to open a release for any
53
+ # customer to use. There are no SLA or technical support obligations in a
54
+ # Beta release. Products will be complete from a feature perspective, but
55
+ # may have some open outstanding issues. Beta releases are suitable for
56
+ # limited production use cases.
57
+ BETA = 3
58
+
59
+ # GA features are open to all developers and are considered stable and
60
+ # fully qualified for production use.
61
+ GA = 4
62
+
63
+ # Deprecated features are scheduled to be shut down and removed. For more
64
+ # information, see the "Deprecation Policy" section of our [Terms of
65
+ # Service](https://cloud.google.com/terms/)
66
+ # and the [Google Cloud Platform Subject to the Deprecation
67
+ # Policy](https://cloud.google.com/terms/deprecation) documentation.
68
+ DEPRECATED = 5
69
+ end
70
+ end
71
+ 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]
@@ -307,6 +330,9 @@ module Google
307
330
  # @return [::Google::Cloud::Container::V1beta1::ConfidentialNodes]
308
331
  # Confidential nodes config.
309
332
  # All the nodes in the node pool will be Confidential VM once enabled.
333
+ # @!attribute [rw] fast_socket
334
+ # @return [::Google::Cloud::Container::V1beta1::FastSocket]
335
+ # Enable or disable NCCL fast socket for the node pool.
310
336
  # @!attribute [rw] resource_labels
311
337
  # @return [::Google::Protobuf::Map{::String => ::String}]
312
338
  # The resource labels for the node pool to use to annotate any related
@@ -314,6 +340,17 @@ module Google
314
340
  # @!attribute [rw] logging_config
315
341
  # @return [::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig]
316
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
317
354
  class NodeConfig
318
355
  include ::Google::Protobuf::MessageExts
319
356
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -488,6 +525,38 @@ module Google
488
525
  extend ::Google::Protobuf::MessageExts::ClassMethods
489
526
  end
490
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
+
491
560
  # GcfsConfig contains configurations of Google Container File System.
492
561
  # @!attribute [rw] enabled
493
562
  # @return [::Boolean]
@@ -1173,9 +1242,8 @@ module Google
1173
1242
  # anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored.
1174
1243
  # @!attribute [rw] evaluation_mode
1175
1244
  # @return [::Google::Cloud::Container::V1beta1::BinaryAuthorization::EvaluationMode]
1176
- # Mode of operation for binauthz policy evaluation. Currently the only
1177
- # options are equivalent to enable/disable. If unspecified, defaults to
1178
- # DISABLED.
1245
+ # Mode of operation for binauthz policy evaluation. If unspecified, defaults
1246
+ # to DISABLED.
1179
1247
  class BinaryAuthorization
1180
1248
  include ::Google::Protobuf::MessageExts
1181
1249
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1924,6 +1992,11 @@ module Google
1924
1992
  # @!attribute [rw] desired_node_pool_logging_config
1925
1993
  # @return [::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig]
1926
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.
1927
2000
  class ClusterUpdate
1928
2001
  include ::Google::Protobuf::MessageExts
1929
2002
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2273,6 +2346,9 @@ module Google
2273
2346
  # @!attribute [rw] gvnic
2274
2347
  # @return [::Google::Cloud::Container::V1beta1::VirtualNIC]
2275
2348
  # Enable or disable gvnic on the node pool.
2349
+ # @!attribute [rw] fast_socket
2350
+ # @return [::Google::Cloud::Container::V1beta1::FastSocket]
2351
+ # Enable or disable NCCL fast socket for the node pool.
2276
2352
  # @!attribute [rw] logging_config
2277
2353
  # @return [::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig]
2278
2354
  # Logging configuration.
@@ -2280,6 +2356,9 @@ module Google
2280
2356
  # @return [::Google::Cloud::Container::V1beta1::ResourceLabels]
2281
2357
  # The resource labels for the node pool to use to annotate any related
2282
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.
2283
2362
  class UpdateNodePoolRequest
2284
2363
  include ::Google::Protobuf::MessageExts
2285
2364
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -4519,6 +4598,15 @@ module Google
4519
4598
  extend ::Google::Protobuf::MessageExts::ClassMethods
4520
4599
  end
4521
4600
 
4601
+ # Configuration of Fast Socket feature.
4602
+ # @!attribute [rw] enabled
4603
+ # @return [::Boolean]
4604
+ # Whether Fast Socket features are enabled in the node pool.
4605
+ class FastSocket
4606
+ include ::Google::Protobuf::MessageExts
4607
+ extend ::Google::Protobuf::MessageExts::ClassMethods
4608
+ end
4609
+
4522
4610
  # GetOpenIDConfigRequest gets the OIDC discovery document for the
4523
4611
  # cluster. See the OpenID Connect Discovery 1.0 specification for details.
4524
4612
  # @!attribute [rw] parent
@@ -5030,6 +5118,18 @@ module Google
5030
5118
  # for more.
5031
5119
  ADVANCED_DATAPATH = 2
5032
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
5033
5133
  end
5034
5134
  end
5035
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.13.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-11-08 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
@@ -179,7 +179,9 @@ files:
179
179
  - lib/google/container/v1beta1/cluster_service_pb.rb
180
180
  - lib/google/container/v1beta1/cluster_service_services_pb.rb
181
181
  - proto_docs/README.md
182
+ - proto_docs/google/api/client.rb
182
183
  - proto_docs/google/api/field_behavior.rb
184
+ - proto_docs/google/api/launch_stage.rb
183
185
  - proto_docs/google/api/resource.rb
184
186
  - proto_docs/google/container/v1beta1/cluster_service.rb
185
187
  - proto_docs/google/protobuf/any.rb