google-iam-v1beta 0.8.0 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e474db44ae85fe0edb940bb2bc69fbe2ed5ac08fc05cbb75190af2da7b39d563
4
- data.tar.gz: 1a47e62a8b788d236ca3d664e302afa2a3fc2255e4b27f835f32ca2605ebd6c5
3
+ metadata.gz: 82fb1b635f784073be9647050dbd196c470ea2556b4741c77286f5a5409d15f1
4
+ data.tar.gz: 7b1165e25e41f05bc20d1ef0513b51c95b0babeed0459f3522edebcdbeceb628
5
5
  SHA512:
6
- metadata.gz: ca9b76ecba743f9185809ffd5eeccb8689ad69470536355ef90c8868736cfa2c8aba6cc1f9a52c8d84bfd802cc1f86c7f1448c9669cbdc238d0d49b8ebc05284
7
- data.tar.gz: ad1a3806a6f34a010efcc09af12eff43a3dce3ad7fe2707004f6e300bdccd40005601cc35ba26a42c6addef8413663c52612c719b6a5393581d11727a191c0d1
6
+ metadata.gz: b77637c023b6f063ef4544477876785087ba4a60ffa3516aacfad44ec87557a05ff93c9a2478c7ff63bb02010af3e59bbd45dd3b2f73fbb933704215db8c255d
7
+ data.tar.gz: d0182daa342e760420d781b5695571f151d560d2b90b93715fe7c046e8f13e241e4f4d6aba990addf58a3d888669a9b0da341932b9535b3dca2902f1302f6f1d
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Iam
22
22
  module V1beta
23
- VERSION = "0.8.0"
23
+ VERSION = "0.8.1"
24
24
  end
25
25
  end
26
26
  end
@@ -29,6 +29,9 @@ module Google
29
29
  # Manages WorkloadIdentityPools.
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
 
@@ -304,10 +307,11 @@ module Google
304
307
  # Customize the options with defaults
305
308
  metadata = @config.rpcs.list_workload_identity_pools.metadata.to_h
306
309
 
307
- # Set x-goog-api-client and x-goog-user-project headers
310
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
308
311
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
309
312
  lib_name: @config.lib_name, lib_version: @config.lib_version,
310
313
  gapic_version: ::Google::Iam::V1beta::VERSION
314
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
311
315
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
312
316
 
313
317
  header_params = {}
@@ -391,10 +395,11 @@ module Google
391
395
  # Customize the options with defaults
392
396
  metadata = @config.rpcs.get_workload_identity_pool.metadata.to_h
393
397
 
394
- # Set x-goog-api-client and x-goog-user-project headers
398
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
395
399
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
396
400
  lib_name: @config.lib_name, lib_version: @config.lib_version,
397
401
  gapic_version: ::Google::Iam::V1beta::VERSION
402
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
398
403
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
399
404
 
400
405
  header_params = {}
@@ -494,10 +499,11 @@ module Google
494
499
  # Customize the options with defaults
495
500
  metadata = @config.rpcs.create_workload_identity_pool.metadata.to_h
496
501
 
497
- # Set x-goog-api-client and x-goog-user-project headers
502
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
498
503
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
499
504
  lib_name: @config.lib_name, lib_version: @config.lib_version,
500
505
  gapic_version: ::Google::Iam::V1beta::VERSION
506
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
501
507
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
502
508
 
503
509
  header_params = {}
@@ -590,10 +596,11 @@ module Google
590
596
  # Customize the options with defaults
591
597
  metadata = @config.rpcs.update_workload_identity_pool.metadata.to_h
592
598
 
593
- # Set x-goog-api-client and x-goog-user-project headers
599
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
594
600
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
595
601
  lib_name: @config.lib_name, lib_version: @config.lib_version,
596
602
  gapic_version: ::Google::Iam::V1beta::VERSION
603
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
597
604
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
598
605
 
599
606
  header_params = {}
@@ -694,10 +701,11 @@ module Google
694
701
  # Customize the options with defaults
695
702
  metadata = @config.rpcs.delete_workload_identity_pool.metadata.to_h
696
703
 
697
- # Set x-goog-api-client and x-goog-user-project headers
704
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
698
705
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
699
706
  lib_name: @config.lib_name, lib_version: @config.lib_version,
700
707
  gapic_version: ::Google::Iam::V1beta::VERSION
708
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
701
709
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
702
710
 
703
711
  header_params = {}
@@ -788,10 +796,11 @@ module Google
788
796
  # Customize the options with defaults
789
797
  metadata = @config.rpcs.undelete_workload_identity_pool.metadata.to_h
790
798
 
791
- # Set x-goog-api-client and x-goog-user-project headers
799
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
792
800
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
793
801
  lib_name: @config.lib_name, lib_version: @config.lib_version,
794
802
  gapic_version: ::Google::Iam::V1beta::VERSION
803
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
795
804
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
796
805
 
797
806
  header_params = {}
@@ -891,10 +900,11 @@ module Google
891
900
  # Customize the options with defaults
892
901
  metadata = @config.rpcs.list_workload_identity_pool_providers.metadata.to_h
893
902
 
894
- # Set x-goog-api-client and x-goog-user-project headers
903
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
895
904
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
896
905
  lib_name: @config.lib_name, lib_version: @config.lib_version,
897
906
  gapic_version: ::Google::Iam::V1beta::VERSION
907
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
898
908
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
899
909
 
900
910
  header_params = {}
@@ -978,10 +988,11 @@ module Google
978
988
  # Customize the options with defaults
979
989
  metadata = @config.rpcs.get_workload_identity_pool_provider.metadata.to_h
980
990
 
981
- # Set x-goog-api-client and x-goog-user-project headers
991
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
982
992
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
983
993
  lib_name: @config.lib_name, lib_version: @config.lib_version,
984
994
  gapic_version: ::Google::Iam::V1beta::VERSION
995
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
985
996
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
986
997
 
987
998
  header_params = {}
@@ -1082,10 +1093,11 @@ module Google
1082
1093
  # Customize the options with defaults
1083
1094
  metadata = @config.rpcs.create_workload_identity_pool_provider.metadata.to_h
1084
1095
 
1085
- # Set x-goog-api-client and x-goog-user-project headers
1096
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1086
1097
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1087
1098
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1088
1099
  gapic_version: ::Google::Iam::V1beta::VERSION
1100
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1089
1101
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1090
1102
 
1091
1103
  header_params = {}
@@ -1178,10 +1190,11 @@ module Google
1178
1190
  # Customize the options with defaults
1179
1191
  metadata = @config.rpcs.update_workload_identity_pool_provider.metadata.to_h
1180
1192
 
1181
- # Set x-goog-api-client and x-goog-user-project headers
1193
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1182
1194
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1183
1195
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1184
1196
  gapic_version: ::Google::Iam::V1beta::VERSION
1197
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1185
1198
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1186
1199
 
1187
1200
  header_params = {}
@@ -1277,10 +1290,11 @@ module Google
1277
1290
  # Customize the options with defaults
1278
1291
  metadata = @config.rpcs.delete_workload_identity_pool_provider.metadata.to_h
1279
1292
 
1280
- # Set x-goog-api-client and x-goog-user-project headers
1293
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1281
1294
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1282
1295
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1283
1296
  gapic_version: ::Google::Iam::V1beta::VERSION
1297
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1284
1298
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1285
1299
 
1286
1300
  header_params = {}
@@ -1372,10 +1386,11 @@ module Google
1372
1386
  # Customize the options with defaults
1373
1387
  metadata = @config.rpcs.undelete_workload_identity_pool_provider.metadata.to_h
1374
1388
 
1375
- # Set x-goog-api-client and x-goog-user-project headers
1389
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1376
1390
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1377
1391
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1378
1392
  gapic_version: ::Google::Iam::V1beta::VERSION
1393
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1379
1394
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1380
1395
 
1381
1396
  header_params = {}
@@ -25,6 +25,9 @@ module Google
25
25
  module WorkloadIdentityPools
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 and x-goog-user-project headers
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::V1beta::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 and x-goog-user-project headers
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::V1beta::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 and x-goog-user-project headers
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::V1beta::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 and x-goog-user-project headers
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::V1beta::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 and x-goog-user-project headers
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::V1beta::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,
@@ -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
- # publishing:
298
- # method_settings:
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
- # seconds: 360 # 6 minutes
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
- # publishing:
317
- # method_settings:
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'. It is the same
128
- # concept of the `plural` field in k8s CRD spec
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-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.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-02-26 00:00:00.000000000 Z
11
+ date: 2024-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common