google-apis-recaptchaenterprise_v1 0.9.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9d3d0a0e572e2fe7aeb67eaf6ad1636fb7774beacbfff5329b866da683f38377
4
- data.tar.gz: '0677937ae5a5edcee08553941e21e2f2377bac3690fc793aded7bf0254fcc292'
3
+ metadata.gz: 8a8ec4624fce30924b37270eed292df7b80174fa810342796fdcdfc57b48a072
4
+ data.tar.gz: ee0a6913bf1fa225616247cbfe0217fc3a4e664ca1d9bb87b86cd13941374a60
5
5
  SHA512:
6
- metadata.gz: 02df2fd17c2326b72db6d527c6b40d77cae17d04ea1389fd431e0abb8014930cb7eb8a99876fac43ed3ac3cdc04237edfb3868ee7802dbed09ab227229f114eb
7
- data.tar.gz: fd7182d31036f38a6fe93ca3815462e0677db892de91e3194de2497b238bb3cda52620ae309c4a70fb0d90a5a8771e2075f011106974b1262b35c36843e849d8
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.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.
@@ -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.9.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.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211029"
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] 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.9.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: 2021-11-08 00:00:00.000000000 Z
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.9.0
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.2.17
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