google-cloud-container-v1 1.2.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/container/v1/cluster_manager/client.rb +4 -1
- data/lib/google/cloud/container/v1/cluster_manager/paths.rb +42 -0
- data/lib/google/cloud/container/v1/cluster_manager/rest/client.rb +4 -1
- data/lib/google/cloud/container/v1/version.rb +1 -1
- data/lib/google/container/v1/cluster_service_pb.rb +16 -1
- data/proto_docs/google/api/client.rb +20 -0
- data/proto_docs/google/container/v1/cluster_service.rb +441 -9
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd146a77b25e1eefe12dcc191e140db3ae243830fb6073a9183bfd70de6d326e
|
4
|
+
data.tar.gz: e26017283b6afaf246effd560ed4eb9688f8229facb24347e5d916151812495d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36b402e7fcf74c24ac3520a833f248c40c9be7bd153445adf537bd76687842c3fed7516e5f3b4b4b471303a09d6b2db43063bb68e620c418c3947725b861b37f
|
7
|
+
data.tar.gz: 4d9a09dd1cd7dd48ef840651a6c31f364920d1656d4b26541382a4ee171f45890c165e00c82e5870ee2b6e9abb2c5210fc0cb78d17218dd52fe682caa9d030e3
|
@@ -673,7 +673,7 @@ module Google
|
|
673
673
|
# @param options [::Gapic::CallOptions, ::Hash]
|
674
674
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
675
675
|
#
|
676
|
-
# @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, accelerators: nil, machine_type: nil, disk_type: nil, disk_size_gb: nil, resource_manager_tags: nil, containerd_config: nil, queued_provisioning: nil)
|
676
|
+
# @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, accelerators: nil, machine_type: nil, disk_type: nil, disk_size_gb: nil, resource_manager_tags: nil, containerd_config: nil, queued_provisioning: nil, storage_pools: nil)
|
677
677
|
# Pass arguments to `update_node_pool` via keyword arguments. Note that at
|
678
678
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
679
679
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -790,6 +790,9 @@ module Google
|
|
790
790
|
# config.
|
791
791
|
# @param queued_provisioning [::Google::Cloud::Container::V1::NodePool::QueuedProvisioning, ::Hash]
|
792
792
|
# Specifies the configuration of queued provisioning.
|
793
|
+
# @param storage_pools [::Array<::String>]
|
794
|
+
# List of Storage Pools where boot disks are provisioned.
|
795
|
+
# Existing Storage Pools will be replaced with storage-pools.
|
793
796
|
#
|
794
797
|
# @yield [response, operation] Access the result along with the RPC operation
|
795
798
|
# @yieldparam response [::Google::Cloud::Container::V1::Operation]
|
@@ -24,6 +24,48 @@ module Google
|
|
24
24
|
module ClusterManager
|
25
25
|
# Path helper methods for the ClusterManager API.
|
26
26
|
module Paths
|
27
|
+
##
|
28
|
+
# Create a fully-qualified CaPool resource string.
|
29
|
+
#
|
30
|
+
# The resource will be in the following format:
|
31
|
+
#
|
32
|
+
# `projects/{project}/locations/{location}/caPools/{ca_pool}`
|
33
|
+
#
|
34
|
+
# @param project [String]
|
35
|
+
# @param location [String]
|
36
|
+
# @param ca_pool [String]
|
37
|
+
#
|
38
|
+
# @return [::String]
|
39
|
+
def ca_pool_path project:, location:, ca_pool:
|
40
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
41
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
42
|
+
|
43
|
+
"projects/#{project}/locations/#{location}/caPools/#{ca_pool}"
|
44
|
+
end
|
45
|
+
|
46
|
+
##
|
47
|
+
# Create a fully-qualified CryptoKeyVersion resource string.
|
48
|
+
#
|
49
|
+
# The resource will be in the following format:
|
50
|
+
#
|
51
|
+
# `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}`
|
52
|
+
#
|
53
|
+
# @param project [String]
|
54
|
+
# @param location [String]
|
55
|
+
# @param key_ring [String]
|
56
|
+
# @param crypto_key [String]
|
57
|
+
# @param crypto_key_version [String]
|
58
|
+
#
|
59
|
+
# @return [::String]
|
60
|
+
def crypto_key_version_path project:, location:, key_ring:, crypto_key:, crypto_key_version:
|
61
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
62
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
63
|
+
raise ::ArgumentError, "key_ring cannot contain /" if key_ring.to_s.include? "/"
|
64
|
+
raise ::ArgumentError, "crypto_key cannot contain /" if crypto_key.to_s.include? "/"
|
65
|
+
|
66
|
+
"projects/#{project}/locations/#{location}/keyRings/#{key_ring}/cryptoKeys/#{crypto_key}/cryptoKeyVersions/#{crypto_key_version}"
|
67
|
+
end
|
68
|
+
|
27
69
|
##
|
28
70
|
# Create a fully-qualified Topic resource string.
|
29
71
|
#
|
@@ -638,7 +638,7 @@ module Google
|
|
638
638
|
# @param options [::Gapic::CallOptions, ::Hash]
|
639
639
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
640
640
|
#
|
641
|
-
# @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, accelerators: nil, machine_type: nil, disk_type: nil, disk_size_gb: nil, resource_manager_tags: nil, containerd_config: nil, queued_provisioning: nil)
|
641
|
+
# @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, accelerators: nil, machine_type: nil, disk_type: nil, disk_size_gb: nil, resource_manager_tags: nil, containerd_config: nil, queued_provisioning: nil, storage_pools: nil)
|
642
642
|
# Pass arguments to `update_node_pool` via keyword arguments. Note that at
|
643
643
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
644
644
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -755,6 +755,9 @@ module Google
|
|
755
755
|
# config.
|
756
756
|
# @param queued_provisioning [::Google::Cloud::Container::V1::NodePool::QueuedProvisioning, ::Hash]
|
757
757
|
# Specifies the configuration of queued provisioning.
|
758
|
+
# @param storage_pools [::Array<::String>]
|
759
|
+
# List of Storage Pools where boot disks are provisioned.
|
760
|
+
# Existing Storage Pools will be replaced with storage-pools.
|
758
761
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
759
762
|
# @yieldparam result [::Google::Cloud::Container::V1::Operation]
|
760
763
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|