google-iam-v2 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/iam/v2/policies/client.rb +13 -5
- data/lib/google/iam/v2/policies/operations.rb +13 -5
- data/lib/google/iam/v2/policies/rest/client.rb +13 -5
- data/lib/google/iam/v2/policies/rest/operations.rb +11 -4
- data/lib/google/iam/v2/version.rb +1 -1
- data/proto_docs/google/api/client.rb +35 -10
- data/proto_docs/google/api/resource.rb +7 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b743e5437f7987c2dfad011b985ffa7e3d6a1f530db05593f724279b446ab3b1
|
4
|
+
data.tar.gz: 8250b7387b993c634e3582e6bcd06fdb23a47f325ea831b041ac24c0aa2dd72c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf6340885b3cc1c4cbc4f8ab7764a8e053c1966f1340fd1539ec2f2d8c6b07b763bb50ba20133316596ba897d842a13e81390206f2a508b7317a27a667abf211
|
7
|
+
data.tar.gz: 366e42d5b219c94cb39dce3b16cf1446069b7e07b27e01cf1f9a253ff46caa321f93032aa157061217acf03b02153754c81a76a3ee733a15be90db63e117a913
|
@@ -29,6 +29,9 @@ module Google
|
|
29
29
|
# An interface for managing Identity and Access Management (IAM) policies.
|
30
30
|
#
|
31
31
|
class Client
|
32
|
+
# @private
|
33
|
+
API_VERSION = ""
|
34
|
+
|
32
35
|
# @private
|
33
36
|
DEFAULT_ENDPOINT_TEMPLATE = "iam.$UNIVERSE_DOMAIN$"
|
34
37
|
|
@@ -276,10 +279,11 @@ module Google
|
|
276
279
|
# Customize the options with defaults
|
277
280
|
metadata = @config.rpcs.list_policies.metadata.to_h
|
278
281
|
|
279
|
-
# Set x-goog-api-client
|
282
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
280
283
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
281
284
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
282
285
|
gapic_version: ::Google::Iam::V2::VERSION
|
286
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
283
287
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
284
288
|
|
285
289
|
header_params = {}
|
@@ -371,10 +375,11 @@ module Google
|
|
371
375
|
# Customize the options with defaults
|
372
376
|
metadata = @config.rpcs.get_policy.metadata.to_h
|
373
377
|
|
374
|
-
# Set x-goog-api-client
|
378
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
375
379
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
376
380
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
377
381
|
gapic_version: ::Google::Iam::V2::VERSION
|
382
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
378
383
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
379
384
|
|
380
385
|
header_params = {}
|
@@ -480,10 +485,11 @@ module Google
|
|
480
485
|
# Customize the options with defaults
|
481
486
|
metadata = @config.rpcs.create_policy.metadata.to_h
|
482
487
|
|
483
|
-
# Set x-goog-api-client
|
488
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
484
489
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
485
490
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
486
491
|
gapic_version: ::Google::Iam::V2::VERSION
|
492
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
487
493
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
488
494
|
|
489
495
|
header_params = {}
|
@@ -587,10 +593,11 @@ module Google
|
|
587
593
|
# Customize the options with defaults
|
588
594
|
metadata = @config.rpcs.update_policy.metadata.to_h
|
589
595
|
|
590
|
-
# Set x-goog-api-client
|
596
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
591
597
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
592
598
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
593
599
|
gapic_version: ::Google::Iam::V2::VERSION
|
600
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
594
601
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
595
602
|
|
596
603
|
header_params = {}
|
@@ -696,10 +703,11 @@ module Google
|
|
696
703
|
# Customize the options with defaults
|
697
704
|
metadata = @config.rpcs.delete_policy.metadata.to_h
|
698
705
|
|
699
|
-
# Set x-goog-api-client
|
706
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
700
707
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
701
708
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
702
709
|
gapic_version: ::Google::Iam::V2::VERSION
|
710
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
703
711
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
704
712
|
|
705
713
|
header_params = {}
|
@@ -25,6 +25,9 @@ module Google
|
|
25
25
|
module Policies
|
26
26
|
# Service that implements Longrunning Operations API.
|
27
27
|
class Operations
|
28
|
+
# @private
|
29
|
+
API_VERSION = ""
|
30
|
+
|
28
31
|
# @private
|
29
32
|
DEFAULT_ENDPOINT_TEMPLATE = "iam.$UNIVERSE_DOMAIN$"
|
30
33
|
|
@@ -190,10 +193,11 @@ module Google
|
|
190
193
|
# Customize the options with defaults
|
191
194
|
metadata = @config.rpcs.list_operations.metadata.to_h
|
192
195
|
|
193
|
-
# Set x-goog-api-client
|
196
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
194
197
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
195
198
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
196
199
|
gapic_version: ::Google::Iam::V2::VERSION
|
200
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
197
201
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
198
202
|
|
199
203
|
header_params = {}
|
@@ -286,10 +290,11 @@ module Google
|
|
286
290
|
# Customize the options with defaults
|
287
291
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
288
292
|
|
289
|
-
# Set x-goog-api-client
|
293
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
290
294
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
291
295
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
292
296
|
gapic_version: ::Google::Iam::V2::VERSION
|
297
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
293
298
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
294
299
|
|
295
300
|
header_params = {}
|
@@ -375,10 +380,11 @@ module Google
|
|
375
380
|
# Customize the options with defaults
|
376
381
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
377
382
|
|
378
|
-
# Set x-goog-api-client
|
383
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
379
384
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
380
385
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
381
386
|
gapic_version: ::Google::Iam::V2::VERSION
|
387
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
382
388
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
383
389
|
|
384
390
|
header_params = {}
|
@@ -469,10 +475,11 @@ module Google
|
|
469
475
|
# Customize the options with defaults
|
470
476
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
471
477
|
|
472
|
-
# Set x-goog-api-client
|
478
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
473
479
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
474
480
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
475
481
|
gapic_version: ::Google::Iam::V2::VERSION
|
482
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
476
483
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
477
484
|
|
478
485
|
header_params = {}
|
@@ -573,10 +580,11 @@ module Google
|
|
573
580
|
# Customize the options with defaults
|
574
581
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
575
582
|
|
576
|
-
# Set x-goog-api-client
|
583
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
577
584
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
578
585
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
579
586
|
gapic_version: ::Google::Iam::V2::VERSION
|
587
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
580
588
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
581
589
|
|
582
590
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
@@ -31,6 +31,9 @@ module Google
|
|
31
31
|
# An interface for managing Identity and Access Management (IAM) policies.
|
32
32
|
#
|
33
33
|
class Client
|
34
|
+
# @private
|
35
|
+
API_VERSION = ""
|
36
|
+
|
34
37
|
# @private
|
35
38
|
DEFAULT_ENDPOINT_TEMPLATE = "iam.$UNIVERSE_DOMAIN$"
|
36
39
|
|
@@ -268,12 +271,13 @@ module Google
|
|
268
271
|
# Customize the options with defaults
|
269
272
|
call_metadata = @config.rpcs.list_policies.metadata.to_h
|
270
273
|
|
271
|
-
# Set x-goog-api-client
|
274
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
272
275
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
273
276
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
274
277
|
gapic_version: ::Google::Iam::V2::VERSION,
|
275
278
|
transports_version_send: [:rest]
|
276
279
|
|
280
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
277
281
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
278
282
|
|
279
283
|
options.apply_defaults timeout: @config.rpcs.list_policies.timeout,
|
@@ -356,12 +360,13 @@ module Google
|
|
356
360
|
# Customize the options with defaults
|
357
361
|
call_metadata = @config.rpcs.get_policy.metadata.to_h
|
358
362
|
|
359
|
-
# Set x-goog-api-client
|
363
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
360
364
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
361
365
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
362
366
|
gapic_version: ::Google::Iam::V2::VERSION,
|
363
367
|
transports_version_send: [:rest]
|
364
368
|
|
369
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
365
370
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
366
371
|
|
367
372
|
options.apply_defaults timeout: @config.rpcs.get_policy.timeout,
|
@@ -458,12 +463,13 @@ module Google
|
|
458
463
|
# Customize the options with defaults
|
459
464
|
call_metadata = @config.rpcs.create_policy.metadata.to_h
|
460
465
|
|
461
|
-
# Set x-goog-api-client
|
466
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
462
467
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
463
468
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
464
469
|
gapic_version: ::Google::Iam::V2::VERSION,
|
465
470
|
transports_version_send: [:rest]
|
466
471
|
|
472
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
467
473
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
468
474
|
|
469
475
|
options.apply_defaults timeout: @config.rpcs.create_policy.timeout,
|
@@ -558,12 +564,13 @@ module Google
|
|
558
564
|
# Customize the options with defaults
|
559
565
|
call_metadata = @config.rpcs.update_policy.metadata.to_h
|
560
566
|
|
561
|
-
# Set x-goog-api-client
|
567
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
562
568
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
563
569
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
564
570
|
gapic_version: ::Google::Iam::V2::VERSION,
|
565
571
|
transports_version_send: [:rest]
|
566
572
|
|
573
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
567
574
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
568
575
|
|
569
576
|
options.apply_defaults timeout: @config.rpcs.update_policy.timeout,
|
@@ -660,12 +667,13 @@ module Google
|
|
660
667
|
# Customize the options with defaults
|
661
668
|
call_metadata = @config.rpcs.delete_policy.metadata.to_h
|
662
669
|
|
663
|
-
# Set x-goog-api-client
|
670
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
664
671
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
665
672
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
666
673
|
gapic_version: ::Google::Iam::V2::VERSION,
|
667
674
|
transports_version_send: [:rest]
|
668
675
|
|
676
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
669
677
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
670
678
|
|
671
679
|
options.apply_defaults timeout: @config.rpcs.delete_policy.timeout,
|
@@ -25,6 +25,9 @@ module Google
|
|
25
25
|
module Rest
|
26
26
|
# Service that implements Longrunning Operations API.
|
27
27
|
class Operations
|
28
|
+
# @private
|
29
|
+
API_VERSION = ""
|
30
|
+
|
28
31
|
# @private
|
29
32
|
DEFAULT_ENDPOINT_TEMPLATE = "iam.$UNIVERSE_DOMAIN$"
|
30
33
|
|
@@ -180,12 +183,13 @@ module Google
|
|
180
183
|
# Customize the options with defaults
|
181
184
|
call_metadata = @config.rpcs.list_operations.metadata.to_h
|
182
185
|
|
183
|
-
# Set x-goog-api-client
|
186
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
184
187
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
185
188
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
186
189
|
gapic_version: ::Google::Iam::V2::VERSION,
|
187
190
|
transports_version_send: [:rest]
|
188
191
|
|
192
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
189
193
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
190
194
|
|
191
195
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
@@ -268,12 +272,13 @@ module Google
|
|
268
272
|
# Customize the options with defaults
|
269
273
|
call_metadata = @config.rpcs.get_operation.metadata.to_h
|
270
274
|
|
271
|
-
# Set x-goog-api-client
|
275
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
272
276
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
273
277
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
274
278
|
gapic_version: ::Google::Iam::V2::VERSION,
|
275
279
|
transports_version_send: [:rest]
|
276
280
|
|
281
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
277
282
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
278
283
|
|
279
284
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
@@ -350,12 +355,13 @@ module Google
|
|
350
355
|
# Customize the options with defaults
|
351
356
|
call_metadata = @config.rpcs.delete_operation.metadata.to_h
|
352
357
|
|
353
|
-
# Set x-goog-api-client
|
358
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
354
359
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
355
360
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
356
361
|
gapic_version: ::Google::Iam::V2::VERSION,
|
357
362
|
transports_version_send: [:rest]
|
358
363
|
|
364
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
359
365
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
360
366
|
|
361
367
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
@@ -437,12 +443,13 @@ module Google
|
|
437
443
|
# Customize the options with defaults
|
438
444
|
call_metadata = @config.rpcs.cancel_operation.metadata.to_h
|
439
445
|
|
440
|
-
# Set x-goog-api-client
|
446
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
441
447
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
442
448
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
443
449
|
gapic_version: ::Google::Iam::V2::VERSION,
|
444
450
|
transports_version_send: [:rest]
|
445
451
|
|
452
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
446
453
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
447
454
|
|
448
455
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
@@ -118,6 +118,10 @@ module Google
|
|
118
118
|
# @return [::String]
|
119
119
|
# Optional link to proto reference documentation. Example:
|
120
120
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
121
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
122
|
+
# @return [::String]
|
123
|
+
# Optional link to REST reference documentation. Example:
|
124
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
121
125
|
class Publishing
|
122
126
|
include ::Google::Protobuf::MessageExts
|
123
127
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -192,9 +196,26 @@ module Google
|
|
192
196
|
# @!attribute [rw] common
|
193
197
|
# @return [::Google::Api::CommonLanguageSettings]
|
194
198
|
# Some settings.
|
199
|
+
# @!attribute [rw] experimental_features
|
200
|
+
# @return [::Google::Api::PythonSettings::ExperimentalFeatures]
|
201
|
+
# Experimental features to be included during client library generation.
|
195
202
|
class PythonSettings
|
196
203
|
include ::Google::Protobuf::MessageExts
|
197
204
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
205
|
+
|
206
|
+
# Experimental features to be included during client library generation.
|
207
|
+
# These fields will be deprecated once the feature graduates and is enabled
|
208
|
+
# by default.
|
209
|
+
# @!attribute [rw] rest_async_io_enabled
|
210
|
+
# @return [::Boolean]
|
211
|
+
# Enables generation of asynchronous REST clients if `rest` transport is
|
212
|
+
# enabled. By default, asynchronous REST clients will not be generated.
|
213
|
+
# This feature will be enabled by default 1 month after launching the
|
214
|
+
# feature in preview packages.
|
215
|
+
class ExperimentalFeatures
|
216
|
+
include ::Google::Protobuf::MessageExts
|
217
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
218
|
+
end
|
198
219
|
end
|
199
220
|
|
200
221
|
# Settings for Node client libraries.
|
@@ -286,6 +307,13 @@ module Google
|
|
286
307
|
# @return [::String]
|
287
308
|
# The fully qualified name of the method, for which the options below apply.
|
288
309
|
# This is used to find the method to apply the options.
|
310
|
+
#
|
311
|
+
# Example:
|
312
|
+
#
|
313
|
+
# publishing:
|
314
|
+
# method_settings:
|
315
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
316
|
+
# # method settings for CreateFolder...
|
289
317
|
# @!attribute [rw] long_running
|
290
318
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
291
319
|
# Describes settings to use for long-running operations when generating
|
@@ -294,17 +322,14 @@ module Google
|
|
294
322
|
#
|
295
323
|
# Example of a YAML configuration::
|
296
324
|
#
|
297
|
-
#
|
298
|
-
#
|
325
|
+
# publishing:
|
326
|
+
# method_settings:
|
299
327
|
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
300
328
|
# long_running:
|
301
|
-
# initial_poll_delay:
|
302
|
-
# seconds: 60 # 1 minute
|
329
|
+
# initial_poll_delay: 60s # 1 minute
|
303
330
|
# poll_delay_multiplier: 1.5
|
304
|
-
# max_poll_delay:
|
305
|
-
#
|
306
|
-
# total_poll_timeout:
|
307
|
-
# seconds: 54000 # 90 minutes
|
331
|
+
# max_poll_delay: 360s # 6 minutes
|
332
|
+
# total_poll_timeout: 54000s # 90 minutes
|
308
333
|
# @!attribute [rw] auto_populated_fields
|
309
334
|
# @return [::Array<::String>]
|
310
335
|
# List of top-level fields of the request message, that should be
|
@@ -313,8 +338,8 @@ module Google
|
|
313
338
|
#
|
314
339
|
# Example of a YAML configuration:
|
315
340
|
#
|
316
|
-
#
|
317
|
-
#
|
341
|
+
# publishing:
|
342
|
+
# method_settings:
|
318
343
|
# - selector: google.example.v1.ExampleService.CreateExample
|
319
344
|
# auto_populated_fields:
|
320
345
|
# - request_id
|
@@ -124,8 +124,13 @@ module Google
|
|
124
124
|
# @return [::String]
|
125
125
|
# The plural name used in the resource name and permission names, such as
|
126
126
|
# 'projects' for the resource name of 'projects/\\{project}' and the permission
|
127
|
-
# name of 'cloudresourcemanager.googleapis.com/projects.get'.
|
128
|
-
#
|
127
|
+
# name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
|
128
|
+
# to this is for Nested Collections that have stuttering names, as defined
|
129
|
+
# in [AIP-122](https://google.aip.dev/122#nested-collections), where the
|
130
|
+
# collection ID in the resource name pattern does not necessarily directly
|
131
|
+
# match the `plural` value.
|
132
|
+
#
|
133
|
+
# It is the same concept of the `plural` field in k8s CRD spec
|
129
134
|
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
130
135
|
#
|
131
136
|
# Note: The plural form is required even for singleton resources. See
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-iam-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|