google-apis-recaptchaenterprise_v1 0.23.0 → 0.25.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/CHANGELOG.md +8 -0
- data/lib/google/apis/recaptchaenterprise_v1/classes.rb +112 -0
- data/lib/google/apis/recaptchaenterprise_v1/gem_version.rb +2 -2
- data/lib/google/apis/recaptchaenterprise_v1/representations.rb +38 -0
- data/lib/google/apis/recaptchaenterprise_v1/service.rb +2 -1
- data/lib/google/apis/recaptchaenterprise_v1.rb +2 -1
- 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: 85b864b4d1c74f878ba3b071b1e0d471bc90a75ed26da1d31570129087acbb9e
|
4
|
+
data.tar.gz: d34473383e75e33efbabadfec240abf99ad55496213b51f2a2c90b3d841205e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89d27855751c956a9392fa51662375fc1369cf3833aa87169d6c663a9d2899a0843745e86c57699b11eb353a8d135e28fb797fca8bfc31a9485b00edc6d7bc7b
|
7
|
+
data.tar.gz: b14f0f2af96f0d3db0440fcaabd855779ea803467907f9cd1dded6449bd98fb8d071d10a133db7948526c2a1f1ab8298e046d9ee78d560c03d4c9e45008dc535
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-recaptchaenterprise_v1
|
2
2
|
|
3
|
+
### v0.25.0 (2022-12-07)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20221204
|
6
|
+
|
7
|
+
### v0.24.0 (2022-11-12)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20221106
|
10
|
+
|
3
11
|
### v0.23.0 (2022-10-28)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20221017
|
@@ -41,6 +41,45 @@ module Google
|
|
41
41
|
end
|
42
42
|
end
|
43
43
|
|
44
|
+
# Information about account verification, used for identity verification.
|
45
|
+
class GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo
|
46
|
+
include Google::Apis::Core::Hashable
|
47
|
+
|
48
|
+
# Endpoints that can be used for identity verification.
|
49
|
+
# Corresponds to the JSON property `endpoints`
|
50
|
+
# @return [Array<Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1EndpointVerificationInfo>]
|
51
|
+
attr_accessor :endpoints
|
52
|
+
|
53
|
+
# Language code preference for the verification message, set as a IETF BCP 47
|
54
|
+
# language code.
|
55
|
+
# Corresponds to the JSON property `languageCode`
|
56
|
+
# @return [String]
|
57
|
+
attr_accessor :language_code
|
58
|
+
|
59
|
+
# Output only. Result of the latest account verification challenge.
|
60
|
+
# Corresponds to the JSON property `latestVerificationResult`
|
61
|
+
# @return [String]
|
62
|
+
attr_accessor :latest_verification_result
|
63
|
+
|
64
|
+
# Username of the account that is being verified. Deprecated. Customers should
|
65
|
+
# now provide the hashed account ID field in Event.
|
66
|
+
# Corresponds to the JSON property `username`
|
67
|
+
# @return [String]
|
68
|
+
attr_accessor :username
|
69
|
+
|
70
|
+
def initialize(**args)
|
71
|
+
update!(**args)
|
72
|
+
end
|
73
|
+
|
74
|
+
# Update properties of this object
|
75
|
+
def update!(**args)
|
76
|
+
@endpoints = args[:endpoints] if args.key?(:endpoints)
|
77
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
78
|
+
@latest_verification_result = args[:latest_verification_result] if args.key?(:latest_verification_result)
|
79
|
+
@username = args[:username] if args.key?(:username)
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
44
83
|
# Settings specific to keys that can be used by Android apps.
|
45
84
|
class GoogleCloudRecaptchaenterpriseV1AndroidKeySettings
|
46
85
|
include Google::Apis::Core::Hashable
|
@@ -129,6 +168,11 @@ module Google
|
|
129
168
|
# @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment]
|
130
169
|
attr_accessor :account_defender_assessment
|
131
170
|
|
171
|
+
# Information about account verification, used for identity verification.
|
172
|
+
# Corresponds to the JSON property `accountVerification`
|
173
|
+
# @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo]
|
174
|
+
attr_accessor :account_verification
|
175
|
+
|
132
176
|
# The event being assessed.
|
133
177
|
# Corresponds to the JSON property `event`
|
134
178
|
# @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Event]
|
@@ -162,6 +206,7 @@ module Google
|
|
162
206
|
# Update properties of this object
|
163
207
|
def update!(**args)
|
164
208
|
@account_defender_assessment = args[:account_defender_assessment] if args.key?(:account_defender_assessment)
|
209
|
+
@account_verification = args[:account_verification] if args.key?(:account_verification)
|
165
210
|
@event = args[:event] if args.key?(:event)
|
166
211
|
@name = args[:name] if args.key?(:name)
|
167
212
|
@private_password_leak_verification = args[:private_password_leak_verification] if args.key?(:private_password_leak_verification)
|
@@ -210,6 +255,46 @@ module Google
|
|
210
255
|
end
|
211
256
|
end
|
212
257
|
|
258
|
+
# Information about a verification endpoint that can be used for 2FA.
|
259
|
+
class GoogleCloudRecaptchaenterpriseV1EndpointVerificationInfo
|
260
|
+
include Google::Apis::Core::Hashable
|
261
|
+
|
262
|
+
# Email address for which to trigger a verification request.
|
263
|
+
# Corresponds to the JSON property `emailAddress`
|
264
|
+
# @return [String]
|
265
|
+
attr_accessor :email_address
|
266
|
+
|
267
|
+
# Output only. Timestamp of the last successful verification for the endpoint,
|
268
|
+
# if any.
|
269
|
+
# Corresponds to the JSON property `lastVerificationTime`
|
270
|
+
# @return [String]
|
271
|
+
attr_accessor :last_verification_time
|
272
|
+
|
273
|
+
# Phone number for which to trigger a verification request. Should be given in E.
|
274
|
+
# 164 format.
|
275
|
+
# Corresponds to the JSON property `phoneNumber`
|
276
|
+
# @return [String]
|
277
|
+
attr_accessor :phone_number
|
278
|
+
|
279
|
+
# Output only. Token to provide to the client to trigger endpoint verification.
|
280
|
+
# It must be used within 15 minutes.
|
281
|
+
# Corresponds to the JSON property `requestToken`
|
282
|
+
# @return [String]
|
283
|
+
attr_accessor :request_token
|
284
|
+
|
285
|
+
def initialize(**args)
|
286
|
+
update!(**args)
|
287
|
+
end
|
288
|
+
|
289
|
+
# Update properties of this object
|
290
|
+
def update!(**args)
|
291
|
+
@email_address = args[:email_address] if args.key?(:email_address)
|
292
|
+
@last_verification_time = args[:last_verification_time] if args.key?(:last_verification_time)
|
293
|
+
@phone_number = args[:phone_number] if args.key?(:phone_number)
|
294
|
+
@request_token = args[:request_token] if args.key?(:request_token)
|
295
|
+
end
|
296
|
+
end
|
297
|
+
|
213
298
|
#
|
214
299
|
class GoogleCloudRecaptchaenterpriseV1Event
|
215
300
|
include Google::Apis::Core::Hashable
|
@@ -485,12 +570,26 @@ module Google
|
|
485
570
|
class GoogleCloudRecaptchaenterpriseV1MigrateKeyRequest
|
486
571
|
include Google::Apis::Core::Hashable
|
487
572
|
|
573
|
+
# Optional. Whether or not to do billing check. A reCAPTCHA Enterprise or
|
574
|
+
# migrated key behaves differently than a reCAPTCHA (non-Enterprise version) key
|
575
|
+
# when you reach a quota limit (see https://cloud.google.com/recaptcha-
|
576
|
+
# enterprise/quotas#quota_limit). To avoid any disruption of your usage, we
|
577
|
+
# check that a billing account is present. If your usage of reCAPTCHA is under
|
578
|
+
# the free quota, you can safely skip the billing check and proceed with the
|
579
|
+
# migration. See https://cloud.google.com/recaptcha-enterprise/docs/billing-
|
580
|
+
# information.
|
581
|
+
# Corresponds to the JSON property `skipBillingCheck`
|
582
|
+
# @return [Boolean]
|
583
|
+
attr_accessor :skip_billing_check
|
584
|
+
alias_method :skip_billing_check?, :skip_billing_check
|
585
|
+
|
488
586
|
def initialize(**args)
|
489
587
|
update!(**args)
|
490
588
|
end
|
491
589
|
|
492
590
|
# Update properties of this object
|
493
591
|
def update!(**args)
|
592
|
+
@skip_billing_check = args[:skip_billing_check] if args.key?(:skip_billing_check)
|
494
593
|
end
|
495
594
|
end
|
496
595
|
|
@@ -789,6 +888,12 @@ module Google
|
|
789
888
|
# @return [String]
|
790
889
|
attr_accessor :action
|
791
890
|
|
891
|
+
# The name of the Android package with which the token was generated (Android
|
892
|
+
# keys only).
|
893
|
+
# Corresponds to the JSON property `androidPackageName`
|
894
|
+
# @return [String]
|
895
|
+
attr_accessor :android_package_name
|
896
|
+
|
792
897
|
# The timestamp corresponding to the generation of the token.
|
793
898
|
# Corresponds to the JSON property `createTime`
|
794
899
|
# @return [String]
|
@@ -804,6 +909,11 @@ module Google
|
|
804
909
|
# @return [String]
|
805
910
|
attr_accessor :invalid_reason
|
806
911
|
|
912
|
+
# The ID of the iOS bundle with which the token was generated (iOS keys only).
|
913
|
+
# Corresponds to the JSON property `iosBundleId`
|
914
|
+
# @return [String]
|
915
|
+
attr_accessor :ios_bundle_id
|
916
|
+
|
807
917
|
# Whether the provided user response token is valid. When valid = false, the
|
808
918
|
# reason could be specified in invalid_reason or it could also be due to a user
|
809
919
|
# failing to solve a challenge or a sitekey mismatch (i.e the sitekey used to
|
@@ -820,9 +930,11 @@ module Google
|
|
820
930
|
# Update properties of this object
|
821
931
|
def update!(**args)
|
822
932
|
@action = args[:action] if args.key?(:action)
|
933
|
+
@android_package_name = args[:android_package_name] if args.key?(:android_package_name)
|
823
934
|
@create_time = args[:create_time] if args.key?(:create_time)
|
824
935
|
@hostname = args[:hostname] if args.key?(:hostname)
|
825
936
|
@invalid_reason = args[:invalid_reason] if args.key?(:invalid_reason)
|
937
|
+
@ios_bundle_id = args[:ios_bundle_id] if args.key?(:ios_bundle_id)
|
826
938
|
@valid = args[:valid] if args.key?(:valid)
|
827
939
|
end
|
828
940
|
end
|
@@ -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.25.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.11.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20221204"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -28,6 +28,12 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
+
class GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
31
37
|
class GoogleCloudRecaptchaenterpriseV1AndroidKeySettings
|
32
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
39
|
|
@@ -58,6 +64,12 @@ module Google
|
|
58
64
|
include Google::Apis::Core::JsonObjectSupport
|
59
65
|
end
|
60
66
|
|
67
|
+
class GoogleCloudRecaptchaenterpriseV1EndpointVerificationInfo
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
61
73
|
class GoogleCloudRecaptchaenterpriseV1Event
|
62
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
75
|
|
@@ -197,6 +209,17 @@ module Google
|
|
197
209
|
end
|
198
210
|
end
|
199
211
|
|
212
|
+
class GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo
|
213
|
+
# @private
|
214
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
215
|
+
collection :endpoints, as: 'endpoints', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1EndpointVerificationInfo, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1EndpointVerificationInfo::Representation
|
216
|
+
|
217
|
+
property :language_code, as: 'languageCode'
|
218
|
+
property :latest_verification_result, as: 'latestVerificationResult'
|
219
|
+
property :username, as: 'username'
|
220
|
+
end
|
221
|
+
end
|
222
|
+
|
200
223
|
class GoogleCloudRecaptchaenterpriseV1AndroidKeySettings
|
201
224
|
# @private
|
202
225
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -225,6 +248,8 @@ module Google
|
|
225
248
|
class Representation < Google::Apis::Core::JsonRepresentation
|
226
249
|
property :account_defender_assessment, as: 'accountDefenderAssessment', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment::Representation
|
227
250
|
|
251
|
+
property :account_verification, as: 'accountVerification', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo::Representation
|
252
|
+
|
228
253
|
property :event, as: 'event', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Event, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Event::Representation
|
229
254
|
|
230
255
|
property :name, as: 'name'
|
@@ -247,6 +272,16 @@ module Google
|
|
247
272
|
end
|
248
273
|
end
|
249
274
|
|
275
|
+
class GoogleCloudRecaptchaenterpriseV1EndpointVerificationInfo
|
276
|
+
# @private
|
277
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
278
|
+
property :email_address, as: 'emailAddress'
|
279
|
+
property :last_verification_time, as: 'lastVerificationTime'
|
280
|
+
property :phone_number, as: 'phoneNumber'
|
281
|
+
property :request_token, as: 'requestToken'
|
282
|
+
end
|
283
|
+
end
|
284
|
+
|
250
285
|
class GoogleCloudRecaptchaenterpriseV1Event
|
251
286
|
# @private
|
252
287
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -329,6 +364,7 @@ module Google
|
|
329
364
|
class GoogleCloudRecaptchaenterpriseV1MigrateKeyRequest
|
330
365
|
# @private
|
331
366
|
class Representation < Google::Apis::Core::JsonRepresentation
|
367
|
+
property :skip_billing_check, as: 'skipBillingCheck'
|
332
368
|
end
|
333
369
|
end
|
334
370
|
|
@@ -419,9 +455,11 @@ module Google
|
|
419
455
|
# @private
|
420
456
|
class Representation < Google::Apis::Core::JsonRepresentation
|
421
457
|
property :action, as: 'action'
|
458
|
+
property :android_package_name, as: 'androidPackageName'
|
422
459
|
property :create_time, as: 'createTime'
|
423
460
|
property :hostname, as: 'hostname'
|
424
461
|
property :invalid_reason, as: 'invalidReason'
|
462
|
+
property :ios_bundle_id, as: 'iosBundleId'
|
425
463
|
property :valid, as: 'valid'
|
426
464
|
end
|
427
465
|
end
|
@@ -22,7 +22,8 @@ module Google
|
|
22
22
|
module RecaptchaenterpriseV1
|
23
23
|
# reCAPTCHA Enterprise API
|
24
24
|
#
|
25
|
-
#
|
25
|
+
# Help protect your website from fraudulent activity, spam, and abuse without
|
26
|
+
# creating friction.
|
26
27
|
#
|
27
28
|
# @example
|
28
29
|
# require 'google/apis/recaptchaenterprise_v1'
|
@@ -21,7 +21,8 @@ module Google
|
|
21
21
|
module Apis
|
22
22
|
# reCAPTCHA Enterprise API
|
23
23
|
#
|
24
|
-
#
|
24
|
+
# Help protect your website from fraudulent activity, spam, and abuse without
|
25
|
+
# creating friction.
|
25
26
|
#
|
26
27
|
# @see https://cloud.google.com/recaptcha-enterprise/
|
27
28
|
module RecaptchaenterpriseV1
|
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.25.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-12-12 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.25.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: []
|