google-cloud-managed_identities-v1 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: 3b4f834523513b6db98ef6e13330b906dd6408d2f02c7a50cf9f3cad299ebd74
4
- data.tar.gz: bbc09a684663e2c3c7df888f313bc113cd32e3d4a883c817fe4679607d8b5f57
3
+ metadata.gz: c9c10b2c74c0cd3f6ee54bfcdf46e604a3eb85d6dfcfa0cc544e8ebefb11c25b
4
+ data.tar.gz: 140e99a6955006a92d73f8d096fddb2283aa92b91b7039587bea4b87c1209e3e
5
5
  SHA512:
6
- metadata.gz: 96acc7b3c13e9ff5c2a5992b5f67411d12ed690d994592220c661012d57abcaccc38e15b680b052ae9cc977a5f7e1dc860f6e71a9a9dae095c73bde618e3aa0b
7
- data.tar.gz: 0e3ba1c3576a81a8db1c8b2c00342485c086fbc7bcae09ce52cd82e1ed337a3d25acfbd46fdff85fb4e0789f35be8c5ba13cc3b01407788ea85ec84f1f7adf30
6
+ metadata.gz: 58c54ef55dfde290da829b76faa82285f2df34a284aa062f947d070cafc0b908c713b64fc3559e1abc92b45f8d192b4ebe71fd8cf0c48eab19b48771fd4a8728
7
+ data.tar.gz: b19c703fc2e135855d9e7c2d094caa985f18b4bd5036e75d7a7e69e2866b0a8ce689c9020ad7dcede55cd2f71b28e3a97760ffddf9db72a8ada0a18e7fc3c8b6
@@ -174,7 +174,7 @@ module Google
174
174
  credentials = @config.credentials
175
175
  # Use self-signed JWT if the endpoint is unchanged from default,
176
176
  # but only if the default endpoint does not have a region prefix.
177
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
177
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
178
178
  !@config.endpoint.split(".").first.include?("-")
179
179
  credentials ||= Credentials.default scope: @config.scope,
180
180
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -195,7 +195,8 @@ module Google
195
195
  credentials: credentials,
196
196
  endpoint: @config.endpoint,
197
197
  channel_args: @config.channel_args,
198
- interceptors: @config.interceptors
198
+ interceptors: @config.interceptors,
199
+ channel_pool_config: @config.channel_pool
199
200
  )
200
201
  end
201
202
 
@@ -1264,7 +1265,9 @@ module Google
1264
1265
  class Configuration
1265
1266
  extend ::Gapic::Config
1266
1267
 
1267
- config_attr :endpoint, "managedidentities.googleapis.com", ::String
1268
+ DEFAULT_ENDPOINT = "managedidentities.googleapis.com"
1269
+
1270
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
1268
1271
  config_attr :credentials, nil do |value|
1269
1272
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1270
1273
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -1299,6 +1302,14 @@ module Google
1299
1302
  end
1300
1303
  end
1301
1304
 
1305
+ ##
1306
+ # Configuration for the channel pool
1307
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
1308
+ #
1309
+ def channel_pool
1310
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
1311
+ end
1312
+
1302
1313
  ##
1303
1314
  # Configuration RPC class for the ManagedIdentitiesService API.
1304
1315
  #
@@ -93,7 +93,8 @@ module Google
93
93
  credentials: credentials,
94
94
  endpoint: @config.endpoint,
95
95
  channel_args: @config.channel_args,
96
- interceptors: @config.interceptors
96
+ interceptors: @config.interceptors,
97
+ channel_pool_config: @config.channel_pool
97
98
  )
98
99
 
99
100
  # Used by an LRO wrapper for some methods of this service
@@ -664,7 +665,9 @@ module Google
664
665
  class Configuration
665
666
  extend ::Gapic::Config
666
667
 
667
- config_attr :endpoint, "managedidentities.googleapis.com", ::String
668
+ DEFAULT_ENDPOINT = "managedidentities.googleapis.com"
669
+
670
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
668
671
  config_attr :credentials, nil do |value|
669
672
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
670
673
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -699,6 +702,14 @@ module Google
699
702
  end
700
703
  end
701
704
 
705
+ ##
706
+ # Configuration for the channel pool
707
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
708
+ #
709
+ def channel_pool
710
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
711
+ end
712
+
702
713
  ##
703
714
  # Configuration RPC class for the Operations API.
704
715
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ManagedIdentities
23
23
  module V1
24
- VERSION = "0.5.0"
24
+ VERSION = "0.6.0"
25
25
  end
26
26
  end
27
27
  end
@@ -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-cloud-managed_identities-v1
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
@@ -214,7 +214,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
214
214
  - !ruby/object:Gem::Version
215
215
  version: '0'
216
216
  requirements: []
217
- rubygems_version: 3.4.2
217
+ rubygems_version: 3.4.19
218
218
  signing_key:
219
219
  specification_version: 4
220
220
  summary: The Managed Service for Microsoft Active Directory API is used for managing