google-apis-gkehub_v1 0.1.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -0
- data/lib/google/apis/gkehub_v1/classes.rb +1105 -61
- data/lib/google/apis/gkehub_v1/gem_version.rb +3 -3
- data/lib/google/apis/gkehub_v1/representations.rb +490 -0
- data/lib/google/apis/gkehub_v1/service.rb +352 -4
- metadata +14 -8
@@ -87,7 +87,7 @@ module Google
|
|
87
87
|
# accepts strings like "displayName=tokyo", and is documented in more detail in [
|
88
88
|
# AIP-160](https://google.aip.dev/160).
|
89
89
|
# @param [Fixnum] page_size
|
90
|
-
# The maximum number of results to return. If not set, the service
|
90
|
+
# The maximum number of results to return. If not set, the service selects a
|
91
91
|
# default.
|
92
92
|
# @param [String] page_token
|
93
93
|
# A page token received from the `next_page_token` field in the response. Send
|
@@ -122,7 +122,350 @@ module Google
|
|
122
122
|
execute_or_queue_command(command, &block)
|
123
123
|
end
|
124
124
|
|
125
|
-
# Adds a new
|
125
|
+
# Adds a new Feature.
|
126
|
+
# @param [String] parent
|
127
|
+
# The parent (project and location) where the Feature will be created. Specified
|
128
|
+
# in the format `projects/*/locations/*`.
|
129
|
+
# @param [Google::Apis::GkehubV1::Feature] feature_object
|
130
|
+
# @param [String] feature_id
|
131
|
+
# The ID of the feature to create.
|
132
|
+
# @param [String] request_id
|
133
|
+
# Optional. A request ID to identify requests. Specify a unique request ID so
|
134
|
+
# that if you must retry your request, the server will know to ignore the
|
135
|
+
# request if it has already been completed. The server will guarantee that for
|
136
|
+
# at least 60 minutes after the first request. For example, consider a situation
|
137
|
+
# where you make an initial request and the request times out. If you make the
|
138
|
+
# request again with the same request ID, the server can check if original
|
139
|
+
# operation with the same request ID was received, and if so, will ignore the
|
140
|
+
# second request. This prevents clients from accidentally creating duplicate
|
141
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
142
|
+
# UUID is not supported (00000000-0000-0000-0000-000000000000).
|
143
|
+
# @param [String] fields
|
144
|
+
# Selector specifying which fields to include in a partial response.
|
145
|
+
# @param [String] quota_user
|
146
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
147
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
148
|
+
# @param [Google::Apis::RequestOptions] options
|
149
|
+
# Request-specific options
|
150
|
+
#
|
151
|
+
# @yield [result, err] Result & error if block supplied
|
152
|
+
# @yieldparam result [Google::Apis::GkehubV1::Operation] parsed result object
|
153
|
+
# @yieldparam err [StandardError] error object if request failed
|
154
|
+
#
|
155
|
+
# @return [Google::Apis::GkehubV1::Operation]
|
156
|
+
#
|
157
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
158
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
159
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
160
|
+
def create_project_location_feature(parent, feature_object = nil, feature_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
161
|
+
command = make_simple_command(:post, 'v1/{+parent}/features', options)
|
162
|
+
command.request_representation = Google::Apis::GkehubV1::Feature::Representation
|
163
|
+
command.request_object = feature_object
|
164
|
+
command.response_representation = Google::Apis::GkehubV1::Operation::Representation
|
165
|
+
command.response_class = Google::Apis::GkehubV1::Operation
|
166
|
+
command.params['parent'] = parent unless parent.nil?
|
167
|
+
command.query['featureId'] = feature_id unless feature_id.nil?
|
168
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
169
|
+
command.query['fields'] = fields unless fields.nil?
|
170
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
171
|
+
execute_or_queue_command(command, &block)
|
172
|
+
end
|
173
|
+
|
174
|
+
# Removes a Feature.
|
175
|
+
# @param [String] name
|
176
|
+
# The Feature resource name in the format `projects/*/locations/*/features/*`.
|
177
|
+
# @param [Boolean] force
|
178
|
+
# If set to true, the delete will ignore any outstanding resources for this
|
179
|
+
# Feature (that is, `FeatureState.has_resources` is set to true). These
|
180
|
+
# resources will NOT be cleaned up or modified in any way.
|
181
|
+
# @param [String] request_id
|
182
|
+
# Optional. A request ID to identify requests. Specify a unique request ID so
|
183
|
+
# that if you must retry your request, the server will know to ignore the
|
184
|
+
# request if it has already been completed. The server will guarantee that for
|
185
|
+
# at least 60 minutes after the first request. For example, consider a situation
|
186
|
+
# where you make an initial request and the request times out. If you make the
|
187
|
+
# request again with the same request ID, the server can check if original
|
188
|
+
# operation with the same request ID was received, and if so, will ignore the
|
189
|
+
# second request. This prevents clients from accidentally creating duplicate
|
190
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
191
|
+
# UUID is not supported (00000000-0000-0000-0000-000000000000).
|
192
|
+
# @param [String] fields
|
193
|
+
# Selector specifying which fields to include in a partial response.
|
194
|
+
# @param [String] quota_user
|
195
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
196
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
197
|
+
# @param [Google::Apis::RequestOptions] options
|
198
|
+
# Request-specific options
|
199
|
+
#
|
200
|
+
# @yield [result, err] Result & error if block supplied
|
201
|
+
# @yieldparam result [Google::Apis::GkehubV1::Operation] parsed result object
|
202
|
+
# @yieldparam err [StandardError] error object if request failed
|
203
|
+
#
|
204
|
+
# @return [Google::Apis::GkehubV1::Operation]
|
205
|
+
#
|
206
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
207
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
208
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
209
|
+
def delete_project_location_feature(name, force: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
210
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
211
|
+
command.response_representation = Google::Apis::GkehubV1::Operation::Representation
|
212
|
+
command.response_class = Google::Apis::GkehubV1::Operation
|
213
|
+
command.params['name'] = name unless name.nil?
|
214
|
+
command.query['force'] = force unless force.nil?
|
215
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
216
|
+
command.query['fields'] = fields unless fields.nil?
|
217
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
218
|
+
execute_or_queue_command(command, &block)
|
219
|
+
end
|
220
|
+
|
221
|
+
# Gets details of a single Feature.
|
222
|
+
# @param [String] name
|
223
|
+
# The Feature resource name in the format `projects/*/locations/*/features/*`
|
224
|
+
# @param [String] fields
|
225
|
+
# Selector specifying which fields to include in a partial response.
|
226
|
+
# @param [String] quota_user
|
227
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
228
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
229
|
+
# @param [Google::Apis::RequestOptions] options
|
230
|
+
# Request-specific options
|
231
|
+
#
|
232
|
+
# @yield [result, err] Result & error if block supplied
|
233
|
+
# @yieldparam result [Google::Apis::GkehubV1::Feature] parsed result object
|
234
|
+
# @yieldparam err [StandardError] error object if request failed
|
235
|
+
#
|
236
|
+
# @return [Google::Apis::GkehubV1::Feature]
|
237
|
+
#
|
238
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
239
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
240
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
241
|
+
def get_project_location_feature(name, fields: nil, quota_user: nil, options: nil, &block)
|
242
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
243
|
+
command.response_representation = Google::Apis::GkehubV1::Feature::Representation
|
244
|
+
command.response_class = Google::Apis::GkehubV1::Feature
|
245
|
+
command.params['name'] = name unless name.nil?
|
246
|
+
command.query['fields'] = fields unless fields.nil?
|
247
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
248
|
+
execute_or_queue_command(command, &block)
|
249
|
+
end
|
250
|
+
|
251
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
252
|
+
# resource exists and does not have a policy set.
|
253
|
+
# @param [String] resource
|
254
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
255
|
+
# operation documentation for the appropriate value for this field.
|
256
|
+
# @param [Fixnum] options_requested_policy_version
|
257
|
+
# Optional. The policy format version to be returned. Valid values are 0, 1, and
|
258
|
+
# 3. Requests specifying an invalid value will be rejected. Requests for
|
259
|
+
# policies with any conditional bindings must specify version 3. Policies
|
260
|
+
# without any conditional bindings may specify any valid value or leave the
|
261
|
+
# field unset. To learn which resources support conditions in their IAM policies,
|
262
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
263
|
+
# resource-policies).
|
264
|
+
# @param [String] fields
|
265
|
+
# Selector specifying which fields to include in a partial response.
|
266
|
+
# @param [String] quota_user
|
267
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
268
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
269
|
+
# @param [Google::Apis::RequestOptions] options
|
270
|
+
# Request-specific options
|
271
|
+
#
|
272
|
+
# @yield [result, err] Result & error if block supplied
|
273
|
+
# @yieldparam result [Google::Apis::GkehubV1::Policy] parsed result object
|
274
|
+
# @yieldparam err [StandardError] error object if request failed
|
275
|
+
#
|
276
|
+
# @return [Google::Apis::GkehubV1::Policy]
|
277
|
+
#
|
278
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
279
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
280
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
281
|
+
def get_project_location_feature_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
282
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
283
|
+
command.response_representation = Google::Apis::GkehubV1::Policy::Representation
|
284
|
+
command.response_class = Google::Apis::GkehubV1::Policy
|
285
|
+
command.params['resource'] = resource unless resource.nil?
|
286
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
287
|
+
command.query['fields'] = fields unless fields.nil?
|
288
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
289
|
+
execute_or_queue_command(command, &block)
|
290
|
+
end
|
291
|
+
|
292
|
+
# Lists Features in a given project and location.
|
293
|
+
# @param [String] parent
|
294
|
+
# The parent (project and location) where the Features will be listed. Specified
|
295
|
+
# in the format `projects/*/locations/*`.
|
296
|
+
# @param [String] filter
|
297
|
+
# Lists Features that match the filter expression, following the syntax outlined
|
298
|
+
# in https://google.aip.dev/160. Examples: - Feature with the name "servicemesh"
|
299
|
+
# in project "foo-proj": name = "projects/foo-proj/locations/global/features/
|
300
|
+
# servicemesh" - Features that have a label called `foo`: labels.foo:* -
|
301
|
+
# Features that have a label called `foo` whose value is `bar`: labels.foo = bar
|
302
|
+
# @param [String] order_by
|
303
|
+
# One or more fields to compare and use to sort the output. See https://google.
|
304
|
+
# aip.dev/132#ordering.
|
305
|
+
# @param [Fixnum] page_size
|
306
|
+
# When requesting a 'page' of resources, `page_size` specifies number of
|
307
|
+
# resources to return. If unspecified or set to 0, all resources will be
|
308
|
+
# returned.
|
309
|
+
# @param [String] page_token
|
310
|
+
# Token returned by previous call to `ListFeatures` which specifies the position
|
311
|
+
# in the list from where to continue listing the resources.
|
312
|
+
# @param [String] fields
|
313
|
+
# Selector specifying which fields to include in a partial response.
|
314
|
+
# @param [String] quota_user
|
315
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
316
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
317
|
+
# @param [Google::Apis::RequestOptions] options
|
318
|
+
# Request-specific options
|
319
|
+
#
|
320
|
+
# @yield [result, err] Result & error if block supplied
|
321
|
+
# @yieldparam result [Google::Apis::GkehubV1::ListFeaturesResponse] parsed result object
|
322
|
+
# @yieldparam err [StandardError] error object if request failed
|
323
|
+
#
|
324
|
+
# @return [Google::Apis::GkehubV1::ListFeaturesResponse]
|
325
|
+
#
|
326
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
327
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
328
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
329
|
+
def list_project_location_features(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
330
|
+
command = make_simple_command(:get, 'v1/{+parent}/features', options)
|
331
|
+
command.response_representation = Google::Apis::GkehubV1::ListFeaturesResponse::Representation
|
332
|
+
command.response_class = Google::Apis::GkehubV1::ListFeaturesResponse
|
333
|
+
command.params['parent'] = parent unless parent.nil?
|
334
|
+
command.query['filter'] = filter unless filter.nil?
|
335
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
336
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
337
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
338
|
+
command.query['fields'] = fields unless fields.nil?
|
339
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
340
|
+
execute_or_queue_command(command, &block)
|
341
|
+
end
|
342
|
+
|
343
|
+
# Updates an existing Feature.
|
344
|
+
# @param [String] name
|
345
|
+
# The Feature resource name in the format `projects/*/locations/*/features/*`.
|
346
|
+
# @param [Google::Apis::GkehubV1::Feature] feature_object
|
347
|
+
# @param [String] request_id
|
348
|
+
# Optional. A request ID to identify requests. Specify a unique request ID so
|
349
|
+
# that if you must retry your request, the server will know to ignore the
|
350
|
+
# request if it has already been completed. The server will guarantee that for
|
351
|
+
# at least 60 minutes after the first request. For example, consider a situation
|
352
|
+
# where you make an initial request and the request times out. If you make the
|
353
|
+
# request again with the same request ID, the server can check if original
|
354
|
+
# operation with the same request ID was received, and if so, will ignore the
|
355
|
+
# second request. This prevents clients from accidentally creating duplicate
|
356
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
357
|
+
# UUID is not supported (00000000-0000-0000-0000-000000000000).
|
358
|
+
# @param [String] update_mask
|
359
|
+
# Mask of fields to update.
|
360
|
+
# @param [String] fields
|
361
|
+
# Selector specifying which fields to include in a partial response.
|
362
|
+
# @param [String] quota_user
|
363
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
364
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
365
|
+
# @param [Google::Apis::RequestOptions] options
|
366
|
+
# Request-specific options
|
367
|
+
#
|
368
|
+
# @yield [result, err] Result & error if block supplied
|
369
|
+
# @yieldparam result [Google::Apis::GkehubV1::Operation] parsed result object
|
370
|
+
# @yieldparam err [StandardError] error object if request failed
|
371
|
+
#
|
372
|
+
# @return [Google::Apis::GkehubV1::Operation]
|
373
|
+
#
|
374
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
375
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
376
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
377
|
+
def patch_project_location_feature(name, feature_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
378
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
379
|
+
command.request_representation = Google::Apis::GkehubV1::Feature::Representation
|
380
|
+
command.request_object = feature_object
|
381
|
+
command.response_representation = Google::Apis::GkehubV1::Operation::Representation
|
382
|
+
command.response_class = Google::Apis::GkehubV1::Operation
|
383
|
+
command.params['name'] = name unless name.nil?
|
384
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
385
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
386
|
+
command.query['fields'] = fields unless fields.nil?
|
387
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
388
|
+
execute_or_queue_command(command, &block)
|
389
|
+
end
|
390
|
+
|
391
|
+
# Sets the access control policy on the specified resource. Replaces any
|
392
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
393
|
+
# PERMISSION_DENIED` errors.
|
394
|
+
# @param [String] resource
|
395
|
+
# REQUIRED: The resource for which the policy is being specified. See the
|
396
|
+
# operation documentation for the appropriate value for this field.
|
397
|
+
# @param [Google::Apis::GkehubV1::SetIamPolicyRequest] set_iam_policy_request_object
|
398
|
+
# @param [String] fields
|
399
|
+
# Selector specifying which fields to include in a partial response.
|
400
|
+
# @param [String] quota_user
|
401
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
402
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
403
|
+
# @param [Google::Apis::RequestOptions] options
|
404
|
+
# Request-specific options
|
405
|
+
#
|
406
|
+
# @yield [result, err] Result & error if block supplied
|
407
|
+
# @yieldparam result [Google::Apis::GkehubV1::Policy] parsed result object
|
408
|
+
# @yieldparam err [StandardError] error object if request failed
|
409
|
+
#
|
410
|
+
# @return [Google::Apis::GkehubV1::Policy]
|
411
|
+
#
|
412
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
413
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
414
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
415
|
+
def set_feature_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
416
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
417
|
+
command.request_representation = Google::Apis::GkehubV1::SetIamPolicyRequest::Representation
|
418
|
+
command.request_object = set_iam_policy_request_object
|
419
|
+
command.response_representation = Google::Apis::GkehubV1::Policy::Representation
|
420
|
+
command.response_class = Google::Apis::GkehubV1::Policy
|
421
|
+
command.params['resource'] = resource unless resource.nil?
|
422
|
+
command.query['fields'] = fields unless fields.nil?
|
423
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
424
|
+
execute_or_queue_command(command, &block)
|
425
|
+
end
|
426
|
+
|
427
|
+
# Returns permissions that a caller has on the specified resource. If the
|
428
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
429
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
430
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
431
|
+
# This operation may "fail open" without warning.
|
432
|
+
# @param [String] resource
|
433
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
434
|
+
# operation documentation for the appropriate value for this field.
|
435
|
+
# @param [Google::Apis::GkehubV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
436
|
+
# @param [String] fields
|
437
|
+
# Selector specifying which fields to include in a partial response.
|
438
|
+
# @param [String] quota_user
|
439
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
440
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
441
|
+
# @param [Google::Apis::RequestOptions] options
|
442
|
+
# Request-specific options
|
443
|
+
#
|
444
|
+
# @yield [result, err] Result & error if block supplied
|
445
|
+
# @yieldparam result [Google::Apis::GkehubV1::TestIamPermissionsResponse] parsed result object
|
446
|
+
# @yieldparam err [StandardError] error object if request failed
|
447
|
+
#
|
448
|
+
# @return [Google::Apis::GkehubV1::TestIamPermissionsResponse]
|
449
|
+
#
|
450
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
451
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
452
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
453
|
+
def test_feature_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
454
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
455
|
+
command.request_representation = Google::Apis::GkehubV1::TestIamPermissionsRequest::Representation
|
456
|
+
command.request_object = test_iam_permissions_request_object
|
457
|
+
command.response_representation = Google::Apis::GkehubV1::TestIamPermissionsResponse::Representation
|
458
|
+
command.response_class = Google::Apis::GkehubV1::TestIamPermissionsResponse
|
459
|
+
command.params['resource'] = resource unless resource.nil?
|
460
|
+
command.query['fields'] = fields unless fields.nil?
|
461
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
462
|
+
execute_or_queue_command(command, &block)
|
463
|
+
end
|
464
|
+
|
465
|
+
# Creates a new Membership. **This is currently only supported for GKE clusters
|
466
|
+
# on Google Cloud**. To register other clusters, follow the instructions at
|
467
|
+
# https://cloud.google.com/anthos/multicluster-management/connect/registering-a-
|
468
|
+
# cluster.
|
126
469
|
# @param [String] parent
|
127
470
|
# Required. The parent (project and location) where the Memberships will be
|
128
471
|
# created. Specified in the format `projects/*/locations/*`.
|
@@ -175,7 +518,10 @@ module Google
|
|
175
518
|
execute_or_queue_command(command, &block)
|
176
519
|
end
|
177
520
|
|
178
|
-
# Removes a Membership.
|
521
|
+
# Removes a Membership. **This is currently only supported for GKE clusters on
|
522
|
+
# Google Cloud**. To unregister other clusters, follow the instructions at https:
|
523
|
+
# //cloud.google.com/anthos/multicluster-management/connect/unregistering-a-
|
524
|
+
# cluster.
|
179
525
|
# @param [String] name
|
180
526
|
# Required. The Membership resource name in the format `projects/*/locations/*/
|
181
527
|
# memberships/*`.
|
@@ -218,7 +564,9 @@ module Google
|
|
218
564
|
execute_or_queue_command(command, &block)
|
219
565
|
end
|
220
566
|
|
221
|
-
# Generates the manifest for deployment of the GKE connect agent.
|
567
|
+
# Generates the manifest for deployment of the GKE connect agent. **This method
|
568
|
+
# is used internally by Google-provided libraries.** Most clients should not
|
569
|
+
# need to call this method directly.
|
222
570
|
# @param [String] name
|
223
571
|
# Required. The Membership resource name the Agent will associate with, in the
|
224
572
|
# format `projects/*/locations/*/memberships/*`.
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-gkehub_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.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: 2021-
|
11
|
+
date: 2021-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.3'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.3'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for GKE Hub V1. Simple REST clients are
|
28
34
|
Ruby client libraries that provide access to Google services via their HTTP REST
|
29
35
|
API endpoints. These libraries are generated and updated automatically based on
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-gkehub_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.6.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-gkehub_v1
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
75
|
- !ruby/object:Gem::Version
|
70
76
|
version: '0'
|
71
77
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
78
|
+
rubygems_version: 3.2.17
|
73
79
|
signing_key:
|
74
80
|
specification_version: 4
|
75
81
|
summary: Simple REST client for GKE Hub V1
|