google-cloud-recaptcha_enterprise-v1beta1 0.4.2 → 0.4.3
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: 0b38ec3567feb5a16188e5ab3a23d80c606bd95520677589c887cb3949434bee
|
4
|
+
data.tar.gz: 1164e43d9b5de6b8a254154e258d1a28f4ee56cfb6cba68819e1f192cefbd058
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94d9e109bdb7f1156685d4bf0a0a475e48efae11ef4d9a43c3e44f6c1dfbfaf29185e66ead13aef683508ea868d4d53c632f43bbc188e104b83ecaf6acb3e346
|
7
|
+
data.tar.gz: 4033bf954fef60ad29afc352b5b57e8fe63de4cc15c14539a9904cb3880e29b4e485c1703e964724ec677c24e850c47df6acca779721b95eb5173b10993a46b8
|
@@ -41,13 +41,12 @@ module Google
|
|
41
41
|
# See {::Google::Cloud::RecaptchaEnterprise::V1beta1::RecaptchaEnterpriseService::Client::Configuration}
|
42
42
|
# for a description of the configuration fields.
|
43
43
|
#
|
44
|
-
#
|
44
|
+
# @example
|
45
45
|
#
|
46
|
-
#
|
47
|
-
#
|
48
|
-
#
|
49
|
-
#
|
50
|
-
# end
|
46
|
+
# # Modify the configuration for all RecaptchaEnterpriseService clients
|
47
|
+
# ::Google::Cloud::RecaptchaEnterprise::V1beta1::RecaptchaEnterpriseService::Client.configure do |config|
|
48
|
+
# config.timeout = 10.0
|
49
|
+
# end
|
51
50
|
#
|
52
51
|
# @yield [config] Configure the Client client.
|
53
52
|
# @yieldparam config [Client::Configuration]
|
@@ -108,19 +107,15 @@ module Google
|
|
108
107
|
##
|
109
108
|
# Create a new RecaptchaEnterpriseService client object.
|
110
109
|
#
|
111
|
-
#
|
112
|
-
#
|
113
|
-
# To create a new RecaptchaEnterpriseService client with the default
|
114
|
-
# configuration:
|
110
|
+
# @example
|
115
111
|
#
|
116
|
-
#
|
112
|
+
# # Create a client using the default configuration
|
113
|
+
# client = ::Google::Cloud::RecaptchaEnterprise::V1beta1::RecaptchaEnterpriseService::Client.new
|
117
114
|
#
|
118
|
-
#
|
119
|
-
#
|
120
|
-
#
|
121
|
-
#
|
122
|
-
# config.timeout = 10.0
|
123
|
-
# end
|
115
|
+
# # Create a client using a custom configuration
|
116
|
+
# client = ::Google::Cloud::RecaptchaEnterprise::V1beta1::RecaptchaEnterpriseService::Client.new do |config|
|
117
|
+
# config.timeout = 10.0
|
118
|
+
# end
|
124
119
|
#
|
125
120
|
# @yield [config] Configure the RecaptchaEnterpriseService client.
|
126
121
|
# @yieldparam config [Client::Configuration]
|
@@ -140,10 +135,9 @@ module Google
|
|
140
135
|
|
141
136
|
# Create credentials
|
142
137
|
credentials = @config.credentials
|
143
|
-
# Use self-signed JWT if the
|
138
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
144
139
|
# but only if the default endpoint does not have a region prefix.
|
145
|
-
enable_self_signed_jwt = @config.
|
146
|
-
@config.endpoint == Client.configure.endpoint &&
|
140
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
147
141
|
!@config.endpoint.split(".").first.include?("-")
|
148
142
|
credentials ||= Credentials.default scope: @config.scope,
|
149
143
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -222,7 +216,9 @@ module Google
|
|
222
216
|
options.apply_defaults timeout: @config.rpcs.create_assessment.timeout,
|
223
217
|
metadata: metadata,
|
224
218
|
retry_policy: @config.rpcs.create_assessment.retry_policy
|
225
|
-
|
219
|
+
|
220
|
+
options.apply_defaults timeout: @config.timeout,
|
221
|
+
metadata: @config.metadata,
|
226
222
|
retry_policy: @config.retry_policy
|
227
223
|
|
228
224
|
@recaptcha_enterprise_service_stub.call_rpc :create_assessment, request, options: options do |response, operation|
|
@@ -292,7 +288,9 @@ module Google
|
|
292
288
|
options.apply_defaults timeout: @config.rpcs.annotate_assessment.timeout,
|
293
289
|
metadata: metadata,
|
294
290
|
retry_policy: @config.rpcs.annotate_assessment.retry_policy
|
295
|
-
|
291
|
+
|
292
|
+
options.apply_defaults timeout: @config.timeout,
|
293
|
+
metadata: @config.metadata,
|
296
294
|
retry_policy: @config.retry_policy
|
297
295
|
|
298
296
|
@recaptcha_enterprise_service_stub.call_rpc :annotate_assessment, request, options: options do |response, operation|
|
@@ -361,7 +359,9 @@ module Google
|
|
361
359
|
options.apply_defaults timeout: @config.rpcs.create_key.timeout,
|
362
360
|
metadata: metadata,
|
363
361
|
retry_policy: @config.rpcs.create_key.retry_policy
|
364
|
-
|
362
|
+
|
363
|
+
options.apply_defaults timeout: @config.timeout,
|
364
|
+
metadata: @config.metadata,
|
365
365
|
retry_policy: @config.retry_policy
|
366
366
|
|
367
367
|
@recaptcha_enterprise_service_stub.call_rpc :create_key, request, options: options do |response, operation|
|
@@ -434,7 +434,9 @@ module Google
|
|
434
434
|
options.apply_defaults timeout: @config.rpcs.list_keys.timeout,
|
435
435
|
metadata: metadata,
|
436
436
|
retry_policy: @config.rpcs.list_keys.retry_policy
|
437
|
-
|
437
|
+
|
438
|
+
options.apply_defaults timeout: @config.timeout,
|
439
|
+
metadata: @config.metadata,
|
438
440
|
retry_policy: @config.retry_policy
|
439
441
|
|
440
442
|
@recaptcha_enterprise_service_stub.call_rpc :list_keys, request, options: options do |response, operation|
|
@@ -502,7 +504,9 @@ module Google
|
|
502
504
|
options.apply_defaults timeout: @config.rpcs.get_key.timeout,
|
503
505
|
metadata: metadata,
|
504
506
|
retry_policy: @config.rpcs.get_key.retry_policy
|
505
|
-
|
507
|
+
|
508
|
+
options.apply_defaults timeout: @config.timeout,
|
509
|
+
metadata: @config.metadata,
|
506
510
|
retry_policy: @config.retry_policy
|
507
511
|
|
508
512
|
@recaptcha_enterprise_service_stub.call_rpc :get_key, request, options: options do |response, operation|
|
@@ -571,7 +575,9 @@ module Google
|
|
571
575
|
options.apply_defaults timeout: @config.rpcs.update_key.timeout,
|
572
576
|
metadata: metadata,
|
573
577
|
retry_policy: @config.rpcs.update_key.retry_policy
|
574
|
-
|
578
|
+
|
579
|
+
options.apply_defaults timeout: @config.timeout,
|
580
|
+
metadata: @config.metadata,
|
575
581
|
retry_policy: @config.retry_policy
|
576
582
|
|
577
583
|
@recaptcha_enterprise_service_stub.call_rpc :update_key, request, options: options do |response, operation|
|
@@ -638,7 +644,9 @@ module Google
|
|
638
644
|
options.apply_defaults timeout: @config.rpcs.delete_key.timeout,
|
639
645
|
metadata: metadata,
|
640
646
|
retry_policy: @config.rpcs.delete_key.retry_policy
|
641
|
-
|
647
|
+
|
648
|
+
options.apply_defaults timeout: @config.timeout,
|
649
|
+
metadata: @config.metadata,
|
642
650
|
retry_policy: @config.retry_policy
|
643
651
|
|
644
652
|
@recaptcha_enterprise_service_stub.call_rpc :delete_key, request, options: options do |response, operation|
|
@@ -662,22 +670,21 @@ module Google
|
|
662
670
|
# Configuration can be applied globally to all clients, or to a single client
|
663
671
|
# on construction.
|
664
672
|
#
|
665
|
-
#
|
666
|
-
#
|
667
|
-
#
|
668
|
-
# to 20 seconds,
|
669
|
-
#
|
670
|
-
#
|
671
|
-
#
|
672
|
-
#
|
673
|
-
#
|
674
|
-
#
|
675
|
-
#
|
676
|
-
#
|
677
|
-
#
|
678
|
-
#
|
679
|
-
#
|
680
|
-
# end
|
673
|
+
# @example
|
674
|
+
#
|
675
|
+
# # Modify the global config, setting the timeout for
|
676
|
+
# # create_assessment to 20 seconds,
|
677
|
+
# # and all remaining timeouts to 10 seconds.
|
678
|
+
# ::Google::Cloud::RecaptchaEnterprise::V1beta1::RecaptchaEnterpriseService::Client.configure do |config|
|
679
|
+
# config.timeout = 10.0
|
680
|
+
# config.rpcs.create_assessment.timeout = 20.0
|
681
|
+
# end
|
682
|
+
#
|
683
|
+
# # Apply the above configuration only to a new client.
|
684
|
+
# client = ::Google::Cloud::RecaptchaEnterprise::V1beta1::RecaptchaEnterpriseService::Client.new do |config|
|
685
|
+
# config.timeout = 10.0
|
686
|
+
# config.rpcs.create_assessment.timeout = 20.0
|
687
|
+
# end
|
681
688
|
#
|
682
689
|
# @!attribute [rw] endpoint
|
683
690
|
# The hostname or hostname:port of the service endpoint.
|
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.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-08-11 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
|
+
version: '0.7'
|
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.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|