google-apis-recaptchaenterprise_v1 0.10.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 +4 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/recaptchaenterprise_v1/classes.rb +37 -0
- data/lib/google/apis/recaptchaenterprise_v1/gem_version.rb +2 -2
- data/lib/google/apis/recaptchaenterprise_v1/representations.rb +17 -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: 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
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.
|
@@ -31,6 +31,11 @@ module Google
|
|
31
31
|
# @return [Array<String>]
|
32
32
|
attr_accessor :labels
|
33
33
|
|
34
|
+
# Recommended action after this request.
|
35
|
+
# Corresponds to the JSON property `recommendedAction`
|
36
|
+
# @return [String]
|
37
|
+
attr_accessor :recommended_action
|
38
|
+
|
34
39
|
def initialize(**args)
|
35
40
|
update!(**args)
|
36
41
|
end
|
@@ -38,6 +43,7 @@ module Google
|
|
38
43
|
# Update properties of this object
|
39
44
|
def update!(**args)
|
40
45
|
@labels = args[:labels] if args.key?(:labels)
|
46
|
+
@recommended_action = args[:recommended_action] if args.key?(:recommended_action)
|
41
47
|
end
|
42
48
|
end
|
43
49
|
|
@@ -320,6 +326,11 @@ module Google
|
|
320
326
|
# @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TestingOptions]
|
321
327
|
attr_accessor :testing_options
|
322
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
|
+
|
323
334
|
# Settings specific to keys that can be used by websites.
|
324
335
|
# Corresponds to the JSON property `webSettings`
|
325
336
|
# @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1WebKeySettings]
|
@@ -338,6 +349,7 @@ module Google
|
|
338
349
|
@labels = args[:labels] if args.key?(:labels)
|
339
350
|
@name = args[:name] if args.key?(:name)
|
340
351
|
@testing_options = args[:testing_options] if args.key?(:testing_options)
|
352
|
+
@waf_settings = args[:waf_settings] if args.key?(:waf_settings)
|
341
353
|
@web_settings = args[:web_settings] if args.key?(:web_settings)
|
342
354
|
end
|
343
355
|
end
|
@@ -738,6 +750,31 @@ module Google
|
|
738
750
|
end
|
739
751
|
end
|
740
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
|
+
|
741
778
|
# Settings specific to keys that can be used by websites.
|
742
779
|
class GoogleCloudRecaptchaenterpriseV1WebKeySettings
|
743
780
|
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.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
|
@@ -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
|
|
@@ -176,6 +182,7 @@ module Google
|
|
176
182
|
# @private
|
177
183
|
class Representation < Google::Apis::Core::JsonRepresentation
|
178
184
|
collection :labels, as: 'labels'
|
185
|
+
property :recommended_action, as: 'recommendedAction'
|
179
186
|
end
|
180
187
|
end
|
181
188
|
|
@@ -259,6 +266,8 @@ module Google
|
|
259
266
|
property :name, as: 'name'
|
260
267
|
property :testing_options, as: 'testingOptions', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TestingOptions, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TestingOptions::Representation
|
261
268
|
|
269
|
+
property :waf_settings, as: 'wafSettings', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1WafSettings, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1WafSettings::Representation
|
270
|
+
|
262
271
|
property :web_settings, as: 'webSettings', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1WebKeySettings, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1WebKeySettings::Representation
|
263
272
|
|
264
273
|
end
|
@@ -386,6 +395,14 @@ module Google
|
|
386
395
|
end
|
387
396
|
end
|
388
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
|
+
|
389
406
|
class GoogleCloudRecaptchaenterpriseV1WebKeySettings
|
390
407
|
# @private
|
391
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.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
|
@@ -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.11.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.4
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for reCAPTCHA Enterprise API V1
|