google-apis-recaptchaenterprise_v1 0.7.0 → 0.11.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 +3 -3
- data/lib/google/apis/recaptchaenterprise_v1/classes.rb +244 -4
- data/lib/google/apis/recaptchaenterprise_v1/gem_version.rb +2 -2
- data/lib/google/apis/recaptchaenterprise_v1/representations.rb +120 -0
- data/lib/google/apis/recaptchaenterprise_v1/service.rb +118 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ae76836b1eb6fa61aa62c05f8db62eb7c36db5440c12c04df6c8cad76dc4988
|
4
|
+
data.tar.gz: '0380f69aaf5e6d5012ac4cfb700a4e6766345c3a0b31ade16180b69d4f949ffd'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cba1e7cbce2d02ba6106c57a05b42a19b60baff070199560ebc230ebca1ee8f390e927a4b60d582d254de4f41005f985914420fe13b095f4ea392977df210478
|
7
|
+
data.tar.gz: e125aa308a1ee596ff56f2b6887b0e8ec0eefbace8125c8bc03925a80feab6dbb9de7ef496e4a4b61fc75c6df4a57f3d483cd9b9d1dcdba3a09b7ebc80ff5f60
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-recaptchaenterprise_v1
|
2
2
|
|
3
|
+
### v0.11.0 (2021-12-14)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211211
|
6
|
+
|
7
|
+
### v0.10.0 (2021-11-09)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211105
|
10
|
+
|
11
|
+
### v0.9.0 (2021-11-02)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20211029
|
14
|
+
|
15
|
+
### v0.8.0 (2021-10-26)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20211022
|
18
|
+
* Unspecified changes
|
19
|
+
|
3
20
|
### v0.7.0 (2021-09-07)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210903
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/recaptchaenterprise_v1"
|
|
51
51
|
client = Google::Apis::RecaptchaenterpriseV1::RecaptchaEnterpriseService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -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,11 +22,36 @@ 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
|
+
# Recommended action after this request.
|
35
|
+
# Corresponds to the JSON property `recommendedAction`
|
36
|
+
# @return [String]
|
37
|
+
attr_accessor :recommended_action
|
38
|
+
|
39
|
+
def initialize(**args)
|
40
|
+
update!(**args)
|
41
|
+
end
|
42
|
+
|
43
|
+
# Update properties of this object
|
44
|
+
def update!(**args)
|
45
|
+
@labels = args[:labels] if args.key?(:labels)
|
46
|
+
@recommended_action = args[:recommended_action] if args.key?(:recommended_action)
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
25
50
|
# Settings specific to keys that can be used by Android apps.
|
26
51
|
class GoogleCloudRecaptchaenterpriseV1AndroidKeySettings
|
27
52
|
include Google::Apis::Core::Hashable
|
28
53
|
|
29
|
-
# If set to true,
|
54
|
+
# If set to true, allowed_package_names are not enforced.
|
30
55
|
# Corresponds to the JSON property `allowAllPackageNames`
|
31
56
|
# @return [Boolean]
|
32
57
|
attr_accessor :allow_all_package_names
|
@@ -60,6 +85,16 @@ module Google
|
|
60
85
|
# @return [String]
|
61
86
|
attr_accessor :annotation
|
62
87
|
|
88
|
+
# Optional. Optional unique stable hashed user identifier to apply to the
|
89
|
+
# assessment. This is an alternative to setting the hashed_account_id in
|
90
|
+
# CreateAssessment, for example when the account identifier is not yet known in
|
91
|
+
# the initial request. It is recommended that the identifier is hashed using
|
92
|
+
# hmac-sha256 with stable secret.
|
93
|
+
# Corresponds to the JSON property `hashedAccountId`
|
94
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
95
|
+
# @return [String]
|
96
|
+
attr_accessor :hashed_account_id
|
97
|
+
|
63
98
|
# Optional. Optional reasons for the annotation that will be assigned to the
|
64
99
|
# Event.
|
65
100
|
# Corresponds to the JSON property `reasons`
|
@@ -73,6 +108,7 @@ module Google
|
|
73
108
|
# Update properties of this object
|
74
109
|
def update!(**args)
|
75
110
|
@annotation = args[:annotation] if args.key?(:annotation)
|
111
|
+
@hashed_account_id = args[:hashed_account_id] if args.key?(:hashed_account_id)
|
76
112
|
@reasons = args[:reasons] if args.key?(:reasons)
|
77
113
|
end
|
78
114
|
end
|
@@ -94,6 +130,11 @@ module Google
|
|
94
130
|
class GoogleCloudRecaptchaenterpriseV1Assessment
|
95
131
|
include Google::Apis::Core::Hashable
|
96
132
|
|
133
|
+
# Account Defender risk assessment.
|
134
|
+
# Corresponds to the JSON property `accountDefenderAssessment`
|
135
|
+
# @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment]
|
136
|
+
attr_accessor :account_defender_assessment
|
137
|
+
|
97
138
|
# The event being assessed.
|
98
139
|
# Corresponds to the JSON property `event`
|
99
140
|
# @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Event]
|
@@ -121,6 +162,7 @@ module Google
|
|
121
162
|
|
122
163
|
# Update properties of this object
|
123
164
|
def update!(**args)
|
165
|
+
@account_defender_assessment = args[:account_defender_assessment] if args.key?(:account_defender_assessment)
|
124
166
|
@event = args[:event] if args.key?(:event)
|
125
167
|
@name = args[:name] if args.key?(:name)
|
126
168
|
@risk_analysis = args[:risk_analysis] if args.key?(:risk_analysis)
|
@@ -221,7 +263,7 @@ module Google
|
|
221
263
|
class GoogleCloudRecaptchaenterpriseV1IosKeySettings
|
222
264
|
include Google::Apis::Core::Hashable
|
223
265
|
|
224
|
-
# If set to true,
|
266
|
+
# If set to true, allowed_bundle_ids are not enforced.
|
225
267
|
# Corresponds to the JSON property `allowAllBundleIds`
|
226
268
|
# @return [Boolean]
|
227
269
|
attr_accessor :allow_all_bundle_ids
|
@@ -284,6 +326,11 @@ module Google
|
|
284
326
|
# @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TestingOptions]
|
285
327
|
attr_accessor :testing_options
|
286
328
|
|
329
|
+
# Settings specific to keys that can be used for WAF (Web Application Firewall).
|
330
|
+
# Corresponds to the JSON property `wafSettings`
|
331
|
+
# @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1WafSettings]
|
332
|
+
attr_accessor :waf_settings
|
333
|
+
|
287
334
|
# Settings specific to keys that can be used by websites.
|
288
335
|
# Corresponds to the JSON property `webSettings`
|
289
336
|
# @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1WebKeySettings]
|
@@ -302,6 +349,7 @@ module Google
|
|
302
349
|
@labels = args[:labels] if args.key?(:labels)
|
303
350
|
@name = args[:name] if args.key?(:name)
|
304
351
|
@testing_options = args[:testing_options] if args.key?(:testing_options)
|
352
|
+
@waf_settings = args[:waf_settings] if args.key?(:waf_settings)
|
305
353
|
@web_settings = args[:web_settings] if args.key?(:web_settings)
|
306
354
|
end
|
307
355
|
end
|
@@ -332,6 +380,58 @@ module Google
|
|
332
380
|
end
|
333
381
|
end
|
334
382
|
|
383
|
+
# The response to a `ListRelatedAccountGroupMemberships` call.
|
384
|
+
class GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupMembershipsResponse
|
385
|
+
include Google::Apis::Core::Hashable
|
386
|
+
|
387
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
388
|
+
# field is omitted, there are no subsequent pages.
|
389
|
+
# Corresponds to the JSON property `nextPageToken`
|
390
|
+
# @return [String]
|
391
|
+
attr_accessor :next_page_token
|
392
|
+
|
393
|
+
# The memberships listed by the query.
|
394
|
+
# Corresponds to the JSON property `relatedAccountGroupMemberships`
|
395
|
+
# @return [Array<Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership>]
|
396
|
+
attr_accessor :related_account_group_memberships
|
397
|
+
|
398
|
+
def initialize(**args)
|
399
|
+
update!(**args)
|
400
|
+
end
|
401
|
+
|
402
|
+
# Update properties of this object
|
403
|
+
def update!(**args)
|
404
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
405
|
+
@related_account_group_memberships = args[:related_account_group_memberships] if args.key?(:related_account_group_memberships)
|
406
|
+
end
|
407
|
+
end
|
408
|
+
|
409
|
+
# The response to a `ListRelatedAccountGroups` call.
|
410
|
+
class GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupsResponse
|
411
|
+
include Google::Apis::Core::Hashable
|
412
|
+
|
413
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
414
|
+
# field is omitted, there are no subsequent pages.
|
415
|
+
# Corresponds to the JSON property `nextPageToken`
|
416
|
+
# @return [String]
|
417
|
+
attr_accessor :next_page_token
|
418
|
+
|
419
|
+
# The groups of related accounts listed by the query.
|
420
|
+
# Corresponds to the JSON property `relatedAccountGroups`
|
421
|
+
# @return [Array<Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RelatedAccountGroup>]
|
422
|
+
attr_accessor :related_account_groups
|
423
|
+
|
424
|
+
def initialize(**args)
|
425
|
+
update!(**args)
|
426
|
+
end
|
427
|
+
|
428
|
+
# Update properties of this object
|
429
|
+
def update!(**args)
|
430
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
431
|
+
@related_account_groups = args[:related_account_groups] if args.key?(:related_account_groups)
|
432
|
+
end
|
433
|
+
end
|
434
|
+
|
335
435
|
# Metrics for a single Key.
|
336
436
|
class GoogleCloudRecaptchaenterpriseV1Metrics
|
337
437
|
include Google::Apis::Core::Hashable
|
@@ -386,6 +486,55 @@ module Google
|
|
386
486
|
end
|
387
487
|
end
|
388
488
|
|
489
|
+
# A group of related accounts.
|
490
|
+
class GoogleCloudRecaptchaenterpriseV1RelatedAccountGroup
|
491
|
+
include Google::Apis::Core::Hashable
|
492
|
+
|
493
|
+
# Required. The resource name for the related account group in the format `
|
494
|
+
# projects/`project`/relatedaccountgroups/`related_account_group``.
|
495
|
+
# Corresponds to the JSON property `name`
|
496
|
+
# @return [String]
|
497
|
+
attr_accessor :name
|
498
|
+
|
499
|
+
def initialize(**args)
|
500
|
+
update!(**args)
|
501
|
+
end
|
502
|
+
|
503
|
+
# Update properties of this object
|
504
|
+
def update!(**args)
|
505
|
+
@name = args[:name] if args.key?(:name)
|
506
|
+
end
|
507
|
+
end
|
508
|
+
|
509
|
+
# A membership in a group of related accounts.
|
510
|
+
class GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership
|
511
|
+
include Google::Apis::Core::Hashable
|
512
|
+
|
513
|
+
# The unique stable hashed user identifier of the member. The identifier
|
514
|
+
# corresponds to a `hashed_account_id` provided in a previous CreateAssessment
|
515
|
+
# or AnnotateAssessment call.
|
516
|
+
# Corresponds to the JSON property `hashedAccountId`
|
517
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
518
|
+
# @return [String]
|
519
|
+
attr_accessor :hashed_account_id
|
520
|
+
|
521
|
+
# Required. The resource name for this membership in the format `projects/`
|
522
|
+
# project`/relatedaccountgroups/`relatedaccountgroup`/memberships/`membership``.
|
523
|
+
# Corresponds to the JSON property `name`
|
524
|
+
# @return [String]
|
525
|
+
attr_accessor :name
|
526
|
+
|
527
|
+
def initialize(**args)
|
528
|
+
update!(**args)
|
529
|
+
end
|
530
|
+
|
531
|
+
# Update properties of this object
|
532
|
+
def update!(**args)
|
533
|
+
@hashed_account_id = args[:hashed_account_id] if args.key?(:hashed_account_id)
|
534
|
+
@name = args[:name] if args.key?(:name)
|
535
|
+
end
|
536
|
+
end
|
537
|
+
|
389
538
|
# Risk analysis result for an event.
|
390
539
|
class GoogleCloudRecaptchaenterpriseV1RiskAnalysis
|
391
540
|
include Google::Apis::Core::Hashable
|
@@ -460,6 +609,72 @@ module Google
|
|
460
609
|
end
|
461
610
|
end
|
462
611
|
|
612
|
+
# The request message to search related account group memberships.
|
613
|
+
class GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsRequest
|
614
|
+
include Google::Apis::Core::Hashable
|
615
|
+
|
616
|
+
# Optional. The unique stable hashed user identifier we should search
|
617
|
+
# connections to. The identifier should correspond to a `hashed_account_id`
|
618
|
+
# provided in a previous CreateAssessment or AnnotateAssessment call.
|
619
|
+
# Corresponds to the JSON property `hashedAccountId`
|
620
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
621
|
+
# @return [String]
|
622
|
+
attr_accessor :hashed_account_id
|
623
|
+
|
624
|
+
# Optional. The maximum number of groups to return. The service may return fewer
|
625
|
+
# than this value. If unspecified, at most 50 groups will be returned. The
|
626
|
+
# maximum value is 1000; values above 1000 will be coerced to 1000.
|
627
|
+
# Corresponds to the JSON property `pageSize`
|
628
|
+
# @return [Fixnum]
|
629
|
+
attr_accessor :page_size
|
630
|
+
|
631
|
+
# Optional. A page token, received from a previous `
|
632
|
+
# SearchRelatedAccountGroupMemberships` call. Provide this to retrieve the
|
633
|
+
# subsequent page. When paginating, all other parameters provided to `
|
634
|
+
# SearchRelatedAccountGroupMemberships` must match the call that provided the
|
635
|
+
# page token.
|
636
|
+
# Corresponds to the JSON property `pageToken`
|
637
|
+
# @return [String]
|
638
|
+
attr_accessor :page_token
|
639
|
+
|
640
|
+
def initialize(**args)
|
641
|
+
update!(**args)
|
642
|
+
end
|
643
|
+
|
644
|
+
# Update properties of this object
|
645
|
+
def update!(**args)
|
646
|
+
@hashed_account_id = args[:hashed_account_id] if args.key?(:hashed_account_id)
|
647
|
+
@page_size = args[:page_size] if args.key?(:page_size)
|
648
|
+
@page_token = args[:page_token] if args.key?(:page_token)
|
649
|
+
end
|
650
|
+
end
|
651
|
+
|
652
|
+
# The response to a `SearchRelatedAccountGroupMemberships` call.
|
653
|
+
class GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsResponse
|
654
|
+
include Google::Apis::Core::Hashable
|
655
|
+
|
656
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
657
|
+
# field is omitted, there are no subsequent pages.
|
658
|
+
# Corresponds to the JSON property `nextPageToken`
|
659
|
+
# @return [String]
|
660
|
+
attr_accessor :next_page_token
|
661
|
+
|
662
|
+
# The queried memberships.
|
663
|
+
# Corresponds to the JSON property `relatedAccountGroupMemberships`
|
664
|
+
# @return [Array<Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership>]
|
665
|
+
attr_accessor :related_account_group_memberships
|
666
|
+
|
667
|
+
def initialize(**args)
|
668
|
+
update!(**args)
|
669
|
+
end
|
670
|
+
|
671
|
+
# Update properties of this object
|
672
|
+
def update!(**args)
|
673
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
674
|
+
@related_account_group_memberships = args[:related_account_group_memberships] if args.key?(:related_account_group_memberships)
|
675
|
+
end
|
676
|
+
end
|
677
|
+
|
463
678
|
# Options for user acceptance testing.
|
464
679
|
class GoogleCloudRecaptchaenterpriseV1TestingOptions
|
465
680
|
include Google::Apis::Core::Hashable
|
@@ -535,6 +750,31 @@ module Google
|
|
535
750
|
end
|
536
751
|
end
|
537
752
|
|
753
|
+
# Settings specific to keys that can be used for WAF (Web Application Firewall).
|
754
|
+
class GoogleCloudRecaptchaenterpriseV1WafSettings
|
755
|
+
include Google::Apis::Core::Hashable
|
756
|
+
|
757
|
+
# Required. The WAF feature for which this key is enabled.
|
758
|
+
# Corresponds to the JSON property `wafFeature`
|
759
|
+
# @return [String]
|
760
|
+
attr_accessor :waf_feature
|
761
|
+
|
762
|
+
# Required. The WAF service that uses this key.
|
763
|
+
# Corresponds to the JSON property `wafService`
|
764
|
+
# @return [String]
|
765
|
+
attr_accessor :waf_service
|
766
|
+
|
767
|
+
def initialize(**args)
|
768
|
+
update!(**args)
|
769
|
+
end
|
770
|
+
|
771
|
+
# Update properties of this object
|
772
|
+
def update!(**args)
|
773
|
+
@waf_feature = args[:waf_feature] if args.key?(:waf_feature)
|
774
|
+
@waf_service = args[:waf_service] if args.key?(:waf_service)
|
775
|
+
end
|
776
|
+
end
|
777
|
+
|
538
778
|
# Settings specific to keys that can be used by websites.
|
539
779
|
class GoogleCloudRecaptchaenterpriseV1WebKeySettings
|
540
780
|
include Google::Apis::Core::Hashable
|
@@ -545,8 +785,8 @@ module Google
|
|
545
785
|
attr_accessor :allow_all_domains
|
546
786
|
alias_method :allow_all_domains?, :allow_all_domains
|
547
787
|
|
548
|
-
#
|
549
|
-
#
|
788
|
+
# If set to true, the key can be used on AMP (Accelerated Mobile Pages) websites.
|
789
|
+
# This is supported only for the SCORE integration type.
|
550
790
|
# Corresponds to the JSON property `allowAmpTraffic`
|
551
791
|
# @return [Boolean]
|
552
792
|
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.11.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 = "20211211"
|
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
|
|
@@ -118,6 +160,12 @@ module Google
|
|
118
160
|
include Google::Apis::Core::JsonObjectSupport
|
119
161
|
end
|
120
162
|
|
163
|
+
class GoogleCloudRecaptchaenterpriseV1WafSettings
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
121
169
|
class GoogleCloudRecaptchaenterpriseV1WebKeySettings
|
122
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
171
|
|
@@ -130,6 +178,14 @@ module Google
|
|
130
178
|
include Google::Apis::Core::JsonObjectSupport
|
131
179
|
end
|
132
180
|
|
181
|
+
class GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment
|
182
|
+
# @private
|
183
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
184
|
+
collection :labels, as: 'labels'
|
185
|
+
property :recommended_action, as: 'recommendedAction'
|
186
|
+
end
|
187
|
+
end
|
188
|
+
|
133
189
|
class GoogleCloudRecaptchaenterpriseV1AndroidKeySettings
|
134
190
|
# @private
|
135
191
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -142,6 +198,7 @@ module Google
|
|
142
198
|
# @private
|
143
199
|
class Representation < Google::Apis::Core::JsonRepresentation
|
144
200
|
property :annotation, as: 'annotation'
|
201
|
+
property :hashed_account_id, :base64 => true, as: 'hashedAccountId'
|
145
202
|
collection :reasons, as: 'reasons'
|
146
203
|
end
|
147
204
|
end
|
@@ -155,6 +212,8 @@ module Google
|
|
155
212
|
class GoogleCloudRecaptchaenterpriseV1Assessment
|
156
213
|
# @private
|
157
214
|
class Representation < Google::Apis::Core::JsonRepresentation
|
215
|
+
property :account_defender_assessment, as: 'accountDefenderAssessment', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment::Representation
|
216
|
+
|
158
217
|
property :event, as: 'event', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Event, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Event::Representation
|
159
218
|
|
160
219
|
property :name, as: 'name'
|
@@ -207,6 +266,8 @@ module Google
|
|
207
266
|
property :name, as: 'name'
|
208
267
|
property :testing_options, as: 'testingOptions', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TestingOptions, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TestingOptions::Representation
|
209
268
|
|
269
|
+
property :waf_settings, as: 'wafSettings', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1WafSettings, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1WafSettings::Representation
|
270
|
+
|
210
271
|
property :web_settings, as: 'webSettings', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1WebKeySettings, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1WebKeySettings::Representation
|
211
272
|
|
212
273
|
end
|
@@ -221,6 +282,24 @@ module Google
|
|
221
282
|
end
|
222
283
|
end
|
223
284
|
|
285
|
+
class GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupMembershipsResponse
|
286
|
+
# @private
|
287
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
288
|
+
property :next_page_token, as: 'nextPageToken'
|
289
|
+
collection :related_account_group_memberships, as: 'relatedAccountGroupMemberships', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership::Representation
|
290
|
+
|
291
|
+
end
|
292
|
+
end
|
293
|
+
|
294
|
+
class GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupsResponse
|
295
|
+
# @private
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
297
|
+
property :next_page_token, as: 'nextPageToken'
|
298
|
+
collection :related_account_groups, as: 'relatedAccountGroups', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RelatedAccountGroup, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RelatedAccountGroup::Representation
|
299
|
+
|
300
|
+
end
|
301
|
+
end
|
302
|
+
|
224
303
|
class GoogleCloudRecaptchaenterpriseV1Metrics
|
225
304
|
# @private
|
226
305
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -239,6 +318,21 @@ module Google
|
|
239
318
|
end
|
240
319
|
end
|
241
320
|
|
321
|
+
class GoogleCloudRecaptchaenterpriseV1RelatedAccountGroup
|
322
|
+
# @private
|
323
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
324
|
+
property :name, as: 'name'
|
325
|
+
end
|
326
|
+
end
|
327
|
+
|
328
|
+
class GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership
|
329
|
+
# @private
|
330
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
331
|
+
property :hashed_account_id, :base64 => true, as: 'hashedAccountId'
|
332
|
+
property :name, as: 'name'
|
333
|
+
end
|
334
|
+
end
|
335
|
+
|
242
336
|
class GoogleCloudRecaptchaenterpriseV1RiskAnalysis
|
243
337
|
# @private
|
244
338
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -264,6 +358,24 @@ module Google
|
|
264
358
|
end
|
265
359
|
end
|
266
360
|
|
361
|
+
class GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsRequest
|
362
|
+
# @private
|
363
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
364
|
+
property :hashed_account_id, :base64 => true, as: 'hashedAccountId'
|
365
|
+
property :page_size, as: 'pageSize'
|
366
|
+
property :page_token, as: 'pageToken'
|
367
|
+
end
|
368
|
+
end
|
369
|
+
|
370
|
+
class GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsResponse
|
371
|
+
# @private
|
372
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
373
|
+
property :next_page_token, as: 'nextPageToken'
|
374
|
+
collection :related_account_group_memberships, as: 'relatedAccountGroupMemberships', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership::Representation
|
375
|
+
|
376
|
+
end
|
377
|
+
end
|
378
|
+
|
267
379
|
class GoogleCloudRecaptchaenterpriseV1TestingOptions
|
268
380
|
# @private
|
269
381
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -283,6 +395,14 @@ module Google
|
|
283
395
|
end
|
284
396
|
end
|
285
397
|
|
398
|
+
class GoogleCloudRecaptchaenterpriseV1WafSettings
|
399
|
+
# @private
|
400
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
401
|
+
property :waf_feature, as: 'wafFeature'
|
402
|
+
property :waf_service, as: 'wafService'
|
403
|
+
end
|
404
|
+
end
|
405
|
+
|
286
406
|
class GoogleCloudRecaptchaenterpriseV1WebKeySettings
|
287
407
|
# @private
|
288
408
|
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] project
|
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(project, 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/{+project}/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['project'] = project unless project.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
|
|
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.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-10 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.11.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:
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.3.4
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for reCAPTCHA Enterprise API V1
|