google-cloud-container-v1beta1 0.12.0 → 0.13.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: b0c43f5c0d4d3abc76c397f141b7f6bc0d538fe75279a42b2c0190e55e9d60e8
4
+ data.tar.gz: 8412d68ce9841352a9e9683892c7d5c9c3bb2a3072bddbef64b40621852f0898
5
5
  SHA512:
6
- metadata.gz: 268edb4b3bb7ffde42a767a26a33f0f202a7e376ccb4be67c3e73dc2c3184a66f9343cc31255fcc0995b9fdca91633657297ac0484f86a821eaf2be5b553b4fe
7
- data.tar.gz: 4dfbffd664b74e4dcdfdccf606fedf3d871260338daf7ce00a18d7f684f48344a08ae60febdb1e283d1d958bbaf6d935f964a83207ec74b8b446dd2fd2265b26
6
+ metadata.gz: 7519e592d61e157269a50ea3bea0445691cb93adaac24ebfa9962cff37131155787419a1b9b228a975f4c6694384aa19f3dd19c70a4c96f36376f547228394cb
7
+ data.tar.gz: a8444ae386b7996d563347248ef062bd307c8222b8e6360de9274397eb9ce2b9ec26eaadd7860f7237458f744d47105153e7685be5536c66dc58fab1e688946f
@@ -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, 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).
@@ -735,6 +735,9 @@ module Google
735
735
  # Enable or disable gvnic on the node pool.
736
736
  # @param logging_config [::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig, ::Hash]
737
737
  # Logging configuration.
738
+ # @param resource_labels [::Google::Cloud::Container::V1beta1::ResourceLabels, ::Hash]
739
+ # The resource labels for the node pool to use to annotate any related
740
+ # Google Compute Engine resources.
738
741
  #
739
742
  # @yield [response, operation] Access the result along with the RPC operation
740
743
  # @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.13.0"
25
25
  end
26
26
  end
27
27
  end
@@ -61,6 +61,7 @@ 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
+ map :resource_labels, :string, :string, 37
64
65
  optional :logging_config, :message, 38, "google.container.v1beta1.NodePoolLoggingConfig"
65
66
  end
66
67
  add_message "google.container.v1beta1.AdvancedMachineFeatures" do
@@ -70,6 +71,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
70
71
  optional :create_pod_range, :bool, 4
71
72
  optional :pod_range, :string, 5
72
73
  optional :pod_ipv4_cidr_block, :string, 6
74
+ proto3_optional :enable_private_nodes, :bool, 9
73
75
  proto3_optional :network_performance_config, :message, 11, "google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig"
74
76
  end
75
77
  add_message "google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig" do
@@ -126,6 +128,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
126
128
  add_message "google.container.v1beta1.NodeLabels" do
127
129
  map :labels, :string, :string, 1
128
130
  end
131
+ add_message "google.container.v1beta1.ResourceLabels" do
132
+ map :labels, :string, :string, 1
133
+ end
129
134
  add_message "google.container.v1beta1.NetworkTags" do
130
135
  repeated :tags, :string, 1
131
136
  end
@@ -195,6 +200,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
195
200
  optional :public_endpoint, :string, 5
196
201
  optional :peering_name, :string, 7
197
202
  optional :master_global_access_config, :message, 8, "google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig"
203
+ optional :private_endpoint_subnetwork, :string, 10
198
204
  end
199
205
  add_message "google.container.v1beta1.IstioConfig" do
200
206
  optional :disabled, :bool, 1
@@ -216,6 +222,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
216
222
  add_message "google.container.v1beta1.MasterAuthorizedNetworksConfig" do
217
223
  optional :enabled, :bool, 1
218
224
  repeated :cidr_blocks, :message, 2, "google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock"
225
+ proto3_optional :gcp_public_cidrs_access_enabled, :bool, 3
219
226
  end
220
227
  add_message "google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock" do
221
228
  optional :display_name, :string, 1
@@ -439,8 +446,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
439
446
  optional :desired_logging_config, :message, 64, "google.container.v1beta1.LoggingConfig"
440
447
  optional :desired_monitoring_config, :message, 65, "google.container.v1beta1.MonitoringConfig"
441
448
  optional :desired_identity_service_config, :message, 66, "google.container.v1beta1.IdentityServiceConfig"
449
+ proto3_optional :desired_enable_private_endpoint, :bool, 71
442
450
  optional :desired_node_pool_auto_config_network_tags, :message, 110, "google.container.v1beta1.NetworkTags"
443
451
  proto3_optional :desired_protect_config, :message, 112, "google.container.v1beta1.ProtectConfig"
452
+ optional :desired_gateway_api_config, :message, 114, "google.container.v1beta1.GatewayAPIConfig"
444
453
  optional :desired_node_pool_logging_config, :message, 116, "google.container.v1beta1.NodePoolLoggingConfig"
445
454
  end
446
455
  add_message "google.container.v1beta1.Operation" do
@@ -540,6 +549,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
540
549
  optional :confidential_nodes, :message, 23, "google.container.v1beta1.ConfidentialNodes"
541
550
  optional :gvnic, :message, 29, "google.container.v1beta1.VirtualNIC"
542
551
  optional :logging_config, :message, 32, "google.container.v1beta1.NodePoolLoggingConfig"
552
+ optional :resource_labels, :message, 33, "google.container.v1beta1.ResourceLabels"
543
553
  end
544
554
  add_message "google.container.v1beta1.SetNodePoolAutoscalingRequest" do
545
555
  optional :project_id, :string, 1
@@ -1000,6 +1010,16 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1000
1010
  optional :private_ipv6_google_access, :enum, 12, "google.container.v1beta1.PrivateIPv6GoogleAccess"
1001
1011
  optional :dns_config, :message, 13, "google.container.v1beta1.DNSConfig"
1002
1012
  optional :service_external_ips_config, :message, 15, "google.container.v1beta1.ServiceExternalIPsConfig"
1013
+ optional :gateway_api_config, :message, 16, "google.container.v1beta1.GatewayAPIConfig"
1014
+ end
1015
+ add_message "google.container.v1beta1.GatewayAPIConfig" do
1016
+ optional :channel, :enum, 1, "google.container.v1beta1.GatewayAPIConfig.Channel"
1017
+ end
1018
+ add_enum "google.container.v1beta1.GatewayAPIConfig.Channel" do
1019
+ value :CHANNEL_UNSPECIFIED, 0
1020
+ value :CHANNEL_DISABLED, 1
1021
+ value :CHANNEL_EXPERIMENTAL, 3
1022
+ value :CHANNEL_STANDARD, 4
1003
1023
  end
1004
1024
  add_message "google.container.v1beta1.ServiceExternalIPsConfig" do
1005
1025
  optional :enabled, :bool, 1
@@ -1214,6 +1234,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1214
1234
  value :COMPONENT_UNSPECIFIED, 0
1215
1235
  value :SYSTEM_COMPONENTS, 1
1216
1236
  value :WORKLOADS, 2
1237
+ value :APISERVER, 3
1238
+ value :SCHEDULER, 4
1239
+ value :CONTROLLER_MANAGER, 5
1217
1240
  end
1218
1241
  add_message "google.container.v1beta1.MonitoringConfig" do
1219
1242
  optional :component_config, :message, 1, "google.container.v1beta1.MonitoringComponentConfig"
@@ -1288,6 +1311,7 @@ module Google
1288
1311
  NodeTaint::Effect = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.NodeTaint.Effect").enummodule
1289
1312
  NodeTaints = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.NodeTaints").msgclass
1290
1313
  NodeLabels = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.NodeLabels").msgclass
1314
+ ResourceLabels = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.ResourceLabels").msgclass
1291
1315
  NetworkTags = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.NetworkTags").msgclass
1292
1316
  MasterAuth = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.MasterAuth").msgclass
1293
1317
  ClientCertificateConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.ClientCertificateConfig").msgclass
@@ -1416,6 +1440,8 @@ module Google
1416
1440
  StatusCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.StatusCondition").msgclass
1417
1441
  StatusCondition::Code = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.StatusCondition.Code").enummodule
1418
1442
  NetworkConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.NetworkConfig").msgclass
1443
+ GatewayAPIConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.GatewayAPIConfig").msgclass
1444
+ GatewayAPIConfig::Channel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.GatewayAPIConfig.Channel").enummodule
1419
1445
  ServiceExternalIPsConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.ServiceExternalIPsConfig").msgclass
1420
1446
  ListUsableSubnetworksRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.ListUsableSubnetworksRequest").msgclass
1421
1447
  ListUsableSubnetworksResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.ListUsableSubnetworksResponse").msgclass
@@ -307,6 +307,10 @@ 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] resource_labels
311
+ # @return [::Google::Protobuf::Map{::String => ::String}]
312
+ # The resource labels for the node pool to use to annotate any related
313
+ # Google Compute Engine resources.
310
314
  # @!attribute [rw] logging_config
311
315
  # @return [::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig]
312
316
  # Logging configuration.
@@ -331,6 +335,15 @@ module Google
331
335
  include ::Google::Protobuf::MessageExts
332
336
  extend ::Google::Protobuf::MessageExts::ClassMethods
333
337
  end
338
+
339
+ # @!attribute [rw] key
340
+ # @return [::String]
341
+ # @!attribute [rw] value
342
+ # @return [::String]
343
+ class ResourceLabelsEntry
344
+ include ::Google::Protobuf::MessageExts
345
+ extend ::Google::Protobuf::MessageExts::ClassMethods
346
+ end
334
347
  end
335
348
 
336
349
  # Specifies options for controlling advanced machine features.
@@ -386,6 +399,11 @@ module Google
386
399
  # Only applicable if `ip_allocation_policy.use_ip_aliases` is true.
387
400
  #
388
401
  # This field cannot be changed after the node pool has been created.
402
+ # @!attribute [rw] enable_private_nodes
403
+ # @return [::Boolean]
404
+ # Whether nodes have internal IP addresses only.
405
+ # If enable_private_nodes is not specified, then the value is derived from
406
+ # [cluster.privateClusterConfig.enablePrivateNodes][google.container.v1beta1.PrivateClusterConfig.enablePrivateNodes]
389
407
  # @!attribute [rw] network_performance_config
390
408
  # @return [::Google::Cloud::Container::V1beta1::NodeNetworkConfig::NetworkPerformanceConfig]
391
409
  # Network bandwidth tier configuration.
@@ -579,6 +597,25 @@ module Google
579
597
  end
580
598
  end
581
599
 
600
+ # Collection of [GCP
601
+ # labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels).
602
+ # @!attribute [rw] labels
603
+ # @return [::Google::Protobuf::Map{::String => ::String}]
604
+ # Map of node label keys and node label values.
605
+ class ResourceLabels
606
+ include ::Google::Protobuf::MessageExts
607
+ extend ::Google::Protobuf::MessageExts::ClassMethods
608
+
609
+ # @!attribute [rw] key
610
+ # @return [::String]
611
+ # @!attribute [rw] value
612
+ # @return [::String]
613
+ class LabelsEntry
614
+ include ::Google::Protobuf::MessageExts
615
+ extend ::Google::Protobuf::MessageExts::ClassMethods
616
+ end
617
+ end
618
+
582
619
  # Collection of Compute Engine network tags that can be applied to a node's
583
620
  # underlying VM instance. (See `tags` field in
584
621
  # [`NodeConfig`](/kubernetes-engine/docs/reference/rest/v1/NodeConfig)).
@@ -835,6 +872,10 @@ module Google
835
872
  # @!attribute [rw] master_global_access_config
836
873
  # @return [::Google::Cloud::Container::V1beta1::PrivateClusterMasterGlobalAccessConfig]
837
874
  # Controls master global access settings.
875
+ # @!attribute [rw] private_endpoint_subnetwork
876
+ # @return [::String]
877
+ # Subnet to provision the master's private endpoint during cluster creation.
878
+ # Specified in projects/*/regions/*/subnetworks/* format.
838
879
  class PrivateClusterConfig
839
880
  include ::Google::Protobuf::MessageExts
840
881
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -896,6 +937,9 @@ module Google
896
937
  # @return [::Array<::Google::Cloud::Container::V1beta1::MasterAuthorizedNetworksConfig::CidrBlock>]
897
938
  # cidr_blocks define up to 10 external networks that could access
898
939
  # Kubernetes master through HTTPS.
940
+ # @!attribute [rw] gcp_public_cidrs_access_enabled
941
+ # @return [::Boolean]
942
+ # Whether master is accessbile via Google Compute Engine Public IP addresses.
899
943
  class MasterAuthorizedNetworksConfig
900
944
  include ::Google::Protobuf::MessageExts
901
945
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1864,6 +1908,9 @@ module Google
1864
1908
  # @!attribute [rw] desired_identity_service_config
1865
1909
  # @return [::Google::Cloud::Container::V1beta1::IdentityServiceConfig]
1866
1910
  # The desired Identity Service component configuration.
1911
+ # @!attribute [rw] desired_enable_private_endpoint
1912
+ # @return [::Boolean]
1913
+ # Enable/Disable private endpoint for the cluster's master.
1867
1914
  # @!attribute [rw] desired_node_pool_auto_config_network_tags
1868
1915
  # @return [::Google::Cloud::Container::V1beta1::NetworkTags]
1869
1916
  # The desired network tags that apply to all auto-provisioned node pools
@@ -1871,6 +1918,9 @@ module Google
1871
1918
  # @!attribute [rw] desired_protect_config
1872
1919
  # @return [::Google::Cloud::Container::V1beta1::ProtectConfig]
1873
1920
  # Enable/Disable Protect API features for the cluster.
1921
+ # @!attribute [rw] desired_gateway_api_config
1922
+ # @return [::Google::Cloud::Container::V1beta1::GatewayAPIConfig]
1923
+ # The desired config of Gateway API on this cluster.
1874
1924
  # @!attribute [rw] desired_node_pool_logging_config
1875
1925
  # @return [::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig]
1876
1926
  # The desired node pool logging configuration defaults for the cluster.
@@ -2226,6 +2276,10 @@ module Google
2226
2276
  # @!attribute [rw] logging_config
2227
2277
  # @return [::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig]
2228
2278
  # Logging configuration.
2279
+ # @!attribute [rw] resource_labels
2280
+ # @return [::Google::Cloud::Container::V1beta1::ResourceLabels]
2281
+ # The resource labels for the node pool to use to annotate any related
2282
+ # Google Compute Engine resources.
2229
2283
  class UpdateNodePoolRequest
2230
2284
  include ::Google::Protobuf::MessageExts
2231
2285
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2877,7 +2931,7 @@ module Google
2877
2931
  # Standard rollout policy is the default policy for blue-green.
2878
2932
  # @!attribute [rw] batch_percentage
2879
2933
  # @return [::Float]
2880
- # Percentage of the bool pool nodes to drain in a batch.
2934
+ # Percentage of the blue pool nodes to drain in a batch.
2881
2935
  # The range of this field should be (0.0, 1.0].
2882
2936
  # @!attribute [rw] batch_node_count
2883
2937
  # @return [::Integer]
@@ -4081,11 +4135,40 @@ module Google
4081
4135
  # @return [::Google::Cloud::Container::V1beta1::ServiceExternalIPsConfig]
4082
4136
  # ServiceExternalIPsConfig specifies if services with externalIPs field are
4083
4137
  # blocked or not.
4138
+ # @!attribute [rw] gateway_api_config
4139
+ # @return [::Google::Cloud::Container::V1beta1::GatewayAPIConfig]
4140
+ # GatewayAPIConfig contains the desired config of Gateway API on this
4141
+ # cluster.
4084
4142
  class NetworkConfig
4085
4143
  include ::Google::Protobuf::MessageExts
4086
4144
  extend ::Google::Protobuf::MessageExts::ClassMethods
4087
4145
  end
4088
4146
 
4147
+ # GatewayAPIConfig contains the desired config of Gateway API on this cluster.
4148
+ # @!attribute [rw] channel
4149
+ # @return [::Google::Cloud::Container::V1beta1::GatewayAPIConfig::Channel]
4150
+ # The Gateway API release channel to use for Gateway API.
4151
+ class GatewayAPIConfig
4152
+ include ::Google::Protobuf::MessageExts
4153
+ extend ::Google::Protobuf::MessageExts::ClassMethods
4154
+
4155
+ # Channel describes if/how Gateway API should be installed and implemented in
4156
+ # a cluster.
4157
+ module Channel
4158
+ # Default value.
4159
+ CHANNEL_UNSPECIFIED = 0
4160
+
4161
+ # Gateway API support is disabled
4162
+ CHANNEL_DISABLED = 1
4163
+
4164
+ # Gateway API support is enabled, experimental CRDs are installed
4165
+ CHANNEL_EXPERIMENTAL = 3
4166
+
4167
+ # Gateway API support is enabled, standard CRDs are installed
4168
+ CHANNEL_STANDARD = 4
4169
+ end
4170
+ end
4171
+
4089
4172
  # Config to block services with externalIPs field.
4090
4173
  # @!attribute [rw] enabled
4091
4174
  # @return [::Boolean]
@@ -4804,6 +4887,15 @@ module Google
4804
4887
 
4805
4888
  # workloads
4806
4889
  WORKLOADS = 2
4890
+
4891
+ # kube-apiserver
4892
+ APISERVER = 3
4893
+
4894
+ # kube-scheduler
4895
+ SCHEDULER = 4
4896
+
4897
+ # kube-controller-manager
4898
+ CONTROLLER_MANAGER = 5
4807
4899
  end
4808
4900
  end
4809
4901
 
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.13.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-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common