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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b98ce3b6cbd4a020898f23a2fdb1de871462b52642f56fdcdce956ca34870c2b
4
- data.tar.gz: 35e2ba023d40334d341e35d6568b3409da4c20eeedcb998d520955632ffea101
3
+ metadata.gz: 7ae76836b1eb6fa61aa62c05f8db62eb7c36db5440c12c04df6c8cad76dc4988
4
+ data.tar.gz: '0380f69aaf5e6d5012ac4cfb700a4e6766345c3a0b31ade16180b69d4f949ffd'
5
5
  SHA512:
6
- metadata.gz: 2d4d117ac109c41c33dc6f10424292d721a68c7236766d946dcb9e8d6571adaa92fffe2d1ca347fbf008149b693234417fef7e428992ac26a629dafcfdfb1542
7
- data.tar.gz: 9e4ec53843bd9838373b29f17a3939b26df47d44a7c927d3b6501a2a834ea609c03dacd97d2f1bcb023cd9761c997598913cbe8fb328a698fd32eeabf3bac52b
6
+ metadata.gz: cba1e7cbce2d02ba6106c57a05b42a19b60baff070199560ebc230ebca1ee8f390e927a4b60d582d254de4f41005f985914420fe13b095f4ea392977df210478
7
+ data.tar.gz: e125aa308a1ee596ff56f2b6887b0e8ec0eefbace8125c8bc03925a80feab6dbb9de7ef496e4a4b61fc75c6df4a57f3d483cd9b9d1dcdba3a09b7ebc80ff5f60
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.10.0 (2021-11-09)
4
8
 
5
9
  * Regenerated from discovery document revision 20211105
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.authentication = # ... use the googleauth gem to create credentials
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.10.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 = "20211105"
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] parent
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(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)
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['parent'] = parent unless parent.nil?
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.10.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: 2021-11-15 00:00:00.000000000 Z
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.10.0
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.2.17
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