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
@@ -41,12 +41,24 @@ module Google
|
|
41
41
|
# "projects/\\{project}/assessments/\\{assessment}".
|
42
42
|
# @!attribute [rw] annotation
|
43
43
|
# @return [::Google::Cloud::RecaptchaEnterprise::V1::AnnotateAssessmentRequest::Annotation]
|
44
|
-
#
|
44
|
+
# Optional. The annotation that will be assigned to the Event. This field can be left
|
45
|
+
# empty to provide reasons that apply to an event without concluding whether
|
46
|
+
# the event is legitimate or fraudulent.
|
47
|
+
# @!attribute [rw] reasons
|
48
|
+
# @return [::Array<::Google::Cloud::RecaptchaEnterprise::V1::AnnotateAssessmentRequest::Reason>]
|
49
|
+
# Optional. Optional reasons for the annotation that will be assigned to the Event.
|
50
|
+
# @!attribute [rw] hashed_account_id
|
51
|
+
# @return [::String]
|
52
|
+
# Optional. Optional unique stable hashed user identifier to apply to the assessment.
|
53
|
+
# This is an alternative to setting the hashed_account_id in
|
54
|
+
# CreateAssessment, for example when the account identifier is not yet known
|
55
|
+
# in the initial request. It is recommended that the identifier is hashed
|
56
|
+
# using hmac-sha256 with stable secret.
|
45
57
|
class AnnotateAssessmentRequest
|
46
58
|
include ::Google::Protobuf::MessageExts
|
47
59
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
48
60
|
|
49
|
-
# Enum that
|
61
|
+
# Enum that represents the types of annotations.
|
50
62
|
module Annotation
|
51
63
|
# Default unspecified type.
|
52
64
|
ANNOTATION_UNSPECIFIED = 0
|
@@ -58,13 +70,48 @@ module Google
|
|
58
70
|
FRAUDULENT = 2
|
59
71
|
|
60
72
|
# Provides information that the event was related to a login event in which
|
61
|
-
# the user typed the correct password.
|
73
|
+
# the user typed the correct password. Deprecated, prefer indicating
|
74
|
+
# CORRECT_PASSWORD through the reasons field instead.
|
62
75
|
PASSWORD_CORRECT = 3
|
63
76
|
|
64
77
|
# Provides information that the event was related to a login event in which
|
65
|
-
# the user typed the incorrect password.
|
78
|
+
# the user typed the incorrect password. Deprecated, prefer indicating
|
79
|
+
# INCORRECT_PASSWORD through the reasons field instead.
|
66
80
|
PASSWORD_INCORRECT = 4
|
67
81
|
end
|
82
|
+
|
83
|
+
# Enum that represents potential reasons for annotating an assessment.
|
84
|
+
module Reason
|
85
|
+
# Default unspecified reason.
|
86
|
+
REASON_UNSPECIFIED = 0
|
87
|
+
|
88
|
+
# Indicates a chargeback for fraud was issued for the transaction
|
89
|
+
# associated with the assessment.
|
90
|
+
CHARGEBACK = 1
|
91
|
+
|
92
|
+
# Indicates the transaction associated with the assessment is suspected of
|
93
|
+
# being fraudulent based on the payment method, billing details, shipping
|
94
|
+
# address or other transaction information.
|
95
|
+
PAYMENT_HEURISTICS = 2
|
96
|
+
|
97
|
+
# Indicates that the user was served a 2FA challenge. An old assessment
|
98
|
+
# with `ENUM_VALUES.INITIATED_TWO_FACTOR` reason that has not been
|
99
|
+
# overwritten with `PASSED_TWO_FACTOR` is treated as an abandoned 2FA flow.
|
100
|
+
# This is equivalent to `FAILED_TWO_FACTOR`.
|
101
|
+
INITIATED_TWO_FACTOR = 7
|
102
|
+
|
103
|
+
# Indicates that the user passed a 2FA challenge.
|
104
|
+
PASSED_TWO_FACTOR = 3
|
105
|
+
|
106
|
+
# Indicates that the user failed a 2FA challenge.
|
107
|
+
FAILED_TWO_FACTOR = 4
|
108
|
+
|
109
|
+
# Indicates the user provided the correct password.
|
110
|
+
CORRECT_PASSWORD = 5
|
111
|
+
|
112
|
+
# Indicates the user provided an incorrect password.
|
113
|
+
INCORRECT_PASSWORD = 6
|
114
|
+
end
|
68
115
|
end
|
69
116
|
|
70
117
|
# Empty response for AnnotateAssessment.
|
@@ -87,6 +134,10 @@ module Google
|
|
87
134
|
# @!attribute [r] token_properties
|
88
135
|
# @return [::Google::Cloud::RecaptchaEnterprise::V1::TokenProperties]
|
89
136
|
# Output only. Properties of the provided event token.
|
137
|
+
# @!attribute [rw] account_defender_assessment
|
138
|
+
# @return [::Google::Cloud::RecaptchaEnterprise::V1::AccountDefenderAssessment]
|
139
|
+
# Assessment returned by Account Defender when a hashed_account_id is
|
140
|
+
# provided.
|
90
141
|
class Assessment
|
91
142
|
include ::Google::Protobuf::MessageExts
|
92
143
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -112,6 +163,10 @@ module Google
|
|
112
163
|
# Optional. The expected action for this type of event. This should be the same action
|
113
164
|
# provided at token generation time on client-side platforms already
|
114
165
|
# integrated with recaptcha enterprise.
|
166
|
+
# @!attribute [rw] hashed_account_id
|
167
|
+
# @return [::String]
|
168
|
+
# Optional. Optional unique stable hashed user identifier for the request. The
|
169
|
+
# identifier should ideally be hashed using sha256 with stable secret.
|
115
170
|
class Event
|
116
171
|
include ::Google::Protobuf::MessageExts
|
117
172
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -130,7 +185,6 @@ module Google
|
|
130
185
|
include ::Google::Protobuf::MessageExts
|
131
186
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
132
187
|
|
133
|
-
# LINT.IfChange(classification_reason)
|
134
188
|
# Reasons contributing to the risk analysis verdict.
|
135
189
|
module ClassificationReason
|
136
190
|
# Default unspecified type.
|
@@ -178,7 +232,6 @@ module Google
|
|
178
232
|
include ::Google::Protobuf::MessageExts
|
179
233
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
180
234
|
|
181
|
-
# LINT.IfChange
|
182
235
|
# Enum that represents the types of invalid token reasons.
|
183
236
|
module InvalidReason
|
184
237
|
# Default unspecified type.
|
@@ -198,6 +251,41 @@ module Google
|
|
198
251
|
|
199
252
|
# The user verification token was not present.
|
200
253
|
MISSING = 5
|
254
|
+
|
255
|
+
# A retriable error (such as network failure) occurred on the browser.
|
256
|
+
# Could easily be simulated by an attacker.
|
257
|
+
BROWSER_ERROR = 6
|
258
|
+
end
|
259
|
+
end
|
260
|
+
|
261
|
+
# Account Defender risk assessment.
|
262
|
+
# @!attribute [rw] labels
|
263
|
+
# @return [::Array<::Google::Cloud::RecaptchaEnterprise::V1::AccountDefenderAssessment::AccountDefenderLabel>]
|
264
|
+
# Labels for this request.
|
265
|
+
class AccountDefenderAssessment
|
266
|
+
include ::Google::Protobuf::MessageExts
|
267
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
268
|
+
|
269
|
+
# Labels returned by Account Defender for this request.
|
270
|
+
module AccountDefenderLabel
|
271
|
+
# Default unspecified type.
|
272
|
+
ACCOUNT_DEFENDER_LABEL_UNSPECIFIED = 0
|
273
|
+
|
274
|
+
# The request matches a known good profile for the user.
|
275
|
+
PROFILE_MATCH = 1
|
276
|
+
|
277
|
+
# The request is potentially a suspicious login event and should be further
|
278
|
+
# verified either via multi-factor authentication or another system.
|
279
|
+
SUSPICIOUS_LOGIN_ACTIVITY = 2
|
280
|
+
|
281
|
+
# The request matched a profile that previously had suspicious account
|
282
|
+
# creation behavior. This could mean this is a fake account.
|
283
|
+
SUSPICIOUS_ACCOUNT_CREATION = 3
|
284
|
+
|
285
|
+
# The account in the request has a high number of related accounts. It does
|
286
|
+
# not necessarily imply that the account is bad but could require
|
287
|
+
# investigating.
|
288
|
+
RELATED_ACCOUNTS_NUMBER_HIGH = 4
|
201
289
|
end
|
202
290
|
end
|
203
291
|
|
@@ -261,7 +349,7 @@ module Google
|
|
261
349
|
# Required. The key to update.
|
262
350
|
# @!attribute [rw] update_mask
|
263
351
|
# @return [::Google::Protobuf::FieldMask]
|
264
|
-
# Optional. The mask to control which
|
352
|
+
# Optional. The mask to control which fields of the key get updated. If the mask is not
|
265
353
|
# present, all fields will be updated.
|
266
354
|
class UpdateKeyRequest
|
267
355
|
include ::Google::Protobuf::MessageExts
|
@@ -278,6 +366,48 @@ module Google
|
|
278
366
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
279
367
|
end
|
280
368
|
|
369
|
+
# The migrate key request message.
|
370
|
+
# @!attribute [rw] name
|
371
|
+
# @return [::String]
|
372
|
+
# Required. The name of the key to be migrated, in the format
|
373
|
+
# "projects/\\{project}/keys/\\{key}".
|
374
|
+
class MigrateKeyRequest
|
375
|
+
include ::Google::Protobuf::MessageExts
|
376
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
377
|
+
end
|
378
|
+
|
379
|
+
# The get metrics request message.
|
380
|
+
# @!attribute [rw] name
|
381
|
+
# @return [::String]
|
382
|
+
# Required. The name of the requested metrics, in the format
|
383
|
+
# "projects/\\{project}/keys/\\{key}/metrics".
|
384
|
+
class GetMetricsRequest
|
385
|
+
include ::Google::Protobuf::MessageExts
|
386
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
387
|
+
end
|
388
|
+
|
389
|
+
# Metrics for a single Key.
|
390
|
+
# @!attribute [r] name
|
391
|
+
# @return [::String]
|
392
|
+
# Output only. The name of the metrics, in the format
|
393
|
+
# "projects/\\{project}/keys/\\{key}/metrics".
|
394
|
+
# @!attribute [rw] start_time
|
395
|
+
# @return [::Google::Protobuf::Timestamp]
|
396
|
+
# Inclusive start time aligned to a day (UTC).
|
397
|
+
# @!attribute [rw] score_metrics
|
398
|
+
# @return [::Array<::Google::Cloud::RecaptchaEnterprise::V1::ScoreMetrics>]
|
399
|
+
# Metrics will be continuous and in order by dates, and in the granularity
|
400
|
+
# of day. All Key types should have score-based data.
|
401
|
+
# @!attribute [rw] challenge_metrics
|
402
|
+
# @return [::Array<::Google::Cloud::RecaptchaEnterprise::V1::ChallengeMetrics>]
|
403
|
+
# Metrics will be continuous and in order by dates, and in the granularity
|
404
|
+
# of day. Only challenge-based keys (CHECKBOX, INVISIBLE), will have
|
405
|
+
# challenge-based data.
|
406
|
+
class Metrics
|
407
|
+
include ::Google::Protobuf::MessageExts
|
408
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
409
|
+
end
|
410
|
+
|
281
411
|
# A key used to identify and configure applications (web and/or mobile) that
|
282
412
|
# use reCAPTCHA Enterprise.
|
283
413
|
# @!attribute [rw] name
|
@@ -298,11 +428,14 @@ module Google
|
|
298
428
|
# Settings for keys that can be used by iOS apps.
|
299
429
|
# @!attribute [rw] labels
|
300
430
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
301
|
-
#
|
431
|
+
# See <a href="https://cloud.google.com/recaptcha-enterprise/docs/labels">
|
302
432
|
# Creating and managing labels</a>.
|
303
433
|
# @!attribute [rw] create_time
|
304
434
|
# @return [::Google::Protobuf::Timestamp]
|
305
435
|
# The timestamp corresponding to the creation of this Key.
|
436
|
+
# @!attribute [rw] testing_options
|
437
|
+
# @return [::Google::Cloud::RecaptchaEnterprise::V1::TestingOptions]
|
438
|
+
# Options for user acceptance testing.
|
306
439
|
class Key
|
307
440
|
include ::Google::Protobuf::MessageExts
|
308
441
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -317,6 +450,37 @@ module Google
|
|
317
450
|
end
|
318
451
|
end
|
319
452
|
|
453
|
+
# Options for user acceptance testing.
|
454
|
+
# @!attribute [rw] testing_score
|
455
|
+
# @return [::Float]
|
456
|
+
# All assessments for this Key will return this score. Must be between 0
|
457
|
+
# (likely not legitimate) and 1 (likely legitimate) inclusive.
|
458
|
+
# @!attribute [rw] testing_challenge
|
459
|
+
# @return [::Google::Cloud::RecaptchaEnterprise::V1::TestingOptions::TestingChallenge]
|
460
|
+
# For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests
|
461
|
+
# for this site will return nocaptcha if NOCAPTCHA, or an unsolvable
|
462
|
+
# challenge if CHALLENGE.
|
463
|
+
class TestingOptions
|
464
|
+
include ::Google::Protobuf::MessageExts
|
465
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
466
|
+
|
467
|
+
# Enum that represents the challenge option for challenge-based (CHECKBOX,
|
468
|
+
# INVISIBLE) testing keys.
|
469
|
+
module TestingChallenge
|
470
|
+
# Perform the normal risk analysis and return either nocaptcha or a
|
471
|
+
# challenge depending on risk and trust factors.
|
472
|
+
TESTING_CHALLENGE_UNSPECIFIED = 0
|
473
|
+
|
474
|
+
# Challenge requests for this key always return a nocaptcha, which
|
475
|
+
# does not require a solution.
|
476
|
+
NOCAPTCHA = 1
|
477
|
+
|
478
|
+
# Challenge requests for this key always return an unsolvable
|
479
|
+
# challenge.
|
480
|
+
UNSOLVABLE_CHALLENGE = 2
|
481
|
+
end
|
482
|
+
end
|
483
|
+
|
320
484
|
# Settings specific to keys that can be used by websites.
|
321
485
|
# @!attribute [rw] allow_all_domains
|
322
486
|
# @return [::Boolean]
|
@@ -329,7 +493,8 @@ module Google
|
|
329
493
|
# Examples: 'example.com' or 'subdomain.example.com'
|
330
494
|
# @!attribute [rw] allow_amp_traffic
|
331
495
|
# @return [::Boolean]
|
332
|
-
#
|
496
|
+
# If set to true, the key can be used on AMP (Accelerated Mobile Pages)
|
497
|
+
# websites. This is supported only for the SCORE integration type.
|
333
498
|
# @!attribute [rw] integration_type
|
334
499
|
# @return [::Google::Cloud::RecaptchaEnterprise::V1::WebKeySettings::IntegrationType]
|
335
500
|
# Required. Describes how this key is integrated with the website.
|
@@ -380,6 +545,9 @@ module Google
|
|
380
545
|
end
|
381
546
|
|
382
547
|
# Settings specific to keys that can be used by Android apps.
|
548
|
+
# @!attribute [rw] allow_all_package_names
|
549
|
+
# @return [::Boolean]
|
550
|
+
# If set to true, allowed_package_names are not enforced.
|
383
551
|
# @!attribute [rw] allowed_package_names
|
384
552
|
# @return [::Array<::String>]
|
385
553
|
# Android package names of apps allowed to use the key.
|
@@ -390,6 +558,9 @@ module Google
|
|
390
558
|
end
|
391
559
|
|
392
560
|
# Settings specific to keys that can be used by iOS apps.
|
561
|
+
# @!attribute [rw] allow_all_bundle_ids
|
562
|
+
# @return [::Boolean]
|
563
|
+
# If set to true, allowed_bundle_ids are not enforced.
|
393
564
|
# @!attribute [rw] allowed_bundle_ids
|
394
565
|
# @return [::Array<::String>]
|
395
566
|
# iOS bundle ids of apps allowed to use the key.
|
@@ -398,6 +569,213 @@ module Google
|
|
398
569
|
include ::Google::Protobuf::MessageExts
|
399
570
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
400
571
|
end
|
572
|
+
|
573
|
+
# Score distribution.
|
574
|
+
# @!attribute [rw] score_buckets
|
575
|
+
# @return [::Google::Protobuf::Map{::Integer => ::Integer}]
|
576
|
+
# Map key is score value multiplied by 100. The scores are discrete values
|
577
|
+
# between [0, 1]. The maximum number of buckets is on order of a few dozen,
|
578
|
+
# but typically much lower (ie. 10).
|
579
|
+
class ScoreDistribution
|
580
|
+
include ::Google::Protobuf::MessageExts
|
581
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
582
|
+
|
583
|
+
# @!attribute [rw] key
|
584
|
+
# @return [::Integer]
|
585
|
+
# @!attribute [rw] value
|
586
|
+
# @return [::Integer]
|
587
|
+
class ScoreBucketsEntry
|
588
|
+
include ::Google::Protobuf::MessageExts
|
589
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
590
|
+
end
|
591
|
+
end
|
592
|
+
|
593
|
+
# Metrics related to scoring.
|
594
|
+
# @!attribute [rw] overall_metrics
|
595
|
+
# @return [::Google::Cloud::RecaptchaEnterprise::V1::ScoreDistribution]
|
596
|
+
# Aggregated score metrics for all traffic.
|
597
|
+
# @!attribute [rw] action_metrics
|
598
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::RecaptchaEnterprise::V1::ScoreDistribution}]
|
599
|
+
# Action-based metrics. The map key is the action name which specified by the
|
600
|
+
# site owners at time of the "execute" client-side call.
|
601
|
+
# Populated only for SCORE keys.
|
602
|
+
class ScoreMetrics
|
603
|
+
include ::Google::Protobuf::MessageExts
|
604
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
605
|
+
|
606
|
+
# @!attribute [rw] key
|
607
|
+
# @return [::String]
|
608
|
+
# @!attribute [rw] value
|
609
|
+
# @return [::Google::Cloud::RecaptchaEnterprise::V1::ScoreDistribution]
|
610
|
+
class ActionMetricsEntry
|
611
|
+
include ::Google::Protobuf::MessageExts
|
612
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
613
|
+
end
|
614
|
+
end
|
615
|
+
|
616
|
+
# Metrics related to challenges.
|
617
|
+
# @!attribute [rw] pageload_count
|
618
|
+
# @return [::Integer]
|
619
|
+
# Count of reCAPTCHA checkboxes or badges rendered. This is mostly equivalent
|
620
|
+
# to a count of pageloads for pages that include reCAPTCHA.
|
621
|
+
# @!attribute [rw] nocaptcha_count
|
622
|
+
# @return [::Integer]
|
623
|
+
# Count of nocaptchas (successful verification without a challenge) issued.
|
624
|
+
# @!attribute [rw] failed_count
|
625
|
+
# @return [::Integer]
|
626
|
+
# Count of submitted challenge solutions that were incorrect or otherwise
|
627
|
+
# deemed suspicious such that a subsequent challenge was triggered.
|
628
|
+
# @!attribute [rw] passed_count
|
629
|
+
# @return [::Integer]
|
630
|
+
# Count of nocaptchas (successful verification without a challenge) plus
|
631
|
+
# submitted challenge solutions that were correct and resulted in
|
632
|
+
# verification.
|
633
|
+
class ChallengeMetrics
|
634
|
+
include ::Google::Protobuf::MessageExts
|
635
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
636
|
+
end
|
637
|
+
|
638
|
+
# The request message to list memberships in a related account group.
|
639
|
+
# @!attribute [rw] parent
|
640
|
+
# @return [::String]
|
641
|
+
# Required. The resource name for the related account group in the format
|
642
|
+
# `projects/{project}/relatedaccountgroups/{relatedaccountgroup}`.
|
643
|
+
# @!attribute [rw] page_size
|
644
|
+
# @return [::Integer]
|
645
|
+
# Optional. The maximum number of accounts to return. The service may return fewer than
|
646
|
+
# this value.
|
647
|
+
# If unspecified, at most 50 accounts will be returned.
|
648
|
+
# The maximum value is 1000; values above 1000 will be coerced to 1000.
|
649
|
+
# @!attribute [rw] page_token
|
650
|
+
# @return [::String]
|
651
|
+
# Optional. A page token, received from a previous `ListRelatedAccountGroupMemberships`
|
652
|
+
# call.
|
653
|
+
#
|
654
|
+
# When paginating, all other parameters provided to
|
655
|
+
# `ListRelatedAccountGroupMemberships` must match the call that provided the
|
656
|
+
# page token.
|
657
|
+
class ListRelatedAccountGroupMembershipsRequest
|
658
|
+
include ::Google::Protobuf::MessageExts
|
659
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
660
|
+
end
|
661
|
+
|
662
|
+
# The response to a `ListRelatedAccountGroupMemberships` call.
|
663
|
+
# @!attribute [rw] related_account_group_memberships
|
664
|
+
# @return [::Array<::Google::Cloud::RecaptchaEnterprise::V1::RelatedAccountGroupMembership>]
|
665
|
+
# The memberships listed by the query.
|
666
|
+
# @!attribute [rw] next_page_token
|
667
|
+
# @return [::String]
|
668
|
+
# A token, which can be sent as `page_token` to retrieve the next page.
|
669
|
+
# If this field is omitted, there are no subsequent pages.
|
670
|
+
class ListRelatedAccountGroupMembershipsResponse
|
671
|
+
include ::Google::Protobuf::MessageExts
|
672
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
673
|
+
end
|
674
|
+
|
675
|
+
# The request message to list related account groups.
|
676
|
+
# @!attribute [rw] parent
|
677
|
+
# @return [::String]
|
678
|
+
# Required. The name of the project to list related account groups from, in the format
|
679
|
+
# "projects/\\{project}".
|
680
|
+
# @!attribute [rw] page_size
|
681
|
+
# @return [::Integer]
|
682
|
+
# Optional. The maximum number of groups to return. The service may return fewer than
|
683
|
+
# this value.
|
684
|
+
# If unspecified, at most 50 groups will be returned.
|
685
|
+
# The maximum value is 1000; values above 1000 will be coerced to 1000.
|
686
|
+
# @!attribute [rw] page_token
|
687
|
+
# @return [::String]
|
688
|
+
# Optional. A page token, received from a previous `ListRelatedAccountGroups` call.
|
689
|
+
# Provide this to retrieve the subsequent page.
|
690
|
+
#
|
691
|
+
# When paginating, all other parameters provided to
|
692
|
+
# `ListRelatedAccountGroups` must match the call that provided the page
|
693
|
+
# token.
|
694
|
+
class ListRelatedAccountGroupsRequest
|
695
|
+
include ::Google::Protobuf::MessageExts
|
696
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
697
|
+
end
|
698
|
+
|
699
|
+
# The response to a `ListRelatedAccountGroups` call.
|
700
|
+
# @!attribute [rw] related_account_groups
|
701
|
+
# @return [::Array<::Google::Cloud::RecaptchaEnterprise::V1::RelatedAccountGroup>]
|
702
|
+
# The groups of related accounts listed by the query.
|
703
|
+
# @!attribute [rw] next_page_token
|
704
|
+
# @return [::String]
|
705
|
+
# A token, which can be sent as `page_token` to retrieve the next page.
|
706
|
+
# If this field is omitted, there are no subsequent pages.
|
707
|
+
class ListRelatedAccountGroupsResponse
|
708
|
+
include ::Google::Protobuf::MessageExts
|
709
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
710
|
+
end
|
711
|
+
|
712
|
+
# The request message to search related account group memberships.
|
713
|
+
# @!attribute [rw] parent
|
714
|
+
# @return [::String]
|
715
|
+
# Required. The name of the project to search related account group memberships from,
|
716
|
+
# in the format "projects/\\{project}".
|
717
|
+
# @!attribute [rw] hashed_account_id
|
718
|
+
# @return [::String]
|
719
|
+
# Optional. The unique stable hashed user identifier we should search connections to.
|
720
|
+
# The identifier should correspond to a `hashed_account_id` provided in a
|
721
|
+
# previous CreateAssessment or AnnotateAssessment call.
|
722
|
+
# @!attribute [rw] page_size
|
723
|
+
# @return [::Integer]
|
724
|
+
# Optional. The maximum number of groups to return. The service may return fewer than
|
725
|
+
# this value.
|
726
|
+
# If unspecified, at most 50 groups will be returned.
|
727
|
+
# The maximum value is 1000; values above 1000 will be coerced to 1000.
|
728
|
+
# @!attribute [rw] page_token
|
729
|
+
# @return [::String]
|
730
|
+
# Optional. A page token, received from a previous
|
731
|
+
# `SearchRelatedAccountGroupMemberships` call. Provide this to retrieve the
|
732
|
+
# subsequent page.
|
733
|
+
#
|
734
|
+
# When paginating, all other parameters provided to
|
735
|
+
# `SearchRelatedAccountGroupMemberships` must match the call that provided
|
736
|
+
# the page token.
|
737
|
+
class SearchRelatedAccountGroupMembershipsRequest
|
738
|
+
include ::Google::Protobuf::MessageExts
|
739
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
740
|
+
end
|
741
|
+
|
742
|
+
# The response to a `SearchRelatedAccountGroupMemberships` call.
|
743
|
+
# @!attribute [rw] related_account_group_memberships
|
744
|
+
# @return [::Array<::Google::Cloud::RecaptchaEnterprise::V1::RelatedAccountGroupMembership>]
|
745
|
+
# The queried memberships.
|
746
|
+
# @!attribute [rw] next_page_token
|
747
|
+
# @return [::String]
|
748
|
+
# A token, which can be sent as `page_token` to retrieve the next page.
|
749
|
+
# If this field is omitted, there are no subsequent pages.
|
750
|
+
class SearchRelatedAccountGroupMembershipsResponse
|
751
|
+
include ::Google::Protobuf::MessageExts
|
752
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
753
|
+
end
|
754
|
+
|
755
|
+
# A membership in a group of related accounts.
|
756
|
+
# @!attribute [rw] name
|
757
|
+
# @return [::String]
|
758
|
+
# Required. The resource name for this membership in the format
|
759
|
+
# `projects/{project}/relatedaccountgroups/{relatedaccountgroup}/memberships/{membership}`.
|
760
|
+
# @!attribute [rw] hashed_account_id
|
761
|
+
# @return [::String]
|
762
|
+
# The unique stable hashed user identifier of the member. The identifier
|
763
|
+
# corresponds to a `hashed_account_id` provided in a previous
|
764
|
+
# CreateAssessment or AnnotateAssessment call.
|
765
|
+
class RelatedAccountGroupMembership
|
766
|
+
include ::Google::Protobuf::MessageExts
|
767
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
768
|
+
end
|
769
|
+
|
770
|
+
# A group of related accounts.
|
771
|
+
# @!attribute [rw] name
|
772
|
+
# @return [::String]
|
773
|
+
# Required. The resource name for the related account group in the format
|
774
|
+
# `projects/{project}/relatedaccountgroups/{related_account_group}`.
|
775
|
+
class RelatedAccountGroup
|
776
|
+
include ::Google::Protobuf::MessageExts
|
777
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
778
|
+
end
|
401
779
|
end
|
402
780
|
end
|
403
781
|
end
|
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.6.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: 2021-
|
11
|
+
date: 2021-11-08 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: '0.
|
19
|
+
version: '0.7'
|
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: '0.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|