google-cloud-security-private_ca-v1 0.8.0 → 0.9.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 +4 -4
- data/lib/google/cloud/security/private_ca/v1/certificate_authority_service/client.rb +14 -3
- data/lib/google/cloud/security/private_ca/v1/certificate_authority_service/operations.rb +13 -2
- data/lib/google/cloud/security/private_ca/v1/certificate_authority_service/rest/client.rb +586 -2
- data/lib/google/cloud/security/private_ca/v1/certificate_authority_service/rest/operations.rb +82 -5
- data/lib/google/cloud/security/private_ca/v1/certificate_authority_service/rest/service_stub.rb +29 -29
- data/lib/google/cloud/security/private_ca/v1/version.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +14 -0
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4121e58277ff27d26ec4e6018c6d54707343b3b7bf61089676c4423d8f51dc2d
|
|
4
|
+
data.tar.gz: 34251313dad83c31f244c9ccff1042a7d931841f2bc5de4fb16a9d1380372bdd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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 ==
|
|
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
|
-
|
|
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
|
-
|
|
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
|
#
|