google-iam-v1 0.8.0 → 1.0.0

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: 7a1149d93c1da63fa0403e1a82cac559aaf07349557c2d3b34d7cce21e681729
4
- data.tar.gz: 3d6ff775d6ac05259981c22eb5fa82d72c0949811cf4aa78bc6b55b9870a7952
3
+ metadata.gz: 32b3f93653e922487467be86fa8848f47cfeff59a31176cdceea9f0c678564f9
4
+ data.tar.gz: fb2c3dcb8728b5722eb04ad7755cbabcd732192a8467e05905c28bf0de1f6a7a
5
5
  SHA512:
6
- metadata.gz: b5d08ed487b73a43be92734fa9f1bd46710e132ce81e735c1816dcae7d9e6cd38b863250c6cbc6d4e4ec6bd330802f02ad09c8b878b3b801296a246d8318a697
7
- data.tar.gz: b3edd38f2096b804f27891785271144300587e95e09daf2e5b3ceb3b092515452b9342146a1afe74f30af1a24b6735670c5d4c7dea81c90a16efc9e8ba549937
6
+ metadata.gz: c441f88cd1e08d6df5f6079d720804c04a7447fef8c2f67b2576411f5b3762308c7e8644031388db95f687e869a46a5aba403fc957d2afe79512cd33f1c49a74
7
+ data.tar.gz: 984d12daf83c609790768b72ab1f1c6e7a975d2bbd5c6843c8a020659417a491f5b98d0eea346b65d168972b5ed580345dd70d19d7660dbbd64873d4dd3e2094
@@ -54,6 +54,9 @@ module Google
54
54
  # attached.
55
55
  #
56
56
  class Client
57
+ # @private
58
+ API_VERSION = ""
59
+
57
60
  # @private
58
61
  DEFAULT_ENDPOINT_TEMPLATE = "iam-meta-api.$UNIVERSE_DOMAIN$"
59
62
 
@@ -252,10 +255,11 @@ module Google
252
255
  # Customize the options with defaults
253
256
  metadata = @config.rpcs.set_iam_policy.metadata.to_h
254
257
 
255
- # Set x-goog-api-client and x-goog-user-project headers
258
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
256
259
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
257
260
  lib_name: @config.lib_name, lib_version: @config.lib_version,
258
261
  gapic_version: ::Google::Iam::V1::VERSION
262
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
259
263
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
260
264
 
261
265
  header_params = {}
@@ -343,10 +347,11 @@ module Google
343
347
  # Customize the options with defaults
344
348
  metadata = @config.rpcs.get_iam_policy.metadata.to_h
345
349
 
346
- # Set x-goog-api-client and x-goog-user-project headers
350
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
347
351
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
348
352
  lib_name: @config.lib_name, lib_version: @config.lib_version,
349
353
  gapic_version: ::Google::Iam::V1::VERSION
354
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
350
355
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
351
356
 
352
357
  header_params = {}
@@ -440,10 +445,11 @@ module Google
440
445
  # Customize the options with defaults
441
446
  metadata = @config.rpcs.test_iam_permissions.metadata.to_h
442
447
 
443
- # Set x-goog-api-client and x-goog-user-project headers
448
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
444
449
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
445
450
  lib_name: @config.lib_name, lib_version: @config.lib_version,
446
451
  gapic_version: ::Google::Iam::V1::VERSION
452
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
447
453
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
448
454
 
449
455
  header_params = {}
@@ -56,6 +56,9 @@ module Google
56
56
  # attached.
57
57
  #
58
58
  class Client
59
+ # @private
60
+ API_VERSION = ""
61
+
59
62
  # @private
60
63
  DEFAULT_ENDPOINT_TEMPLATE = "iam-meta-api.$UNIVERSE_DOMAIN$"
61
64
 
@@ -244,12 +247,13 @@ module Google
244
247
  # Customize the options with defaults
245
248
  call_metadata = @config.rpcs.set_iam_policy.metadata.to_h
246
249
 
247
- # Set x-goog-api-client and x-goog-user-project headers
250
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
248
251
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
249
252
  lib_name: @config.lib_name, lib_version: @config.lib_version,
250
253
  gapic_version: ::Google::Iam::V1::VERSION,
251
254
  transports_version_send: [:rest]
252
255
 
256
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
253
257
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
254
258
 
255
259
  options.apply_defaults timeout: @config.rpcs.set_iam_policy.timeout,
@@ -330,12 +334,13 @@ module Google
330
334
  # Customize the options with defaults
331
335
  call_metadata = @config.rpcs.get_iam_policy.metadata.to_h
332
336
 
333
- # Set x-goog-api-client and x-goog-user-project headers
337
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
334
338
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
335
339
  lib_name: @config.lib_name, lib_version: @config.lib_version,
336
340
  gapic_version: ::Google::Iam::V1::VERSION,
337
341
  transports_version_send: [:rest]
338
342
 
343
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
339
344
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
340
345
 
341
346
  options.apply_defaults timeout: @config.rpcs.get_iam_policy.timeout,
@@ -422,12 +427,13 @@ module Google
422
427
  # Customize the options with defaults
423
428
  call_metadata = @config.rpcs.test_iam_permissions.metadata.to_h
424
429
 
425
- # Set x-goog-api-client and x-goog-user-project headers
430
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
426
431
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
427
432
  lib_name: @config.lib_name, lib_version: @config.lib_version,
428
433
  gapic_version: ::Google::Iam::V1::VERSION,
429
434
  transports_version_send: [:rest]
430
435
 
436
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
431
437
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
432
438
 
433
439
  options.apply_defaults timeout: @config.rpcs.test_iam_permissions.timeout,
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Iam
22
22
  module V1
23
- VERSION = "0.8.0"
23
+ VERSION = "1.0.0"
24
24
  end
25
25
  end
26
26
  end
@@ -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
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-iam-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 1.0.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: 2024-02-26 00:00:00.000000000 Z
11
+ date: 2024-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common