google-apis-recaptchaenterprise_v1 0.43.0 → 0.45.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: 972808fe6a26597c6386ae6aba7765867761e655be1eb0f5c938a40cf696b14a
4
- data.tar.gz: eeb3eb3095eb85bb65ddce2be22c965c7722af164f861913df49254bd7e366ea
3
+ metadata.gz: b6e45a8019567f1c311cbb66427fa2802b57c726e303a96f15d30249a5bad36a
4
+ data.tar.gz: 9dc8011fba02df1cf821880a437c28c5a5cfd3da347fb6091efd561bec3eaf59
5
5
  SHA512:
6
- metadata.gz: 3d0b5813ab446126e1fac9b5a503d27d301ef490625246bf990fb83e0ea95aa74af67f95b7ccabd877e59765be435bf6a4513ac2c7c3b3add9b70c31d7c8fade
7
- data.tar.gz: 872669b6ba6dfb269ce11bfd388f1313d45217110019d6365547c8d9dc744854a2ba1b2d4324431b6d8fb80ee27e072e28f0960bd8c54b2f6ba1bf7ab029743a
6
+ metadata.gz: 06b52dfa372b38fb6facf51b7a6598cb04ee3d99124ca287edabec4f43430e93a11130d5cc866d9d2336b7f214179dedcd16f59a41e772d9236f64c4db207315
7
+ data.tar.gz: a63b8f3bff1d17086d2408f78a9d7cb5301dfb13d7af05c17fa639c03ab330067145655630051964f07c217540bb9fcd5ddd49281f0d327685cc71005f5066a4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Release history for google-apis-recaptchaenterprise_v1
2
2
 
3
+ ### v0.45.0 (2024-02-23)
4
+
5
+ * Regenerated from discovery document revision 20240211
6
+ * Regenerated using generator version 0.14.0
7
+
8
+ ### v0.44.0 (2024-02-11)
9
+
10
+ * Regenerated from discovery document revision 20240204
11
+ * Regenerated using generator version 0.13.1
12
+
3
13
  ### v0.43.0 (2024-01-23)
4
14
 
5
15
  * Regenerated from discovery document revision 20240113
data/OVERVIEW.md CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://cloud.google.com/recaptcha-enterprise/) may
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.5+.
86
+ This library is supported on Ruby 2.7+.
87
87
 
88
- Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.5 and later. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
88
+ Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
90
90
  ## License
91
91
 
@@ -496,6 +496,15 @@ module Google
496
496
  # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction]
497
497
  attr_accessor :block
498
498
 
499
+ # An include reCAPTCHA script action involves injecting reCAPTCHA JavaScript
500
+ # code into the HTML returned by the site backend. This reCAPTCHA script is
501
+ # tasked with collecting user signals on the requested web page, issuing tokens
502
+ # as a cookie within the site domain, and enabling their utilization in
503
+ # subsequent page requests.
504
+ # Corresponds to the JSON property `includeRecaptchaScript`
505
+ # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FirewallActionIncludeRecaptchaScriptAction]
506
+ attr_accessor :include_recaptcha_script
507
+
499
508
  # A redirect action returns a 307 (temporary redirect) response, pointing the
500
509
  # user to a ReCaptcha interstitial page to attach a token.
501
510
  # Corresponds to the JSON property `redirect`
@@ -522,6 +531,7 @@ module Google
522
531
  def update!(**args)
523
532
  @allow = args[:allow] if args.key?(:allow)
524
533
  @block = args[:block] if args.key?(:block)
534
+ @include_recaptcha_script = args[:include_recaptcha_script] if args.key?(:include_recaptcha_script)
525
535
  @redirect = args[:redirect] if args.key?(:redirect)
526
536
  @set_header = args[:set_header] if args.key?(:set_header)
527
537
  @substitute = args[:substitute] if args.key?(:substitute)
@@ -555,6 +565,23 @@ module Google
555
565
  end
556
566
  end
557
567
 
568
+ # An include reCAPTCHA script action involves injecting reCAPTCHA JavaScript
569
+ # code into the HTML returned by the site backend. This reCAPTCHA script is
570
+ # tasked with collecting user signals on the requested web page, issuing tokens
571
+ # as a cookie within the site domain, and enabling their utilization in
572
+ # subsequent page requests.
573
+ class GoogleCloudRecaptchaenterpriseV1FirewallActionIncludeRecaptchaScriptAction
574
+ include Google::Apis::Core::Hashable
575
+
576
+ def initialize(**args)
577
+ update!(**args)
578
+ end
579
+
580
+ # Update properties of this object
581
+ def update!(**args)
582
+ end
583
+ end
584
+
558
585
  # A redirect action returns a 307 (temporary redirect) response, pointing the
559
586
  # user to a ReCaptcha interstitial page to attach a token.
560
587
  class GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction
@@ -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.43.0"
19
+ GEM_VERSION = "0.45.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.0"
22
+ GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240113"
25
+ REVISION = "20240211"
26
26
  end
27
27
  end
28
28
  end
@@ -100,6 +100,12 @@ module Google
100
100
  include Google::Apis::Core::JsonObjectSupport
101
101
  end
102
102
 
103
+ class GoogleCloudRecaptchaenterpriseV1FirewallActionIncludeRecaptchaScriptAction
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
103
109
  class GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction
104
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
111
 
@@ -498,6 +504,8 @@ module Google
498
504
 
499
505
  property :block, as: 'block', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction::Representation
500
506
 
507
+ property :include_recaptcha_script, as: 'includeRecaptchaScript', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FirewallActionIncludeRecaptchaScriptAction, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FirewallActionIncludeRecaptchaScriptAction::Representation
508
+
501
509
  property :redirect, as: 'redirect', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction::Representation
502
510
 
503
511
  property :set_header, as: 'setHeader', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction::Representation
@@ -519,6 +527,12 @@ module Google
519
527
  end
520
528
  end
521
529
 
530
+ class GoogleCloudRecaptchaenterpriseV1FirewallActionIncludeRecaptchaScriptAction
531
+ # @private
532
+ class Representation < Google::Apis::Core::JsonRepresentation
533
+ end
534
+ end
535
+
522
536
  class GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction
523
537
  # @private
524
538
  class Representation < Google::Apis::Core::JsonRepresentation
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.43.0
4
+ version: 0.45.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-23 00:00:00.000000000 Z
11
+ date: 2024-02-25 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.12.0
19
+ version: 0.14.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.12.0
29
+ version: 0.14.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.43.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-recaptchaenterprise_v1/v0.45.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: []
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
- version: '2.5'
71
+ version: '2.7'
72
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.3
78
+ rubygems_version: 3.5.6
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for reCAPTCHA Enterprise API V1