google-apis-recaptchaenterprise_v1 0.5.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/recaptchaenterprise_v1/classes.rb +227 -2
- data/lib/google/apis/recaptchaenterprise_v1/gem_version.rb +2 -2
- data/lib/google/apis/recaptchaenterprise_v1/representations.rb +106 -0
- data/lib/google/apis/recaptchaenterprise_v1/service.rb +118 -0
- data/lib/google/apis/recaptchaenterprise_v1.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d3d0a0e572e2fe7aeb67eaf6ad1636fb7774beacbfff5329b866da683f38377
|
4
|
+
data.tar.gz: '0677937ae5a5edcee08553941e21e2f2377bac3690fc793aded7bf0254fcc292'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02df2fd17c2326b72db6d527c6b40d77cae17d04ea1389fd431e0abb8014930cb7eb8a99876fac43ed3ac3cdc04237edfb3868ee7802dbed09ab227229f114eb
|
7
|
+
data.tar.gz: fd7182d31036f38a6fe93ca3815462e0677db892de91e3194de2497b238bb3cda52620ae309c4a70fb0d90a5a8771e2075f011106974b1262b35c36843e849d8
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-recaptchaenterprise_v1
|
2
2
|
|
3
|
+
### v0.9.0 (2021-11-02)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211029
|
6
|
+
|
7
|
+
### v0.8.0 (2021-10-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211022
|
10
|
+
* Unspecified changes
|
11
|
+
|
12
|
+
### v0.7.0 (2021-09-07)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210903
|
15
|
+
|
16
|
+
### v0.6.0 (2021-09-01)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210806
|
19
|
+
|
3
20
|
### v0.5.0 (2021-08-03)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210731
|
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Recaptchaenterprise service in particular.)
|
67
67
|
|
@@ -22,10 +22,35 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module RecaptchaenterpriseV1
|
24
24
|
|
25
|
+
# Account Defender risk assessment.
|
26
|
+
class GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# Labels for this request.
|
30
|
+
# Corresponds to the JSON property `labels`
|
31
|
+
# @return [Array<String>]
|
32
|
+
attr_accessor :labels
|
33
|
+
|
34
|
+
def initialize(**args)
|
35
|
+
update!(**args)
|
36
|
+
end
|
37
|
+
|
38
|
+
# Update properties of this object
|
39
|
+
def update!(**args)
|
40
|
+
@labels = args[:labels] if args.key?(:labels)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
25
44
|
# Settings specific to keys that can be used by Android apps.
|
26
45
|
class GoogleCloudRecaptchaenterpriseV1AndroidKeySettings
|
27
46
|
include Google::Apis::Core::Hashable
|
28
47
|
|
48
|
+
# If set to true, allowed_package_names are not enforced.
|
49
|
+
# Corresponds to the JSON property `allowAllPackageNames`
|
50
|
+
# @return [Boolean]
|
51
|
+
attr_accessor :allow_all_package_names
|
52
|
+
alias_method :allow_all_package_names?, :allow_all_package_names
|
53
|
+
|
29
54
|
# Android package names of apps allowed to use the key. Example: 'com.
|
30
55
|
# companyname.appname'
|
31
56
|
# Corresponds to the JSON property `allowedPackageNames`
|
@@ -38,6 +63,7 @@ module Google
|
|
38
63
|
|
39
64
|
# Update properties of this object
|
40
65
|
def update!(**args)
|
66
|
+
@allow_all_package_names = args[:allow_all_package_names] if args.key?(:allow_all_package_names)
|
41
67
|
@allowed_package_names = args[:allowed_package_names] if args.key?(:allowed_package_names)
|
42
68
|
end
|
43
69
|
end
|
@@ -53,6 +79,16 @@ module Google
|
|
53
79
|
# @return [String]
|
54
80
|
attr_accessor :annotation
|
55
81
|
|
82
|
+
# Optional. Optional unique stable hashed user identifier to apply to the
|
83
|
+
# assessment. This is an alternative to setting the hashed_account_id in
|
84
|
+
# CreateAssessment, for example when the account identifier is not yet known in
|
85
|
+
# the initial request. It is recommended that the identifier is hashed using
|
86
|
+
# hmac-sha256 with stable secret.
|
87
|
+
# Corresponds to the JSON property `hashedAccountId`
|
88
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
89
|
+
# @return [String]
|
90
|
+
attr_accessor :hashed_account_id
|
91
|
+
|
56
92
|
# Optional. Optional reasons for the annotation that will be assigned to the
|
57
93
|
# Event.
|
58
94
|
# Corresponds to the JSON property `reasons`
|
@@ -66,6 +102,7 @@ module Google
|
|
66
102
|
# Update properties of this object
|
67
103
|
def update!(**args)
|
68
104
|
@annotation = args[:annotation] if args.key?(:annotation)
|
105
|
+
@hashed_account_id = args[:hashed_account_id] if args.key?(:hashed_account_id)
|
69
106
|
@reasons = args[:reasons] if args.key?(:reasons)
|
70
107
|
end
|
71
108
|
end
|
@@ -87,6 +124,11 @@ module Google
|
|
87
124
|
class GoogleCloudRecaptchaenterpriseV1Assessment
|
88
125
|
include Google::Apis::Core::Hashable
|
89
126
|
|
127
|
+
# Account Defender risk assessment.
|
128
|
+
# Corresponds to the JSON property `accountDefenderAssessment`
|
129
|
+
# @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment]
|
130
|
+
attr_accessor :account_defender_assessment
|
131
|
+
|
90
132
|
# The event being assessed.
|
91
133
|
# Corresponds to the JSON property `event`
|
92
134
|
# @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Event]
|
@@ -114,6 +156,7 @@ module Google
|
|
114
156
|
|
115
157
|
# Update properties of this object
|
116
158
|
def update!(**args)
|
159
|
+
@account_defender_assessment = args[:account_defender_assessment] if args.key?(:account_defender_assessment)
|
117
160
|
@event = args[:event] if args.key?(:event)
|
118
161
|
@name = args[:name] if args.key?(:name)
|
119
162
|
@risk_analysis = args[:risk_analysis] if args.key?(:risk_analysis)
|
@@ -172,6 +215,13 @@ module Google
|
|
172
215
|
# @return [String]
|
173
216
|
attr_accessor :expected_action
|
174
217
|
|
218
|
+
# Optional. Optional unique stable hashed user identifier for the request. The
|
219
|
+
# identifier should ideally be hashed using sha256 with stable secret.
|
220
|
+
# Corresponds to the JSON property `hashedAccountId`
|
221
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
222
|
+
# @return [String]
|
223
|
+
attr_accessor :hashed_account_id
|
224
|
+
|
175
225
|
# Optional. The site key that was used to invoke reCAPTCHA on your site and
|
176
226
|
# generate the token.
|
177
227
|
# Corresponds to the JSON property `siteKey`
|
@@ -203,6 +253,7 @@ module Google
|
|
203
253
|
# Update properties of this object
|
204
254
|
def update!(**args)
|
205
255
|
@expected_action = args[:expected_action] if args.key?(:expected_action)
|
256
|
+
@hashed_account_id = args[:hashed_account_id] if args.key?(:hashed_account_id)
|
206
257
|
@site_key = args[:site_key] if args.key?(:site_key)
|
207
258
|
@token = args[:token] if args.key?(:token)
|
208
259
|
@user_agent = args[:user_agent] if args.key?(:user_agent)
|
@@ -214,6 +265,12 @@ module Google
|
|
214
265
|
class GoogleCloudRecaptchaenterpriseV1IosKeySettings
|
215
266
|
include Google::Apis::Core::Hashable
|
216
267
|
|
268
|
+
# If set to true, allowed_bundle_ids are not enforced.
|
269
|
+
# Corresponds to the JSON property `allowAllBundleIds`
|
270
|
+
# @return [Boolean]
|
271
|
+
attr_accessor :allow_all_bundle_ids
|
272
|
+
alias_method :allow_all_bundle_ids?, :allow_all_bundle_ids
|
273
|
+
|
217
274
|
# iOS bundle ids of apps allowed to use the key. Example: 'com.companyname.
|
218
275
|
# productname.appname'
|
219
276
|
# Corresponds to the JSON property `allowedBundleIds`
|
@@ -226,6 +283,7 @@ module Google
|
|
226
283
|
|
227
284
|
# Update properties of this object
|
228
285
|
def update!(**args)
|
286
|
+
@allow_all_bundle_ids = args[:allow_all_bundle_ids] if args.key?(:allow_all_bundle_ids)
|
229
287
|
@allowed_bundle_ids = args[:allowed_bundle_ids] if args.key?(:allowed_bundle_ids)
|
230
288
|
end
|
231
289
|
end
|
@@ -318,6 +376,58 @@ module Google
|
|
318
376
|
end
|
319
377
|
end
|
320
378
|
|
379
|
+
# The response to a `ListRelatedAccountGroupMemberships` call.
|
380
|
+
class GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupMembershipsResponse
|
381
|
+
include Google::Apis::Core::Hashable
|
382
|
+
|
383
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
384
|
+
# field is omitted, there are no subsequent pages.
|
385
|
+
# Corresponds to the JSON property `nextPageToken`
|
386
|
+
# @return [String]
|
387
|
+
attr_accessor :next_page_token
|
388
|
+
|
389
|
+
# The memberships listed by the query.
|
390
|
+
# Corresponds to the JSON property `relatedAccountGroupMemberships`
|
391
|
+
# @return [Array<Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership>]
|
392
|
+
attr_accessor :related_account_group_memberships
|
393
|
+
|
394
|
+
def initialize(**args)
|
395
|
+
update!(**args)
|
396
|
+
end
|
397
|
+
|
398
|
+
# Update properties of this object
|
399
|
+
def update!(**args)
|
400
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
401
|
+
@related_account_group_memberships = args[:related_account_group_memberships] if args.key?(:related_account_group_memberships)
|
402
|
+
end
|
403
|
+
end
|
404
|
+
|
405
|
+
# The response to a `ListRelatedAccountGroups` call.
|
406
|
+
class GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupsResponse
|
407
|
+
include Google::Apis::Core::Hashable
|
408
|
+
|
409
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
410
|
+
# field is omitted, there are no subsequent pages.
|
411
|
+
# Corresponds to the JSON property `nextPageToken`
|
412
|
+
# @return [String]
|
413
|
+
attr_accessor :next_page_token
|
414
|
+
|
415
|
+
# The groups of related accounts listed by the query.
|
416
|
+
# Corresponds to the JSON property `relatedAccountGroups`
|
417
|
+
# @return [Array<Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RelatedAccountGroup>]
|
418
|
+
attr_accessor :related_account_groups
|
419
|
+
|
420
|
+
def initialize(**args)
|
421
|
+
update!(**args)
|
422
|
+
end
|
423
|
+
|
424
|
+
# Update properties of this object
|
425
|
+
def update!(**args)
|
426
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
427
|
+
@related_account_groups = args[:related_account_groups] if args.key?(:related_account_groups)
|
428
|
+
end
|
429
|
+
end
|
430
|
+
|
321
431
|
# Metrics for a single Key.
|
322
432
|
class GoogleCloudRecaptchaenterpriseV1Metrics
|
323
433
|
include Google::Apis::Core::Hashable
|
@@ -372,6 +482,55 @@ module Google
|
|
372
482
|
end
|
373
483
|
end
|
374
484
|
|
485
|
+
# A group of related accounts.
|
486
|
+
class GoogleCloudRecaptchaenterpriseV1RelatedAccountGroup
|
487
|
+
include Google::Apis::Core::Hashable
|
488
|
+
|
489
|
+
# Required. The resource name for the related account group in the format `
|
490
|
+
# projects/`project`/relatedaccountgroups/`related_account_group``.
|
491
|
+
# Corresponds to the JSON property `name`
|
492
|
+
# @return [String]
|
493
|
+
attr_accessor :name
|
494
|
+
|
495
|
+
def initialize(**args)
|
496
|
+
update!(**args)
|
497
|
+
end
|
498
|
+
|
499
|
+
# Update properties of this object
|
500
|
+
def update!(**args)
|
501
|
+
@name = args[:name] if args.key?(:name)
|
502
|
+
end
|
503
|
+
end
|
504
|
+
|
505
|
+
# A membership in a group of related accounts.
|
506
|
+
class GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership
|
507
|
+
include Google::Apis::Core::Hashable
|
508
|
+
|
509
|
+
# The unique stable hashed user identifier of the member. The identifier
|
510
|
+
# corresponds to a `hashed_account_id` provided in a previous CreateAssessment
|
511
|
+
# or AnnotateAssessment call.
|
512
|
+
# Corresponds to the JSON property `hashedAccountId`
|
513
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
514
|
+
# @return [String]
|
515
|
+
attr_accessor :hashed_account_id
|
516
|
+
|
517
|
+
# Required. The resource name for this membership in the format `projects/`
|
518
|
+
# project`/relatedaccountgroups/`relatedaccountgroup`/memberships/`membership``.
|
519
|
+
# Corresponds to the JSON property `name`
|
520
|
+
# @return [String]
|
521
|
+
attr_accessor :name
|
522
|
+
|
523
|
+
def initialize(**args)
|
524
|
+
update!(**args)
|
525
|
+
end
|
526
|
+
|
527
|
+
# Update properties of this object
|
528
|
+
def update!(**args)
|
529
|
+
@hashed_account_id = args[:hashed_account_id] if args.key?(:hashed_account_id)
|
530
|
+
@name = args[:name] if args.key?(:name)
|
531
|
+
end
|
532
|
+
end
|
533
|
+
|
375
534
|
# Risk analysis result for an event.
|
376
535
|
class GoogleCloudRecaptchaenterpriseV1RiskAnalysis
|
377
536
|
include Google::Apis::Core::Hashable
|
@@ -446,6 +605,72 @@ module Google
|
|
446
605
|
end
|
447
606
|
end
|
448
607
|
|
608
|
+
# The request message to search related account group memberships.
|
609
|
+
class GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsRequest
|
610
|
+
include Google::Apis::Core::Hashable
|
611
|
+
|
612
|
+
# Optional. The unique stable hashed user identifier we should search
|
613
|
+
# connections to. The identifier should correspond to a `hashed_account_id`
|
614
|
+
# provided in a previous CreateAssessment or AnnotateAssessment call.
|
615
|
+
# Corresponds to the JSON property `hashedAccountId`
|
616
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
617
|
+
# @return [String]
|
618
|
+
attr_accessor :hashed_account_id
|
619
|
+
|
620
|
+
# Optional. The maximum number of groups to return. The service may return fewer
|
621
|
+
# than this value. If unspecified, at most 50 groups will be returned. The
|
622
|
+
# maximum value is 1000; values above 1000 will be coerced to 1000.
|
623
|
+
# Corresponds to the JSON property `pageSize`
|
624
|
+
# @return [Fixnum]
|
625
|
+
attr_accessor :page_size
|
626
|
+
|
627
|
+
# Optional. A page token, received from a previous `
|
628
|
+
# SearchRelatedAccountGroupMemberships` call. Provide this to retrieve the
|
629
|
+
# subsequent page. When paginating, all other parameters provided to `
|
630
|
+
# SearchRelatedAccountGroupMemberships` must match the call that provided the
|
631
|
+
# page token.
|
632
|
+
# Corresponds to the JSON property `pageToken`
|
633
|
+
# @return [String]
|
634
|
+
attr_accessor :page_token
|
635
|
+
|
636
|
+
def initialize(**args)
|
637
|
+
update!(**args)
|
638
|
+
end
|
639
|
+
|
640
|
+
# Update properties of this object
|
641
|
+
def update!(**args)
|
642
|
+
@hashed_account_id = args[:hashed_account_id] if args.key?(:hashed_account_id)
|
643
|
+
@page_size = args[:page_size] if args.key?(:page_size)
|
644
|
+
@page_token = args[:page_token] if args.key?(:page_token)
|
645
|
+
end
|
646
|
+
end
|
647
|
+
|
648
|
+
# The response to a `SearchRelatedAccountGroupMemberships` call.
|
649
|
+
class GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsResponse
|
650
|
+
include Google::Apis::Core::Hashable
|
651
|
+
|
652
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
653
|
+
# field is omitted, there are no subsequent pages.
|
654
|
+
# Corresponds to the JSON property `nextPageToken`
|
655
|
+
# @return [String]
|
656
|
+
attr_accessor :next_page_token
|
657
|
+
|
658
|
+
# The queried memberships.
|
659
|
+
# Corresponds to the JSON property `relatedAccountGroupMemberships`
|
660
|
+
# @return [Array<Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership>]
|
661
|
+
attr_accessor :related_account_group_memberships
|
662
|
+
|
663
|
+
def initialize(**args)
|
664
|
+
update!(**args)
|
665
|
+
end
|
666
|
+
|
667
|
+
# Update properties of this object
|
668
|
+
def update!(**args)
|
669
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
670
|
+
@related_account_group_memberships = args[:related_account_group_memberships] if args.key?(:related_account_group_memberships)
|
671
|
+
end
|
672
|
+
end
|
673
|
+
|
449
674
|
# Options for user acceptance testing.
|
450
675
|
class GoogleCloudRecaptchaenterpriseV1TestingOptions
|
451
676
|
include Google::Apis::Core::Hashable
|
@@ -531,8 +756,8 @@ module Google
|
|
531
756
|
attr_accessor :allow_all_domains
|
532
757
|
alias_method :allow_all_domains?, :allow_all_domains
|
533
758
|
|
534
|
-
#
|
535
|
-
#
|
759
|
+
# If set to true, the key can be used on AMP (Accelerated Mobile Pages) websites.
|
760
|
+
# This is supported only for the SCORE integration type.
|
536
761
|
# Corresponds to the JSON property `allowAmpTraffic`
|
537
762
|
# @return [Boolean]
|
538
763
|
attr_accessor :allow_amp_traffic
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module RecaptchaenterpriseV1
|
18
18
|
# Version of the google-apis-recaptchaenterprise_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.9.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211029"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module RecaptchaenterpriseV1
|
24
24
|
|
25
|
+
class GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
25
31
|
class GoogleCloudRecaptchaenterpriseV1AndroidKeySettings
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
@@ -76,6 +82,18 @@ module Google
|
|
76
82
|
include Google::Apis::Core::JsonObjectSupport
|
77
83
|
end
|
78
84
|
|
85
|
+
class GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupMembershipsResponse
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupsResponse
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
79
97
|
class GoogleCloudRecaptchaenterpriseV1Metrics
|
80
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
99
|
|
@@ -88,6 +106,18 @@ module Google
|
|
88
106
|
include Google::Apis::Core::JsonObjectSupport
|
89
107
|
end
|
90
108
|
|
109
|
+
class GoogleCloudRecaptchaenterpriseV1RelatedAccountGroup
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
91
121
|
class GoogleCloudRecaptchaenterpriseV1RiskAnalysis
|
92
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
123
|
|
@@ -106,6 +136,18 @@ module Google
|
|
106
136
|
include Google::Apis::Core::JsonObjectSupport
|
107
137
|
end
|
108
138
|
|
139
|
+
class GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsRequest
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsResponse
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
109
151
|
class GoogleCloudRecaptchaenterpriseV1TestingOptions
|
110
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
153
|
|
@@ -130,9 +172,17 @@ module Google
|
|
130
172
|
include Google::Apis::Core::JsonObjectSupport
|
131
173
|
end
|
132
174
|
|
175
|
+
class GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment
|
176
|
+
# @private
|
177
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
178
|
+
collection :labels, as: 'labels'
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
133
182
|
class GoogleCloudRecaptchaenterpriseV1AndroidKeySettings
|
134
183
|
# @private
|
135
184
|
class Representation < Google::Apis::Core::JsonRepresentation
|
185
|
+
property :allow_all_package_names, as: 'allowAllPackageNames'
|
136
186
|
collection :allowed_package_names, as: 'allowedPackageNames'
|
137
187
|
end
|
138
188
|
end
|
@@ -141,6 +191,7 @@ module Google
|
|
141
191
|
# @private
|
142
192
|
class Representation < Google::Apis::Core::JsonRepresentation
|
143
193
|
property :annotation, as: 'annotation'
|
194
|
+
property :hashed_account_id, :base64 => true, as: 'hashedAccountId'
|
144
195
|
collection :reasons, as: 'reasons'
|
145
196
|
end
|
146
197
|
end
|
@@ -154,6 +205,8 @@ module Google
|
|
154
205
|
class GoogleCloudRecaptchaenterpriseV1Assessment
|
155
206
|
# @private
|
156
207
|
class Representation < Google::Apis::Core::JsonRepresentation
|
208
|
+
property :account_defender_assessment, as: 'accountDefenderAssessment', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment::Representation
|
209
|
+
|
157
210
|
property :event, as: 'event', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Event, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Event::Representation
|
158
211
|
|
159
212
|
property :name, as: 'name'
|
@@ -178,6 +231,7 @@ module Google
|
|
178
231
|
# @private
|
179
232
|
class Representation < Google::Apis::Core::JsonRepresentation
|
180
233
|
property :expected_action, as: 'expectedAction'
|
234
|
+
property :hashed_account_id, :base64 => true, as: 'hashedAccountId'
|
181
235
|
property :site_key, as: 'siteKey'
|
182
236
|
property :token, as: 'token'
|
183
237
|
property :user_agent, as: 'userAgent'
|
@@ -188,6 +242,7 @@ module Google
|
|
188
242
|
class GoogleCloudRecaptchaenterpriseV1IosKeySettings
|
189
243
|
# @private
|
190
244
|
class Representation < Google::Apis::Core::JsonRepresentation
|
245
|
+
property :allow_all_bundle_ids, as: 'allowAllBundleIds'
|
191
246
|
collection :allowed_bundle_ids, as: 'allowedBundleIds'
|
192
247
|
end
|
193
248
|
end
|
@@ -219,6 +274,24 @@ module Google
|
|
219
274
|
end
|
220
275
|
end
|
221
276
|
|
277
|
+
class GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupMembershipsResponse
|
278
|
+
# @private
|
279
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
280
|
+
property :next_page_token, as: 'nextPageToken'
|
281
|
+
collection :related_account_group_memberships, as: 'relatedAccountGroupMemberships', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership::Representation
|
282
|
+
|
283
|
+
end
|
284
|
+
end
|
285
|
+
|
286
|
+
class GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupsResponse
|
287
|
+
# @private
|
288
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
289
|
+
property :next_page_token, as: 'nextPageToken'
|
290
|
+
collection :related_account_groups, as: 'relatedAccountGroups', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RelatedAccountGroup, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RelatedAccountGroup::Representation
|
291
|
+
|
292
|
+
end
|
293
|
+
end
|
294
|
+
|
222
295
|
class GoogleCloudRecaptchaenterpriseV1Metrics
|
223
296
|
# @private
|
224
297
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -237,6 +310,21 @@ module Google
|
|
237
310
|
end
|
238
311
|
end
|
239
312
|
|
313
|
+
class GoogleCloudRecaptchaenterpriseV1RelatedAccountGroup
|
314
|
+
# @private
|
315
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
316
|
+
property :name, as: 'name'
|
317
|
+
end
|
318
|
+
end
|
319
|
+
|
320
|
+
class GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership
|
321
|
+
# @private
|
322
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
323
|
+
property :hashed_account_id, :base64 => true, as: 'hashedAccountId'
|
324
|
+
property :name, as: 'name'
|
325
|
+
end
|
326
|
+
end
|
327
|
+
|
240
328
|
class GoogleCloudRecaptchaenterpriseV1RiskAnalysis
|
241
329
|
# @private
|
242
330
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -262,6 +350,24 @@ module Google
|
|
262
350
|
end
|
263
351
|
end
|
264
352
|
|
353
|
+
class GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsRequest
|
354
|
+
# @private
|
355
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
356
|
+
property :hashed_account_id, :base64 => true, as: 'hashedAccountId'
|
357
|
+
property :page_size, as: 'pageSize'
|
358
|
+
property :page_token, as: 'pageToken'
|
359
|
+
end
|
360
|
+
end
|
361
|
+
|
362
|
+
class GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsResponse
|
363
|
+
# @private
|
364
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
365
|
+
property :next_page_token, as: 'nextPageToken'
|
366
|
+
collection :related_account_group_memberships, as: 'relatedAccountGroupMemberships', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership::Representation
|
367
|
+
|
368
|
+
end
|
369
|
+
end
|
370
|
+
|
265
371
|
class GoogleCloudRecaptchaenterpriseV1TestingOptions
|
266
372
|
# @private
|
267
373
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -359,6 +359,124 @@ module Google
|
|
359
359
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
360
360
|
execute_or_queue_command(command, &block)
|
361
361
|
end
|
362
|
+
|
363
|
+
# Search group memberships related to a given account.
|
364
|
+
# @param [String] parent
|
365
|
+
# Required. The name of the project to search related account group memberships
|
366
|
+
# from, in the format "projects/`project`".
|
367
|
+
# @param [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsRequest] google_cloud_recaptchaenterprise_v1_search_related_account_group_memberships_request_object
|
368
|
+
# @param [String] fields
|
369
|
+
# Selector specifying which fields to include in a partial response.
|
370
|
+
# @param [String] quota_user
|
371
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
372
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
373
|
+
# @param [Google::Apis::RequestOptions] options
|
374
|
+
# Request-specific options
|
375
|
+
#
|
376
|
+
# @yield [result, err] Result & error if block supplied
|
377
|
+
# @yieldparam result [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsResponse] parsed result object
|
378
|
+
# @yieldparam err [StandardError] error object if request failed
|
379
|
+
#
|
380
|
+
# @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsResponse]
|
381
|
+
#
|
382
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
383
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
384
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
385
|
+
def search_project_relatedaccountgroupmemberships(parent, google_cloud_recaptchaenterprise_v1_search_related_account_group_memberships_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
386
|
+
command = make_simple_command(:post, 'v1/{+parent}/relatedaccountgroupmemberships:search', options)
|
387
|
+
command.request_representation = Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsRequest::Representation
|
388
|
+
command.request_object = google_cloud_recaptchaenterprise_v1_search_related_account_group_memberships_request_object
|
389
|
+
command.response_representation = Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsResponse::Representation
|
390
|
+
command.response_class = Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsResponse
|
391
|
+
command.params['parent'] = parent unless parent.nil?
|
392
|
+
command.query['fields'] = fields unless fields.nil?
|
393
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
394
|
+
execute_or_queue_command(command, &block)
|
395
|
+
end
|
396
|
+
|
397
|
+
# List groups of related accounts.
|
398
|
+
# @param [String] parent
|
399
|
+
# Required. The name of the project to list related account groups from, in the
|
400
|
+
# format "projects/`project`".
|
401
|
+
# @param [Fixnum] page_size
|
402
|
+
# Optional. The maximum number of groups to return. The service may return fewer
|
403
|
+
# than this value. If unspecified, at most 50 groups will be returned. The
|
404
|
+
# maximum value is 1000; values above 1000 will be coerced to 1000.
|
405
|
+
# @param [String] page_token
|
406
|
+
# Optional. A page token, received from a previous `ListRelatedAccountGroups`
|
407
|
+
# call. Provide this to retrieve the subsequent page. When paginating, all other
|
408
|
+
# parameters provided to `ListRelatedAccountGroups` must match the call that
|
409
|
+
# provided the page token.
|
410
|
+
# @param [String] fields
|
411
|
+
# Selector specifying which fields to include in a partial response.
|
412
|
+
# @param [String] quota_user
|
413
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
414
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
415
|
+
# @param [Google::Apis::RequestOptions] options
|
416
|
+
# Request-specific options
|
417
|
+
#
|
418
|
+
# @yield [result, err] Result & error if block supplied
|
419
|
+
# @yieldparam result [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupsResponse] parsed result object
|
420
|
+
# @yieldparam err [StandardError] error object if request failed
|
421
|
+
#
|
422
|
+
# @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupsResponse]
|
423
|
+
#
|
424
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
425
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
426
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
427
|
+
def list_project_relatedaccountgroups(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
428
|
+
command = make_simple_command(:get, 'v1/{+parent}/relatedaccountgroups', options)
|
429
|
+
command.response_representation = Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupsResponse::Representation
|
430
|
+
command.response_class = Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupsResponse
|
431
|
+
command.params['parent'] = parent unless parent.nil?
|
432
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
433
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
434
|
+
command.query['fields'] = fields unless fields.nil?
|
435
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
436
|
+
execute_or_queue_command(command, &block)
|
437
|
+
end
|
438
|
+
|
439
|
+
# Get the memberships in a group of related accounts.
|
440
|
+
# @param [String] parent
|
441
|
+
# Required. The resource name for the related account group in the format `
|
442
|
+
# projects/`project`/relatedaccountgroups/`relatedaccountgroup``.
|
443
|
+
# @param [Fixnum] page_size
|
444
|
+
# Optional. The maximum number of accounts to return. The service may return
|
445
|
+
# fewer than this value. If unspecified, at most 50 accounts will be returned.
|
446
|
+
# The maximum value is 1000; values above 1000 will be coerced to 1000.
|
447
|
+
# @param [String] page_token
|
448
|
+
# Optional. A page token, received from a previous `
|
449
|
+
# ListRelatedAccountGroupMemberships` call. When paginating, all other
|
450
|
+
# parameters provided to `ListRelatedAccountGroupMemberships` must match the
|
451
|
+
# call that provided the page token.
|
452
|
+
# @param [String] fields
|
453
|
+
# Selector specifying which fields to include in a partial response.
|
454
|
+
# @param [String] quota_user
|
455
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
456
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
457
|
+
# @param [Google::Apis::RequestOptions] options
|
458
|
+
# Request-specific options
|
459
|
+
#
|
460
|
+
# @yield [result, err] Result & error if block supplied
|
461
|
+
# @yieldparam result [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupMembershipsResponse] parsed result object
|
462
|
+
# @yieldparam err [StandardError] error object if request failed
|
463
|
+
#
|
464
|
+
# @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupMembershipsResponse]
|
465
|
+
#
|
466
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
467
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
468
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
469
|
+
def list_project_relatedaccountgroup_memberships(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
470
|
+
command = make_simple_command(:get, 'v1/{+parent}/memberships', options)
|
471
|
+
command.response_representation = Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupMembershipsResponse::Representation
|
472
|
+
command.response_class = Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupMembershipsResponse
|
473
|
+
command.params['parent'] = parent unless parent.nil?
|
474
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
475
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
476
|
+
command.query['fields'] = fields unless fields.nil?
|
477
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
478
|
+
execute_or_queue_command(command, &block)
|
479
|
+
end
|
362
480
|
|
363
481
|
protected
|
364
482
|
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1'
|
31
31
|
|
32
|
-
# See, edit, configure, and delete your Google Cloud
|
32
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
34
34
|
end
|
35
35
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-recaptchaenterprise_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.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-08
|
11
|
+
date: 2021-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-recaptchaenterprise_v1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-recaptchaenterprise_v1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-recaptchaenterprise_v1/v0.9.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-recaptchaenterprise_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|