google-cloud-security-private_ca-v1 0.8.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b46fb508d2c940fde6820fef28d4d3202aa4b945c214ca7a92cc161249b703a0
4
- data.tar.gz: 9a5ae173c2edba0f4cdd85ef3055c7a94be6d781d614a461814122ec17d7d418
3
+ metadata.gz: 4121e58277ff27d26ec4e6018c6d54707343b3b7bf61089676c4423d8f51dc2d
4
+ data.tar.gz: 34251313dad83c31f244c9ccff1042a7d931841f2bc5de4fb16a9d1380372bdd
5
5
  SHA512:
6
- metadata.gz: 2e67c0e7ae30f4984a503792d3a36acfab95ceb10e22676366ea4e0ba5f71f7989c0ccd82fccc838b6ac1859a35bb58a37aab23f947ee0392e341a70484926f0
7
- data.tar.gz: 24cb909fb4469682565a1f8d4c8162a8a38fc25485ca1f12834b468266f9093701425720cf18c9aefb17de731705c5345aa82bd4d5eeeac1a30b7fe2bdc8bba8
6
+ metadata.gz: 502de49b1e150146587d05092a3f5371faa6d2745d82987a2897f2e7426f69dce6b9cf0f2e690eff2abd13ca60b017f02fb402985973972cedebba6cb91a6f5d
7
+ data.tar.gz: 87ba04ecdbd2100b6e52392c9ca8e6df164e4dade7f5c00cc8993083382b5081eb718b9068a6ccac2b5aeb5fe421a68cffa73a993707b68b6018bf5a0b6b0951
@@ -133,7 +133,7 @@ module Google
133
133
  credentials = @config.credentials
134
134
  # Use self-signed JWT if the endpoint is unchanged from default,
135
135
  # but only if the default endpoint does not have a region prefix.
136
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
136
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
137
137
  !@config.endpoint.split(".").first.include?("-")
138
138
  credentials ||= Credentials.default scope: @config.scope,
139
139
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -166,7 +166,8 @@ module Google
166
166
  credentials: credentials,
167
167
  endpoint: @config.endpoint,
168
168
  channel_args: @config.channel_args,
169
- interceptors: @config.interceptors
169
+ interceptors: @config.interceptors,
170
+ channel_pool_config: @config.channel_pool
170
171
  )
171
172
  end
172
173
 
@@ -3420,7 +3421,9 @@ module Google
3420
3421
  class Configuration
3421
3422
  extend ::Gapic::Config
3422
3423
 
3423
- config_attr :endpoint, "privateca.googleapis.com", ::String
3424
+ DEFAULT_ENDPOINT = "privateca.googleapis.com"
3425
+
3426
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
3424
3427
  config_attr :credentials, nil do |value|
3425
3428
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
3426
3429
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -3455,6 +3458,14 @@ module Google
3455
3458
  end
3456
3459
  end
3457
3460
 
3461
+ ##
3462
+ # Configuration for the channel pool
3463
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
3464
+ #
3465
+ def channel_pool
3466
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
3467
+ end
3468
+
3458
3469
  ##
3459
3470
  # Configuration RPC class for the CertificateAuthorityService API.
3460
3471
  #
@@ -94,7 +94,8 @@ module Google
94
94
  credentials: credentials,
95
95
  endpoint: @config.endpoint,
96
96
  channel_args: @config.channel_args,
97
- interceptors: @config.interceptors
97
+ interceptors: @config.interceptors,
98
+ channel_pool_config: @config.channel_pool
98
99
  )
99
100
 
100
101
  # Used by an LRO wrapper for some methods of this service
@@ -665,7 +666,9 @@ module Google
665
666
  class Configuration
666
667
  extend ::Gapic::Config
667
668
 
668
- config_attr :endpoint, "privateca.googleapis.com", ::String
669
+ DEFAULT_ENDPOINT = "privateca.googleapis.com"
670
+
671
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
669
672
  config_attr :credentials, nil do |value|
670
673
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
671
674
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -700,6 +703,14 @@ module Google
700
703
  end
701
704
  end
702
705
 
706
+ ##
707
+ # Configuration for the channel pool
708
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
709
+ #
710
+ def channel_pool
711
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
712
+ end
713
+
703
714
  ##
704
715
  # Configuration RPC class for the Operations API.
705
716
  #