google-apis-recaptchaenterprise_v1 0.42.0 → 0.43.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: 4a74f4375b2602a354a2feabad4f79d9714627dbfffcfddcb07003af1d0b6c97
4
- data.tar.gz: c17055c56466a1390f50c2b8de1f520af45431abd779c5b86228072ad393618b
3
+ metadata.gz: 972808fe6a26597c6386ae6aba7765867761e655be1eb0f5c938a40cf696b14a
4
+ data.tar.gz: eeb3eb3095eb85bb65ddce2be22c965c7722af164f861913df49254bd7e366ea
5
5
  SHA512:
6
- metadata.gz: 2c1504470ac3e43d82621577031a51f524a13ad4130211c57faf1bd228200cd37c92a1ac276575840469f68d03eebd0329b154ebf75f9740c8d1f668169c48d0
7
- data.tar.gz: afed774ac0f00b3e6d8f85de973b2f72348dd1611484569eb4ee927e4247a2c7eed5e779e73794d3cc4ccd1552ee4134866ea7b426cabf0c0b6cbeb5e8133d6f
6
+ metadata.gz: 3d0b5813ab446126e1fac9b5a503d27d301ef490625246bf990fb83e0ea95aa74af67f95b7ccabd877e59765be435bf6a4513ac2c7c3b3add9b70c31d7c8fade
7
+ data.tar.gz: 872669b6ba6dfb269ce11bfd388f1313d45217110019d6365547c8d9dc744854a2ba1b2d4324431b6d8fb80ee27e072e28f0960bd8c54b2f6ba1bf7ab029743a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-recaptchaenterprise_v1
2
2
 
3
+ ### v0.43.0 (2024-01-23)
4
+
5
+ * Regenerated from discovery document revision 20240113
6
+ * Regenerated using generator version 0.13.0
7
+
3
8
  ### v0.42.0 (2024-01-07)
4
9
 
5
10
  * Regenerated from discovery document revision 20240101
@@ -1262,6 +1262,39 @@ module Google
1262
1262
  end
1263
1263
  end
1264
1264
 
1265
+ # The reorder firewall policies request message.
1266
+ class GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesRequest
1267
+ include Google::Apis::Core::Hashable
1268
+
1269
+ # Required. A list containing all policy names, in the new order. Each name is
1270
+ # in the format `projects/`project`/firewallpolicies/`firewallpolicy``.
1271
+ # Corresponds to the JSON property `names`
1272
+ # @return [Array<String>]
1273
+ attr_accessor :names
1274
+
1275
+ def initialize(**args)
1276
+ update!(**args)
1277
+ end
1278
+
1279
+ # Update properties of this object
1280
+ def update!(**args)
1281
+ @names = args[:names] if args.key?(:names)
1282
+ end
1283
+ end
1284
+
1285
+ # The reorder firewall policies response message.
1286
+ class GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesResponse
1287
+ include Google::Apis::Core::Hashable
1288
+
1289
+ def initialize(**args)
1290
+ update!(**args)
1291
+ end
1292
+
1293
+ # Update properties of this object
1294
+ def update!(**args)
1295
+ end
1296
+ end
1297
+
1265
1298
  # Secret key is used only in legacy reCAPTCHA. It must be used in a 3rd party
1266
1299
  # integration with legacy reCAPTCHA.
1267
1300
  class GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse
@@ -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.42.0"
19
+ GEM_VERSION = "0.43.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240101"
25
+ REVISION = "20240113"
26
26
  end
27
27
  end
28
28
  end
@@ -238,6 +238,18 @@ module Google
238
238
  include Google::Apis::Core::JsonObjectSupport
239
239
  end
240
240
 
241
+ class GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesRequest
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesResponse
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
241
253
  class GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse
242
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
255
 
@@ -720,6 +732,19 @@ module Google
720
732
  end
721
733
  end
722
734
 
735
+ class GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesRequest
736
+ # @private
737
+ class Representation < Google::Apis::Core::JsonRepresentation
738
+ collection :names, as: 'names'
739
+ end
740
+ end
741
+
742
+ class GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesResponse
743
+ # @private
744
+ class Representation < Google::Apis::Core::JsonRepresentation
745
+ end
746
+ end
747
+
723
748
  class GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse
724
749
  # @private
725
750
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -33,6 +33,8 @@ module Google
33
33
  #
34
34
  # @see https://cloud.google.com/recaptcha-enterprise/
35
35
  class RecaptchaEnterpriseService < Google::Apis::Core::BaseService
36
+ DEFAULT_ENDPOINT_TEMPLATE = "https://recaptchaenterprise.$UNIVERSE_DOMAIN$/"
37
+
36
38
  # @return [String]
37
39
  # API key. Your API key identifies your project and provides you with API access,
38
40
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -44,7 +46,7 @@ module Google
44
46
  attr_accessor :quota_user
45
47
 
46
48
  def initialize
47
- super('https://recaptchaenterprise.googleapis.com/', '',
49
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
48
50
  client_name: 'google-apis-recaptchaenterprise_v1',
49
51
  client_version: Google::Apis::RecaptchaenterpriseV1::GEM_VERSION)
50
52
  @batch_path = 'batch'
@@ -294,6 +296,40 @@ module Google
294
296
  execute_or_queue_command(command, &block)
295
297
  end
296
298
 
299
+ # Reorders all firewall policies.
300
+ # @param [String] parent
301
+ # Required. The name of the project to list the policies for, in the format `
302
+ # projects/`project``.
303
+ # @param [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesRequest] google_cloud_recaptchaenterprise_v1_reorder_firewall_policies_request_object
304
+ # @param [String] fields
305
+ # Selector specifying which fields to include in a partial response.
306
+ # @param [String] quota_user
307
+ # Available to use for quota purposes for server-side applications. Can be any
308
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
309
+ # @param [Google::Apis::RequestOptions] options
310
+ # Request-specific options
311
+ #
312
+ # @yield [result, err] Result & error if block supplied
313
+ # @yieldparam result [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesResponse] parsed result object
314
+ # @yieldparam err [StandardError] error object if request failed
315
+ #
316
+ # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesResponse]
317
+ #
318
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
319
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
320
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
321
+ def reorder_project_firewallpolicy(parent, google_cloud_recaptchaenterprise_v1_reorder_firewall_policies_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
322
+ command = make_simple_command(:post, 'v1/{+parent}/firewallpolicies:reorder', options)
323
+ command.request_representation = Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesRequest::Representation
324
+ command.request_object = google_cloud_recaptchaenterprise_v1_reorder_firewall_policies_request_object
325
+ command.response_representation = Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesResponse::Representation
326
+ command.response_class = Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ReorderFirewallPoliciesResponse
327
+ command.params['parent'] = parent unless parent.nil?
328
+ command.query['fields'] = fields unless fields.nil?
329
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
330
+ execute_or_queue_command(command, &block)
331
+ end
332
+
297
333
  # Creates a new reCAPTCHA Enterprise key.
298
334
  # @param [String] parent
299
335
  # Required. The name of the project in which the key will be created, in the
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.42.0
4
+ version: 0.43.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: 2024-01-07 00:00:00.000000000 Z
11
+ date: 2024-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.12.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.0
29
+ version: 0.12.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.42.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-recaptchaenterprise_v1/v0.43.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: []