google-cloud-container-v1beta1 0.16.2 → 0.16.3

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: '0959cc485883fb9fe56b0f8fd2b64042f44d786255c8dbcbbd7b36c5e523ad61'
4
- data.tar.gz: bb5371e5e47f509c73a1446cf6b87c90fffe976a6979d8c698268e91e3294082
3
+ metadata.gz: 72ac9cc05ab584629e21a013af98450c7611c67f9e4a06b815eabfce20ddfc4e
4
+ data.tar.gz: 5b05a3161127d7f2d515158b0119e6e57e69fbd7fa9dad7b01da84ada1ed7749
5
5
  SHA512:
6
- metadata.gz: 12dece4b9e8b46335f166a7e3b518ae1c891e5d1f762b3f8f02446ca68c681fed680cc98aa20e1373b3212c01b15f61a8f97146819d8041e6630c709b8e7a2b9
7
- data.tar.gz: 93b807d037e4d24cd081cfe729e74bbad695cc3d67c1eea129ccec462ba34a8a17ae9234e9f5c356d1c5ed7fdc3f1e8853391406284ed91023391f78dece766f
6
+ metadata.gz: 76345ac7ed7416dba8cfcb2fac0db2ad6508b08f7f8f76268df9c29f3f90eaf9fc17c26d23df622d1c41cf3217283f2c160087567aa82bbf513a1f3c7be5f736
7
+ data.tar.gz: a109a05fafd55dbd13417e4c2d0c85ab784f6c9292f0f2291a57a4d21bb8546ae697ea20e4d32a794a7da38eaa70443d96c2b3112ea213c47fb4a112f200b37f
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Ruby Client for the Kubernetes Engine V1beta1 API
2
2
 
3
- API Client library for the Kubernetes Engine V1beta1 API
3
+ Builds and manages container-based applications, powered by the open source Kubernetes technology.
4
4
 
5
5
  Builds and manages container-based applications, powered by the open source Kubernetes technology.
6
6
 
@@ -2056,44 +2056,35 @@ module Google
2056
2056
  end
2057
2057
 
2058
2058
  ##
2059
- # Lists the node pools for a cluster.
2059
+ # Gets the public component of the cluster signing keys in
2060
+ # JSON Web Key format.
2061
+ # This API is not yet intended for general use, and is not available for all
2062
+ # clusters.
2060
2063
  #
2061
- # @overload list_node_pools(request, options = nil)
2062
- # Pass arguments to `list_node_pools` via a request object, either of type
2063
- # {::Google::Cloud::Container::V1beta1::ListNodePoolsRequest} or an equivalent Hash.
2064
+ # @overload get_json_web_keys(request, options = nil)
2065
+ # Pass arguments to `get_json_web_keys` via a request object, either of type
2066
+ # {::Google::Cloud::Container::V1beta1::GetJSONWebKeysRequest} or an equivalent Hash.
2064
2067
  #
2065
- # @param request [::Google::Cloud::Container::V1beta1::ListNodePoolsRequest, ::Hash]
2068
+ # @param request [::Google::Cloud::Container::V1beta1::GetJSONWebKeysRequest, ::Hash]
2066
2069
  # A request object representing the call parameters. Required. To specify no
2067
2070
  # parameters, or to keep all the default parameter values, pass an empty Hash.
2068
2071
  # @param options [::Gapic::CallOptions, ::Hash]
2069
2072
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
2070
2073
  #
2071
- # @overload list_node_pools(project_id: nil, zone: nil, cluster_id: nil, parent: nil)
2072
- # Pass arguments to `list_node_pools` via keyword arguments. Note that at
2074
+ # @overload get_json_web_keys(parent: nil)
2075
+ # Pass arguments to `get_json_web_keys` via keyword arguments. Note that at
2073
2076
  # least one keyword argument is required. To specify no parameters, or to keep all
2074
2077
  # the default parameter values, pass an empty Hash as a request object (see above).
2075
2078
  #
2076
- # @param project_id [::String]
2077
- # Required. Deprecated. The Google Developers Console [project ID or project
2078
- # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
2079
- # This field has been deprecated and replaced by the parent field.
2080
- # @param zone [::String]
2081
- # Required. Deprecated. The name of the Google Compute Engine
2082
- # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
2083
- # cluster resides. This field has been deprecated and replaced by the parent
2084
- # field.
2085
- # @param cluster_id [::String]
2086
- # Required. Deprecated. The name of the cluster.
2087
- # This field has been deprecated and replaced by the parent field.
2088
2079
  # @param parent [::String]
2089
- # The parent (project, location, cluster name) where the node pools will be
2090
- # listed. Specified in the format `projects/*/locations/*/clusters/*`.
2080
+ # The cluster (project, location, cluster name) to get keys for. Specified in
2081
+ # the format `projects/*/locations/*/clusters/*`.
2091
2082
  #
2092
2083
  # @yield [response, operation] Access the result along with the RPC operation
2093
- # @yieldparam response [::Google::Cloud::Container::V1beta1::ListNodePoolsResponse]
2084
+ # @yieldparam response [::Google::Cloud::Container::V1beta1::GetJSONWebKeysResponse]
2094
2085
  # @yieldparam operation [::GRPC::ActiveCall::Operation]
2095
2086
  #
2096
- # @return [::Google::Cloud::Container::V1beta1::ListNodePoolsResponse]
2087
+ # @return [::Google::Cloud::Container::V1beta1::GetJSONWebKeysResponse]
2097
2088
  #
2098
2089
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
2099
2090
  #
@@ -2104,24 +2095,24 @@ module Google
2104
2095
  # client = Google::Cloud::Container::V1beta1::ClusterManager::Client.new
2105
2096
  #
2106
2097
  # # Create a request. To set request fields, pass in keyword arguments.
2107
- # request = Google::Cloud::Container::V1beta1::ListNodePoolsRequest.new
2098
+ # request = Google::Cloud::Container::V1beta1::GetJSONWebKeysRequest.new
2108
2099
  #
2109
- # # Call the list_node_pools method.
2110
- # result = client.list_node_pools request
2100
+ # # Call the get_json_web_keys method.
2101
+ # result = client.get_json_web_keys request
2111
2102
  #
2112
- # # The returned object is of type Google::Cloud::Container::V1beta1::ListNodePoolsResponse.
2103
+ # # The returned object is of type Google::Cloud::Container::V1beta1::GetJSONWebKeysResponse.
2113
2104
  # p result
2114
2105
  #
2115
- def list_node_pools request, options = nil
2106
+ def get_json_web_keys request, options = nil
2116
2107
  raise ::ArgumentError, "request must be provided" if request.nil?
2117
2108
 
2118
- request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Container::V1beta1::ListNodePoolsRequest
2109
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Container::V1beta1::GetJSONWebKeysRequest
2119
2110
 
2120
2111
  # Converts hash and nil to an options object
2121
2112
  options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2122
2113
 
2123
2114
  # Customize the options with defaults
2124
- metadata = @config.rpcs.list_node_pools.metadata.to_h
2115
+ metadata = @config.rpcs.get_json_web_keys.metadata.to_h
2125
2116
 
2126
2117
  # Set x-goog-api-client and x-goog-user-project headers
2127
2118
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
@@ -2137,15 +2128,15 @@ module Google
2137
2128
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
2138
2129
  metadata[:"x-goog-request-params"] ||= request_params_header
2139
2130
 
2140
- options.apply_defaults timeout: @config.rpcs.list_node_pools.timeout,
2131
+ options.apply_defaults timeout: @config.rpcs.get_json_web_keys.timeout,
2141
2132
  metadata: metadata,
2142
- retry_policy: @config.rpcs.list_node_pools.retry_policy
2133
+ retry_policy: @config.rpcs.get_json_web_keys.retry_policy
2143
2134
 
2144
2135
  options.apply_defaults timeout: @config.timeout,
2145
2136
  metadata: @config.metadata,
2146
2137
  retry_policy: @config.retry_policy
2147
2138
 
2148
- @cluster_manager_stub.call_rpc :list_node_pools, request, options: options do |response, operation|
2139
+ @cluster_manager_stub.call_rpc :get_json_web_keys, request, options: options do |response, operation|
2149
2140
  yield response, operation if block_given?
2150
2141
  return response
2151
2142
  end
@@ -2154,35 +2145,44 @@ module Google
2154
2145
  end
2155
2146
 
2156
2147
  ##
2157
- # Gets the public component of the cluster signing keys in
2158
- # JSON Web Key format.
2159
- # This API is not yet intended for general use, and is not available for all
2160
- # clusters.
2148
+ # Lists the node pools for a cluster.
2161
2149
  #
2162
- # @overload get_json_web_keys(request, options = nil)
2163
- # Pass arguments to `get_json_web_keys` via a request object, either of type
2164
- # {::Google::Cloud::Container::V1beta1::GetJSONWebKeysRequest} or an equivalent Hash.
2150
+ # @overload list_node_pools(request, options = nil)
2151
+ # Pass arguments to `list_node_pools` via a request object, either of type
2152
+ # {::Google::Cloud::Container::V1beta1::ListNodePoolsRequest} or an equivalent Hash.
2165
2153
  #
2166
- # @param request [::Google::Cloud::Container::V1beta1::GetJSONWebKeysRequest, ::Hash]
2154
+ # @param request [::Google::Cloud::Container::V1beta1::ListNodePoolsRequest, ::Hash]
2167
2155
  # A request object representing the call parameters. Required. To specify no
2168
2156
  # parameters, or to keep all the default parameter values, pass an empty Hash.
2169
2157
  # @param options [::Gapic::CallOptions, ::Hash]
2170
2158
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
2171
2159
  #
2172
- # @overload get_json_web_keys(parent: nil)
2173
- # Pass arguments to `get_json_web_keys` via keyword arguments. Note that at
2160
+ # @overload list_node_pools(project_id: nil, zone: nil, cluster_id: nil, parent: nil)
2161
+ # Pass arguments to `list_node_pools` via keyword arguments. Note that at
2174
2162
  # least one keyword argument is required. To specify no parameters, or to keep all
2175
2163
  # the default parameter values, pass an empty Hash as a request object (see above).
2176
2164
  #
2165
+ # @param project_id [::String]
2166
+ # Required. Deprecated. The Google Developers Console [project ID or project
2167
+ # number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
2168
+ # This field has been deprecated and replaced by the parent field.
2169
+ # @param zone [::String]
2170
+ # Required. Deprecated. The name of the Google Compute Engine
2171
+ # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
2172
+ # cluster resides. This field has been deprecated and replaced by the parent
2173
+ # field.
2174
+ # @param cluster_id [::String]
2175
+ # Required. Deprecated. The name of the cluster.
2176
+ # This field has been deprecated and replaced by the parent field.
2177
2177
  # @param parent [::String]
2178
- # The cluster (project, location, cluster name) to get keys for. Specified in
2179
- # the format `projects/*/locations/*/clusters/*`.
2178
+ # The parent (project, location, cluster name) where the node pools will be
2179
+ # listed. Specified in the format `projects/*/locations/*/clusters/*`.
2180
2180
  #
2181
2181
  # @yield [response, operation] Access the result along with the RPC operation
2182
- # @yieldparam response [::Google::Cloud::Container::V1beta1::GetJSONWebKeysResponse]
2182
+ # @yieldparam response [::Google::Cloud::Container::V1beta1::ListNodePoolsResponse]
2183
2183
  # @yieldparam operation [::GRPC::ActiveCall::Operation]
2184
2184
  #
2185
- # @return [::Google::Cloud::Container::V1beta1::GetJSONWebKeysResponse]
2185
+ # @return [::Google::Cloud::Container::V1beta1::ListNodePoolsResponse]
2186
2186
  #
2187
2187
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
2188
2188
  #
@@ -2193,24 +2193,24 @@ module Google
2193
2193
  # client = Google::Cloud::Container::V1beta1::ClusterManager::Client.new
2194
2194
  #
2195
2195
  # # Create a request. To set request fields, pass in keyword arguments.
2196
- # request = Google::Cloud::Container::V1beta1::GetJSONWebKeysRequest.new
2196
+ # request = Google::Cloud::Container::V1beta1::ListNodePoolsRequest.new
2197
2197
  #
2198
- # # Call the get_json_web_keys method.
2199
- # result = client.get_json_web_keys request
2198
+ # # Call the list_node_pools method.
2199
+ # result = client.list_node_pools request
2200
2200
  #
2201
- # # The returned object is of type Google::Cloud::Container::V1beta1::GetJSONWebKeysResponse.
2201
+ # # The returned object is of type Google::Cloud::Container::V1beta1::ListNodePoolsResponse.
2202
2202
  # p result
2203
2203
  #
2204
- def get_json_web_keys request, options = nil
2204
+ def list_node_pools request, options = nil
2205
2205
  raise ::ArgumentError, "request must be provided" if request.nil?
2206
2206
 
2207
- request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Container::V1beta1::GetJSONWebKeysRequest
2207
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Container::V1beta1::ListNodePoolsRequest
2208
2208
 
2209
2209
  # Converts hash and nil to an options object
2210
2210
  options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2211
2211
 
2212
2212
  # Customize the options with defaults
2213
- metadata = @config.rpcs.get_json_web_keys.metadata.to_h
2213
+ metadata = @config.rpcs.list_node_pools.metadata.to_h
2214
2214
 
2215
2215
  # Set x-goog-api-client and x-goog-user-project headers
2216
2216
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
@@ -2226,15 +2226,15 @@ module Google
2226
2226
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
2227
2227
  metadata[:"x-goog-request-params"] ||= request_params_header
2228
2228
 
2229
- options.apply_defaults timeout: @config.rpcs.get_json_web_keys.timeout,
2229
+ options.apply_defaults timeout: @config.rpcs.list_node_pools.timeout,
2230
2230
  metadata: metadata,
2231
- retry_policy: @config.rpcs.get_json_web_keys.retry_policy
2231
+ retry_policy: @config.rpcs.list_node_pools.retry_policy
2232
2232
 
2233
2233
  options.apply_defaults timeout: @config.timeout,
2234
2234
  metadata: @config.metadata,
2235
2235
  retry_policy: @config.retry_policy
2236
2236
 
2237
- @cluster_manager_stub.call_rpc :get_json_web_keys, request, options: options do |response, operation|
2237
+ @cluster_manager_stub.call_rpc :list_node_pools, request, options: options do |response, operation|
2238
2238
  yield response, operation if block_given?
2239
2239
  return response
2240
2240
  end
@@ -3610,13 +3610,11 @@ module Google
3610
3610
  # # Call the list_usable_subnetworks method.
3611
3611
  # result = client.list_usable_subnetworks request
3612
3612
  #
3613
- # # The returned object is of type Gapic::PagedEnumerable. You can
3614
- # # iterate over all elements by calling #each, and the enumerable
3615
- # # will lazily make API calls to fetch subsequent pages. Other
3616
- # # methods are also available for managing paging directly.
3617
- # result.each do |response|
3613
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
3614
+ # # over elements, and API calls will be issued to fetch pages as needed.
3615
+ # result.each do |item|
3618
3616
  # # Each element is of type ::Google::Cloud::Container::V1beta1::UsableSubnetwork.
3619
- # p response
3617
+ # p item
3620
3618
  # end
3621
3619
  #
3622
3620
  def list_usable_subnetworks request, options = nil
@@ -3968,15 +3966,15 @@ module Google
3968
3966
  #
3969
3967
  attr_reader :get_server_config
3970
3968
  ##
3971
- # RPC-specific configuration for `list_node_pools`
3969
+ # RPC-specific configuration for `get_json_web_keys`
3972
3970
  # @return [::Gapic::Config::Method]
3973
3971
  #
3974
- attr_reader :list_node_pools
3972
+ attr_reader :get_json_web_keys
3975
3973
  ##
3976
- # RPC-specific configuration for `get_json_web_keys`
3974
+ # RPC-specific configuration for `list_node_pools`
3977
3975
  # @return [::Gapic::Config::Method]
3978
3976
  #
3979
- attr_reader :get_json_web_keys
3977
+ attr_reader :list_node_pools
3980
3978
  ##
3981
3979
  # RPC-specific configuration for `get_node_pool`
3982
3980
  # @return [::Gapic::Config::Method]
@@ -4089,10 +4087,10 @@ module Google
4089
4087
  @cancel_operation = ::Gapic::Config::Method.new cancel_operation_config
4090
4088
  get_server_config_config = parent_rpcs.get_server_config if parent_rpcs.respond_to? :get_server_config
4091
4089
  @get_server_config = ::Gapic::Config::Method.new get_server_config_config
4092
- list_node_pools_config = parent_rpcs.list_node_pools if parent_rpcs.respond_to? :list_node_pools
4093
- @list_node_pools = ::Gapic::Config::Method.new list_node_pools_config
4094
4090
  get_json_web_keys_config = parent_rpcs.get_json_web_keys if parent_rpcs.respond_to? :get_json_web_keys
4095
4091
  @get_json_web_keys = ::Gapic::Config::Method.new get_json_web_keys_config
4092
+ list_node_pools_config = parent_rpcs.list_node_pools if parent_rpcs.respond_to? :list_node_pools
4093
+ @list_node_pools = ::Gapic::Config::Method.new list_node_pools_config
4096
4094
  get_node_pool_config = parent_rpcs.get_node_pool if parent_rpcs.respond_to? :get_node_pool
4097
4095
  @get_node_pool = ::Gapic::Config::Method.new get_node_pool_config
4098
4096
  create_node_pool_config = parent_rpcs.create_node_pool if parent_rpcs.respond_to? :create_node_pool
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Container
23
23
  module V1beta1
24
- VERSION = "0.16.2"
24
+ VERSION = "0.16.3"
25
25
  end
26
26
  end
27
27
  end
@@ -94,13 +94,13 @@ module Google
94
94
  rpc :CancelOperation, ::Google::Cloud::Container::V1beta1::CancelOperationRequest, ::Google::Protobuf::Empty
95
95
  # Returns configuration info about the Google Kubernetes Engine service.
96
96
  rpc :GetServerConfig, ::Google::Cloud::Container::V1beta1::GetServerConfigRequest, ::Google::Cloud::Container::V1beta1::ServerConfig
97
- # Lists the node pools for a cluster.
98
- rpc :ListNodePools, ::Google::Cloud::Container::V1beta1::ListNodePoolsRequest, ::Google::Cloud::Container::V1beta1::ListNodePoolsResponse
99
97
  # Gets the public component of the cluster signing keys in
100
98
  # JSON Web Key format.
101
99
  # This API is not yet intended for general use, and is not available for all
102
100
  # clusters.
103
101
  rpc :GetJSONWebKeys, ::Google::Cloud::Container::V1beta1::GetJSONWebKeysRequest, ::Google::Cloud::Container::V1beta1::GetJSONWebKeysResponse
102
+ # Lists the node pools for a cluster.
103
+ rpc :ListNodePools, ::Google::Cloud::Container::V1beta1::ListNodePoolsRequest, ::Google::Cloud::Container::V1beta1::ListNodePoolsResponse
104
104
  # Retrieves the requested node pool.
105
105
  rpc :GetNodePool, ::Google::Cloud::Container::V1beta1::GetNodePoolRequest, ::Google::Cloud::Container::V1beta1::NodePool
106
106
  # Creates a node pool for a cluster.
@@ -604,7 +604,7 @@ module Google
604
604
  end
605
605
  end
606
606
 
607
- # Kubernetes taint is comprised of three fields: key, value, and effect. Effect
607
+ # Kubernetes taint is composed of three fields: key, value, and effect. Effect
608
608
  # can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.
609
609
  #
610
610
  # See
@@ -5101,7 +5101,7 @@ module Google
5101
5101
  # Enables private IPv6 access to Google Services from GKE
5102
5102
  PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE = 2
5103
5103
 
5104
- # Enables priate IPv6 access to and from Google Services
5104
+ # Enables private IPv6 access to and from Google Services
5105
5105
  PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL = 3
5106
5106
  end
5107
5107
 
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.16.2
4
+ version: 0.16.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-13 00:00:00.000000000 Z
11
+ date: 2023-03-08 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.16.0
19
+ version: 0.18.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.16.0
29
+ version: 0.18.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -50,14 +50,14 @@ dependencies:
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: 1.26.1
53
+ version: 1.26.3
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: 1.26.1
60
+ version: 1.26.3
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: minitest
63
63
  requirement: !ruby/object:Gem::Requirement
@@ -214,5 +214,6 @@ requirements: []
214
214
  rubygems_version: 3.4.2
215
215
  signing_key:
216
216
  specification_version: 4
217
- summary: API Client library for the Kubernetes Engine V1beta1 API
217
+ summary: Builds and manages container-based applications, powered by the open source
218
+ Kubernetes technology.
218
219
  test_files: []