google-apis-recaptchaenterprise_v1 0.12.0 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -0
- data/lib/google/apis/recaptchaenterprise_v1/classes.rb +23 -8
- data/lib/google/apis/recaptchaenterprise_v1/gem_version.rb +3 -3
- data/lib/google/apis/recaptchaenterprise_v1/representations.rb +13 -1
- data/lib/google/apis/recaptchaenterprise_v1/service.rb +33 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 29feda13dd2a4b475aafddc0aa602061d1e14f8e521216ce084a4fed388aa0dc
|
4
|
+
data.tar.gz: 1f15caef4b1eb864d24dd3cd9666da092e0d3923473744d447e2d2a298da9a49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a8411d709726759233172967b5cc93732566ff840cf59e40df4a3c18a869ea5f517d7c7e58a2210d4738a81e9c31f6b314de873a107a2243a1cb3d97fc716d1
|
7
|
+
data.tar.gz: 70d23d5ab5c4859c0521a99f9ef0b5b53bf6f9d386cec781046afbdde55b79a6fc03331406b228d173da63be415659fa4918d46c90daa0bbc4a54504427c7d0f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Release history for google-apis-recaptchaenterprise_v1
|
2
2
|
|
3
|
+
### v0.15.0 (2022-05-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220505
|
6
|
+
|
7
|
+
### v0.14.0 (2022-03-22)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220319
|
10
|
+
|
11
|
+
### v0.13.0 (2022-02-01)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220129
|
14
|
+
* Regenerated using generator version 0.4.1
|
15
|
+
|
3
16
|
### v0.12.0 (2022-01-11)
|
4
17
|
|
5
18
|
* Regenerated from discovery document revision 20220107
|
@@ -31,11 +31,6 @@ module Google
|
|
31
31
|
# @return [Array<String>]
|
32
32
|
attr_accessor :labels
|
33
33
|
|
34
|
-
# Recommended action after this request.
|
35
|
-
# Corresponds to the JSON property `recommendedAction`
|
36
|
-
# @return [String]
|
37
|
-
attr_accessor :recommended_action
|
38
|
-
|
39
34
|
def initialize(**args)
|
40
35
|
update!(**args)
|
41
36
|
end
|
@@ -43,7 +38,6 @@ module Google
|
|
43
38
|
# Update properties of this object
|
44
39
|
def update!(**args)
|
45
40
|
@labels = args[:labels] if args.key?(:labels)
|
46
|
-
@recommended_action = args[:recommended_action] if args.key?(:recommended_action)
|
47
41
|
end
|
48
42
|
end
|
49
43
|
|
@@ -543,6 +537,28 @@ module Google
|
|
543
537
|
end
|
544
538
|
end
|
545
539
|
|
540
|
+
# Secret key used in legacy reCAPTCHA only. Should be used when integrating with
|
541
|
+
# a 3rd party which is still using legacy reCAPTCHA.
|
542
|
+
class GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse
|
543
|
+
include Google::Apis::Core::Hashable
|
544
|
+
|
545
|
+
# The secret key (also known as shared secret) authorizes communication between
|
546
|
+
# your application backend and the reCAPTCHA Enterprise server to create an
|
547
|
+
# assessment. The secret key needs to be kept safe for security purposes.
|
548
|
+
# Corresponds to the JSON property `legacySecretKey`
|
549
|
+
# @return [String]
|
550
|
+
attr_accessor :legacy_secret_key
|
551
|
+
|
552
|
+
def initialize(**args)
|
553
|
+
update!(**args)
|
554
|
+
end
|
555
|
+
|
556
|
+
# Update properties of this object
|
557
|
+
def update!(**args)
|
558
|
+
@legacy_secret_key = args[:legacy_secret_key] if args.key?(:legacy_secret_key)
|
559
|
+
end
|
560
|
+
end
|
561
|
+
|
546
562
|
# Risk analysis result for an event.
|
547
563
|
class GoogleCloudRecaptchaenterpriseV1RiskAnalysis
|
548
564
|
include Google::Apis::Core::Hashable
|
@@ -837,8 +853,7 @@ module Google
|
|
837
853
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
838
854
|
# messages in your APIs. A typical example is to use it as the request or the
|
839
855
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
840
|
-
# protobuf.Empty) returns (google.protobuf.Empty); `
|
841
|
-
# `Empty` is empty JSON object ````.
|
856
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
842
857
|
class GoogleProtobufEmpty
|
843
858
|
include Google::Apis::Core::Hashable
|
844
859
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module RecaptchaenterpriseV1
|
18
18
|
# Version of the google-apis-recaptchaenterprise_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.15.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220505"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -118,6 +118,12 @@ module Google
|
|
118
118
|
include Google::Apis::Core::JsonObjectSupport
|
119
119
|
end
|
120
120
|
|
121
|
+
class GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
121
127
|
class GoogleCloudRecaptchaenterpriseV1RiskAnalysis
|
122
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
129
|
|
@@ -182,7 +188,6 @@ module Google
|
|
182
188
|
# @private
|
183
189
|
class Representation < Google::Apis::Core::JsonRepresentation
|
184
190
|
collection :labels, as: 'labels'
|
185
|
-
property :recommended_action, as: 'recommendedAction'
|
186
191
|
end
|
187
192
|
end
|
188
193
|
|
@@ -334,6 +339,13 @@ module Google
|
|
334
339
|
end
|
335
340
|
end
|
336
341
|
|
342
|
+
class GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse
|
343
|
+
# @private
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
345
|
+
property :legacy_secret_key, as: 'legacySecretKey'
|
346
|
+
end
|
347
|
+
end
|
348
|
+
|
337
349
|
class GoogleCloudRecaptchaenterpriseV1RiskAnalysis
|
338
350
|
# @private
|
339
351
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -360,6 +360,39 @@ module Google
|
|
360
360
|
execute_or_queue_command(command, &block)
|
361
361
|
end
|
362
362
|
|
363
|
+
# Returns the secret key related to the specified public key. You should use the
|
364
|
+
# legacy secret key only if you are integrating with a 3rd party using the
|
365
|
+
# legacy reCAPTCHA instead of reCAPTCHA Enterprise.
|
366
|
+
# @param [String] key
|
367
|
+
# Required. The public key name linked to the requested secret key , in the
|
368
|
+
# format "projects/`project`/keys/`key`".
|
369
|
+
# @param [String] fields
|
370
|
+
# Selector specifying which fields to include in a partial response.
|
371
|
+
# @param [String] quota_user
|
372
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
373
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
374
|
+
# @param [Google::Apis::RequestOptions] options
|
375
|
+
# Request-specific options
|
376
|
+
#
|
377
|
+
# @yield [result, err] Result & error if block supplied
|
378
|
+
# @yieldparam result [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse] parsed result object
|
379
|
+
# @yieldparam err [StandardError] error object if request failed
|
380
|
+
#
|
381
|
+
# @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse]
|
382
|
+
#
|
383
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
384
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
385
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
386
|
+
def retrieve_project_key_legacy_secret_key(key, fields: nil, quota_user: nil, options: nil, &block)
|
387
|
+
command = make_simple_command(:get, 'v1/{+key}:retrieveLegacySecretKey', options)
|
388
|
+
command.response_representation = Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse::Representation
|
389
|
+
command.response_class = Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse
|
390
|
+
command.params['key'] = key unless key.nil?
|
391
|
+
command.query['fields'] = fields unless fields.nil?
|
392
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
393
|
+
execute_or_queue_command(command, &block)
|
394
|
+
end
|
395
|
+
|
363
396
|
# Search group memberships related to a given account.
|
364
397
|
# @param [String] project
|
365
398
|
# Required. The name of the project to search related account group memberships
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-recaptchaenterprise_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.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: 2022-
|
11
|
+
date: 2022-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-recaptchaenterprise_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-recaptchaenterprise_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-recaptchaenterprise_v1/v0.15.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-recaptchaenterprise_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|