google-cloud-recaptcha_enterprise-v1 0.12.0 → 0.13.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/README.md +2 -2
- data/lib/google/cloud/recaptcha_enterprise/v1/recaptcha_enterprise_service/client.rb +22 -27
- data/lib/google/cloud/recaptcha_enterprise/v1/recaptcha_enterprise_service.rb +1 -1
- data/lib/google/cloud/recaptcha_enterprise/v1/version.rb +1 -1
- data/lib/google/cloud/recaptcha_enterprise/v1.rb +2 -2
- data/lib/google/cloud/recaptchaenterprise/v1/recaptchaenterprise_pb.rb +96 -0
- data/proto_docs/google/api/client.rb +9 -3
- data/proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb +339 -7
- metadata +9 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5088ca44e052b45ccfcb29d3fbc4510235c0c3aaedaf4c1255ff237cef928470
|
4
|
+
data.tar.gz: fcba51e7ee2249c21c663cff12f900b9cc5ea0563e03596dfacf1494cdd36f41
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2155f69b74449d32a98e898872a3bcbcd831189eb23da2a754050a3b3f541f04a41e834d2c16b7bd9814f2176262ab3a323047ef76a1f73a0074173d1ec9f893
|
7
|
+
data.tar.gz: 01f2bbef7f1fd929e7c4b3efbd2be83954cf08f854c83c7aa89d52f124dc016076e757015767d2b803371e8672f5abb943aac754012c2babdc5f60f41b2a3caa
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Ruby Client for the reCAPTCHA Enterprise V1 API
|
2
2
|
|
3
|
-
|
3
|
+
Help protect your website from fraudulent activity, spam, and abuse without creating friction.
|
4
4
|
|
5
5
|
reCAPTCHA Enterprise is a service that protects your site from spam and abuse.
|
6
6
|
|
@@ -47,7 +47,7 @@ for general usage information.
|
|
47
47
|
|
48
48
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
49
49
|
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
|
50
|
-
or a [`Google::Cloud::Logging::Logger`](https://
|
50
|
+
or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
|
51
51
|
that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
52
52
|
and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
53
53
|
|
@@ -260,7 +260,7 @@ module Google
|
|
260
260
|
# @param options [::Gapic::CallOptions, ::Hash]
|
261
261
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
262
262
|
#
|
263
|
-
# @overload annotate_assessment(name: nil, annotation: nil, reasons: nil, hashed_account_id: nil)
|
263
|
+
# @overload annotate_assessment(name: nil, annotation: nil, reasons: nil, hashed_account_id: nil, transaction_event: nil)
|
264
264
|
# Pass arguments to `annotate_assessment` via keyword arguments. Note that at
|
265
265
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
266
266
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -281,6 +281,9 @@ module Google
|
|
281
281
|
# CreateAssessment, for example when the account identifier is not yet known
|
282
282
|
# in the initial request. It is recommended that the identifier is hashed
|
283
283
|
# using hmac-sha256 with stable secret.
|
284
|
+
# @param transaction_event [::Google::Cloud::RecaptchaEnterprise::V1::TransactionEvent, ::Hash]
|
285
|
+
# Optional. If the assessment is part of a payment transaction, provide
|
286
|
+
# details on payment lifecycle events that occur in the transaction.
|
284
287
|
#
|
285
288
|
# @yield [response, operation] Access the result along with the RPC operation
|
286
289
|
# @yieldparam response [::Google::Cloud::RecaptchaEnterprise::V1::AnnotateAssessmentResponse]
|
@@ -482,13 +485,11 @@ module Google
|
|
482
485
|
# # Call the list_keys method.
|
483
486
|
# result = client.list_keys request
|
484
487
|
#
|
485
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
486
|
-
# #
|
487
|
-
#
|
488
|
-
# # methods are also available for managing paging directly.
|
489
|
-
# result.each do |response|
|
488
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
489
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
490
|
+
# result.each do |item|
|
490
491
|
# # Each element is of type ::Google::Cloud::RecaptchaEnterprise::V1::Key.
|
491
|
-
# p
|
492
|
+
# p item
|
492
493
|
# end
|
493
494
|
#
|
494
495
|
def list_keys request, options = nil
|
@@ -1121,13 +1122,11 @@ module Google
|
|
1121
1122
|
# # Call the list_related_account_groups method.
|
1122
1123
|
# result = client.list_related_account_groups request
|
1123
1124
|
#
|
1124
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
1125
|
-
# #
|
1126
|
-
#
|
1127
|
-
# # methods are also available for managing paging directly.
|
1128
|
-
# result.each do |response|
|
1125
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
1126
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
1127
|
+
# result.each do |item|
|
1129
1128
|
# # Each element is of type ::Google::Cloud::RecaptchaEnterprise::V1::RelatedAccountGroup.
|
1130
|
-
# p
|
1129
|
+
# p item
|
1131
1130
|
# end
|
1132
1131
|
#
|
1133
1132
|
def list_related_account_groups request, options = nil
|
@@ -1225,13 +1224,11 @@ module Google
|
|
1225
1224
|
# # Call the list_related_account_group_memberships method.
|
1226
1225
|
# result = client.list_related_account_group_memberships request
|
1227
1226
|
#
|
1228
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
1229
|
-
# #
|
1230
|
-
#
|
1231
|
-
# # methods are also available for managing paging directly.
|
1232
|
-
# result.each do |response|
|
1227
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
1228
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
1229
|
+
# result.each do |item|
|
1233
1230
|
# # Each element is of type ::Google::Cloud::RecaptchaEnterprise::V1::RelatedAccountGroupMembership.
|
1234
|
-
# p
|
1231
|
+
# p item
|
1235
1232
|
# end
|
1236
1233
|
#
|
1237
1234
|
def list_related_account_group_memberships request, options = nil
|
@@ -1335,13 +1332,11 @@ module Google
|
|
1335
1332
|
# # Call the search_related_account_group_memberships method.
|
1336
1333
|
# result = client.search_related_account_group_memberships request
|
1337
1334
|
#
|
1338
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
1339
|
-
# #
|
1340
|
-
#
|
1341
|
-
# # methods are also available for managing paging directly.
|
1342
|
-
# result.each do |response|
|
1335
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
1336
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
1337
|
+
# result.each do |item|
|
1343
1338
|
# # Each element is of type ::Google::Cloud::RecaptchaEnterprise::V1::RelatedAccountGroupMembership.
|
1344
|
-
# p
|
1339
|
+
# p item
|
1345
1340
|
# end
|
1346
1341
|
#
|
1347
1342
|
def search_related_account_group_memberships request, options = nil
|
@@ -1424,9 +1419,9 @@ module Google
|
|
1424
1419
|
# * (`String`) The path to a service account key file in JSON format
|
1425
1420
|
# * (`Hash`) A service account key as a Hash
|
1426
1421
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
1427
|
-
# (see the [googleauth docs](https://
|
1422
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
1428
1423
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
1429
|
-
# (see the [signet docs](https://
|
1424
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
1430
1425
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
1431
1426
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
1432
1427
|
# * (`nil`) indicating no credentials
|
@@ -33,7 +33,7 @@ module Google
|
|
33
33
|
##
|
34
34
|
# Service to determine the likelihood an event is legitimate.
|
35
35
|
#
|
36
|
-
#
|
36
|
+
# @example Load this service and instantiate a gRPC client
|
37
37
|
#
|
38
38
|
# require "google/cloud/recaptcha_enterprise/v1/recaptcha_enterprise_service"
|
39
39
|
# client = ::Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Client.new
|
@@ -23,9 +23,9 @@ module Google
|
|
23
23
|
module Cloud
|
24
24
|
module RecaptchaEnterprise
|
25
25
|
##
|
26
|
-
#
|
26
|
+
# API client module.
|
27
27
|
#
|
28
|
-
# @example
|
28
|
+
# @example Load this package, including all its services, and instantiate a gRPC client
|
29
29
|
#
|
30
30
|
# require "google/cloud/recaptcha_enterprise/v1"
|
31
31
|
# client = ::Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Client.new
|
@@ -17,11 +17,39 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
17
17
|
optional :parent, :string, 1
|
18
18
|
optional :assessment, :message, 2, "google.cloud.recaptchaenterprise.v1.Assessment"
|
19
19
|
end
|
20
|
+
add_message "google.cloud.recaptchaenterprise.v1.TransactionEvent" do
|
21
|
+
optional :event_type, :enum, 1, "google.cloud.recaptchaenterprise.v1.TransactionEvent.TransactionEventType"
|
22
|
+
optional :reason, :string, 2
|
23
|
+
optional :value, :double, 3
|
24
|
+
optional :event_time, :message, 4, "google.protobuf.Timestamp"
|
25
|
+
end
|
26
|
+
add_enum "google.cloud.recaptchaenterprise.v1.TransactionEvent.TransactionEventType" do
|
27
|
+
value :TRANSACTION_EVENT_TYPE_UNSPECIFIED, 0
|
28
|
+
value :MERCHANT_APPROVE, 1
|
29
|
+
value :MERCHANT_DENY, 2
|
30
|
+
value :MANUAL_REVIEW, 3
|
31
|
+
value :AUTHORIZATION, 4
|
32
|
+
value :AUTHORIZATION_DECLINE, 5
|
33
|
+
value :PAYMENT_CAPTURE, 6
|
34
|
+
value :PAYMENT_CAPTURE_DECLINE, 7
|
35
|
+
value :CANCEL, 8
|
36
|
+
value :CHARGEBACK_INQUIRY, 9
|
37
|
+
value :CHARGEBACK_ALERT, 10
|
38
|
+
value :FRAUD_NOTIFICATION, 11
|
39
|
+
value :CHARGEBACK, 12
|
40
|
+
value :CHARGEBACK_REPRESENTMENT, 13
|
41
|
+
value :CHARGEBACK_REVERSE, 14
|
42
|
+
value :REFUND_REQUEST, 15
|
43
|
+
value :REFUND_DECLINE, 16
|
44
|
+
value :REFUND, 17
|
45
|
+
value :REFUND_REVERSE, 18
|
46
|
+
end
|
20
47
|
add_message "google.cloud.recaptchaenterprise.v1.AnnotateAssessmentRequest" do
|
21
48
|
optional :name, :string, 1
|
22
49
|
optional :annotation, :enum, 2, "google.cloud.recaptchaenterprise.v1.AnnotateAssessmentRequest.Annotation"
|
23
50
|
repeated :reasons, :enum, 3, "google.cloud.recaptchaenterprise.v1.AnnotateAssessmentRequest.Reason"
|
24
51
|
optional :hashed_account_id, :bytes, 4
|
52
|
+
optional :transaction_event, :message, 5, "google.cloud.recaptchaenterprise.v1.TransactionEvent"
|
25
53
|
end
|
26
54
|
add_enum "google.cloud.recaptchaenterprise.v1.AnnotateAssessmentRequest.Annotation" do
|
27
55
|
value :ANNOTATION_UNSPECIFIED, 0
|
@@ -89,6 +117,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
89
117
|
optional :account_verification, :message, 5, "google.cloud.recaptchaenterprise.v1.AccountVerificationInfo"
|
90
118
|
optional :account_defender_assessment, :message, 6, "google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment"
|
91
119
|
optional :private_password_leak_verification, :message, 8, "google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification"
|
120
|
+
optional :fraud_prevention_assessment, :message, 11, "google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment"
|
92
121
|
end
|
93
122
|
add_message "google.cloud.recaptchaenterprise.v1.Event" do
|
94
123
|
optional :token, :string, 1
|
@@ -97,6 +126,50 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
97
126
|
optional :user_ip_address, :string, 4
|
98
127
|
optional :expected_action, :string, 5
|
99
128
|
optional :hashed_account_id, :bytes, 6
|
129
|
+
optional :transaction_data, :message, 13, "google.cloud.recaptchaenterprise.v1.TransactionData"
|
130
|
+
end
|
131
|
+
add_message "google.cloud.recaptchaenterprise.v1.TransactionData" do
|
132
|
+
proto3_optional :transaction_id, :string, 11
|
133
|
+
optional :payment_method, :string, 1
|
134
|
+
optional :card_bin, :string, 2
|
135
|
+
optional :card_last_four, :string, 3
|
136
|
+
optional :currency_code, :string, 4
|
137
|
+
optional :value, :double, 5
|
138
|
+
optional :shipping_value, :double, 12
|
139
|
+
optional :shipping_address, :message, 6, "google.cloud.recaptchaenterprise.v1.TransactionData.Address"
|
140
|
+
optional :billing_address, :message, 7, "google.cloud.recaptchaenterprise.v1.TransactionData.Address"
|
141
|
+
optional :user, :message, 8, "google.cloud.recaptchaenterprise.v1.TransactionData.User"
|
142
|
+
repeated :merchants, :message, 13, "google.cloud.recaptchaenterprise.v1.TransactionData.User"
|
143
|
+
repeated :items, :message, 14, "google.cloud.recaptchaenterprise.v1.TransactionData.Item"
|
144
|
+
optional :gateway_info, :message, 10, "google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo"
|
145
|
+
end
|
146
|
+
add_message "google.cloud.recaptchaenterprise.v1.TransactionData.Address" do
|
147
|
+
optional :recipient, :string, 1
|
148
|
+
repeated :address, :string, 2
|
149
|
+
optional :locality, :string, 3
|
150
|
+
optional :administrative_area, :string, 4
|
151
|
+
optional :region_code, :string, 5
|
152
|
+
optional :postal_code, :string, 6
|
153
|
+
end
|
154
|
+
add_message "google.cloud.recaptchaenterprise.v1.TransactionData.User" do
|
155
|
+
optional :account_id, :string, 6
|
156
|
+
optional :creation_ms, :int64, 1
|
157
|
+
optional :email, :string, 2
|
158
|
+
optional :email_verified, :bool, 3
|
159
|
+
optional :phone_number, :string, 4
|
160
|
+
optional :phone_verified, :bool, 5
|
161
|
+
end
|
162
|
+
add_message "google.cloud.recaptchaenterprise.v1.TransactionData.Item" do
|
163
|
+
optional :name, :string, 1
|
164
|
+
optional :value, :double, 2
|
165
|
+
optional :quantity, :int64, 3
|
166
|
+
optional :merchant_account_id, :string, 4
|
167
|
+
end
|
168
|
+
add_message "google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo" do
|
169
|
+
optional :name, :string, 1
|
170
|
+
optional :gateway_response_code, :string, 2
|
171
|
+
optional :avs_response_code, :string, 3
|
172
|
+
optional :cvv_response_code, :string, 4
|
100
173
|
end
|
101
174
|
add_message "google.cloud.recaptchaenterprise.v1.RiskAnalysis" do
|
102
175
|
optional :score, :float, 1
|
@@ -109,6 +182,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
109
182
|
value :TOO_MUCH_TRAFFIC, 3
|
110
183
|
value :UNEXPECTED_USAGE_PATTERNS, 4
|
111
184
|
value :LOW_CONFIDENCE_SCORE, 5
|
185
|
+
value :SUSPECTED_CARDING, 6
|
186
|
+
value :SUSPECTED_CHARGEBACK, 7
|
112
187
|
end
|
113
188
|
add_message "google.cloud.recaptchaenterprise.v1.TokenProperties" do
|
114
189
|
optional :valid, :bool, 1
|
@@ -128,6 +203,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
128
203
|
value :MISSING, 5
|
129
204
|
value :BROWSER_ERROR, 6
|
130
205
|
end
|
206
|
+
add_message "google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment" do
|
207
|
+
optional :transaction_risk, :float, 1
|
208
|
+
optional :stolen_instrument_verdict, :message, 2, "google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict"
|
209
|
+
optional :card_testing_verdict, :message, 3, "google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict"
|
210
|
+
end
|
211
|
+
add_message "google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict" do
|
212
|
+
optional :risk, :float, 1
|
213
|
+
end
|
214
|
+
add_message "google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict" do
|
215
|
+
optional :risk, :float, 1
|
216
|
+
end
|
131
217
|
add_message "google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment" do
|
132
218
|
repeated :labels, :enum, 1, "google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel"
|
133
219
|
end
|
@@ -299,6 +385,8 @@ module Google
|
|
299
385
|
module RecaptchaEnterprise
|
300
386
|
module V1
|
301
387
|
CreateAssessmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.CreateAssessmentRequest").msgclass
|
388
|
+
TransactionEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.TransactionEvent").msgclass
|
389
|
+
TransactionEvent::TransactionEventType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.TransactionEvent.TransactionEventType").enummodule
|
302
390
|
AnnotateAssessmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.AnnotateAssessmentRequest").msgclass
|
303
391
|
AnnotateAssessmentRequest::Annotation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.AnnotateAssessmentRequest.Annotation").enummodule
|
304
392
|
AnnotateAssessmentRequest::Reason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.AnnotateAssessmentRequest.Reason").enummodule
|
@@ -309,10 +397,18 @@ module Google
|
|
309
397
|
PrivatePasswordLeakVerification = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification").msgclass
|
310
398
|
Assessment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.Assessment").msgclass
|
311
399
|
Event = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.Event").msgclass
|
400
|
+
TransactionData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.TransactionData").msgclass
|
401
|
+
TransactionData::Address = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.TransactionData.Address").msgclass
|
402
|
+
TransactionData::User = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.TransactionData.User").msgclass
|
403
|
+
TransactionData::Item = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.TransactionData.Item").msgclass
|
404
|
+
TransactionData::GatewayInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo").msgclass
|
312
405
|
RiskAnalysis = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.RiskAnalysis").msgclass
|
313
406
|
RiskAnalysis::ClassificationReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason").enummodule
|
314
407
|
TokenProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.TokenProperties").msgclass
|
315
408
|
TokenProperties::InvalidReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.TokenProperties.InvalidReason").enummodule
|
409
|
+
FraudPreventionAssessment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment").msgclass
|
410
|
+
FraudPreventionAssessment::StolenInstrumentVerdict = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict").msgclass
|
411
|
+
FraudPreventionAssessment::CardTestingVerdict = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict").msgclass
|
316
412
|
AccountDefenderAssessment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment").msgclass
|
317
413
|
AccountDefenderAssessment::AccountDefenderLabel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel").enummodule
|
318
414
|
CreateKeyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.CreateKeyRequest").msgclass
|
@@ -35,7 +35,9 @@ module Google
|
|
35
35
|
# Details about how and where to publish client libraries.
|
36
36
|
# @!attribute [rw] version
|
37
37
|
# @return [::String]
|
38
|
-
# Version of the API to apply these settings to.
|
38
|
+
# Version of the API to apply these settings to. This is the full protobuf
|
39
|
+
# package for the API, ending in the version element.
|
40
|
+
# Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
|
39
41
|
# @!attribute [rw] launch_stage
|
40
42
|
# @return [::Google::Api::LaunchStage]
|
41
43
|
# Launch stage of this version of the API.
|
@@ -111,6 +113,10 @@ module Google
|
|
111
113
|
# Client library settings. If the same version string appears multiple
|
112
114
|
# times in this list, then the last one wins. Settings from earlier
|
113
115
|
# settings with the same version string are discarded.
|
116
|
+
# @!attribute [rw] proto_reference_documentation_uri
|
117
|
+
# @return [::String]
|
118
|
+
# Optional link to proto reference documentation. Example:
|
119
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
114
120
|
class Publishing
|
115
121
|
include ::Google::Protobuf::MessageExts
|
116
122
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -240,8 +246,8 @@ module Google
|
|
240
246
|
# Example of a YAML configuration::
|
241
247
|
#
|
242
248
|
# publishing:
|
243
|
-
#
|
244
|
-
# - selector:
|
249
|
+
# method_settings:
|
250
|
+
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
245
251
|
# long_running:
|
246
252
|
# initial_poll_delay:
|
247
253
|
# seconds: 60 # 1 minute
|
@@ -34,6 +34,127 @@ module Google
|
|
34
34
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
35
35
|
end
|
36
36
|
|
37
|
+
# Describes an event in the lifecycle of a payment transaction.
|
38
|
+
# @!attribute [rw] event_type
|
39
|
+
# @return [::Google::Cloud::RecaptchaEnterprise::V1::TransactionEvent::TransactionEventType]
|
40
|
+
# Optional. The type of this transaction event.
|
41
|
+
# @!attribute [rw] reason
|
42
|
+
# @return [::String]
|
43
|
+
# Optional. The reason or standardized code that corresponds with this
|
44
|
+
# transaction event, if one exists. For example, a CHARGEBACK event with code
|
45
|
+
# 6005.
|
46
|
+
# @!attribute [rw] value
|
47
|
+
# @return [::Float]
|
48
|
+
# Optional. The value that corresponds with this transaction event, if one
|
49
|
+
# exists. For example, a refund event where $5.00 was refunded. Currency is
|
50
|
+
# obtained from the original transaction data.
|
51
|
+
# @!attribute [rw] event_time
|
52
|
+
# @return [::Google::Protobuf::Timestamp]
|
53
|
+
# Optional. Timestamp when this transaction event occurred; otherwise assumed
|
54
|
+
# to be the time of the API call.
|
55
|
+
class TransactionEvent
|
56
|
+
include ::Google::Protobuf::MessageExts
|
57
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
58
|
+
|
59
|
+
# Enum that represents an event in the payment transaction lifecycle.
|
60
|
+
module TransactionEventType
|
61
|
+
# Default, unspecified event type.
|
62
|
+
TRANSACTION_EVENT_TYPE_UNSPECIFIED = 0
|
63
|
+
|
64
|
+
# Indicates that the transaction is approved by the merchant. The
|
65
|
+
# accompanying reasons can include terms such as 'INHOUSE', 'ACCERTIFY',
|
66
|
+
# 'CYBERSOURCE', or 'MANUAL_REVIEW'.
|
67
|
+
MERCHANT_APPROVE = 1
|
68
|
+
|
69
|
+
# Indicates that the transaction is denied and concluded due to risks
|
70
|
+
# detected by the merchant. The accompanying reasons can include terms such
|
71
|
+
# as 'INHOUSE', 'ACCERTIFY', 'CYBERSOURCE', or 'MANUAL_REVIEW'.
|
72
|
+
MERCHANT_DENY = 2
|
73
|
+
|
74
|
+
# Indicates that the transaction is being evaluated by a human, due to
|
75
|
+
# suspicion or risk.
|
76
|
+
MANUAL_REVIEW = 3
|
77
|
+
|
78
|
+
# Indicates that the authorization attempt with the card issuer succeeded.
|
79
|
+
AUTHORIZATION = 4
|
80
|
+
|
81
|
+
# Indicates that the authorization attempt with the card issuer failed.
|
82
|
+
# The accompanying reasons can include Visa's '54' indicating that the card
|
83
|
+
# is expired, or '82' indicating that the CVV is incorrect.
|
84
|
+
AUTHORIZATION_DECLINE = 5
|
85
|
+
|
86
|
+
# Indicates that the transaction is completed because the funds were
|
87
|
+
# settled.
|
88
|
+
PAYMENT_CAPTURE = 6
|
89
|
+
|
90
|
+
# Indicates that the transaction could not be completed because the funds
|
91
|
+
# were not settled.
|
92
|
+
PAYMENT_CAPTURE_DECLINE = 7
|
93
|
+
|
94
|
+
# Indicates that the transaction has been canceled. Specify the reason
|
95
|
+
# for the cancellation. For example, 'INSUFFICIENT_INVENTORY'.
|
96
|
+
CANCEL = 8
|
97
|
+
|
98
|
+
# Indicates that the merchant has received a chargeback inquiry due to
|
99
|
+
# fraud for the transaction, requesting additional information before a
|
100
|
+
# fraud chargeback is officially issued and a formal chargeback
|
101
|
+
# notification is sent.
|
102
|
+
CHARGEBACK_INQUIRY = 9
|
103
|
+
|
104
|
+
# Indicates that the merchant has received a chargeback alert due to fraud
|
105
|
+
# for the transaction. The process of resolving the dispute without
|
106
|
+
# involving the payment network is started.
|
107
|
+
CHARGEBACK_ALERT = 10
|
108
|
+
|
109
|
+
# Indicates that a fraud notification is issued for the transaction, sent
|
110
|
+
# by the payment instrument's issuing bank because the transaction appears
|
111
|
+
# to be fraudulent. We recommend including TC40 or SAFE data in the
|
112
|
+
# `reason` field for this event type. For partial chargebacks, we recommend
|
113
|
+
# that you include an amount in the `value` field.
|
114
|
+
FRAUD_NOTIFICATION = 11
|
115
|
+
|
116
|
+
# Indicates that the merchant is informed by the payment network that the
|
117
|
+
# transaction has entered the chargeback process due to fraud. Reason code
|
118
|
+
# examples include Discover's '6005' and '6041'. For partial chargebacks,
|
119
|
+
# we recommend that you include an amount in the `value` field.
|
120
|
+
CHARGEBACK = 12
|
121
|
+
|
122
|
+
# Indicates that the transaction has entered the chargeback process due to
|
123
|
+
# fraud, and that the merchant has chosen to enter representment. Reason
|
124
|
+
# examples include Discover's '6005' and '6041'. For partial chargebacks,
|
125
|
+
# we recommend that you include an amount in the `value` field.
|
126
|
+
CHARGEBACK_REPRESENTMENT = 13
|
127
|
+
|
128
|
+
# Indicates that the transaction has had a fraud chargeback which was
|
129
|
+
# illegitimate and was reversed as a result. For partial chargebacks, we
|
130
|
+
# recommend that you include an amount in the `value` field.
|
131
|
+
CHARGEBACK_REVERSE = 14
|
132
|
+
|
133
|
+
# Indicates that the merchant has received a refund for a completed
|
134
|
+
# transaction. For partial refunds, we recommend that you include an amount
|
135
|
+
# in the `value` field. Reason example: 'TAX_EXEMPT' (partial refund of
|
136
|
+
# exempt tax)
|
137
|
+
REFUND_REQUEST = 15
|
138
|
+
|
139
|
+
# Indicates that the merchant has received a refund request for this
|
140
|
+
# transaction, but that they have declined it. For partial refunds, we
|
141
|
+
# recommend that you include an amount in the `value` field. Reason
|
142
|
+
# example: 'TAX_EXEMPT' (partial refund of exempt tax)
|
143
|
+
REFUND_DECLINE = 16
|
144
|
+
|
145
|
+
# Indicates that the completed transaction was refunded by the merchant.
|
146
|
+
# For partial refunds, we recommend that you include an amount in the
|
147
|
+
# `value` field. Reason example: 'TAX_EXEMPT' (partial refund of exempt
|
148
|
+
# tax)
|
149
|
+
REFUND = 17
|
150
|
+
|
151
|
+
# Indicates that the completed transaction was refunded by the merchant,
|
152
|
+
# and that this refund was reversed. For partial refunds, we recommend that
|
153
|
+
# you include an amount in the `value` field.
|
154
|
+
REFUND_REVERSE = 18
|
155
|
+
end
|
156
|
+
end
|
157
|
+
|
37
158
|
# The request message to annotate an Assessment.
|
38
159
|
# @!attribute [rw] name
|
39
160
|
# @return [::String]
|
@@ -55,6 +176,10 @@ module Google
|
|
55
176
|
# CreateAssessment, for example when the account identifier is not yet known
|
56
177
|
# in the initial request. It is recommended that the identifier is hashed
|
57
178
|
# using hmac-sha256 with stable secret.
|
179
|
+
# @!attribute [rw] transaction_event
|
180
|
+
# @return [::Google::Cloud::RecaptchaEnterprise::V1::TransactionEvent]
|
181
|
+
# Optional. If the assessment is part of a payment transaction, provide
|
182
|
+
# details on payment lifecycle events that occur in the transaction.
|
58
183
|
class AnnotateAssessmentRequest
|
59
184
|
include ::Google::Protobuf::MessageExts
|
60
185
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -263,7 +388,7 @@ module Google
|
|
263
388
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
264
389
|
end
|
265
390
|
|
266
|
-
# A
|
391
|
+
# A reCAPTCHA Enterprise assessment resource.
|
267
392
|
# @!attribute [r] name
|
268
393
|
# @return [::String]
|
269
394
|
# Output only. The resource name for the Assessment in the format
|
@@ -289,19 +414,23 @@ module Google
|
|
289
414
|
# @return [::Google::Cloud::RecaptchaEnterprise::V1::PrivatePasswordLeakVerification]
|
290
415
|
# The private password leak verification field contains the parameters that
|
291
416
|
# are used to to check for leaks privately without sharing user credentials.
|
417
|
+
# @!attribute [rw] fraud_prevention_assessment
|
418
|
+
# @return [::Google::Cloud::RecaptchaEnterprise::V1::FraudPreventionAssessment]
|
419
|
+
# Assessment returned by Fraud Prevention when TransactionData is provided.
|
292
420
|
class Assessment
|
293
421
|
include ::Google::Protobuf::MessageExts
|
294
422
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
295
423
|
end
|
296
424
|
|
425
|
+
# The event being assessed.
|
297
426
|
# @!attribute [rw] token
|
298
427
|
# @return [::String]
|
299
|
-
# Optional. The user response token provided by the reCAPTCHA
|
300
|
-
# integration on your site.
|
428
|
+
# Optional. The user response token provided by the reCAPTCHA Enterprise
|
429
|
+
# client-side integration on your site.
|
301
430
|
# @!attribute [rw] site_key
|
302
431
|
# @return [::String]
|
303
|
-
# Optional. The site key that was used to invoke reCAPTCHA on your
|
304
|
-
# generate the token.
|
432
|
+
# Optional. The site key that was used to invoke reCAPTCHA Enterprise on your
|
433
|
+
# site and generate the token.
|
305
434
|
# @!attribute [rw] user_agent
|
306
435
|
# @return [::String]
|
307
436
|
# Optional. The user agent present in the request from the user's device
|
@@ -319,11 +448,168 @@ module Google
|
|
319
448
|
# @return [::String]
|
320
449
|
# Optional. Unique stable hashed user identifier for the request. The
|
321
450
|
# identifier must be hashed using hmac-sha256 with stable secret.
|
451
|
+
# @!attribute [rw] transaction_data
|
452
|
+
# @return [::Google::Cloud::RecaptchaEnterprise::V1::TransactionData]
|
453
|
+
# Optional. Data describing a payment transaction to be assessed. Sending
|
454
|
+
# this data enables reCAPTCHA Enterprise Fraud Prevention and the
|
455
|
+
# FraudPreventionAssessment component in the response.
|
322
456
|
class Event
|
323
457
|
include ::Google::Protobuf::MessageExts
|
324
458
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
325
459
|
end
|
326
460
|
|
461
|
+
# Transaction data associated with a payment protected by reCAPTCHA Enterprise.
|
462
|
+
# All fields are optional.
|
463
|
+
# @!attribute [rw] transaction_id
|
464
|
+
# @return [::String]
|
465
|
+
# Unique identifier for the transaction. This custom identifier can be used
|
466
|
+
# to reference this transaction in the future, for example, labeling a refund
|
467
|
+
# or chargeback event. Two attempts at the same transaction should use the
|
468
|
+
# same transaction id.
|
469
|
+
# @!attribute [rw] payment_method
|
470
|
+
# @return [::String]
|
471
|
+
# The payment method for the transaction. The allowed values are:
|
472
|
+
#
|
473
|
+
# * credit-card
|
474
|
+
# * debit-card
|
475
|
+
# * gift-card
|
476
|
+
# * processor-\\{name} (If a third-party is used, for example,
|
477
|
+
# processor-paypal)
|
478
|
+
# * custom-\\{name} (If an alternative method is used, for example,
|
479
|
+
# custom-crypto)
|
480
|
+
# @!attribute [rw] card_bin
|
481
|
+
# @return [::String]
|
482
|
+
# The Bank Identification Number - generally the first 6 or 8 digits of the
|
483
|
+
# card.
|
484
|
+
# @!attribute [rw] card_last_four
|
485
|
+
# @return [::String]
|
486
|
+
# The last four digits of the card.
|
487
|
+
# @!attribute [rw] currency_code
|
488
|
+
# @return [::String]
|
489
|
+
# The currency code in ISO-4217 format.
|
490
|
+
# @!attribute [rw] value
|
491
|
+
# @return [::Float]
|
492
|
+
# The decimal value of the transaction in the specified currency.
|
493
|
+
# @!attribute [rw] shipping_value
|
494
|
+
# @return [::Float]
|
495
|
+
# The value of shipping in the specified currency. 0 for free or no shipping.
|
496
|
+
# @!attribute [rw] shipping_address
|
497
|
+
# @return [::Google::Cloud::RecaptchaEnterprise::V1::TransactionData::Address]
|
498
|
+
# Destination address if this transaction involves shipping a physical item.
|
499
|
+
# @!attribute [rw] billing_address
|
500
|
+
# @return [::Google::Cloud::RecaptchaEnterprise::V1::TransactionData::Address]
|
501
|
+
# Address associated with the payment method when applicable.
|
502
|
+
# @!attribute [rw] user
|
503
|
+
# @return [::Google::Cloud::RecaptchaEnterprise::V1::TransactionData::User]
|
504
|
+
# Information about the user paying/initiating the transaction.
|
505
|
+
# @!attribute [rw] merchants
|
506
|
+
# @return [::Array<::Google::Cloud::RecaptchaEnterprise::V1::TransactionData::User>]
|
507
|
+
# Information about the user or users fulfilling the transaction.
|
508
|
+
# @!attribute [rw] items
|
509
|
+
# @return [::Array<::Google::Cloud::RecaptchaEnterprise::V1::TransactionData::Item>]
|
510
|
+
# Items purchased in this transaction.
|
511
|
+
# @!attribute [rw] gateway_info
|
512
|
+
# @return [::Google::Cloud::RecaptchaEnterprise::V1::TransactionData::GatewayInfo]
|
513
|
+
# Information about the payment gateway's response to the transaction.
|
514
|
+
class TransactionData
|
515
|
+
include ::Google::Protobuf::MessageExts
|
516
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
517
|
+
|
518
|
+
# Structured address format for billing and shipping addresses.
|
519
|
+
# @!attribute [rw] recipient
|
520
|
+
# @return [::String]
|
521
|
+
# The recipient name, potentially including information such as "care of".
|
522
|
+
# @!attribute [rw] address
|
523
|
+
# @return [::Array<::String>]
|
524
|
+
# The first lines of the address. The first line generally contains the
|
525
|
+
# street name and number, and further lines may include information such as
|
526
|
+
# an apartment number.
|
527
|
+
# @!attribute [rw] locality
|
528
|
+
# @return [::String]
|
529
|
+
# The town/city of the address.
|
530
|
+
# @!attribute [rw] administrative_area
|
531
|
+
# @return [::String]
|
532
|
+
# The state, province, or otherwise administrative area of the address.
|
533
|
+
# @!attribute [rw] region_code
|
534
|
+
# @return [::String]
|
535
|
+
# The CLDR country/region of the address.
|
536
|
+
# @!attribute [rw] postal_code
|
537
|
+
# @return [::String]
|
538
|
+
# The postal or ZIP code of the address.
|
539
|
+
class Address
|
540
|
+
include ::Google::Protobuf::MessageExts
|
541
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
542
|
+
end
|
543
|
+
|
544
|
+
# Details about a user's account involved in the transaction.
|
545
|
+
# @!attribute [rw] account_id
|
546
|
+
# @return [::String]
|
547
|
+
# Unique account identifier for this user. If using account defender,
|
548
|
+
# this should match the hashed_account_id field. Otherwise, a unique and
|
549
|
+
# persistent identifier for this account.
|
550
|
+
# @!attribute [rw] creation_ms
|
551
|
+
# @return [::Integer]
|
552
|
+
# The epoch milliseconds of the user's account creation.
|
553
|
+
# @!attribute [rw] email
|
554
|
+
# @return [::String]
|
555
|
+
# The email address of the user.
|
556
|
+
# @!attribute [rw] email_verified
|
557
|
+
# @return [::Boolean]
|
558
|
+
# Whether the email has been verified to be accessible by the user (OTP or
|
559
|
+
# similar).
|
560
|
+
# @!attribute [rw] phone_number
|
561
|
+
# @return [::String]
|
562
|
+
# The phone number of the user, with country code.
|
563
|
+
# @!attribute [rw] phone_verified
|
564
|
+
# @return [::Boolean]
|
565
|
+
# Whether the phone number has been verified to be accessible by the user
|
566
|
+
# (OTP or similar).
|
567
|
+
class User
|
568
|
+
include ::Google::Protobuf::MessageExts
|
569
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
570
|
+
end
|
571
|
+
|
572
|
+
# Line items being purchased in this transaction.
|
573
|
+
# @!attribute [rw] name
|
574
|
+
# @return [::String]
|
575
|
+
# The full name of the item.
|
576
|
+
# @!attribute [rw] value
|
577
|
+
# @return [::Float]
|
578
|
+
# The value per item that the user is paying, in the transaction currency,
|
579
|
+
# after discounts.
|
580
|
+
# @!attribute [rw] quantity
|
581
|
+
# @return [::Integer]
|
582
|
+
# The quantity of this item that is being purchased.
|
583
|
+
# @!attribute [rw] merchant_account_id
|
584
|
+
# @return [::String]
|
585
|
+
# When a merchant is specified, its corresponding account_id. Necessary to
|
586
|
+
# populate marketplace-style transactions.
|
587
|
+
class Item
|
588
|
+
include ::Google::Protobuf::MessageExts
|
589
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
590
|
+
end
|
591
|
+
|
592
|
+
# Details about the transaction from the gateway.
|
593
|
+
# @!attribute [rw] name
|
594
|
+
# @return [::String]
|
595
|
+
# Name of the gateway service (for example, stripe, square, paypal).
|
596
|
+
# @!attribute [rw] gateway_response_code
|
597
|
+
# @return [::String]
|
598
|
+
# Gateway response code describing the state of the transaction.
|
599
|
+
# @!attribute [rw] avs_response_code
|
600
|
+
# @return [::String]
|
601
|
+
# AVS response code from the gateway
|
602
|
+
# (available only when reCAPTCHA Enterprise is called after authorization).
|
603
|
+
# @!attribute [rw] cvv_response_code
|
604
|
+
# @return [::String]
|
605
|
+
# CVV response code from the gateway
|
606
|
+
# (available only when reCAPTCHA Enterprise is called after authorization).
|
607
|
+
class GatewayInfo
|
608
|
+
include ::Google::Protobuf::MessageExts
|
609
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
610
|
+
end
|
611
|
+
end
|
612
|
+
|
327
613
|
# Risk analysis result for an event.
|
328
614
|
# @!attribute [rw] score
|
329
615
|
# @return [::Float]
|
@@ -358,9 +644,16 @@ module Google
|
|
358
644
|
# Too little traffic has been received from this site thus far to generate
|
359
645
|
# quality risk analysis.
|
360
646
|
LOW_CONFIDENCE_SCORE = 5
|
647
|
+
|
648
|
+
# The request matches behavioral characteristics of a carding attack.
|
649
|
+
SUSPECTED_CARDING = 6
|
650
|
+
|
651
|
+
# The request matches behavioral characteristics of chargebacks for fraud.
|
652
|
+
SUSPECTED_CHARGEBACK = 7
|
361
653
|
end
|
362
654
|
end
|
363
655
|
|
656
|
+
# Properties of the provided event token.
|
364
657
|
# @!attribute [rw] valid
|
365
658
|
# @return [::Boolean]
|
366
659
|
# Whether the provided user response token is valid. When valid = false, the
|
@@ -418,6 +711,45 @@ module Google
|
|
418
711
|
end
|
419
712
|
end
|
420
713
|
|
714
|
+
# Assessment for Fraud Prevention.
|
715
|
+
# @!attribute [rw] transaction_risk
|
716
|
+
# @return [::Float]
|
717
|
+
# Probability (0-1) of this transaction being fraudulent. Summarizes the
|
718
|
+
# combined risk of attack vectors below.
|
719
|
+
# @!attribute [rw] stolen_instrument_verdict
|
720
|
+
# @return [::Google::Cloud::RecaptchaEnterprise::V1::FraudPreventionAssessment::StolenInstrumentVerdict]
|
721
|
+
# Assessment of this transaction for risk of a stolen instrument.
|
722
|
+
# @!attribute [rw] card_testing_verdict
|
723
|
+
# @return [::Google::Cloud::RecaptchaEnterprise::V1::FraudPreventionAssessment::CardTestingVerdict]
|
724
|
+
# Assessment of this transaction for risk of being part of a card testing
|
725
|
+
# attack.
|
726
|
+
class FraudPreventionAssessment
|
727
|
+
include ::Google::Protobuf::MessageExts
|
728
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
729
|
+
|
730
|
+
# Information about stolen instrument fraud, where the user is not the
|
731
|
+
# legitimate owner of the instrument being used for the purchase.
|
732
|
+
# @!attribute [rw] risk
|
733
|
+
# @return [::Float]
|
734
|
+
# Probability (0-1) of this transaction being executed with a stolen
|
735
|
+
# instrument.
|
736
|
+
class StolenInstrumentVerdict
|
737
|
+
include ::Google::Protobuf::MessageExts
|
738
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
739
|
+
end
|
740
|
+
|
741
|
+
# Information about card testing fraud, where an adversary is testing
|
742
|
+
# fraudulently obtained cards or brute forcing their details.
|
743
|
+
# @!attribute [rw] risk
|
744
|
+
# @return [::Float]
|
745
|
+
# Probability (0-1) of this transaction attempt being part of a card
|
746
|
+
# testing attack.
|
747
|
+
class CardTestingVerdict
|
748
|
+
include ::Google::Protobuf::MessageExts
|
749
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
750
|
+
end
|
751
|
+
end
|
752
|
+
|
421
753
|
# Account defender risk assessment.
|
422
754
|
# @!attribute [rw] labels
|
423
755
|
# @return [::Array<::Google::Cloud::RecaptchaEnterprise::V1::AccountDefenderAssessment::AccountDefenderLabel>]
|
@@ -623,9 +955,9 @@ module Google
|
|
623
955
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
624
956
|
# See <a href="https://cloud.google.com/recaptcha-enterprise/docs/labels">
|
625
957
|
# Creating and managing labels</a>.
|
626
|
-
# @!attribute [
|
958
|
+
# @!attribute [r] create_time
|
627
959
|
# @return [::Google::Protobuf::Timestamp]
|
628
|
-
# The timestamp corresponding to the creation of this Key.
|
960
|
+
# Output only. The timestamp corresponding to the creation of this Key.
|
629
961
|
# @!attribute [rw] testing_options
|
630
962
|
# @return [::Google::Cloud::RecaptchaEnterprise::V1::TestingOptions]
|
631
963
|
# Options for user acceptance testing.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-recaptcha_enterprise-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.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:
|
11
|
+
date: 2023-03-23 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:
|
19
|
+
version: 0.18.0
|
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:
|
29
|
+
version: 0.18.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -50,14 +50,14 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 1.26.
|
53
|
+
version: 1.26.3
|
54
54
|
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 1.26.
|
60
|
+
version: 1.26.3
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: minitest
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -207,8 +207,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
207
207
|
- !ruby/object:Gem::Version
|
208
208
|
version: '0'
|
209
209
|
requirements: []
|
210
|
-
rubygems_version: 3.
|
210
|
+
rubygems_version: 3.4.2
|
211
211
|
signing_key:
|
212
212
|
specification_version: 4
|
213
|
-
summary:
|
213
|
+
summary: Help protect your website from fraudulent activity, spam, and abuse without
|
214
|
+
creating friction.
|
214
215
|
test_files: []
|