google-cloud-container-v1 0.9.1 → 0.11.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: a79aa2154d4ddc42abf4da3143c69673da34535f0cf2d12aa448f333447b40c7
4
- data.tar.gz: b099bb4789828fb8d69d68abdfa323f58d3b7b71df5dbc7fe428d90028baef7e
3
+ metadata.gz: 682d3acc1daa7b19d9509a9c25ae4ee9039201805ce2e0c2141c19c86a593fc6
4
+ data.tar.gz: bdc2a13086232a1cea08049d021b43c1bcd9e251da85688e432a86994736d9ba
5
5
  SHA512:
6
- metadata.gz: ae9552f3fe6537816cbb96bfd1b57dede5e0b1661fe93577931e3979fe2f40ab5ee3b9aeff7a0fea5fc09cd30396efc1c37b1996cb7bef05afc90ee8c81a429c
7
- data.tar.gz: adfed802d840eb2cbdb9d982e4ca29b3174a4109be2ebfb945a5a4bda6d9fdb61705e7536d4cea0112a1dff61452d5e2b7ae5ccb81b81805c0d8c1a8577ee1a0
6
+ metadata.gz: 42e38bddc12a5e387074414658e3ec43728732d99058712c14e5da063f33a82b605e56bcd3363e305b5fc8fd92c0e9566130df86e0059dff48bfa0148d12d5ad
7
+ data.tar.gz: 8601503e390e461e7559aa723c06b6fab3508f69222f452f666b94b621afd5ac3c9fb0dc743fd9faf404530616d3d3eb9e611ca608656c68acf37099fd5daac5
data/AUTHENTICATION.md CHANGED
@@ -114,7 +114,7 @@ credentials are discovered.
114
114
  To configure your system for this, simply:
115
115
 
116
116
  1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
117
- 2. Authenticate using OAuth 2.0 `$ gcloud auth login`
117
+ 2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
118
118
  3. Write code as if already authenticated.
119
119
 
120
120
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
@@ -650,7 +650,7 @@ module Google
650
650
  # @param options [::Gapic::CallOptions, ::Hash]
651
651
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
652
652
  #
653
- # @overload update_node_pool(project_id: nil, zone: nil, cluster_id: nil, node_pool_id: nil, node_version: nil, image_type: nil, name: nil, locations: nil, workload_metadata_config: 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)
653
+ # @overload update_node_pool(project_id: nil, zone: nil, cluster_id: nil, node_pool_id: nil, node_version: nil, image_type: nil, name: nil, locations: nil, workload_metadata_config: 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)
654
654
  # Pass arguments to `update_node_pool` via keyword arguments. Note that at
655
655
  # least one keyword argument is required. To specify no parameters, or to keep all
656
656
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -723,6 +723,8 @@ module Google
723
723
  # All the nodes in the node pool will be Confidential VM once enabled.
724
724
  # @param gvnic [::Google::Cloud::Container::V1::VirtualNIC, ::Hash]
725
725
  # Enable or disable gvnic on the node pool.
726
+ # @param logging_config [::Google::Cloud::Container::V1::NodePoolLoggingConfig, ::Hash]
727
+ # Logging configuration.
726
728
  #
727
729
  # @yield [response, operation] Access the result along with the RPC operation
728
730
  # @yieldparam response [::Google::Cloud::Container::V1::Operation]
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Container
23
23
  module V1
24
- VERSION = "0.9.1"
24
+ VERSION = "0.11.0"
25
25
  end
26
26
  end
27
27
  end
@@ -53,6 +53,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
53
53
  optional :gvnic, :message, 29, "google.container.v1.VirtualNIC"
54
54
  optional :spot, :bool, 32
55
55
  optional :confidential_nodes, :message, 35, "google.container.v1.ConfidentialNodes"
56
+ optional :logging_config, :message, 38, "google.container.v1.NodePoolLoggingConfig"
56
57
  end
57
58
  add_message "google.container.v1.AdvancedMachineFeatures" do
58
59
  proto3_optional :threads_per_core, :int64, 1
@@ -136,6 +137,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
136
137
  optional :config_connector_config, :message, 10, "google.container.v1.ConfigConnectorConfig"
137
138
  optional :gce_persistent_disk_csi_driver_config, :message, 11, "google.container.v1.GcePersistentDiskCsiDriverConfig"
138
139
  optional :gcp_filestore_csi_driver_config, :message, 14, "google.container.v1.GcpFilestoreCsiDriverConfig"
140
+ optional :gke_backup_agent_config, :message, 16, "google.container.v1.GkeBackupAgentConfig"
139
141
  end
140
142
  add_message "google.container.v1.HttpLoadBalancing" do
141
143
  optional :disabled, :bool, 1
@@ -186,6 +188,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
186
188
  add_message "google.container.v1.GcpFilestoreCsiDriverConfig" do
187
189
  optional :enabled, :bool, 1
188
190
  end
191
+ add_message "google.container.v1.GkeBackupAgentConfig" do
192
+ optional :enabled, :bool, 1
193
+ end
189
194
  add_message "google.container.v1.MasterAuthorizedNetworksConfig" do
190
195
  optional :enabled, :bool, 1
191
196
  repeated :cidr_blocks, :message, 2, "google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock"
@@ -228,6 +233,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
228
233
  optional :services_ipv4_cidr_block, :string, 11
229
234
  optional :tpu_ipv4_cidr_block, :string, 13
230
235
  optional :use_routes, :bool, 15
236
+ optional :stack_type, :enum, 16, "google.container.v1.StackType"
237
+ optional :ipv6_access_type, :enum, 17, "google.container.v1.IPv6AccessType"
231
238
  end
232
239
  add_message "google.container.v1.Cluster" do
233
240
  optional :name, :string, 1
@@ -264,6 +271,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
264
271
  optional :release_channel, :message, 41, "google.container.v1.ReleaseChannel"
265
272
  optional :workload_identity_config, :message, 43, "google.container.v1.WorkloadIdentityConfig"
266
273
  optional :mesh_certificates, :message, 67, "google.container.v1.MeshCertificates"
274
+ optional :cost_management_config, :message, 45, "google.container.v1.CostManagementConfig"
267
275
  optional :notification_config, :message, 49, "google.container.v1.NotificationConfig"
268
276
  optional :confidential_nodes, :message, 50, "google.container.v1.ConfidentialNodes"
269
277
  optional :identity_service_config, :message, 54, "google.container.v1.IdentityServiceConfig"
@@ -309,6 +317,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
309
317
  end
310
318
  add_message "google.container.v1.NodeConfigDefaults" do
311
319
  optional :gcfs_config, :message, 1, "google.container.v1.GcfsConfig"
320
+ optional :logging_config, :message, 3, "google.container.v1.NodePoolLoggingConfig"
312
321
  end
313
322
  add_message "google.container.v1.ClusterUpdate" do
314
323
  optional :desired_node_version, :string, 4
@@ -320,6 +329,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
320
329
  optional :desired_workload_identity_config, :message, 47, "google.container.v1.WorkloadIdentityConfig"
321
330
  optional :desired_mesh_certificates, :message, 67, "google.container.v1.MeshCertificates"
322
331
  optional :desired_shielded_nodes, :message, 48, "google.container.v1.ShieldedNodes"
332
+ optional :desired_cost_management_config, :message, 49, "google.container.v1.CostManagementConfig"
323
333
  optional :desired_dns_config, :message, 53, "google.container.v1.DNSConfig"
324
334
  optional :desired_node_pool_autoscaling, :message, 9, "google.container.v1.NodePoolAutoscaling"
325
335
  repeated :desired_locations, :string, 10
@@ -345,6 +355,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
345
355
  optional :desired_master_version, :string, 100
346
356
  optional :desired_gcfs_config, :message, 109, "google.container.v1.GcfsConfig"
347
357
  optional :desired_node_pool_auto_config_network_tags, :message, 110, "google.container.v1.NetworkTags"
358
+ optional :desired_node_pool_logging_config, :message, 116, "google.container.v1.NodePoolLoggingConfig"
348
359
  end
349
360
  add_message "google.container.v1.Operation" do
350
361
  optional :name, :string, 1
@@ -442,6 +453,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
442
453
  optional :gcfs_config, :message, 22, "google.container.v1.GcfsConfig"
443
454
  optional :confidential_nodes, :message, 23, "google.container.v1.ConfidentialNodes"
444
455
  optional :gvnic, :message, 29, "google.container.v1.VirtualNIC"
456
+ optional :logging_config, :message, 32, "google.container.v1.NodePoolLoggingConfig"
445
457
  end
446
458
  add_message "google.container.v1.SetNodePoolAutoscalingRequest" do
447
459
  optional :project_id, :string, 1
@@ -894,6 +906,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
894
906
  value :REGULAR, 2
895
907
  value :STABLE, 3
896
908
  end
909
+ add_message "google.container.v1.CostManagementConfig" do
910
+ optional :enabled, :bool, 1
911
+ end
897
912
  add_message "google.container.v1.IntraNodeVisibilityConfig" do
898
913
  optional :enabled, :bool, 1
899
914
  end
@@ -1051,6 +1066,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1051
1066
  optional :component_config, :message, 1, "google.container.v1.MonitoringComponentConfig"
1052
1067
  optional :managed_prometheus_config, :message, 2, "google.container.v1.ManagedPrometheusConfig"
1053
1068
  end
1069
+ add_message "google.container.v1.NodePoolLoggingConfig" do
1070
+ optional :variant_config, :message, 1, "google.container.v1.LoggingVariantConfig"
1071
+ end
1072
+ add_message "google.container.v1.LoggingVariantConfig" do
1073
+ optional :variant, :enum, 1, "google.container.v1.LoggingVariantConfig.Variant"
1074
+ end
1075
+ add_enum "google.container.v1.LoggingVariantConfig.Variant" do
1076
+ value :VARIANT_UNSPECIFIED, 0
1077
+ value :DEFAULT, 1
1078
+ value :MAX_THROUGHPUT, 2
1079
+ end
1054
1080
  add_message "google.container.v1.MonitoringComponentConfig" do
1055
1081
  repeated :enable_components, :enum, 1, "google.container.v1.MonitoringComponentConfig.Component"
1056
1082
  end
@@ -1085,6 +1111,16 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1085
1111
  value :BLUE_GREEN, 2
1086
1112
  value :SURGE, 3
1087
1113
  end
1114
+ add_enum "google.container.v1.StackType" do
1115
+ value :STACK_TYPE_UNSPECIFIED, 0
1116
+ value :IPV4, 1
1117
+ value :IPV4_IPV6, 2
1118
+ end
1119
+ add_enum "google.container.v1.IPv6AccessType" do
1120
+ value :IPV6_ACCESS_TYPE_UNSPECIFIED, 0
1121
+ value :INTERNAL, 1
1122
+ value :EXTERNAL, 2
1123
+ end
1088
1124
  end
1089
1125
  end
1090
1126
 
@@ -1126,6 +1162,7 @@ module Google
1126
1162
  ConfigConnectorConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ConfigConnectorConfig").msgclass
1127
1163
  GcePersistentDiskCsiDriverConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.GcePersistentDiskCsiDriverConfig").msgclass
1128
1164
  GcpFilestoreCsiDriverConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.GcpFilestoreCsiDriverConfig").msgclass
1165
+ GkeBackupAgentConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.GkeBackupAgentConfig").msgclass
1129
1166
  MasterAuthorizedNetworksConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MasterAuthorizedNetworksConfig").msgclass
1130
1167
  MasterAuthorizedNetworksConfig::CidrBlock = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock").msgclass
1131
1168
  LegacyAbac = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.LegacyAbac").msgclass
@@ -1221,6 +1258,7 @@ module Google
1221
1258
  GetJSONWebKeysResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.GetJSONWebKeysResponse").msgclass
1222
1259
  ReleaseChannel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ReleaseChannel").msgclass
1223
1260
  ReleaseChannel::Channel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ReleaseChannel.Channel").enummodule
1261
+ CostManagementConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.CostManagementConfig").msgclass
1224
1262
  IntraNodeVisibilityConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.IntraNodeVisibilityConfig").msgclass
1225
1263
  ILBSubsettingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ILBSubsettingConfig").msgclass
1226
1264
  DNSConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.DNSConfig").msgclass
@@ -1257,6 +1295,9 @@ module Google
1257
1295
  LoggingComponentConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.LoggingComponentConfig").msgclass
1258
1296
  LoggingComponentConfig::Component = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.LoggingComponentConfig.Component").enummodule
1259
1297
  MonitoringConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MonitoringConfig").msgclass
1298
+ NodePoolLoggingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodePoolLoggingConfig").msgclass
1299
+ LoggingVariantConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.LoggingVariantConfig").msgclass
1300
+ LoggingVariantConfig::Variant = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.LoggingVariantConfig.Variant").enummodule
1260
1301
  MonitoringComponentConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MonitoringComponentConfig").msgclass
1261
1302
  MonitoringComponentConfig::Component = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MonitoringComponentConfig.Component").enummodule
1262
1303
  ManagedPrometheusConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ManagedPrometheusConfig").msgclass
@@ -1264,6 +1305,8 @@ module Google
1264
1305
  UpgradeResourceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.UpgradeResourceType").enummodule
1265
1306
  DatapathProvider = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.DatapathProvider").enummodule
1266
1307
  NodePoolUpdateStrategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodePoolUpdateStrategy").enummodule
1308
+ StackType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.StackType").enummodule
1309
+ IPv6AccessType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.IPv6AccessType").enummodule
1267
1310
  end
1268
1311
  end
1269
1312
  end
@@ -284,6 +284,9 @@ module Google
284
284
  # @return [::Google::Cloud::Container::V1::ConfidentialNodes]
285
285
  # Confidential nodes config.
286
286
  # All the nodes in the node pool will be Confidential VM once enabled.
287
+ # @!attribute [rw] logging_config
288
+ # @return [::Google::Cloud::Container::V1::NodePoolLoggingConfig]
289
+ # Logging configuration.
287
290
  class NodeConfig
288
291
  include ::Google::Protobuf::MessageExts
289
292
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -444,8 +447,9 @@ module Google
444
447
  # @!attribute [rw] key
445
448
  # @return [::String]
446
449
  # Corresponds to the label key of a reservation resource. To target a
447
- # SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as
448
- # the key and specify the name of your reservation as its value.
450
+ # SPECIFIC_RESERVATION by name, specify
451
+ # "compute.googleapis.com/reservation-name" as the key and specify the name
452
+ # of your reservation as its value.
449
453
  # @!attribute [rw] values
450
454
  # @return [::Array<::String>]
451
455
  # Corresponds to the label value(s) of reservation resource(s).
@@ -639,6 +643,9 @@ module Google
639
643
  # @!attribute [rw] gcp_filestore_csi_driver_config
640
644
  # @return [::Google::Cloud::Container::V1::GcpFilestoreCsiDriverConfig]
641
645
  # Configuration for the GCP Filestore CSI driver.
646
+ # @!attribute [rw] gke_backup_agent_config
647
+ # @return [::Google::Cloud::Container::V1::GkeBackupAgentConfig]
648
+ # Configuration for the Backup for GKE agent addon.
642
649
  class AddonsConfig
643
650
  include ::Google::Protobuf::MessageExts
644
651
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -804,6 +811,15 @@ module Google
804
811
  extend ::Google::Protobuf::MessageExts::ClassMethods
805
812
  end
806
813
 
814
+ # Configuration for the Backup for GKE Agent.
815
+ # @!attribute [rw] enabled
816
+ # @return [::Boolean]
817
+ # Whether the Backup for GKE agent is enabled for this cluster.
818
+ class GkeBackupAgentConfig
819
+ include ::Google::Protobuf::MessageExts
820
+ extend ::Google::Protobuf::MessageExts::ClassMethods
821
+ end
822
+
807
823
  # Configuration options for the master authorized networks feature. Enabled
808
824
  # master authorized networks will disallow all external traffic to access
809
825
  # Kubernetes master through HTTPS except traffic from the given CIDR blocks,
@@ -1014,6 +1030,12 @@ module Google
1014
1030
  # This is used in conjunction with use_ip_aliases. It cannot be true if
1015
1031
  # use_ip_aliases is true. If both use_ip_aliases and use_routes are false,
1016
1032
  # then the server picks the default IP allocation mode
1033
+ # @!attribute [rw] stack_type
1034
+ # @return [::Google::Cloud::Container::V1::StackType]
1035
+ # The IP stack type of the cluster
1036
+ # @!attribute [rw] ipv6_access_type
1037
+ # @return [::Google::Cloud::Container::V1::IPv6AccessType]
1038
+ # The ipv6 access type (internal or external) when create_subnetwork is true
1017
1039
  class IPAllocationPolicy
1018
1040
  include ::Google::Protobuf::MessageExts
1019
1041
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1202,6 +1224,9 @@ module Google
1202
1224
  # @return [::Google::Cloud::Container::V1::MeshCertificates]
1203
1225
  # Configuration for issuance of mTLS keys and certificates to Kubernetes
1204
1226
  # pods.
1227
+ # @!attribute [rw] cost_management_config
1228
+ # @return [::Google::Cloud::Container::V1::CostManagementConfig]
1229
+ # Configuration for the fine-grained cost management feature.
1205
1230
  # @!attribute [rw] notification_config
1206
1231
  # @return [::Google::Cloud::Container::V1::NotificationConfig]
1207
1232
  # Notification configuration of the cluster.
@@ -1396,6 +1421,9 @@ module Google
1396
1421
  # @!attribute [rw] gcfs_config
1397
1422
  # @return [::Google::Cloud::Container::V1::GcfsConfig]
1398
1423
  # GCFS (Google Container File System, also known as Riptide) options.
1424
+ # @!attribute [rw] logging_config
1425
+ # @return [::Google::Cloud::Container::V1::NodePoolLoggingConfig]
1426
+ # Logging configuration for node pools.
1399
1427
  class NodeConfigDefaults
1400
1428
  include ::Google::Protobuf::MessageExts
1401
1429
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1456,6 +1484,9 @@ module Google
1456
1484
  # @!attribute [rw] desired_shielded_nodes
1457
1485
  # @return [::Google::Cloud::Container::V1::ShieldedNodes]
1458
1486
  # Configuration for Shielded Nodes.
1487
+ # @!attribute [rw] desired_cost_management_config
1488
+ # @return [::Google::Cloud::Container::V1::CostManagementConfig]
1489
+ # The desired configuration for the fine-grained cost management feature.
1459
1490
  # @!attribute [rw] desired_dns_config
1460
1491
  # @return [::Google::Cloud::Container::V1::DNSConfig]
1461
1492
  # DNSConfig contains clusterDNS config for this cluster.
@@ -1562,6 +1593,9 @@ module Google
1562
1593
  # @return [::Google::Cloud::Container::V1::NetworkTags]
1563
1594
  # The desired network tags that apply to all auto-provisioned node pools
1564
1595
  # in autopilot clusters and node auto-provisioning enabled clusters.
1596
+ # @!attribute [rw] desired_node_pool_logging_config
1597
+ # @return [::Google::Cloud::Container::V1::NodePoolLoggingConfig]
1598
+ # The desired node pool logging configuration defaults for the cluster.
1565
1599
  class ClusterUpdate
1566
1600
  include ::Google::Protobuf::MessageExts
1567
1601
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1911,6 +1945,9 @@ module Google
1911
1945
  # @!attribute [rw] gvnic
1912
1946
  # @return [::Google::Cloud::Container::V1::VirtualNIC]
1913
1947
  # Enable or disable gvnic on the node pool.
1948
+ # @!attribute [rw] logging_config
1949
+ # @return [::Google::Cloud::Container::V1::NodePoolLoggingConfig]
1950
+ # Logging configuration.
1914
1951
  class UpdateNodePoolRequest
1915
1952
  include ::Google::Protobuf::MessageExts
1916
1953
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -3137,7 +3174,7 @@ module Google
3137
3174
  # minCpuPlatform: Intel Haswell or
3138
3175
  # minCpuPlatform: Intel Sandy Bridge. For more
3139
3176
  # information, read [how to specify min CPU
3140
- # platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
3177
+ # platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
3141
3178
  # This field is deprecated, min_cpu_platform should be specified using
3142
3179
  # https://cloud.google.com/requested-min-cpu-platform label selector on the
3143
3180
  # pod.
@@ -3728,6 +3765,15 @@ module Google
3728
3765
  end
3729
3766
  end
3730
3767
 
3768
+ # Configuration for fine-grained cost management feature.
3769
+ # @!attribute [rw] enabled
3770
+ # @return [::Boolean]
3771
+ # Whether the feature is enabled or not.
3772
+ class CostManagementConfig
3773
+ include ::Google::Protobuf::MessageExts
3774
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3775
+ end
3776
+
3731
3777
  # IntraNodeVisibilityConfig contains the desired config of the intra-node
3732
3778
  # visibility on this cluster.
3733
3779
  # @!attribute [rw] enabled
@@ -4248,6 +4294,36 @@ module Google
4248
4294
  extend ::Google::Protobuf::MessageExts::ClassMethods
4249
4295
  end
4250
4296
 
4297
+ # NodePoolLoggingConfig specifies logging configuration for nodepools.
4298
+ # @!attribute [rw] variant_config
4299
+ # @return [::Google::Cloud::Container::V1::LoggingVariantConfig]
4300
+ # Logging variant configuration.
4301
+ class NodePoolLoggingConfig
4302
+ include ::Google::Protobuf::MessageExts
4303
+ extend ::Google::Protobuf::MessageExts::ClassMethods
4304
+ end
4305
+
4306
+ # LoggingVariantConfig specifies the behaviour of the logging component.
4307
+ # @!attribute [rw] variant
4308
+ # @return [::Google::Cloud::Container::V1::LoggingVariantConfig::Variant]
4309
+ # Logging variant deployed on nodes.
4310
+ class LoggingVariantConfig
4311
+ include ::Google::Protobuf::MessageExts
4312
+ extend ::Google::Protobuf::MessageExts::ClassMethods
4313
+
4314
+ # Logging component variants.
4315
+ module Variant
4316
+ # Default value. This shouldn't be used.
4317
+ VARIANT_UNSPECIFIED = 0
4318
+
4319
+ # default logging variant.
4320
+ DEFAULT = 1
4321
+
4322
+ # maximum logging throughput variant.
4323
+ MAX_THROUGHPUT = 2
4324
+ end
4325
+ end
4326
+
4251
4327
  # MonitoringComponentConfig is cluster monitoring component configuration.
4252
4328
  # @!attribute [rw] enable_components
4253
4329
  # @return [::Array<::Google::Cloud::Container::V1::MonitoringComponentConfig::Component>]
@@ -4343,6 +4419,30 @@ module Google
4343
4419
  # max_surge and max_unavailable determines the level of upgrade parallelism.
4344
4420
  SURGE = 3
4345
4421
  end
4422
+
4423
+ # Possible values for IP stack type
4424
+ module StackType
4425
+ # Default value, will be defaulted as IPV4 only
4426
+ STACK_TYPE_UNSPECIFIED = 0
4427
+
4428
+ # Cluster is IPV4 only
4429
+ IPV4 = 1
4430
+
4431
+ # Cluster can use both IPv4 and IPv6
4432
+ IPV4_IPV6 = 2
4433
+ end
4434
+
4435
+ # Possible values for IPv6 access type
4436
+ module IPv6AccessType
4437
+ # Default value, will be defaulted as type external.
4438
+ IPV6_ACCESS_TYPE_UNSPECIFIED = 0
4439
+
4440
+ # Access type internal (all v6 addresses are internal IPs)
4441
+ INTERNAL = 1
4442
+
4443
+ # Access type external (all v6 addresses are external IPs)
4444
+ EXTERNAL = 2
4445
+ end
4346
4446
  end
4347
4447
  end
4348
4448
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-container-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.11.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-08-05 00:00:00.000000000 Z
11
+ date: 2022-10-18 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.10'
19
+ version: '0.12'
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.10'
29
+ version: '0.12'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a