google-cloud-recaptcha_enterprise-v1 0.4.1 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +8 -8
- data/README.md +1 -1
- data/lib/google/cloud/recaptcha_enterprise/v1/recaptcha_enterprise_service/client.rb +742 -67
- data/lib/google/cloud/recaptcha_enterprise/v1/recaptcha_enterprise_service/paths.rb +34 -0
- data/lib/google/cloud/recaptcha_enterprise/v1/version.rb +1 -1
- data/lib/google/cloud/recaptchaenterprise/v1/recaptchaenterprise_pb.rb +118 -2
- data/lib/google/cloud/recaptchaenterprise/v1/recaptchaenterprise_services_pb.rb +17 -1
- data/proto_docs/google/api/field_behavior.rb +7 -1
- data/proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb +387 -9
- metadata +4 -4
@@ -58,6 +58,23 @@ module Google
|
|
58
58
|
"projects/#{project}/keys/#{key}"
|
59
59
|
end
|
60
60
|
|
61
|
+
##
|
62
|
+
# Create a fully-qualified Metrics resource string.
|
63
|
+
#
|
64
|
+
# The resource will be in the following format:
|
65
|
+
#
|
66
|
+
# `projects/{project}/keys/{key}/metrics`
|
67
|
+
#
|
68
|
+
# @param project [String]
|
69
|
+
# @param key [String]
|
70
|
+
#
|
71
|
+
# @return [::String]
|
72
|
+
def metrics_path project:, key:
|
73
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
74
|
+
|
75
|
+
"projects/#{project}/keys/#{key}/metrics"
|
76
|
+
end
|
77
|
+
|
61
78
|
##
|
62
79
|
# Create a fully-qualified Project resource string.
|
63
80
|
#
|
@@ -72,6 +89,23 @@ module Google
|
|
72
89
|
"projects/#{project}"
|
73
90
|
end
|
74
91
|
|
92
|
+
##
|
93
|
+
# Create a fully-qualified RelatedAccountGroup resource string.
|
94
|
+
#
|
95
|
+
# The resource will be in the following format:
|
96
|
+
#
|
97
|
+
# `projects/{project}/relatedaccountgroups/{relatedaccountgroup}`
|
98
|
+
#
|
99
|
+
# @param project [String]
|
100
|
+
# @param relatedaccountgroup [String]
|
101
|
+
#
|
102
|
+
# @return [::String]
|
103
|
+
def related_account_group_path project:, relatedaccountgroup:
|
104
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
105
|
+
|
106
|
+
"projects/#{project}/relatedaccountgroups/#{relatedaccountgroup}"
|
107
|
+
end
|
108
|
+
|
75
109
|
extend self
|
76
110
|
end
|
77
111
|
end
|
@@ -1,8 +1,6 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/annotations_pb'
|
7
5
|
require 'google/api/client_pb'
|
8
6
|
require 'google/api/field_behavior_pb'
|
@@ -10,6 +8,8 @@ require 'google/api/resource_pb'
|
|
10
8
|
require 'google/protobuf/empty_pb'
|
11
9
|
require 'google/protobuf/field_mask_pb'
|
12
10
|
require 'google/protobuf/timestamp_pb'
|
11
|
+
require 'google/protobuf'
|
12
|
+
|
13
13
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
14
14
|
add_file("google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto", :syntax => :proto3) do
|
15
15
|
add_message "google.cloud.recaptchaenterprise.v1.CreateAssessmentRequest" do
|
@@ -19,6 +19,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
19
19
|
add_message "google.cloud.recaptchaenterprise.v1.AnnotateAssessmentRequest" do
|
20
20
|
optional :name, :string, 1
|
21
21
|
optional :annotation, :enum, 2, "google.cloud.recaptchaenterprise.v1.AnnotateAssessmentRequest.Annotation"
|
22
|
+
repeated :reasons, :enum, 3, "google.cloud.recaptchaenterprise.v1.AnnotateAssessmentRequest.Reason"
|
23
|
+
optional :hashed_account_id, :bytes, 4
|
22
24
|
end
|
23
25
|
add_enum "google.cloud.recaptchaenterprise.v1.AnnotateAssessmentRequest.Annotation" do
|
24
26
|
value :ANNOTATION_UNSPECIFIED, 0
|
@@ -27,6 +29,16 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
27
29
|
value :PASSWORD_CORRECT, 3
|
28
30
|
value :PASSWORD_INCORRECT, 4
|
29
31
|
end
|
32
|
+
add_enum "google.cloud.recaptchaenterprise.v1.AnnotateAssessmentRequest.Reason" do
|
33
|
+
value :REASON_UNSPECIFIED, 0
|
34
|
+
value :CHARGEBACK, 1
|
35
|
+
value :PAYMENT_HEURISTICS, 2
|
36
|
+
value :INITIATED_TWO_FACTOR, 7
|
37
|
+
value :PASSED_TWO_FACTOR, 3
|
38
|
+
value :FAILED_TWO_FACTOR, 4
|
39
|
+
value :CORRECT_PASSWORD, 5
|
40
|
+
value :INCORRECT_PASSWORD, 6
|
41
|
+
end
|
30
42
|
add_message "google.cloud.recaptchaenterprise.v1.AnnotateAssessmentResponse" do
|
31
43
|
end
|
32
44
|
add_message "google.cloud.recaptchaenterprise.v1.Assessment" do
|
@@ -34,6 +46,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
34
46
|
optional :event, :message, 2, "google.cloud.recaptchaenterprise.v1.Event"
|
35
47
|
optional :risk_analysis, :message, 3, "google.cloud.recaptchaenterprise.v1.RiskAnalysis"
|
36
48
|
optional :token_properties, :message, 4, "google.cloud.recaptchaenterprise.v1.TokenProperties"
|
49
|
+
optional :account_defender_assessment, :message, 6, "google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment"
|
37
50
|
end
|
38
51
|
add_message "google.cloud.recaptchaenterprise.v1.Event" do
|
39
52
|
optional :token, :string, 1
|
@@ -41,6 +54,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
41
54
|
optional :user_agent, :string, 3
|
42
55
|
optional :user_ip_address, :string, 4
|
43
56
|
optional :expected_action, :string, 5
|
57
|
+
optional :hashed_account_id, :bytes, 6
|
44
58
|
end
|
45
59
|
add_message "google.cloud.recaptchaenterprise.v1.RiskAnalysis" do
|
46
60
|
optional :score, :float, 1
|
@@ -68,6 +82,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
68
82
|
value :EXPIRED, 3
|
69
83
|
value :DUPE, 4
|
70
84
|
value :MISSING, 5
|
85
|
+
value :BROWSER_ERROR, 6
|
86
|
+
end
|
87
|
+
add_message "google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment" do
|
88
|
+
repeated :labels, :enum, 1, "google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel"
|
89
|
+
end
|
90
|
+
add_enum "google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel" do
|
91
|
+
value :ACCOUNT_DEFENDER_LABEL_UNSPECIFIED, 0
|
92
|
+
value :PROFILE_MATCH, 1
|
93
|
+
value :SUSPICIOUS_LOGIN_ACTIVITY, 2
|
94
|
+
value :SUSPICIOUS_ACCOUNT_CREATION, 3
|
95
|
+
value :RELATED_ACCOUNTS_NUMBER_HIGH, 4
|
71
96
|
end
|
72
97
|
add_message "google.cloud.recaptchaenterprise.v1.CreateKeyRequest" do
|
73
98
|
optional :parent, :string, 1
|
@@ -92,17 +117,39 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
92
117
|
add_message "google.cloud.recaptchaenterprise.v1.DeleteKeyRequest" do
|
93
118
|
optional :name, :string, 1
|
94
119
|
end
|
120
|
+
add_message "google.cloud.recaptchaenterprise.v1.MigrateKeyRequest" do
|
121
|
+
optional :name, :string, 1
|
122
|
+
end
|
123
|
+
add_message "google.cloud.recaptchaenterprise.v1.GetMetricsRequest" do
|
124
|
+
optional :name, :string, 1
|
125
|
+
end
|
126
|
+
add_message "google.cloud.recaptchaenterprise.v1.Metrics" do
|
127
|
+
optional :name, :string, 4
|
128
|
+
optional :start_time, :message, 1, "google.protobuf.Timestamp"
|
129
|
+
repeated :score_metrics, :message, 2, "google.cloud.recaptchaenterprise.v1.ScoreMetrics"
|
130
|
+
repeated :challenge_metrics, :message, 3, "google.cloud.recaptchaenterprise.v1.ChallengeMetrics"
|
131
|
+
end
|
95
132
|
add_message "google.cloud.recaptchaenterprise.v1.Key" do
|
96
133
|
optional :name, :string, 1
|
97
134
|
optional :display_name, :string, 2
|
98
135
|
map :labels, :string, :string, 6
|
99
136
|
optional :create_time, :message, 7, "google.protobuf.Timestamp"
|
137
|
+
optional :testing_options, :message, 9, "google.cloud.recaptchaenterprise.v1.TestingOptions"
|
100
138
|
oneof :platform_settings do
|
101
139
|
optional :web_settings, :message, 3, "google.cloud.recaptchaenterprise.v1.WebKeySettings"
|
102
140
|
optional :android_settings, :message, 4, "google.cloud.recaptchaenterprise.v1.AndroidKeySettings"
|
103
141
|
optional :ios_settings, :message, 5, "google.cloud.recaptchaenterprise.v1.IOSKeySettings"
|
104
142
|
end
|
105
143
|
end
|
144
|
+
add_message "google.cloud.recaptchaenterprise.v1.TestingOptions" do
|
145
|
+
optional :testing_score, :float, 1
|
146
|
+
optional :testing_challenge, :enum, 2, "google.cloud.recaptchaenterprise.v1.TestingOptions.TestingChallenge"
|
147
|
+
end
|
148
|
+
add_enum "google.cloud.recaptchaenterprise.v1.TestingOptions.TestingChallenge" do
|
149
|
+
value :TESTING_CHALLENGE_UNSPECIFIED, 0
|
150
|
+
value :NOCAPTCHA, 1
|
151
|
+
value :UNSOLVABLE_CHALLENGE, 2
|
152
|
+
end
|
106
153
|
add_message "google.cloud.recaptchaenterprise.v1.WebKeySettings" do
|
107
154
|
optional :allow_all_domains, :bool, 3
|
108
155
|
repeated :allowed_domains, :string, 1
|
@@ -123,11 +170,61 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
123
170
|
value :SECURITY, 3
|
124
171
|
end
|
125
172
|
add_message "google.cloud.recaptchaenterprise.v1.AndroidKeySettings" do
|
173
|
+
optional :allow_all_package_names, :bool, 2
|
126
174
|
repeated :allowed_package_names, :string, 1
|
127
175
|
end
|
128
176
|
add_message "google.cloud.recaptchaenterprise.v1.IOSKeySettings" do
|
177
|
+
optional :allow_all_bundle_ids, :bool, 2
|
129
178
|
repeated :allowed_bundle_ids, :string, 1
|
130
179
|
end
|
180
|
+
add_message "google.cloud.recaptchaenterprise.v1.ScoreDistribution" do
|
181
|
+
map :score_buckets, :int32, :int64, 1
|
182
|
+
end
|
183
|
+
add_message "google.cloud.recaptchaenterprise.v1.ScoreMetrics" do
|
184
|
+
optional :overall_metrics, :message, 1, "google.cloud.recaptchaenterprise.v1.ScoreDistribution"
|
185
|
+
map :action_metrics, :string, :message, 2, "google.cloud.recaptchaenterprise.v1.ScoreDistribution"
|
186
|
+
end
|
187
|
+
add_message "google.cloud.recaptchaenterprise.v1.ChallengeMetrics" do
|
188
|
+
optional :pageload_count, :int64, 1
|
189
|
+
optional :nocaptcha_count, :int64, 2
|
190
|
+
optional :failed_count, :int64, 3
|
191
|
+
optional :passed_count, :int64, 4
|
192
|
+
end
|
193
|
+
add_message "google.cloud.recaptchaenterprise.v1.ListRelatedAccountGroupMembershipsRequest" do
|
194
|
+
optional :parent, :string, 1
|
195
|
+
optional :page_size, :int32, 2
|
196
|
+
optional :page_token, :string, 3
|
197
|
+
end
|
198
|
+
add_message "google.cloud.recaptchaenterprise.v1.ListRelatedAccountGroupMembershipsResponse" do
|
199
|
+
repeated :related_account_group_memberships, :message, 1, "google.cloud.recaptchaenterprise.v1.RelatedAccountGroupMembership"
|
200
|
+
optional :next_page_token, :string, 2
|
201
|
+
end
|
202
|
+
add_message "google.cloud.recaptchaenterprise.v1.ListRelatedAccountGroupsRequest" do
|
203
|
+
optional :parent, :string, 1
|
204
|
+
optional :page_size, :int32, 2
|
205
|
+
optional :page_token, :string, 3
|
206
|
+
end
|
207
|
+
add_message "google.cloud.recaptchaenterprise.v1.ListRelatedAccountGroupsResponse" do
|
208
|
+
repeated :related_account_groups, :message, 1, "google.cloud.recaptchaenterprise.v1.RelatedAccountGroup"
|
209
|
+
optional :next_page_token, :string, 2
|
210
|
+
end
|
211
|
+
add_message "google.cloud.recaptchaenterprise.v1.SearchRelatedAccountGroupMembershipsRequest" do
|
212
|
+
optional :parent, :string, 1
|
213
|
+
optional :hashed_account_id, :bytes, 2
|
214
|
+
optional :page_size, :int32, 3
|
215
|
+
optional :page_token, :string, 4
|
216
|
+
end
|
217
|
+
add_message "google.cloud.recaptchaenterprise.v1.SearchRelatedAccountGroupMembershipsResponse" do
|
218
|
+
repeated :related_account_group_memberships, :message, 1, "google.cloud.recaptchaenterprise.v1.RelatedAccountGroupMembership"
|
219
|
+
optional :next_page_token, :string, 2
|
220
|
+
end
|
221
|
+
add_message "google.cloud.recaptchaenterprise.v1.RelatedAccountGroupMembership" do
|
222
|
+
optional :name, :string, 1
|
223
|
+
optional :hashed_account_id, :bytes, 2
|
224
|
+
end
|
225
|
+
add_message "google.cloud.recaptchaenterprise.v1.RelatedAccountGroup" do
|
226
|
+
optional :name, :string, 1
|
227
|
+
end
|
131
228
|
end
|
132
229
|
end
|
133
230
|
|
@@ -138,6 +235,7 @@ module Google
|
|
138
235
|
CreateAssessmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.CreateAssessmentRequest").msgclass
|
139
236
|
AnnotateAssessmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.AnnotateAssessmentRequest").msgclass
|
140
237
|
AnnotateAssessmentRequest::Annotation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.AnnotateAssessmentRequest.Annotation").enummodule
|
238
|
+
AnnotateAssessmentRequest::Reason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.AnnotateAssessmentRequest.Reason").enummodule
|
141
239
|
AnnotateAssessmentResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.AnnotateAssessmentResponse").msgclass
|
142
240
|
Assessment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.Assessment").msgclass
|
143
241
|
Event = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.Event").msgclass
|
@@ -145,18 +243,36 @@ module Google
|
|
145
243
|
RiskAnalysis::ClassificationReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason").enummodule
|
146
244
|
TokenProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.TokenProperties").msgclass
|
147
245
|
TokenProperties::InvalidReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.TokenProperties.InvalidReason").enummodule
|
246
|
+
AccountDefenderAssessment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment").msgclass
|
247
|
+
AccountDefenderAssessment::AccountDefenderLabel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment.AccountDefenderLabel").enummodule
|
148
248
|
CreateKeyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.CreateKeyRequest").msgclass
|
149
249
|
ListKeysRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.ListKeysRequest").msgclass
|
150
250
|
ListKeysResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.ListKeysResponse").msgclass
|
151
251
|
GetKeyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.GetKeyRequest").msgclass
|
152
252
|
UpdateKeyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.UpdateKeyRequest").msgclass
|
153
253
|
DeleteKeyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.DeleteKeyRequest").msgclass
|
254
|
+
MigrateKeyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.MigrateKeyRequest").msgclass
|
255
|
+
GetMetricsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.GetMetricsRequest").msgclass
|
256
|
+
Metrics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.Metrics").msgclass
|
154
257
|
Key = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.Key").msgclass
|
258
|
+
TestingOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.TestingOptions").msgclass
|
259
|
+
TestingOptions::TestingChallenge = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.TestingOptions.TestingChallenge").enummodule
|
155
260
|
WebKeySettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.WebKeySettings").msgclass
|
156
261
|
WebKeySettings::IntegrationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.WebKeySettings.IntegrationType").enummodule
|
157
262
|
WebKeySettings::ChallengeSecurityPreference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.WebKeySettings.ChallengeSecurityPreference").enummodule
|
158
263
|
AndroidKeySettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.AndroidKeySettings").msgclass
|
159
264
|
IOSKeySettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.IOSKeySettings").msgclass
|
265
|
+
ScoreDistribution = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.ScoreDistribution").msgclass
|
266
|
+
ScoreMetrics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.ScoreMetrics").msgclass
|
267
|
+
ChallengeMetrics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.ChallengeMetrics").msgclass
|
268
|
+
ListRelatedAccountGroupMembershipsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.ListRelatedAccountGroupMembershipsRequest").msgclass
|
269
|
+
ListRelatedAccountGroupMembershipsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.ListRelatedAccountGroupMembershipsResponse").msgclass
|
270
|
+
ListRelatedAccountGroupsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.ListRelatedAccountGroupsRequest").msgclass
|
271
|
+
ListRelatedAccountGroupsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.ListRelatedAccountGroupsResponse").msgclass
|
272
|
+
SearchRelatedAccountGroupMembershipsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.SearchRelatedAccountGroupMembershipsRequest").msgclass
|
273
|
+
SearchRelatedAccountGroupMembershipsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.SearchRelatedAccountGroupMembershipsResponse").msgclass
|
274
|
+
RelatedAccountGroupMembership = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.RelatedAccountGroupMembership").msgclass
|
275
|
+
RelatedAccountGroup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recaptchaenterprise.v1.RelatedAccountGroup").msgclass
|
160
276
|
end
|
161
277
|
end
|
162
278
|
end
|
@@ -36,7 +36,7 @@ module Google
|
|
36
36
|
# Creates an Assessment of the likelihood an event is legitimate.
|
37
37
|
rpc :CreateAssessment, ::Google::Cloud::RecaptchaEnterprise::V1::CreateAssessmentRequest, ::Google::Cloud::RecaptchaEnterprise::V1::Assessment
|
38
38
|
# Annotates a previously created Assessment to provide additional information
|
39
|
-
# on whether the event turned out to be authentic or
|
39
|
+
# on whether the event turned out to be authentic or fraudulent.
|
40
40
|
rpc :AnnotateAssessment, ::Google::Cloud::RecaptchaEnterprise::V1::AnnotateAssessmentRequest, ::Google::Cloud::RecaptchaEnterprise::V1::AnnotateAssessmentResponse
|
41
41
|
# Creates a new reCAPTCHA Enterprise key.
|
42
42
|
rpc :CreateKey, ::Google::Cloud::RecaptchaEnterprise::V1::CreateKeyRequest, ::Google::Cloud::RecaptchaEnterprise::V1::Key
|
@@ -48,6 +48,22 @@ module Google
|
|
48
48
|
rpc :UpdateKey, ::Google::Cloud::RecaptchaEnterprise::V1::UpdateKeyRequest, ::Google::Cloud::RecaptchaEnterprise::V1::Key
|
49
49
|
# Deletes the specified key.
|
50
50
|
rpc :DeleteKey, ::Google::Cloud::RecaptchaEnterprise::V1::DeleteKeyRequest, ::Google::Protobuf::Empty
|
51
|
+
# Migrates an existing key from reCAPTCHA to reCAPTCHA Enterprise.
|
52
|
+
# Once a key is migrated, it can be used from either product. SiteVerify
|
53
|
+
# requests are billed as CreateAssessment calls. You must be
|
54
|
+
# authenticated as one of the current owners of the reCAPTCHA Site Key, and
|
55
|
+
# your user must have the reCAPTCHA Enterprise Admin IAM role in the
|
56
|
+
# destination project.
|
57
|
+
rpc :MigrateKey, ::Google::Cloud::RecaptchaEnterprise::V1::MigrateKeyRequest, ::Google::Cloud::RecaptchaEnterprise::V1::Key
|
58
|
+
# Get some aggregated metrics for a Key. This data can be used to build
|
59
|
+
# dashboards.
|
60
|
+
rpc :GetMetrics, ::Google::Cloud::RecaptchaEnterprise::V1::GetMetricsRequest, ::Google::Cloud::RecaptchaEnterprise::V1::Metrics
|
61
|
+
# List groups of related accounts.
|
62
|
+
rpc :ListRelatedAccountGroups, ::Google::Cloud::RecaptchaEnterprise::V1::ListRelatedAccountGroupsRequest, ::Google::Cloud::RecaptchaEnterprise::V1::ListRelatedAccountGroupsResponse
|
63
|
+
# Get the memberships in a group of related accounts.
|
64
|
+
rpc :ListRelatedAccountGroupMemberships, ::Google::Cloud::RecaptchaEnterprise::V1::ListRelatedAccountGroupMembershipsRequest, ::Google::Cloud::RecaptchaEnterprise::V1::ListRelatedAccountGroupMembershipsResponse
|
65
|
+
# Search group memberships related to a given account.
|
66
|
+
rpc :SearchRelatedAccountGroupMemberships, ::Google::Cloud::RecaptchaEnterprise::V1::SearchRelatedAccountGroupMembershipsRequest, ::Google::Cloud::RecaptchaEnterprise::V1::SearchRelatedAccountGroupMembershipsResponse
|
51
67
|
end
|
52
68
|
|
53
69
|
Stub = Service.rpc_stub_class
|
@@ -57,9 +57,15 @@ module Google
|
|
57
57
|
|
58
58
|
# Denotes that a (repeated) field is an unordered list.
|
59
59
|
# This indicates that the service may provide the elements of the list
|
60
|
-
# in any arbitrary
|
60
|
+
# in any arbitrary order, rather than the order the user originally
|
61
61
|
# provided. Additionally, the list's order may or may not be stable.
|
62
62
|
UNORDERED_LIST = 6
|
63
|
+
|
64
|
+
# Denotes that this field returns a non-empty default value if not set.
|
65
|
+
# This indicates that if the user provides the empty value in a request,
|
66
|
+
# a non-empty value will be returned. The user will not be aware of what
|
67
|
+
# non-empty value to expect.
|
68
|
+
NON_EMPTY_DEFAULT = 7
|
63
69
|
end
|
64
70
|
end
|
65
71
|
end
|