google-apis-recaptchaenterprise_v1 0.15.0 → 0.16.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 +4 -0
- data/lib/google/apis/recaptchaenterprise_v1/classes.rb +0 -22
- data/lib/google/apis/recaptchaenterprise_v1/gem_version.rb +2 -2
- data/lib/google/apis/recaptchaenterprise_v1/representations.rb +0 -13
- data/lib/google/apis/recaptchaenterprise_v1/service.rb +0 -33
- 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: df3198b272cfd209ef5057068c3e3e18f593482731795ebb4fc14a25fa633d09
|
4
|
+
data.tar.gz: 6210aed6c037ed198cc3b979ce61c2875fd6e0f1e8961c107a62e17a439c2080
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c99dc2f3198158f31bd0fcbc3a97f2659d116e3b184b1ab4c3524304e57d72c96076160bb6d08812709f4e169c0a09b767f469f2eb306458e51f21773c6f60a7
|
7
|
+
data.tar.gz: c5efe4fadaf95b416bba06989020f28e5d3e17cb8fe02f8e9b2d494337bcae417fe3be37860aaf3bdc16fa1b894611453ae92f83967348d52192c6a1833d5716
|
data/CHANGELOG.md
CHANGED
@@ -537,28 +537,6 @@ module Google
|
|
537
537
|
end
|
538
538
|
end
|
539
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
|
-
|
562
540
|
# Risk analysis result for an event.
|
563
541
|
class GoogleCloudRecaptchaenterpriseV1RiskAnalysis
|
564
542
|
include Google::Apis::Core::Hashable
|
@@ -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.16.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220513"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -118,12 +118,6 @@ 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
|
-
|
127
121
|
class GoogleCloudRecaptchaenterpriseV1RiskAnalysis
|
128
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
123
|
|
@@ -339,13 +333,6 @@ module Google
|
|
339
333
|
end
|
340
334
|
end
|
341
335
|
|
342
|
-
class GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse
|
343
|
-
# @private
|
344
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
345
|
-
property :legacy_secret_key, as: 'legacySecretKey'
|
346
|
-
end
|
347
|
-
end
|
348
|
-
|
349
336
|
class GoogleCloudRecaptchaenterpriseV1RiskAnalysis
|
350
337
|
# @private
|
351
338
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -360,39 +360,6 @@ 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
|
-
|
396
363
|
# Search group memberships related to a given account.
|
397
364
|
# @param [String] project
|
398
365
|
# 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.16.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-05-
|
11
|
+
date: 2022-05-23 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.16.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: []
|