google-apis-gkehub_v1alpha 0.1.0 → 0.2.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64b073981dbc8a16c45efba791ab5347488bf25b14856382dd956e15843272bb
|
4
|
+
data.tar.gz: 2770a37900c0e6a229c577f07af98c5ae7dc521b45873d8297c9d4951cf05816
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad9a4ac1267728177ec268b1786523b18fbd2880367f38b4c29c15da8b211044b6ae3453f1d1e1e514e55faa79df0b27e38f048a0ca1c70856e7f88fbb0723ca
|
7
|
+
data.tar.gz: 180631fc2c82aef7be8db37b4a47439238e441b0dc24245f847a3fadaea1dd5aa734827697464b9a8e5630c24d9f4619b1add16664e42af9698a78b2daf28880
|
data/CHANGELOG.md
CHANGED
@@ -538,6 +538,12 @@ module Google
|
|
538
538
|
class ConfigManagementGitConfig
|
539
539
|
include Google::Apis::Core::Hashable
|
540
540
|
|
541
|
+
# The GCP Service Account Email used for auth when secret_type is
|
542
|
+
# gcpServiceAccount.
|
543
|
+
# Corresponds to the JSON property `gcpServiceAccountEmail`
|
544
|
+
# @return [String]
|
545
|
+
attr_accessor :gcp_service_account_email
|
546
|
+
|
541
547
|
# URL for the HTTPS proxy to be used when communicating with the Git repo.
|
542
548
|
# Corresponds to the JSON property `httpsProxy`
|
543
549
|
# @return [String]
|
@@ -580,6 +586,7 @@ module Google
|
|
580
586
|
|
581
587
|
# Update properties of this object
|
582
588
|
def update!(**args)
|
589
|
+
@gcp_service_account_email = args[:gcp_service_account_email] if args.key?(:gcp_service_account_email)
|
583
590
|
@https_proxy = args[:https_proxy] if args.key?(:https_proxy)
|
584
591
|
@policy_dir = args[:policy_dir] if args.key?(:policy_dir)
|
585
592
|
@secret_type = args[:secret_type] if args.key?(:secret_type)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module GkehubV1alpha
|
18
18
|
# Version of the google-apis-gkehub_v1alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.2.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210322"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -508,6 +508,7 @@ module Google
|
|
508
508
|
class ConfigManagementGitConfig
|
509
509
|
# @private
|
510
510
|
class Representation < Google::Apis::Core::JsonRepresentation
|
511
|
+
property :gcp_service_account_email, as: 'gcpServiceAccountEmail'
|
511
512
|
property :https_proxy, as: 'httpsProxy'
|
512
513
|
property :policy_dir, as: 'policyDir'
|
513
514
|
property :secret_type, as: 'secretType'
|
@@ -244,6 +244,17 @@ module Google
|
|
244
244
|
# @param [Google::Apis::GkehubV1alpha::Feature] feature_object
|
245
245
|
# @param [String] feature_id
|
246
246
|
# The ID of the feature to create.
|
247
|
+
# @param [String] request_id
|
248
|
+
# Optional. A request ID to identify requests. Specify a unique request ID so
|
249
|
+
# that if you must retry your request, the server will know to ignore the
|
250
|
+
# request if it has already been completed. The server will guarantee that for
|
251
|
+
# at least 60 minutes after the first request. For example, consider a situation
|
252
|
+
# where you make an initial request and the request times out. If you make the
|
253
|
+
# request again with the same request ID, the server can check if original
|
254
|
+
# operation with the same request ID was received, and if so, will ignore the
|
255
|
+
# second request. This prevents clients from accidentally creating duplicate
|
256
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
257
|
+
# UUID is not supported (00000000-0000-0000-0000-000000000000).
|
247
258
|
# @param [String] fields
|
248
259
|
# Selector specifying which fields to include in a partial response.
|
249
260
|
# @param [String] quota_user
|
@@ -261,7 +272,7 @@ module Google
|
|
261
272
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
262
273
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
263
274
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
264
|
-
def create_project_location_global_feature(parent, feature_object = nil, feature_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
275
|
+
def create_project_location_global_feature(parent, feature_object = nil, feature_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
265
276
|
command = make_simple_command(:post, 'v1alpha/{+parent}/features', options)
|
266
277
|
command.request_representation = Google::Apis::GkehubV1alpha::Feature::Representation
|
267
278
|
command.request_object = feature_object
|
@@ -269,6 +280,7 @@ module Google
|
|
269
280
|
command.response_class = Google::Apis::GkehubV1alpha::Operation
|
270
281
|
command.params['parent'] = parent unless parent.nil?
|
271
282
|
command.query['featureId'] = feature_id unless feature_id.nil?
|
283
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
272
284
|
command.query['fields'] = fields unless fields.nil?
|
273
285
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
274
286
|
execute_or_queue_command(command, &block)
|
@@ -282,6 +294,17 @@ module Google
|
|
282
294
|
# If set to true, the delete will ignore any outstanding resources for this
|
283
295
|
# Feature (that is, `FeatureState.has_resources` is set to true). These
|
284
296
|
# resources will NOT be cleaned up or modified in any way.
|
297
|
+
# @param [String] request_id
|
298
|
+
# Optional. A request ID to identify requests. Specify a unique request ID so
|
299
|
+
# that if you must retry your request, the server will know to ignore the
|
300
|
+
# request if it has already been completed. The server will guarantee that for
|
301
|
+
# at least 60 minutes after the first request. For example, consider a situation
|
302
|
+
# where you make an initial request and the request times out. If you make the
|
303
|
+
# request again with the same request ID, the server can check if original
|
304
|
+
# operation with the same request ID was received, and if so, will ignore the
|
305
|
+
# second request. This prevents clients from accidentally creating duplicate
|
306
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
307
|
+
# UUID is not supported (00000000-0000-0000-0000-000000000000).
|
285
308
|
# @param [String] fields
|
286
309
|
# Selector specifying which fields to include in a partial response.
|
287
310
|
# @param [String] quota_user
|
@@ -299,12 +322,13 @@ module Google
|
|
299
322
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
300
323
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
301
324
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
302
|
-
def delete_project_location_global_feature(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
|
325
|
+
def delete_project_location_global_feature(name, force: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
303
326
|
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
304
327
|
command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation
|
305
328
|
command.response_class = Google::Apis::GkehubV1alpha::Operation
|
306
329
|
command.params['name'] = name unless name.nil?
|
307
330
|
command.query['force'] = force unless force.nil?
|
331
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
308
332
|
command.query['fields'] = fields unless fields.nil?
|
309
333
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
310
334
|
execute_or_queue_command(command, &block)
|
@@ -397,6 +421,17 @@ module Google
|
|
397
421
|
# The Feature resource name in the format `projects/*/locations/global/features/*
|
398
422
|
# `.
|
399
423
|
# @param [Google::Apis::GkehubV1alpha::Feature] feature_object
|
424
|
+
# @param [String] request_id
|
425
|
+
# Optional. A request ID to identify requests. Specify a unique request ID so
|
426
|
+
# that if you must retry your request, the server will know to ignore the
|
427
|
+
# request if it has already been completed. The server will guarantee that for
|
428
|
+
# at least 60 minutes after the first request. For example, consider a situation
|
429
|
+
# where you make an initial request and the request times out. If you make the
|
430
|
+
# request again with the same request ID, the server can check if original
|
431
|
+
# operation with the same request ID was received, and if so, will ignore the
|
432
|
+
# second request. This prevents clients from accidentally creating duplicate
|
433
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
434
|
+
# UUID is not supported (00000000-0000-0000-0000-000000000000).
|
400
435
|
# @param [String] update_mask
|
401
436
|
# Mask of fields to update.
|
402
437
|
# @param [String] fields
|
@@ -416,13 +451,14 @@ module Google
|
|
416
451
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
417
452
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
418
453
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
419
|
-
def patch_project_location_global_feature(name, feature_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
454
|
+
def patch_project_location_global_feature(name, feature_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
420
455
|
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
421
456
|
command.request_representation = Google::Apis::GkehubV1alpha::Feature::Representation
|
422
457
|
command.request_object = feature_object
|
423
458
|
command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation
|
424
459
|
command.response_class = Google::Apis::GkehubV1alpha::Operation
|
425
460
|
command.params['name'] = name unless name.nil?
|
461
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
426
462
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
427
463
|
command.query['fields'] = fields unless fields.nil?
|
428
464
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-gkehub_v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.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-03-
|
11
|
+
date: 2021-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-gkehub_v1alpha/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.2.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-gkehub_v1alpha
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|