google-cloud-certificate_manager-v1 0.5.0 → 0.7.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/README.md +1 -1
- data/lib/google/cloud/certificate_manager/v1/certificate_manager/client.rb +16 -5
- data/lib/google/cloud/certificate_manager/v1/certificate_manager/operations.rb +15 -4
- data/lib/google/cloud/certificate_manager/v1/certificate_manager/rest/client.rb +508 -4
- data/lib/google/cloud/certificate_manager/v1/certificate_manager/rest/operations.rb +84 -7
- data/lib/google/cloud/certificate_manager/v1/certificate_manager/rest/service_stub.rb +24 -24
- data/lib/google/cloud/certificate_manager/v1/version.rb +1 -1
- data/lib/google/cloud/certificatemanager/v1/certificate_issuance_config_pb.rb +26 -48
- data/lib/google/cloud/certificatemanager/v1/certificate_manager_pb.rb +26 -237
- data/proto_docs/google/api/client.rb +67 -4
- data/proto_docs/google/api/field_behavior.rb +14 -0
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- 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: 564e745aac6fad9d0064900b26293c7d8aa8787fc2c67ba97a15d2ec9783c51a
|
|
4
|
+
data.tar.gz: 6f8be05ef208345b6d5dbf03f60b568b9f95314278d34efc44126ead0a4054f6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c1c98d0a2681b980930b6ee0d5abe5cf76d31fab5f80f94a120bc49b847ff40af85deb7f7801c55059a3aea5a64838eec42b64bf58cb9a83e71bfd16978238fe
|
|
7
|
+
data.tar.gz: db36c0563c41fb147e024f8af5972230723ad16b9ebd795c28c170549a9a3e60bc45cdf1b5fdf32b83ab1d67c4f67f39db775a3b1d4fbb17ca5ce9ffcd36e59d
|
data/README.md
CHANGED
|
@@ -47,7 +47,7 @@ for general usage information.
|
|
|
47
47
|
|
|
48
48
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
|
49
49
|
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
|
|
50
|
-
or a [`Google::Cloud::Logging::Logger`](https://
|
|
50
|
+
or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
|
|
51
51
|
that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
|
52
52
|
and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
|
53
53
|
|
|
@@ -269,7 +269,7 @@ module Google
|
|
|
269
269
|
credentials = @config.credentials
|
|
270
270
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
|
271
271
|
# but only if the default endpoint does not have a region prefix.
|
|
272
|
-
enable_self_signed_jwt = @config.endpoint ==
|
|
272
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
|
273
273
|
!@config.endpoint.split(".").first.include?("-")
|
|
274
274
|
credentials ||= Credentials.default scope: @config.scope,
|
|
275
275
|
enable_self_signed_jwt: enable_self_signed_jwt
|
|
@@ -296,7 +296,8 @@ module Google
|
|
|
296
296
|
credentials: credentials,
|
|
297
297
|
endpoint: @config.endpoint,
|
|
298
298
|
channel_args: @config.channel_args,
|
|
299
|
-
interceptors: @config.interceptors
|
|
299
|
+
interceptors: @config.interceptors,
|
|
300
|
+
channel_pool_config: @config.channel_pool
|
|
300
301
|
)
|
|
301
302
|
end
|
|
302
303
|
|
|
@@ -2655,9 +2656,9 @@ module Google
|
|
|
2655
2656
|
# * (`String`) The path to a service account key file in JSON format
|
|
2656
2657
|
# * (`Hash`) A service account key as a Hash
|
|
2657
2658
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
2658
|
-
# (see the [googleauth docs](https://
|
|
2659
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
2659
2660
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
2660
|
-
# (see the [signet docs](https://
|
|
2661
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
|
2661
2662
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
|
2662
2663
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
2663
2664
|
# * (`nil`) indicating no credentials
|
|
@@ -2699,7 +2700,9 @@ module Google
|
|
|
2699
2700
|
class Configuration
|
|
2700
2701
|
extend ::Gapic::Config
|
|
2701
2702
|
|
|
2702
|
-
|
|
2703
|
+
DEFAULT_ENDPOINT = "certificatemanager.googleapis.com"
|
|
2704
|
+
|
|
2705
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
|
2703
2706
|
config_attr :credentials, nil do |value|
|
|
2704
2707
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
|
2705
2708
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
|
@@ -2734,6 +2737,14 @@ module Google
|
|
|
2734
2737
|
end
|
|
2735
2738
|
end
|
|
2736
2739
|
|
|
2740
|
+
##
|
|
2741
|
+
# Configuration for the channel pool
|
|
2742
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
|
2743
|
+
#
|
|
2744
|
+
def channel_pool
|
|
2745
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
|
2746
|
+
end
|
|
2747
|
+
|
|
2737
2748
|
##
|
|
2738
2749
|
# Configuration RPC class for the CertificateManager API.
|
|
2739
2750
|
#
|
|
@@ -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
|
|
@@ -620,9 +621,9 @@ module Google
|
|
|
620
621
|
# * (`String`) The path to a service account key file in JSON format
|
|
621
622
|
# * (`Hash`) A service account key as a Hash
|
|
622
623
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
623
|
-
# (see the [googleauth docs](https://
|
|
624
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
624
625
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
625
|
-
# (see the [signet docs](https://
|
|
626
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
|
626
627
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
|
627
628
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
628
629
|
# * (`nil`) indicating no credentials
|
|
@@ -664,7 +665,9 @@ module Google
|
|
|
664
665
|
class Configuration
|
|
665
666
|
extend ::Gapic::Config
|
|
666
667
|
|
|
667
|
-
|
|
668
|
+
DEFAULT_ENDPOINT = "certificatemanager.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
|
#
|