google-cloud-recaptcha_enterprise-v1beta1 0.6.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,168 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise_pb"
20
+
21
+ module Google
22
+ module Cloud
23
+ module RecaptchaEnterprise
24
+ module V1beta1
25
+ module RecaptchaEnterpriseService
26
+ module Rest
27
+ ##
28
+ # REST service stub for the RecaptchaEnterpriseService service.
29
+ # Service stub contains baseline method implementations
30
+ # including transcoding, making the REST call, and deserialing the response.
31
+ #
32
+ class ServiceStub
33
+ def initialize endpoint:, credentials:
34
+ # These require statements are intentionally placed here to initialize
35
+ # the REST modules only when it's required.
36
+ require "gapic/rest"
37
+
38
+ @client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint, credentials: credentials,
39
+ numeric_enums: true,
40
+ raise_faraday_errors: false
41
+ end
42
+
43
+ ##
44
+ # Baseline implementation for the create_assessment REST call
45
+ #
46
+ # @param request_pb [::Google::Cloud::RecaptchaEnterprise::V1beta1::CreateAssessmentRequest]
47
+ # A request object representing the call parameters. Required.
48
+ # @param options [::Gapic::CallOptions]
49
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
50
+ #
51
+ # @yield [result, operation] Access the result along with the TransportOperation object
52
+ # @yieldparam result [::Google::Cloud::RecaptchaEnterprise::V1beta1::Assessment]
53
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
54
+ #
55
+ # @return [::Google::Cloud::RecaptchaEnterprise::V1beta1::Assessment]
56
+ # A result object deserialized from the server's reply
57
+ def create_assessment request_pb, options = nil
58
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
59
+
60
+ verb, uri, query_string_params, body = ServiceStub.transcode_create_assessment_request request_pb
61
+ query_string_params = if query_string_params.any?
62
+ query_string_params.to_h { |p| p.split("=", 2) }
63
+ else
64
+ {}
65
+ end
66
+
67
+ response = @client_stub.make_http_request(
68
+ verb,
69
+ uri: uri,
70
+ body: body || "",
71
+ params: query_string_params,
72
+ options: options
73
+ )
74
+ operation = ::Gapic::Rest::TransportOperation.new response
75
+ result = ::Google::Cloud::RecaptchaEnterprise::V1beta1::Assessment.decode_json response.body, ignore_unknown_fields: true
76
+
77
+ yield result, operation if block_given?
78
+ result
79
+ end
80
+
81
+ ##
82
+ # Baseline implementation for the annotate_assessment REST call
83
+ #
84
+ # @param request_pb [::Google::Cloud::RecaptchaEnterprise::V1beta1::AnnotateAssessmentRequest]
85
+ # A request object representing the call parameters. Required.
86
+ # @param options [::Gapic::CallOptions]
87
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
88
+ #
89
+ # @yield [result, operation] Access the result along with the TransportOperation object
90
+ # @yieldparam result [::Google::Cloud::RecaptchaEnterprise::V1beta1::AnnotateAssessmentResponse]
91
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
92
+ #
93
+ # @return [::Google::Cloud::RecaptchaEnterprise::V1beta1::AnnotateAssessmentResponse]
94
+ # A result object deserialized from the server's reply
95
+ def annotate_assessment request_pb, options = nil
96
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
97
+
98
+ verb, uri, query_string_params, body = ServiceStub.transcode_annotate_assessment_request request_pb
99
+ query_string_params = if query_string_params.any?
100
+ query_string_params.to_h { |p| p.split("=", 2) }
101
+ else
102
+ {}
103
+ end
104
+
105
+ response = @client_stub.make_http_request(
106
+ verb,
107
+ uri: uri,
108
+ body: body || "",
109
+ params: query_string_params,
110
+ options: options
111
+ )
112
+ operation = ::Gapic::Rest::TransportOperation.new response
113
+ result = ::Google::Cloud::RecaptchaEnterprise::V1beta1::AnnotateAssessmentResponse.decode_json response.body, ignore_unknown_fields: true
114
+
115
+ yield result, operation if block_given?
116
+ result
117
+ end
118
+
119
+ ##
120
+ # @private
121
+ #
122
+ # GRPC transcoding helper method for the create_assessment REST call
123
+ #
124
+ # @param request_pb [::Google::Cloud::RecaptchaEnterprise::V1beta1::CreateAssessmentRequest]
125
+ # A request object representing the call parameters. Required.
126
+ # @return [Array(String, [String, nil], Hash{String => String})]
127
+ # Uri, Body, Query string parameters
128
+ def self.transcode_create_assessment_request request_pb
129
+ transcoder = Gapic::Rest::GrpcTranscoder.new
130
+ .with_bindings(
131
+ uri_method: :post,
132
+ uri_template: "/v1beta1/{parent}/assessments",
133
+ body: "assessment",
134
+ matches: [
135
+ ["parent", %r{^projects/[^/]+/?$}, false]
136
+ ]
137
+ )
138
+ transcoder.transcode request_pb
139
+ end
140
+
141
+ ##
142
+ # @private
143
+ #
144
+ # GRPC transcoding helper method for the annotate_assessment REST call
145
+ #
146
+ # @param request_pb [::Google::Cloud::RecaptchaEnterprise::V1beta1::AnnotateAssessmentRequest]
147
+ # A request object representing the call parameters. Required.
148
+ # @return [Array(String, [String, nil], Hash{String => String})]
149
+ # Uri, Body, Query string parameters
150
+ def self.transcode_annotate_assessment_request request_pb
151
+ transcoder = Gapic::Rest::GrpcTranscoder.new
152
+ .with_bindings(
153
+ uri_method: :post,
154
+ uri_template: "/v1beta1/{name}:annotate",
155
+ body: "*",
156
+ matches: [
157
+ ["name", %r{^projects/[^/]+/assessments/[^/]+/?$}, false]
158
+ ]
159
+ )
160
+ transcoder.transcode request_pb
161
+ end
162
+ end
163
+ end
164
+ end
165
+ end
166
+ end
167
+ end
168
+ end
@@ -0,0 +1,52 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "gapic/rest"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/cloud/recaptcha_enterprise/v1beta1/version"
24
+
25
+ require "google/cloud/recaptcha_enterprise/v1beta1/recaptcha_enterprise_service/credentials"
26
+ require "google/cloud/recaptcha_enterprise/v1beta1/recaptcha_enterprise_service/paths"
27
+ require "google/cloud/recaptcha_enterprise/v1beta1/recaptcha_enterprise_service/rest/client"
28
+
29
+ module Google
30
+ module Cloud
31
+ module RecaptchaEnterprise
32
+ module V1beta1
33
+ ##
34
+ # Service to determine the likelihood an event is legitimate.
35
+ #
36
+ # To load this service and instantiate a REST client:
37
+ #
38
+ # require "google/cloud/recaptcha_enterprise/v1beta1/recaptcha_enterprise_service/rest"
39
+ # client = ::Google::Cloud::RecaptchaEnterprise::V1beta1::RecaptchaEnterpriseService::Rest::Client.new
40
+ #
41
+ module RecaptchaEnterpriseService
42
+ # Client for the REST transport
43
+ module Rest
44
+ end
45
+ end
46
+ end
47
+ end
48
+ end
49
+ end
50
+
51
+ helper_path = ::File.join __dir__, "rest", "helpers.rb"
52
+ require "google/cloud/recaptcha_enterprise/v1beta1/recaptcha_enterprise_service/rest/helpers" if ::File.file? helper_path
@@ -25,6 +25,7 @@ require "google/cloud/recaptcha_enterprise/v1beta1/version"
25
25
  require "google/cloud/recaptcha_enterprise/v1beta1/recaptcha_enterprise_service/credentials"
26
26
  require "google/cloud/recaptcha_enterprise/v1beta1/recaptcha_enterprise_service/paths"
27
27
  require "google/cloud/recaptcha_enterprise/v1beta1/recaptcha_enterprise_service/client"
28
+ require "google/cloud/recaptcha_enterprise/v1beta1/recaptcha_enterprise_service/rest"
28
29
 
29
30
  module Google
30
31
  module Cloud
@@ -33,11 +34,16 @@ module Google
33
34
  ##
34
35
  # Service to determine the likelihood an event is legitimate.
35
36
  #
36
- # To load this service and instantiate a client:
37
+ # @example Load this service and instantiate a gRPC client
37
38
  #
38
39
  # require "google/cloud/recaptcha_enterprise/v1beta1/recaptcha_enterprise_service"
39
40
  # client = ::Google::Cloud::RecaptchaEnterprise::V1beta1::RecaptchaEnterpriseService::Client.new
40
41
  #
42
+ # @example Load this service and instantiate a REST client
43
+ #
44
+ # require "google/cloud/recaptcha_enterprise/v1beta1/recaptcha_enterprise_service/rest"
45
+ # client = ::Google::Cloud::RecaptchaEnterprise::V1beta1::RecaptchaEnterpriseService::Rest::Client.new
46
+ #
41
47
  module RecaptchaEnterpriseService
42
48
  end
43
49
  end
@@ -0,0 +1,37 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "google/cloud/recaptcha_enterprise/v1beta1/recaptcha_enterprise_service/rest"
20
+ require "google/cloud/recaptcha_enterprise/v1beta1/version"
21
+
22
+ module Google
23
+ module Cloud
24
+ module RecaptchaEnterprise
25
+ ##
26
+ # To load just the REST part of this package, including all its services, and instantiate a REST client:
27
+ #
28
+ # @example
29
+ #
30
+ # require "google/cloud/recaptcha_enterprise/v1beta1/rest"
31
+ # client = ::Google::Cloud::RecaptchaEnterprise::V1beta1::RecaptchaEnterpriseService::Rest::Client.new
32
+ #
33
+ module V1beta1
34
+ end
35
+ end
36
+ end
37
+ end
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module RecaptchaEnterprise
23
23
  module V1beta1
24
- VERSION = "0.6.0"
24
+ VERSION = "0.8.0"
25
25
  end
26
26
  end
27
27
  end
@@ -23,13 +23,18 @@ module Google
23
23
  module Cloud
24
24
  module RecaptchaEnterprise
25
25
  ##
26
- # To load this package, including all its services, and instantiate a client:
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/v1beta1"
31
31
  # client = ::Google::Cloud::RecaptchaEnterprise::V1beta1::RecaptchaEnterpriseService::Client.new
32
32
  #
33
+ # @example Load this package, including all its services, and instantiate a REST client
34
+ #
35
+ # require "google/cloud/recaptcha_enterprise/v1beta1"
36
+ # client = ::Google::Cloud::RecaptchaEnterprise::V1beta1::RecaptchaEnterpriseService::Rest::Client.new
37
+ #
33
38
  module V1beta1
34
39
  end
35
40
  end
@@ -15,11 +15,39 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
15
15
  optional :parent, :string, 1
16
16
  optional :assessment, :message, 2, "google.cloud.recaptchaenterprise.v1beta1.Assessment"
17
17
  end
18
+ add_message "google.cloud.recaptchaenterprise.v1beta1.TransactionEvent" do
19
+ optional :event_type, :enum, 1, "google.cloud.recaptchaenterprise.v1beta1.TransactionEvent.TransactionEventType"
20
+ optional :reason, :string, 2
21
+ optional :value, :double, 3
22
+ optional :event_time, :message, 4, "google.protobuf.Timestamp"
23
+ end
24
+ add_enum "google.cloud.recaptchaenterprise.v1beta1.TransactionEvent.TransactionEventType" do
25
+ value :TRANSACTION_EVENT_TYPE_UNSPECIFIED, 0
26
+ value :MERCHANT_APPROVE, 1
27
+ value :MERCHANT_DENY, 2
28
+ value :MANUAL_REVIEW, 3
29
+ value :AUTHORIZATION, 4
30
+ value :AUTHORIZATION_DECLINE, 5
31
+ value :PAYMENT_CAPTURE, 6
32
+ value :PAYMENT_CAPTURE_DECLINE, 7
33
+ value :CANCEL, 8
34
+ value :CHARGEBACK_INQUIRY, 9
35
+ value :CHARGEBACK_ALERT, 10
36
+ value :FRAUD_NOTIFICATION, 11
37
+ value :CHARGEBACK, 12
38
+ value :CHARGEBACK_REPRESENTMENT, 13
39
+ value :CHARGEBACK_REVERSE, 14
40
+ value :REFUND_REQUEST, 15
41
+ value :REFUND_DECLINE, 16
42
+ value :REFUND, 17
43
+ value :REFUND_REVERSE, 18
44
+ end
18
45
  add_message "google.cloud.recaptchaenterprise.v1beta1.AnnotateAssessmentRequest" do
19
46
  optional :name, :string, 1
20
47
  optional :annotation, :enum, 2, "google.cloud.recaptchaenterprise.v1beta1.AnnotateAssessmentRequest.Annotation"
21
48
  repeated :reasons, :enum, 3, "google.cloud.recaptchaenterprise.v1beta1.AnnotateAssessmentRequest.Reason"
22
49
  optional :hashed_account_id, :bytes, 4
50
+ optional :transaction_event, :message, 5, "google.cloud.recaptchaenterprise.v1beta1.TransactionEvent"
23
51
  end
24
52
  add_enum "google.cloud.recaptchaenterprise.v1beta1.AnnotateAssessmentRequest.Annotation" do
25
53
  value :ANNOTATION_UNSPECIFIED, 0
@@ -33,12 +61,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
33
61
  value :CHARGEBACK, 1
34
62
  value :CHARGEBACK_FRAUD, 8
35
63
  value :CHARGEBACK_DISPUTE, 9
64
+ value :REFUND, 10
65
+ value :REFUND_FRAUD, 11
66
+ value :TRANSACTION_ACCEPTED, 12
67
+ value :TRANSACTION_DECLINED, 13
36
68
  value :PAYMENT_HEURISTICS, 2
37
69
  value :INITIATED_TWO_FACTOR, 7
38
70
  value :PASSED_TWO_FACTOR, 3
39
71
  value :FAILED_TWO_FACTOR, 4
40
72
  value :CORRECT_PASSWORD, 5
41
73
  value :INCORRECT_PASSWORD, 6
74
+ value :SOCIAL_SPAM, 14
42
75
  end
43
76
  add_message "google.cloud.recaptchaenterprise.v1beta1.AnnotateAssessmentResponse" do
44
77
  end
@@ -55,6 +88,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
55
88
  repeated :reasons, :enum, 5, "google.cloud.recaptchaenterprise.v1beta1.Assessment.ClassificationReason"
56
89
  optional :password_leak_verification, :message, 7, "google.cloud.recaptchaenterprise.v1beta1.PasswordLeakVerification"
57
90
  optional :account_defender_assessment, :message, 8, "google.cloud.recaptchaenterprise.v1beta1.AccountDefenderAssessment"
91
+ optional :fraud_prevention_assessment, :message, 11, "google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment"
58
92
  end
59
93
  add_enum "google.cloud.recaptchaenterprise.v1beta1.Assessment.ClassificationReason" do
60
94
  value :CLASSIFICATION_REASON_UNSPECIFIED, 0
@@ -63,6 +97,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
63
97
  value :TOO_MUCH_TRAFFIC, 3
64
98
  value :UNEXPECTED_USAGE_PATTERNS, 4
65
99
  value :LOW_CONFIDENCE_SCORE, 5
100
+ value :SUSPECTED_CARDING, 6
101
+ value :SUSPECTED_CHARGEBACK, 7
66
102
  end
67
103
  add_message "google.cloud.recaptchaenterprise.v1beta1.Event" do
68
104
  optional :token, :string, 1
@@ -71,6 +107,50 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
71
107
  optional :user_ip_address, :string, 4
72
108
  optional :expected_action, :string, 5
73
109
  optional :hashed_account_id, :bytes, 6
110
+ optional :transaction_data, :message, 13, "google.cloud.recaptchaenterprise.v1beta1.TransactionData"
111
+ end
112
+ add_message "google.cloud.recaptchaenterprise.v1beta1.TransactionData" do
113
+ proto3_optional :transaction_id, :string, 11
114
+ optional :payment_method, :string, 1
115
+ optional :card_bin, :string, 2
116
+ optional :card_last_four, :string, 3
117
+ optional :currency_code, :string, 4
118
+ optional :value, :double, 5
119
+ optional :shipping_value, :double, 12
120
+ optional :shipping_address, :message, 6, "google.cloud.recaptchaenterprise.v1beta1.TransactionData.Address"
121
+ optional :billing_address, :message, 7, "google.cloud.recaptchaenterprise.v1beta1.TransactionData.Address"
122
+ optional :user, :message, 8, "google.cloud.recaptchaenterprise.v1beta1.TransactionData.User"
123
+ repeated :merchants, :message, 13, "google.cloud.recaptchaenterprise.v1beta1.TransactionData.User"
124
+ repeated :items, :message, 14, "google.cloud.recaptchaenterprise.v1beta1.TransactionData.Item"
125
+ optional :gateway_info, :message, 10, "google.cloud.recaptchaenterprise.v1beta1.TransactionData.GatewayInfo"
126
+ end
127
+ add_message "google.cloud.recaptchaenterprise.v1beta1.TransactionData.Address" do
128
+ optional :recipient, :string, 1
129
+ repeated :address, :string, 2
130
+ optional :locality, :string, 3
131
+ optional :administrative_area, :string, 4
132
+ optional :region_code, :string, 5
133
+ optional :postal_code, :string, 6
134
+ end
135
+ add_message "google.cloud.recaptchaenterprise.v1beta1.TransactionData.User" do
136
+ optional :account_id, :string, 6
137
+ optional :creation_ms, :int64, 1
138
+ optional :email, :string, 2
139
+ optional :email_verified, :bool, 3
140
+ optional :phone_number, :string, 4
141
+ optional :phone_verified, :bool, 5
142
+ end
143
+ add_message "google.cloud.recaptchaenterprise.v1beta1.TransactionData.Item" do
144
+ optional :name, :string, 1
145
+ optional :value, :double, 2
146
+ optional :quantity, :int64, 3
147
+ optional :merchant_account_id, :string, 4
148
+ end
149
+ add_message "google.cloud.recaptchaenterprise.v1beta1.TransactionData.GatewayInfo" do
150
+ optional :name, :string, 1
151
+ optional :gateway_response_code, :string, 2
152
+ optional :avs_response_code, :string, 3
153
+ optional :cvv_response_code, :string, 4
74
154
  end
75
155
  add_message "google.cloud.recaptchaenterprise.v1beta1.TokenProperties" do
76
156
  optional :valid, :bool, 1
@@ -89,6 +169,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
89
169
  value :MISSING, 6
90
170
  value :BROWSER_ERROR, 7
91
171
  end
172
+ add_message "google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment" do
173
+ optional :transaction_risk, :float, 1
174
+ optional :stolen_instrument_verdict, :message, 2, "google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment.StolenInstrumentVerdict"
175
+ optional :card_testing_verdict, :message, 3, "google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment.CardTestingVerdict"
176
+ end
177
+ add_message "google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment.StolenInstrumentVerdict" do
178
+ optional :risk, :float, 1
179
+ end
180
+ add_message "google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment.CardTestingVerdict" do
181
+ optional :risk, :float, 1
182
+ end
92
183
  add_message "google.cloud.recaptchaenterprise.v1beta1.AccountDefenderAssessment" do
93
184
  repeated :labels, :enum, 1, "google.cloud.recaptchaenterprise.v1beta1.AccountDefenderAssessment.AccountDefenderLabel"
94
185
  end
@@ -107,6 +198,8 @@ module Google
107
198
  module RecaptchaEnterprise
108
199
  module V1beta1
109
200
  CreateAssessmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.CreateAssessmentRequest").msgclass
201
+ TransactionEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.TransactionEvent").msgclass
202
+ TransactionEvent::TransactionEventType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.TransactionEvent.TransactionEventType").enummodule
110
203
  AnnotateAssessmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.AnnotateAssessmentRequest").msgclass
111
204
  AnnotateAssessmentRequest::Annotation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.AnnotateAssessmentRequest.Annotation").enummodule
112
205
  AnnotateAssessmentRequest::Reason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.AnnotateAssessmentRequest.Reason").enummodule
@@ -115,8 +208,16 @@ module Google
115
208
  Assessment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.Assessment").msgclass
116
209
  Assessment::ClassificationReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.Assessment.ClassificationReason").enummodule
117
210
  Event = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.Event").msgclass
211
+ TransactionData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.TransactionData").msgclass
212
+ TransactionData::Address = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.TransactionData.Address").msgclass
213
+ TransactionData::User = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.TransactionData.User").msgclass
214
+ TransactionData::Item = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.TransactionData.Item").msgclass
215
+ TransactionData::GatewayInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.TransactionData.GatewayInfo").msgclass
118
216
  TokenProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.TokenProperties").msgclass
119
217
  TokenProperties::InvalidReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.TokenProperties.InvalidReason").enummodule
218
+ FraudPreventionAssessment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment").msgclass
219
+ FraudPreventionAssessment::StolenInstrumentVerdict = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment.StolenInstrumentVerdict").msgclass
220
+ FraudPreventionAssessment::CardTestingVerdict = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment.CardTestingVerdict").msgclass
120
221
  AccountDefenderAssessment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.AccountDefenderAssessment").msgclass
121
222
  AccountDefenderAssessment::AccountDefenderLabel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1beta1.AccountDefenderAssessment.AccountDefenderLabel").enummodule
122
223
  end