google-cloud-container-v1beta1 0.12.0 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0b7691b51553803f079d8557921dbc808cd5fc03c0fa1a1495ef54c64df0e147
4
- data.tar.gz: 330a2896be99f7a65a9e493d363af414bac8e7a06c9ba53e773728514681dd07
3
+ metadata.gz: b33b8aa59e88f8e3c098f6ac61d28da6310e8f2934610a71eead145e438d8d23
4
+ data.tar.gz: ab2a03f595a19d7ae7b957d6007231b6a0e5af481d127222e5cd79695819c82d
5
5
  SHA512:
6
- metadata.gz: 268edb4b3bb7ffde42a767a26a33f0f202a7e376ccb4be67c3e73dc2c3184a66f9343cc31255fcc0995b9fdca91633657297ac0484f86a821eaf2be5b553b4fe
7
- data.tar.gz: 4dfbffd664b74e4dcdfdccf606fedf3d871260338daf7ce00a18d7f684f48344a08ae60febdb1e283d1d958bbaf6d935f964a83207ec74b8b446dd2fd2265b26
6
+ metadata.gz: 291cf8c1b4dc35fadb544dd91ee2950b14ab1b48bb5745f90c728e96f67459e21b994674fa52115640cdd77f3b3200fa6a7a59462855d92a02a4d297a93996cd
7
+ data.tar.gz: efd942c28fe7289f77e6331089a8718cf5893669f7de319f8734f19a967ebf07514eb2a1806b7d218ebe2acbaf891f3b284f88293c148db579c5a3e673d53ec6
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)
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)
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,8 +733,13 @@ 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.
740
+ # @param resource_labels [::Google::Cloud::Container::V1beta1::ResourceLabels, ::Hash]
741
+ # The resource labels for the node pool to use to annotate any related
742
+ # Google Compute Engine resources.
738
743
  #
739
744
  # @yield [response, operation] Access the result along with the RPC operation
740
745
  # @yieldparam response [::Google::Cloud::Container::V1beta1::Operation]
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Container
23
23
  module V1beta1
24
- VERSION = "0.12.0"
24
+ VERSION = "0.14.0"
25
25
  end
26
26
  end
27
27
  end
@@ -61,6 +61,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
61
61
  optional :gvnic, :message, 29, "google.container.v1beta1.VirtualNIC"
62
62
  optional :spot, :bool, 32
63
63
  optional :confidential_nodes, :message, 35, "google.container.v1beta1.ConfidentialNodes"
64
+ proto3_optional :fast_socket, :message, 36, "google.container.v1beta1.FastSocket"
65
+ map :resource_labels, :string, :string, 37
64
66
  optional :logging_config, :message, 38, "google.container.v1beta1.NodePoolLoggingConfig"
65
67
  end
66
68
  add_message "google.container.v1beta1.AdvancedMachineFeatures" do
@@ -70,6 +72,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
70
72
  optional :create_pod_range, :bool, 4
71
73
  optional :pod_range, :string, 5
72
74
  optional :pod_ipv4_cidr_block, :string, 6
75
+ proto3_optional :enable_private_nodes, :bool, 9
73
76
  proto3_optional :network_performance_config, :message, 11, "google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig"
74
77
  end
75
78
  add_message "google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig" do
@@ -126,6 +129,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
126
129
  add_message "google.container.v1beta1.NodeLabels" do
127
130
  map :labels, :string, :string, 1
128
131
  end
132
+ add_message "google.container.v1beta1.ResourceLabels" do
133
+ map :labels, :string, :string, 1
134
+ end
129
135
  add_message "google.container.v1beta1.NetworkTags" do
130
136
  repeated :tags, :string, 1
131
137
  end
@@ -195,6 +201,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
195
201
  optional :public_endpoint, :string, 5
196
202
  optional :peering_name, :string, 7
197
203
  optional :master_global_access_config, :message, 8, "google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig"
204
+ optional :private_endpoint_subnetwork, :string, 10
198
205
  end
199
206
  add_message "google.container.v1beta1.IstioConfig" do
200
207
  optional :disabled, :bool, 1
@@ -216,6 +223,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
216
223
  add_message "google.container.v1beta1.MasterAuthorizedNetworksConfig" do
217
224
  optional :enabled, :bool, 1
218
225
  repeated :cidr_blocks, :message, 2, "google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock"
226
+ proto3_optional :gcp_public_cidrs_access_enabled, :bool, 3
219
227
  end
220
228
  add_message "google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock" do
221
229
  optional :display_name, :string, 1
@@ -439,8 +447,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
439
447
  optional :desired_logging_config, :message, 64, "google.container.v1beta1.LoggingConfig"
440
448
  optional :desired_monitoring_config, :message, 65, "google.container.v1beta1.MonitoringConfig"
441
449
  optional :desired_identity_service_config, :message, 66, "google.container.v1beta1.IdentityServiceConfig"
450
+ proto3_optional :desired_enable_private_endpoint, :bool, 71
442
451
  optional :desired_node_pool_auto_config_network_tags, :message, 110, "google.container.v1beta1.NetworkTags"
443
452
  proto3_optional :desired_protect_config, :message, 112, "google.container.v1beta1.ProtectConfig"
453
+ optional :desired_gateway_api_config, :message, 114, "google.container.v1beta1.GatewayAPIConfig"
444
454
  optional :desired_node_pool_logging_config, :message, 116, "google.container.v1beta1.NodePoolLoggingConfig"
445
455
  end
446
456
  add_message "google.container.v1beta1.Operation" do
@@ -539,7 +549,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
539
549
  optional :gcfs_config, :message, 22, "google.container.v1beta1.GcfsConfig"
540
550
  optional :confidential_nodes, :message, 23, "google.container.v1beta1.ConfidentialNodes"
541
551
  optional :gvnic, :message, 29, "google.container.v1beta1.VirtualNIC"
552
+ optional :fast_socket, :message, 31, "google.container.v1beta1.FastSocket"
542
553
  optional :logging_config, :message, 32, "google.container.v1beta1.NodePoolLoggingConfig"
554
+ optional :resource_labels, :message, 33, "google.container.v1beta1.ResourceLabels"
543
555
  end
544
556
  add_message "google.container.v1beta1.SetNodePoolAutoscalingRequest" do
545
557
  optional :project_id, :string, 1
@@ -1000,6 +1012,16 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1000
1012
  optional :private_ipv6_google_access, :enum, 12, "google.container.v1beta1.PrivateIPv6GoogleAccess"
1001
1013
  optional :dns_config, :message, 13, "google.container.v1beta1.DNSConfig"
1002
1014
  optional :service_external_ips_config, :message, 15, "google.container.v1beta1.ServiceExternalIPsConfig"
1015
+ optional :gateway_api_config, :message, 16, "google.container.v1beta1.GatewayAPIConfig"
1016
+ end
1017
+ add_message "google.container.v1beta1.GatewayAPIConfig" do
1018
+ optional :channel, :enum, 1, "google.container.v1beta1.GatewayAPIConfig.Channel"
1019
+ end
1020
+ add_enum "google.container.v1beta1.GatewayAPIConfig.Channel" do
1021
+ value :CHANNEL_UNSPECIFIED, 0
1022
+ value :CHANNEL_DISABLED, 1
1023
+ value :CHANNEL_EXPERIMENTAL, 3
1024
+ value :CHANNEL_STANDARD, 4
1003
1025
  end
1004
1026
  add_message "google.container.v1beta1.ServiceExternalIPsConfig" do
1005
1027
  optional :enabled, :bool, 1
@@ -1103,6 +1125,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1103
1125
  add_message "google.container.v1beta1.VirtualNIC" do
1104
1126
  optional :enabled, :bool, 1
1105
1127
  end
1128
+ add_message "google.container.v1beta1.FastSocket" do
1129
+ optional :enabled, :bool, 1
1130
+ end
1106
1131
  add_message "google.container.v1beta1.GetOpenIDConfigRequest" do
1107
1132
  optional :parent, :string, 1
1108
1133
  end
@@ -1214,6 +1239,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1214
1239
  value :COMPONENT_UNSPECIFIED, 0
1215
1240
  value :SYSTEM_COMPONENTS, 1
1216
1241
  value :WORKLOADS, 2
1242
+ value :APISERVER, 3
1243
+ value :SCHEDULER, 4
1244
+ value :CONTROLLER_MANAGER, 5
1217
1245
  end
1218
1246
  add_message "google.container.v1beta1.MonitoringConfig" do
1219
1247
  optional :component_config, :message, 1, "google.container.v1beta1.MonitoringComponentConfig"
@@ -1288,6 +1316,7 @@ module Google
1288
1316
  NodeTaint::Effect = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.NodeTaint.Effect").enummodule
1289
1317
  NodeTaints = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.NodeTaints").msgclass
1290
1318
  NodeLabels = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.NodeLabels").msgclass
1319
+ ResourceLabels = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.ResourceLabels").msgclass
1291
1320
  NetworkTags = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.NetworkTags").msgclass
1292
1321
  MasterAuth = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.MasterAuth").msgclass
1293
1322
  ClientCertificateConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.ClientCertificateConfig").msgclass
@@ -1416,6 +1445,8 @@ module Google
1416
1445
  StatusCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.StatusCondition").msgclass
1417
1446
  StatusCondition::Code = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.StatusCondition.Code").enummodule
1418
1447
  NetworkConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.NetworkConfig").msgclass
1448
+ GatewayAPIConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.GatewayAPIConfig").msgclass
1449
+ GatewayAPIConfig::Channel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.GatewayAPIConfig.Channel").enummodule
1419
1450
  ServiceExternalIPsConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.ServiceExternalIPsConfig").msgclass
1420
1451
  ListUsableSubnetworksRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.ListUsableSubnetworksRequest").msgclass
1421
1452
  ListUsableSubnetworksResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.ListUsableSubnetworksResponse").msgclass
@@ -1441,6 +1472,7 @@ module Google
1441
1472
  ResourceUsageExportConfig::ConsumptionMeteringConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig").msgclass
1442
1473
  ShieldedNodes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.ShieldedNodes").msgclass
1443
1474
  VirtualNIC = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.VirtualNIC").msgclass
1475
+ FastSocket = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.FastSocket").msgclass
1444
1476
  GetOpenIDConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.GetOpenIDConfigRequest").msgclass
1445
1477
  GetOpenIDConfigResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.GetOpenIDConfigResponse").msgclass
1446
1478
  GetJSONWebKeysRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.GetJSONWebKeysRequest").msgclass
@@ -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
@@ -307,6 +307,13 @@ module Google
307
307
  # @return [::Google::Cloud::Container::V1beta1::ConfidentialNodes]
308
308
  # Confidential nodes config.
309
309
  # All the nodes in the node pool will be Confidential VM once enabled.
310
+ # @!attribute [rw] fast_socket
311
+ # @return [::Google::Cloud::Container::V1beta1::FastSocket]
312
+ # Enable or disable NCCL fast socket for the node pool.
313
+ # @!attribute [rw] resource_labels
314
+ # @return [::Google::Protobuf::Map{::String => ::String}]
315
+ # The resource labels for the node pool to use to annotate any related
316
+ # Google Compute Engine resources.
310
317
  # @!attribute [rw] logging_config
311
318
  # @return [::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig]
312
319
  # Logging configuration.
@@ -331,6 +338,15 @@ module Google
331
338
  include ::Google::Protobuf::MessageExts
332
339
  extend ::Google::Protobuf::MessageExts::ClassMethods
333
340
  end
341
+
342
+ # @!attribute [rw] key
343
+ # @return [::String]
344
+ # @!attribute [rw] value
345
+ # @return [::String]
346
+ class ResourceLabelsEntry
347
+ include ::Google::Protobuf::MessageExts
348
+ extend ::Google::Protobuf::MessageExts::ClassMethods
349
+ end
334
350
  end
335
351
 
336
352
  # Specifies options for controlling advanced machine features.
@@ -386,6 +402,11 @@ module Google
386
402
  # Only applicable if `ip_allocation_policy.use_ip_aliases` is true.
387
403
  #
388
404
  # This field cannot be changed after the node pool has been created.
405
+ # @!attribute [rw] enable_private_nodes
406
+ # @return [::Boolean]
407
+ # Whether nodes have internal IP addresses only.
408
+ # If enable_private_nodes is not specified, then the value is derived from
409
+ # [cluster.privateClusterConfig.enablePrivateNodes][google.container.v1beta1.PrivateClusterConfig.enablePrivateNodes]
389
410
  # @!attribute [rw] network_performance_config
390
411
  # @return [::Google::Cloud::Container::V1beta1::NodeNetworkConfig::NetworkPerformanceConfig]
391
412
  # Network bandwidth tier configuration.
@@ -579,6 +600,25 @@ module Google
579
600
  end
580
601
  end
581
602
 
603
+ # Collection of [GCP
604
+ # labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels).
605
+ # @!attribute [rw] labels
606
+ # @return [::Google::Protobuf::Map{::String => ::String}]
607
+ # Map of node label keys and node label values.
608
+ class ResourceLabels
609
+ include ::Google::Protobuf::MessageExts
610
+ extend ::Google::Protobuf::MessageExts::ClassMethods
611
+
612
+ # @!attribute [rw] key
613
+ # @return [::String]
614
+ # @!attribute [rw] value
615
+ # @return [::String]
616
+ class LabelsEntry
617
+ include ::Google::Protobuf::MessageExts
618
+ extend ::Google::Protobuf::MessageExts::ClassMethods
619
+ end
620
+ end
621
+
582
622
  # Collection of Compute Engine network tags that can be applied to a node's
583
623
  # underlying VM instance. (See `tags` field in
584
624
  # [`NodeConfig`](/kubernetes-engine/docs/reference/rest/v1/NodeConfig)).
@@ -835,6 +875,10 @@ module Google
835
875
  # @!attribute [rw] master_global_access_config
836
876
  # @return [::Google::Cloud::Container::V1beta1::PrivateClusterMasterGlobalAccessConfig]
837
877
  # Controls master global access settings.
878
+ # @!attribute [rw] private_endpoint_subnetwork
879
+ # @return [::String]
880
+ # Subnet to provision the master's private endpoint during cluster creation.
881
+ # Specified in projects/*/regions/*/subnetworks/* format.
838
882
  class PrivateClusterConfig
839
883
  include ::Google::Protobuf::MessageExts
840
884
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -896,6 +940,9 @@ module Google
896
940
  # @return [::Array<::Google::Cloud::Container::V1beta1::MasterAuthorizedNetworksConfig::CidrBlock>]
897
941
  # cidr_blocks define up to 10 external networks that could access
898
942
  # Kubernetes master through HTTPS.
943
+ # @!attribute [rw] gcp_public_cidrs_access_enabled
944
+ # @return [::Boolean]
945
+ # Whether master is accessbile via Google Compute Engine Public IP addresses.
899
946
  class MasterAuthorizedNetworksConfig
900
947
  include ::Google::Protobuf::MessageExts
901
948
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1129,9 +1176,8 @@ module Google
1129
1176
  # anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored.
1130
1177
  # @!attribute [rw] evaluation_mode
1131
1178
  # @return [::Google::Cloud::Container::V1beta1::BinaryAuthorization::EvaluationMode]
1132
- # Mode of operation for binauthz policy evaluation. Currently the only
1133
- # options are equivalent to enable/disable. If unspecified, defaults to
1134
- # DISABLED.
1179
+ # Mode of operation for binauthz policy evaluation. If unspecified, defaults
1180
+ # to DISABLED.
1135
1181
  class BinaryAuthorization
1136
1182
  include ::Google::Protobuf::MessageExts
1137
1183
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1864,6 +1910,9 @@ module Google
1864
1910
  # @!attribute [rw] desired_identity_service_config
1865
1911
  # @return [::Google::Cloud::Container::V1beta1::IdentityServiceConfig]
1866
1912
  # The desired Identity Service component configuration.
1913
+ # @!attribute [rw] desired_enable_private_endpoint
1914
+ # @return [::Boolean]
1915
+ # Enable/Disable private endpoint for the cluster's master.
1867
1916
  # @!attribute [rw] desired_node_pool_auto_config_network_tags
1868
1917
  # @return [::Google::Cloud::Container::V1beta1::NetworkTags]
1869
1918
  # The desired network tags that apply to all auto-provisioned node pools
@@ -1871,6 +1920,9 @@ module Google
1871
1920
  # @!attribute [rw] desired_protect_config
1872
1921
  # @return [::Google::Cloud::Container::V1beta1::ProtectConfig]
1873
1922
  # Enable/Disable Protect API features for the cluster.
1923
+ # @!attribute [rw] desired_gateway_api_config
1924
+ # @return [::Google::Cloud::Container::V1beta1::GatewayAPIConfig]
1925
+ # The desired config of Gateway API on this cluster.
1874
1926
  # @!attribute [rw] desired_node_pool_logging_config
1875
1927
  # @return [::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig]
1876
1928
  # The desired node pool logging configuration defaults for the cluster.
@@ -2223,9 +2275,16 @@ module Google
2223
2275
  # @!attribute [rw] gvnic
2224
2276
  # @return [::Google::Cloud::Container::V1beta1::VirtualNIC]
2225
2277
  # Enable or disable gvnic on the node pool.
2278
+ # @!attribute [rw] fast_socket
2279
+ # @return [::Google::Cloud::Container::V1beta1::FastSocket]
2280
+ # Enable or disable NCCL fast socket for the node pool.
2226
2281
  # @!attribute [rw] logging_config
2227
2282
  # @return [::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig]
2228
2283
  # Logging configuration.
2284
+ # @!attribute [rw] resource_labels
2285
+ # @return [::Google::Cloud::Container::V1beta1::ResourceLabels]
2286
+ # The resource labels for the node pool to use to annotate any related
2287
+ # Google Compute Engine resources.
2229
2288
  class UpdateNodePoolRequest
2230
2289
  include ::Google::Protobuf::MessageExts
2231
2290
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2877,7 +2936,7 @@ module Google
2877
2936
  # Standard rollout policy is the default policy for blue-green.
2878
2937
  # @!attribute [rw] batch_percentage
2879
2938
  # @return [::Float]
2880
- # Percentage of the bool pool nodes to drain in a batch.
2939
+ # Percentage of the blue pool nodes to drain in a batch.
2881
2940
  # The range of this field should be (0.0, 1.0].
2882
2941
  # @!attribute [rw] batch_node_count
2883
2942
  # @return [::Integer]
@@ -4081,11 +4140,40 @@ module Google
4081
4140
  # @return [::Google::Cloud::Container::V1beta1::ServiceExternalIPsConfig]
4082
4141
  # ServiceExternalIPsConfig specifies if services with externalIPs field are
4083
4142
  # blocked or not.
4143
+ # @!attribute [rw] gateway_api_config
4144
+ # @return [::Google::Cloud::Container::V1beta1::GatewayAPIConfig]
4145
+ # GatewayAPIConfig contains the desired config of Gateway API on this
4146
+ # cluster.
4084
4147
  class NetworkConfig
4085
4148
  include ::Google::Protobuf::MessageExts
4086
4149
  extend ::Google::Protobuf::MessageExts::ClassMethods
4087
4150
  end
4088
4151
 
4152
+ # GatewayAPIConfig contains the desired config of Gateway API on this cluster.
4153
+ # @!attribute [rw] channel
4154
+ # @return [::Google::Cloud::Container::V1beta1::GatewayAPIConfig::Channel]
4155
+ # The Gateway API release channel to use for Gateway API.
4156
+ class GatewayAPIConfig
4157
+ include ::Google::Protobuf::MessageExts
4158
+ extend ::Google::Protobuf::MessageExts::ClassMethods
4159
+
4160
+ # Channel describes if/how Gateway API should be installed and implemented in
4161
+ # a cluster.
4162
+ module Channel
4163
+ # Default value.
4164
+ CHANNEL_UNSPECIFIED = 0
4165
+
4166
+ # Gateway API support is disabled
4167
+ CHANNEL_DISABLED = 1
4168
+
4169
+ # Gateway API support is enabled, experimental CRDs are installed
4170
+ CHANNEL_EXPERIMENTAL = 3
4171
+
4172
+ # Gateway API support is enabled, standard CRDs are installed
4173
+ CHANNEL_STANDARD = 4
4174
+ end
4175
+ end
4176
+
4089
4177
  # Config to block services with externalIPs field.
4090
4178
  # @!attribute [rw] enabled
4091
4179
  # @return [::Boolean]
@@ -4436,6 +4524,15 @@ module Google
4436
4524
  extend ::Google::Protobuf::MessageExts::ClassMethods
4437
4525
  end
4438
4526
 
4527
+ # Configuration of Fast Socket feature.
4528
+ # @!attribute [rw] enabled
4529
+ # @return [::Boolean]
4530
+ # Whether Fast Socket features are enabled in the node pool.
4531
+ class FastSocket
4532
+ include ::Google::Protobuf::MessageExts
4533
+ extend ::Google::Protobuf::MessageExts::ClassMethods
4534
+ end
4535
+
4439
4536
  # GetOpenIDConfigRequest gets the OIDC discovery document for the
4440
4537
  # cluster. See the OpenID Connect Discovery 1.0 specification for details.
4441
4538
  # @!attribute [rw] parent
@@ -4804,6 +4901,15 @@ module Google
4804
4901
 
4805
4902
  # workloads
4806
4903
  WORKLOADS = 2
4904
+
4905
+ # kube-apiserver
4906
+ APISERVER = 3
4907
+
4908
+ # kube-scheduler
4909
+ SCHEDULER = 4
4910
+
4911
+ # kube-controller-manager
4912
+ CONTROLLER_MANAGER = 5
4807
4913
  end
4808
4914
  end
4809
4915
 
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.12.0
4
+ version: 0.14.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-10-18 00:00:00.000000000 Z
11
+ date: 2022-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -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