google-cloud-recaptcha_enterprise-v1beta1 0.1.1 → 0.2.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13895e6383b426579d758bfd3755b915c02c7d621fea14c0ab33691c96155071
|
4
|
+
data.tar.gz: 821de78bee6685734f21649d3bf4f9cbccdc7abb603de2b43246029d0d6ad9ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fee8d49df918000add055a1fa01eed925d97dd96c94421f0e0e4d8c3af92f4390183a7f4849095591da265a86d94ef884f0441b9153a9e1e9d272eabad08d0e1
|
7
|
+
data.tar.gz: 8a60e4601fef904d8ea5207ed8157c18ece662187de5fb0668e1c1280a1a20b19dd177e4a943ea7c556a8bda88562e036b9103c1d6d4ac67066b0dc08e6e6daa
|
@@ -144,7 +144,8 @@ module Google
|
|
144
144
|
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
145
145
|
credentials = Credentials.new credentials, scope: @config.scope
|
146
146
|
end
|
147
|
-
@quota_project_id =
|
147
|
+
@quota_project_id = @config.quota_project
|
148
|
+
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
148
149
|
|
149
150
|
@recaptcha_enterprise_service_v1_beta1_stub = ::Gapic::ServiceStub.new(
|
150
151
|
::Google::Cloud::RecaptchaEnterprise::V1beta1::RecaptchaEnterpriseServiceV1Beta1::Stub,
|
@@ -718,24 +719,28 @@ module Google
|
|
718
719
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
719
720
|
# trigger a retry.
|
720
721
|
# @return [::Hash]
|
722
|
+
# @!attribute [rw] quota_project
|
723
|
+
# A separate project against which to charge quota.
|
724
|
+
# @return [::String]
|
721
725
|
#
|
722
726
|
class Configuration
|
723
727
|
extend ::Gapic::Config
|
724
728
|
|
725
|
-
config_attr :endpoint,
|
726
|
-
config_attr :credentials,
|
729
|
+
config_attr :endpoint, "recaptchaenterprise.googleapis.com", ::String
|
730
|
+
config_attr :credentials, nil do |value|
|
727
731
|
allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
728
732
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
729
733
|
allowed.any? { |klass| klass === value }
|
730
734
|
end
|
731
|
-
config_attr :scope,
|
732
|
-
config_attr :lib_name,
|
733
|
-
config_attr :lib_version,
|
734
|
-
config_attr(:channel_args,
|
735
|
-
config_attr :interceptors,
|
736
|
-
config_attr :timeout,
|
737
|
-
config_attr :metadata,
|
738
|
-
config_attr :retry_policy,
|
735
|
+
config_attr :scope, nil, ::String, ::Array, nil
|
736
|
+
config_attr :lib_name, nil, ::String, nil
|
737
|
+
config_attr :lib_version, nil, ::String, nil
|
738
|
+
config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
|
739
|
+
config_attr :interceptors, nil, ::Array, nil
|
740
|
+
config_attr :timeout, nil, ::Numeric, nil
|
741
|
+
config_attr :metadata, nil, ::Hash, nil
|
742
|
+
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
743
|
+
config_attr :quota_project, nil, ::String, nil
|
739
744
|
|
740
745
|
# @private
|
741
746
|
def initialize parent_config = nil
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-recaptcha_enterprise-v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.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: 2020-05-
|
11
|
+
date: 2020-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -58,14 +58,42 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '5.
|
61
|
+
version: '5.14'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '5.
|
68
|
+
version: '5.14'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: minitest-focus
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.1'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.1'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: minitest-rg
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '5.2'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '5.2'
|
69
97
|
- !ruby/object:Gem::Dependency
|
70
98
|
name: rake
|
71
99
|
requirement: !ruby/object:Gem::Requirement
|