google-iam-v1beta 0.5.0 → 0.6.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: f418d8e88de5b5f7c252c1ea9897f786bbce54b78bc95c0b15277edddabaca2c
4
- data.tar.gz: 6b1593938b605590f7646862af2a60a8ca6dffcc2cd31ffd24a8e01961324bc0
3
+ metadata.gz: fc013e1dd4dc621a512f840281ec9ef146bbf86293a000ab295378aad2248584
4
+ data.tar.gz: b1edd2959de64f95b76f2708c015d0fb06047efb02b7b3f87c399b596f6e337c
5
5
  SHA512:
6
- metadata.gz: 7cf3f2ef2a9a11bfd7d84470ef6128b4ebc31bcade65065798550b2e5b5f12217c86097b8e04e7c058dedc0a391cca2ada09d5edea46c96acde12b359e8c5010
7
- data.tar.gz: b96923528ac2e9a33925810c73074f439f43439b50132d0117e540a660285492b982da329808b67231a69e3f7505106ad26884729799fedf1cc71c9427dc87a0
6
+ metadata.gz: 90d72b2dccd10e43326d89c40b8251b20b2656bf795bae3332c7b89df512b91f22666197fa2436786171096087f7c8da58289c6ca8fd9308084878841785c561
7
+ data.tar.gz: 7534dc3c9496a9b5c6aa3a0b483f2ff726e4a6794cd6559d774bed55d845a2f1acaafec3bc1d8787fa7e8242ba25749031beeba7a7a64c94ec257b024f7d72e1
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Iam
22
22
  module V1beta
23
- VERSION = "0.5.0"
23
+ VERSION = "0.6.0"
24
24
  end
25
25
  end
26
26
  end
@@ -182,7 +182,7 @@ module Google
182
182
  credentials = @config.credentials
183
183
  # Use self-signed JWT if the endpoint is unchanged from default,
184
184
  # but only if the default endpoint does not have a region prefix.
185
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
185
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
186
186
  !@config.endpoint.split(".").first.include?("-")
187
187
  credentials ||= Credentials.default scope: @config.scope,
188
188
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -203,7 +203,8 @@ module Google
203
203
  credentials: credentials,
204
204
  endpoint: @config.endpoint,
205
205
  channel_args: @config.channel_args,
206
- interceptors: @config.interceptors
206
+ interceptors: @config.interceptors,
207
+ channel_pool_config: @config.channel_pool
207
208
  )
208
209
  end
209
210
 
@@ -1468,7 +1469,9 @@ module Google
1468
1469
  class Configuration
1469
1470
  extend ::Gapic::Config
1470
1471
 
1471
- config_attr :endpoint, "iam.googleapis.com", ::String
1472
+ DEFAULT_ENDPOINT = "iam.googleapis.com"
1473
+
1474
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
1472
1475
  config_attr :credentials, nil do |value|
1473
1476
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1474
1477
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -1503,6 +1506,14 @@ module Google
1503
1506
  end
1504
1507
  end
1505
1508
 
1509
+ ##
1510
+ # Configuration for the channel pool
1511
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
1512
+ #
1513
+ def channel_pool
1514
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
1515
+ end
1516
+
1506
1517
  ##
1507
1518
  # Configuration RPC class for the WorkloadIdentityPools API.
1508
1519
  #
@@ -92,7 +92,8 @@ module Google
92
92
  credentials: credentials,
93
93
  endpoint: @config.endpoint,
94
94
  channel_args: @config.channel_args,
95
- interceptors: @config.interceptors
95
+ interceptors: @config.interceptors,
96
+ channel_pool_config: @config.channel_pool
96
97
  )
97
98
 
98
99
  # Used by an LRO wrapper for some methods of this service
@@ -663,7 +664,9 @@ module Google
663
664
  class Configuration
664
665
  extend ::Gapic::Config
665
666
 
666
- config_attr :endpoint, "iam.googleapis.com", ::String
667
+ DEFAULT_ENDPOINT = "iam.googleapis.com"
668
+
669
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
667
670
  config_attr :credentials, nil do |value|
668
671
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
669
672
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -698,6 +701,14 @@ module Google
698
701
  end
699
702
  end
700
703
 
704
+ ##
705
+ # Configuration for the channel pool
706
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
707
+ #
708
+ def channel_pool
709
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
710
+ end
711
+
701
712
  ##
702
713
  # Configuration RPC class for the Operations API.
703
714
  #
@@ -66,6 +66,20 @@ module Google
66
66
  # a non-empty value will be returned. The user will not be aware of what
67
67
  # non-empty value to expect.
68
68
  NON_EMPTY_DEFAULT = 7
69
+
70
+ # Denotes that the field in a resource (a message annotated with
71
+ # google.api.resource) is used in the resource name to uniquely identify the
72
+ # resource. For AIP-compliant APIs, this should only be applied to the
73
+ # `name` field on the resource.
74
+ #
75
+ # This behavior should not be applied to references to other resources within
76
+ # the message.
77
+ #
78
+ # The identifier field of resources often have different field behavior
79
+ # depending on the request it is embedded in (e.g. for Create methods name
80
+ # is optional and unused, while for Update methods it is required). Instead
81
+ # of method-specific annotations, only `IDENTIFIER` is required.
82
+ IDENTIFIER = 8
69
83
  end
70
84
  end
71
85
  end
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.5.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: 2023-05-31 00:00:00.000000000 Z
11
+ date: 2023-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.19.0
19
+ version: 0.20.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.19.0
29
+ version: 0.20.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -209,7 +209,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
209
209
  - !ruby/object:Gem::Version
210
210
  version: '0'
211
211
  requirements: []
212
- rubygems_version: 3.4.2
212
+ rubygems_version: 3.4.19
213
213
  signing_key:
214
214
  specification_version: 4
215
215
  summary: 'Manages identity and access control for Google Cloud Platform resources,