google-apis-recaptchaenterprise_v1 0.9.0 → 0.13.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 +1 -1
- data/lib/google/apis/recaptchaenterprise_v1/classes.rb +31 -0
- data/lib/google/apis/recaptchaenterprise_v1/gem_version.rb +3 -3
- data/lib/google/apis/recaptchaenterprise_v1/representations.rb +16 -0
- data/lib/google/apis/recaptchaenterprise_v1/service.rb +4 -4
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a8ec4624fce30924b37270eed292df7b80174fa810342796fdcdfc57b48a072
|
4
|
+
data.tar.gz: ee0a6913bf1fa225616247cbfe0217fc3a4e664ca1d9bb87b86cd13941374a60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a0be0a6b8db639e67467e5f48b62eba568b5c4c343aa547fd187104d73c1c75fba4c31eda195b16f119e69a046c226b05dcb4e282d15b794459fa257c98c4ea
|
7
|
+
data.tar.gz: 2b2a9487a52df804ee12b69ed9451b059b503e25c1a2e15bff4d813052e530c8dd2856064875f405df374750c2077b2261693ad9a05a48e828e97a2bc7914776
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-recaptchaenterprise_v1
|
2
2
|
|
3
|
+
### v0.13.0 (2022-02-01)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220129
|
6
|
+
* Regenerated using generator version 0.4.1
|
7
|
+
|
8
|
+
### v0.12.0 (2022-01-11)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20220107
|
11
|
+
|
12
|
+
### v0.11.0 (2021-12-14)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20211211
|
15
|
+
|
16
|
+
### v0.10.0 (2021-11-09)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20211105
|
19
|
+
|
3
20
|
### v0.9.0 (2021-11-02)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20211029
|
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.
|
@@ -328,6 +328,11 @@ module Google
|
|
328
328
|
# @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TestingOptions]
|
329
329
|
attr_accessor :testing_options
|
330
330
|
|
331
|
+
# Settings specific to keys that can be used for WAF (Web Application Firewall).
|
332
|
+
# Corresponds to the JSON property `wafSettings`
|
333
|
+
# @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1WafSettings]
|
334
|
+
attr_accessor :waf_settings
|
335
|
+
|
331
336
|
# Settings specific to keys that can be used by websites.
|
332
337
|
# Corresponds to the JSON property `webSettings`
|
333
338
|
# @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1WebKeySettings]
|
@@ -346,6 +351,7 @@ module Google
|
|
346
351
|
@labels = args[:labels] if args.key?(:labels)
|
347
352
|
@name = args[:name] if args.key?(:name)
|
348
353
|
@testing_options = args[:testing_options] if args.key?(:testing_options)
|
354
|
+
@waf_settings = args[:waf_settings] if args.key?(:waf_settings)
|
349
355
|
@web_settings = args[:web_settings] if args.key?(:web_settings)
|
350
356
|
end
|
351
357
|
end
|
@@ -746,6 +752,31 @@ module Google
|
|
746
752
|
end
|
747
753
|
end
|
748
754
|
|
755
|
+
# Settings specific to keys that can be used for WAF (Web Application Firewall).
|
756
|
+
class GoogleCloudRecaptchaenterpriseV1WafSettings
|
757
|
+
include Google::Apis::Core::Hashable
|
758
|
+
|
759
|
+
# Required. The WAF feature for which this key is enabled.
|
760
|
+
# Corresponds to the JSON property `wafFeature`
|
761
|
+
# @return [String]
|
762
|
+
attr_accessor :waf_feature
|
763
|
+
|
764
|
+
# Required. The WAF service that uses this key.
|
765
|
+
# Corresponds to the JSON property `wafService`
|
766
|
+
# @return [String]
|
767
|
+
attr_accessor :waf_service
|
768
|
+
|
769
|
+
def initialize(**args)
|
770
|
+
update!(**args)
|
771
|
+
end
|
772
|
+
|
773
|
+
# Update properties of this object
|
774
|
+
def update!(**args)
|
775
|
+
@waf_feature = args[:waf_feature] if args.key?(:waf_feature)
|
776
|
+
@waf_service = args[:waf_service] if args.key?(:waf_service)
|
777
|
+
end
|
778
|
+
end
|
779
|
+
|
749
780
|
# Settings specific to keys that can be used by websites.
|
750
781
|
class GoogleCloudRecaptchaenterpriseV1WebKeySettings
|
751
782
|
include Google::Apis::Core::Hashable
|
@@ -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.13.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220129"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -160,6 +160,12 @@ module Google
|
|
160
160
|
include Google::Apis::Core::JsonObjectSupport
|
161
161
|
end
|
162
162
|
|
163
|
+
class GoogleCloudRecaptchaenterpriseV1WafSettings
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
163
169
|
class GoogleCloudRecaptchaenterpriseV1WebKeySettings
|
164
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
171
|
|
@@ -260,6 +266,8 @@ module Google
|
|
260
266
|
property :name, as: 'name'
|
261
267
|
property :testing_options, as: 'testingOptions', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TestingOptions, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TestingOptions::Representation
|
262
268
|
|
269
|
+
property :waf_settings, as: 'wafSettings', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1WafSettings, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1WafSettings::Representation
|
270
|
+
|
263
271
|
property :web_settings, as: 'webSettings', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1WebKeySettings, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1WebKeySettings::Representation
|
264
272
|
|
265
273
|
end
|
@@ -387,6 +395,14 @@ module Google
|
|
387
395
|
end
|
388
396
|
end
|
389
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
|
+
|
390
406
|
class GoogleCloudRecaptchaenterpriseV1WebKeySettings
|
391
407
|
# @private
|
392
408
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -361,7 +361,7 @@ module Google
|
|
361
361
|
end
|
362
362
|
|
363
363
|
# Search group memberships related to a given account.
|
364
|
-
# @param [String]
|
364
|
+
# @param [String] project
|
365
365
|
# Required. The name of the project to search related account group memberships
|
366
366
|
# from, in the format "projects/`project`".
|
367
367
|
# @param [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsRequest] google_cloud_recaptchaenterprise_v1_search_related_account_group_memberships_request_object
|
@@ -382,13 +382,13 @@ module Google
|
|
382
382
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
383
383
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
384
384
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
385
|
-
def search_project_relatedaccountgroupmemberships(
|
386
|
-
command = make_simple_command(:post, 'v1/{+
|
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
387
|
command.request_representation = Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsRequest::Representation
|
388
388
|
command.request_object = google_cloud_recaptchaenterprise_v1_search_related_account_group_memberships_request_object
|
389
389
|
command.response_representation = Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsResponse::Representation
|
390
390
|
command.response_class = Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsResponse
|
391
|
-
command.params['
|
391
|
+
command.params['project'] = project unless project.nil?
|
392
392
|
command.query['fields'] = fields unless fields.nil?
|
393
393
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
394
394
|
execute_or_queue_command(command, &block)
|
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.13.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-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-recaptchaenterprise_v1/v0.13.0
|
62
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: []
|
@@ -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.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for reCAPTCHA Enterprise API V1
|