google-cloud-container-v1 0.14.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5ae995acf44ae5a846f5ad51746d1edd7b63ae179ab12292ddb5ee3411cedb07
4
- data.tar.gz: c34af62ee3f8c28f227a56dc7f0b6d72c2760c60959af771fafa9dc2915f80f8
3
+ metadata.gz: 3e661227b003af15dc5da1bd9b8d2e8595375cff44cb7aef0b3d9ea779e4c6ff
4
+ data.tar.gz: '0811df68b296b54f05989f8c510c3b0174d46eeb0b5c2e19ea9569ef8aaf28dc'
5
5
  SHA512:
6
- metadata.gz: a6648c52455f95866f6ec6439f7559558139e966ec888dc93144c3f01e58e788ced6defd090eaa63679a8b5eed7745ec787c9868fbb6e80c5fda6db426d1a76b
7
- data.tar.gz: 810a9a0f63f81daf197138f9a7708a915cfae47371015cdbd03af1a7b775d1e4e15510064e1286e61b906a6e329dcd140800b3c121b26a409cce847727dbb4fb
6
+ metadata.gz: e44a21e04bed876798c9453bcd05fdebc6fe2e3a5c3e210f73f90f09dfab3e061abea15e783ca96fb14f0180f0e43cf57bbf62ac49ffa85fc5f313c9a9b51a2c
7
+ data.tar.gz: 3c3017b05f59b13bbe0e78f2d34e5e88c8cd7cfb6179e91d91ba689c924a9927bfe7e4de15a917a50aa06a054596f75e22c6219eb5d4f18b2392320a7f264e91
@@ -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, fast_socket: nil, logging_config: nil, resource_labels: 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, etag: nil, fast_socket: nil, logging_config: nil, resource_labels: nil, windows_node_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,10 @@ 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 etag [::String]
727
+ # The current etag of the node pool.
728
+ # If an etag is provided and does not match the current etag of the node
729
+ # pool, update will be blocked and an ABORTED error will be returned.
726
730
  # @param fast_socket [::Google::Cloud::Container::V1::FastSocket, ::Hash]
727
731
  # Enable or disable NCCL fast socket for the node pool.
728
732
  # @param logging_config [::Google::Cloud::Container::V1::NodePoolLoggingConfig, ::Hash]
@@ -730,6 +734,8 @@ module Google
730
734
  # @param resource_labels [::Google::Cloud::Container::V1::ResourceLabels, ::Hash]
731
735
  # The resource labels for the node pool to use to annotate any related
732
736
  # Google Compute Engine resources.
737
+ # @param windows_node_config [::Google::Cloud::Container::V1::WindowsNodeConfig, ::Hash]
738
+ # Parameters that can be configured on Windows nodes.
733
739
  #
734
740
  # @yield [response, operation] Access the result along with the RPC operation
735
741
  # @yieldparam response [::Google::Cloud::Container::V1::Operation]
@@ -33,7 +33,7 @@ module Google
33
33
  ##
34
34
  # Google Kubernetes Engine Cluster Manager v1
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/v1/cluster_manager"
39
39
  # client = ::Google::Cloud::Container::V1::ClusterManager::Client.new
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Container
23
23
  module V1
24
- VERSION = "0.14.0"
24
+ VERSION = "0.15.0"
25
25
  end
26
26
  end
27
27
  end
@@ -23,9 +23,9 @@ module Google
23
23
  module Cloud
24
24
  module Container
25
25
  ##
26
- # To load this package, including all its services, and instantiate a client:
26
+ # API client module.
27
27
  #
28
- # @example
28
+ # @example Load this package, including all its services, and instantiate a gRPC client
29
29
  #
30
30
  # require "google/cloud/container/v1"
31
31
  # client = ::Google::Cloud::Container::V1::ClusterManager::Client.new
@@ -25,6 +25,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
25
25
  value :CGROUP_MODE_V1, 1
26
26
  value :CGROUP_MODE_V2, 2
27
27
  end
28
+ add_message "google.container.v1.WindowsNodeConfig" do
29
+ optional :os_version, :enum, 1, "google.container.v1.WindowsNodeConfig.OSVersion"
30
+ end
31
+ add_enum "google.container.v1.WindowsNodeConfig.OSVersion" do
32
+ value :OS_VERSION_UNSPECIFIED, 0
33
+ value :OS_VERSION_LTSC2019, 1
34
+ value :OS_VERSION_LTSC2022, 2
35
+ end
28
36
  add_message "google.container.v1.NodeKubeletConfig" do
29
37
  optional :cpu_manager_policy, :string, 1
30
38
  optional :cpu_cfs_quota, :message, 2, "google.protobuf.BoolValue"
@@ -62,6 +70,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
62
70
  proto3_optional :fast_socket, :message, 36, "google.container.v1.FastSocket"
63
71
  map :resource_labels, :string, :string, 37
64
72
  optional :logging_config, :message, 38, "google.container.v1.NodePoolLoggingConfig"
73
+ optional :windows_node_config, :message, 39, "google.container.v1.WindowsNodeConfig"
74
+ optional :local_nvme_ssd_block_config, :message, 40, "google.container.v1.LocalNvmeSsdBlockConfig"
75
+ optional :ephemeral_storage_local_ssd_config, :message, 41, "google.container.v1.EphemeralStorageLocalSsdConfig"
65
76
  end
66
77
  add_message "google.container.v1.AdvancedMachineFeatures" do
67
78
  proto3_optional :threads_per_core, :int64, 1
@@ -313,6 +324,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
313
324
  optional :logging_config, :message, 132, "google.container.v1.LoggingConfig"
314
325
  optional :monitoring_config, :message, 133, "google.container.v1.MonitoringConfig"
315
326
  optional :node_pool_auto_config, :message, 136, "google.container.v1.NodePoolAutoConfig"
327
+ optional :etag, :string, 139
316
328
  end
317
329
  add_enum "google.container.v1.Cluster.Status" do
318
330
  value :STATUS_UNSPECIFIED, 0
@@ -371,6 +383,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
371
383
  optional :desired_gcfs_config, :message, 109, "google.container.v1.GcfsConfig"
372
384
  optional :desired_node_pool_auto_config_network_tags, :message, 110, "google.container.v1.NetworkTags"
373
385
  optional :desired_gateway_api_config, :message, 114, "google.container.v1.GatewayAPIConfig"
386
+ optional :etag, :string, 115
374
387
  optional :desired_node_pool_logging_config, :message, 116, "google.container.v1.NodePoolLoggingConfig"
375
388
  optional :desired_stack_type, :enum, 119, "google.container.v1.StackType"
376
389
  end
@@ -470,9 +483,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
470
483
  optional :gcfs_config, :message, 22, "google.container.v1.GcfsConfig"
471
484
  optional :confidential_nodes, :message, 23, "google.container.v1.ConfidentialNodes"
472
485
  optional :gvnic, :message, 29, "google.container.v1.VirtualNIC"
486
+ optional :etag, :string, 30
473
487
  optional :fast_socket, :message, 31, "google.container.v1.FastSocket"
474
488
  optional :logging_config, :message, 32, "google.container.v1.NodePoolLoggingConfig"
475
489
  optional :resource_labels, :message, 33, "google.container.v1.ResourceLabels"
490
+ optional :windows_node_config, :message, 34, "google.container.v1.WindowsNodeConfig"
476
491
  end
477
492
  add_message "google.container.v1.SetNodePoolAutoscalingRequest" do
478
493
  optional :project_id, :string, 1
@@ -644,6 +659,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
644
659
  optional :upgrade_settings, :message, 107, "google.container.v1.NodePool.UpgradeSettings"
645
660
  optional :placement_policy, :message, 108, "google.container.v1.NodePool.PlacementPolicy"
646
661
  optional :update_info, :message, 109, "google.container.v1.NodePool.UpdateInfo"
662
+ optional :etag, :string, 110
647
663
  end
648
664
  add_message "google.container.v1.NodePool.UpgradeSettings" do
649
665
  optional :max_surge, :int32, 1
@@ -964,6 +980,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
964
980
  end
965
981
  add_enum "google.container.v1.DNSConfig.DNSScope" do
966
982
  value :DNS_SCOPE_UNSPECIFIED, 0
983
+ value :CLUSTER_SCOPE, 1
967
984
  value :VPC_SCOPE, 2
968
985
  end
969
986
  add_message "google.container.v1.MaxPodsConstraint" do
@@ -1133,6 +1150,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1133
1150
  add_message "google.container.v1.ManagedPrometheusConfig" do
1134
1151
  optional :enabled, :bool, 1
1135
1152
  end
1153
+ add_message "google.container.v1.LocalNvmeSsdBlockConfig" do
1154
+ optional :local_ssd_count, :int32, 1
1155
+ end
1156
+ add_message "google.container.v1.EphemeralStorageLocalSsdConfig" do
1157
+ optional :local_ssd_count, :int32, 1
1158
+ end
1136
1159
  add_enum "google.container.v1.PrivateIPv6GoogleAccess" do
1137
1160
  value :PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED, 0
1138
1161
  value :PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED, 1
@@ -1173,6 +1196,8 @@ module Google
1173
1196
  module V1
1174
1197
  LinuxNodeConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.LinuxNodeConfig").msgclass
1175
1198
  LinuxNodeConfig::CgroupMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.LinuxNodeConfig.CgroupMode").enummodule
1199
+ WindowsNodeConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.WindowsNodeConfig").msgclass
1200
+ WindowsNodeConfig::OSVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.WindowsNodeConfig.OSVersion").enummodule
1176
1201
  NodeKubeletConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodeKubeletConfig").msgclass
1177
1202
  NodeConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodeConfig").msgclass
1178
1203
  AdvancedMachineFeatures = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.AdvancedMachineFeatures").msgclass
@@ -1351,6 +1376,8 @@ module Google
1351
1376
  MonitoringComponentConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MonitoringComponentConfig").msgclass
1352
1377
  MonitoringComponentConfig::Component = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MonitoringComponentConfig.Component").enummodule
1353
1378
  ManagedPrometheusConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ManagedPrometheusConfig").msgclass
1379
+ LocalNvmeSsdBlockConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.LocalNvmeSsdBlockConfig").msgclass
1380
+ EphemeralStorageLocalSsdConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.EphemeralStorageLocalSsdConfig").msgclass
1354
1381
  PrivateIPv6GoogleAccess = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.PrivateIPv6GoogleAccess").enummodule
1355
1382
  UpgradeResourceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.UpgradeResourceType").enummodule
1356
1383
  DatapathProvider = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.DatapathProvider").enummodule
@@ -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::V1::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]
@@ -312,6 +335,16 @@ module Google
312
335
  # @!attribute [rw] logging_config
313
336
  # @return [::Google::Cloud::Container::V1::NodePoolLoggingConfig]
314
337
  # Logging configuration.
338
+ # @!attribute [rw] windows_node_config
339
+ # @return [::Google::Cloud::Container::V1::WindowsNodeConfig]
340
+ # Parameters that can be configured on Windows nodes.
341
+ # @!attribute [rw] local_nvme_ssd_block_config
342
+ # @return [::Google::Cloud::Container::V1::LocalNvmeSsdBlockConfig]
343
+ # Parameters for using raw-block Local NVMe SSDs.
344
+ # @!attribute [rw] ephemeral_storage_local_ssd_config
345
+ # @return [::Google::Cloud::Container::V1::EphemeralStorageLocalSsdConfig]
346
+ # Parameters for the node ephemeral storage using Local SSDs.
347
+ # If unspecified, ephemeral storage is backed by the boot disk.
315
348
  class NodeConfig
316
349
  include ::Google::Protobuf::MessageExts
317
350
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1416,6 +1449,11 @@ module Google
1416
1449
  # @return [::Google::Cloud::Container::V1::NodePoolAutoConfig]
1417
1450
  # Node pool configs that apply to all auto-provisioned node pools
1418
1451
  # in autopilot clusters and node auto-provisioning enabled clusters.
1452
+ # @!attribute [rw] etag
1453
+ # @return [::String]
1454
+ # This checksum is computed by the server based on the value of cluster
1455
+ # fields, and may be sent on update requests to ensure the client has an
1456
+ # up-to-date value before proceeding.
1419
1457
  class Cluster
1420
1458
  include ::Google::Protobuf::MessageExts
1421
1459
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1663,6 +1701,11 @@ module Google
1663
1701
  # @!attribute [rw] desired_gateway_api_config
1664
1702
  # @return [::Google::Cloud::Container::V1::GatewayAPIConfig]
1665
1703
  # The desired config of Gateway API on this cluster.
1704
+ # @!attribute [rw] etag
1705
+ # @return [::String]
1706
+ # The current etag of the cluster.
1707
+ # If an etag is provided and does not match the current etag of the cluster,
1708
+ # update will be blocked and an ABORTED error will be returned.
1666
1709
  # @!attribute [rw] desired_node_pool_logging_config
1667
1710
  # @return [::Google::Cloud::Container::V1::NodePoolLoggingConfig]
1668
1711
  # The desired node pool logging configuration defaults for the cluster.
@@ -2020,6 +2063,11 @@ module Google
2020
2063
  # @!attribute [rw] gvnic
2021
2064
  # @return [::Google::Cloud::Container::V1::VirtualNIC]
2022
2065
  # Enable or disable gvnic on the node pool.
2066
+ # @!attribute [rw] etag
2067
+ # @return [::String]
2068
+ # The current etag of the node pool.
2069
+ # If an etag is provided and does not match the current etag of the node
2070
+ # pool, update will be blocked and an ABORTED error will be returned.
2023
2071
  # @!attribute [rw] fast_socket
2024
2072
  # @return [::Google::Cloud::Container::V1::FastSocket]
2025
2073
  # Enable or disable NCCL fast socket for the node pool.
@@ -2030,6 +2078,9 @@ module Google
2030
2078
  # @return [::Google::Cloud::Container::V1::ResourceLabels]
2031
2079
  # The resource labels for the node pool to use to annotate any related
2032
2080
  # Google Compute Engine resources.
2081
+ # @!attribute [rw] windows_node_config
2082
+ # @return [::Google::Cloud::Container::V1::WindowsNodeConfig]
2083
+ # Parameters that can be configured on Windows nodes.
2033
2084
  class UpdateNodePoolRequest
2034
2085
  include ::Google::Protobuf::MessageExts
2035
2086
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2724,6 +2775,11 @@ module Google
2724
2775
  # @return [::Google::Cloud::Container::V1::NodePool::UpdateInfo]
2725
2776
  # Output only. [Output only] Update info contains relevant information during a node
2726
2777
  # pool update.
2778
+ # @!attribute [rw] etag
2779
+ # @return [::String]
2780
+ # This checksum is computed by the server based on the value of node pool
2781
+ # fields, and may be sent on update requests to ensure the client has an
2782
+ # up-to-date value before proceeding.
2727
2783
  class NodePool
2728
2784
  include ::Google::Protobuf::MessageExts
2729
2785
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -3959,6 +4015,9 @@ module Google
3959
4015
  # Default value, will be inferred as cluster scope.
3960
4016
  DNS_SCOPE_UNSPECIFIED = 0
3961
4017
 
4018
+ # DNS records are accessible from within the cluster.
4019
+ CLUSTER_SCOPE = 1
4020
+
3962
4021
  # DNS records are accessible from within the VPC.
3963
4022
  VPC_SCOPE = 2
3964
4023
  end
@@ -4514,6 +4573,38 @@ module Google
4514
4573
  extend ::Google::Protobuf::MessageExts::ClassMethods
4515
4574
  end
4516
4575
 
4576
+ # LocalNvmeSsdBlockConfig contains configuration for using raw-block local
4577
+ # NVMe SSD.
4578
+ # @!attribute [rw] local_ssd_count
4579
+ # @return [::Integer]
4580
+ # The number of raw-block local NVMe SSD disks to be attached to the node.
4581
+ # Each local SSD is 375 GB in size. If zero, it means no raw-block local NVMe
4582
+ # SSD disks to be attached to the node.
4583
+ # The limit for this value is dependent upon the maximum number of
4584
+ # disks available on a machine per zone. See:
4585
+ # https://cloud.google.com/compute/docs/disks/local-ssd
4586
+ # for more information.
4587
+ class LocalNvmeSsdBlockConfig
4588
+ include ::Google::Protobuf::MessageExts
4589
+ extend ::Google::Protobuf::MessageExts::ClassMethods
4590
+ end
4591
+
4592
+ # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral
4593
+ # storage using Local SSD.
4594
+ # @!attribute [rw] local_ssd_count
4595
+ # @return [::Integer]
4596
+ # Number of local SSDs to use to back ephemeral storage. Uses NVMe
4597
+ # interfaces. Each local SSD is 375 GB in size.
4598
+ # If zero, it means to disable using local SSDs as ephemeral storage.
4599
+ # The limit for this value is dependent upon the maximum number of
4600
+ # disks available on a machine per zone. See:
4601
+ # https://cloud.google.com/compute/docs/disks/local-ssd
4602
+ # for more information.
4603
+ class EphemeralStorageLocalSsdConfig
4604
+ include ::Google::Protobuf::MessageExts
4605
+ extend ::Google::Protobuf::MessageExts::ClassMethods
4606
+ end
4607
+
4517
4608
  # PrivateIPv6GoogleAccess controls whether and how the pods can communicate
4518
4609
  # with Google Services through gRPC over IPv6.
4519
4610
  module PrivateIPv6GoogleAccess
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.14.0
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-15 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