Skip to content

Commit 503de58

Browse files
feat: Automated regeneration of recaptchaenterprise v1 client (googleapis#20227)
Auto-created at 2024-09-15 09:47:11 +0000 using the toys pull request generator.
1 parent 8a10882 commit 503de58

File tree

4 files changed

+35
-32
lines changed

4 files changed

+35
-32
lines changed

generated/google-apis-recaptchaenterprise_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-recaptchaenterprise_v1
22

3+
### v0.56.0 (2024-09-15)
4+
5+
* Regenerated from discovery document revision 20240906
6+
37
### v0.55.0 (2024-09-01)
48

59
* Regenerated from discovery document revision 20240825

generated/google-apis-recaptchaenterprise_v1/lib/google/apis/recaptchaenterprise_v1/classes.rb

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,9 @@ class GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest
158158
# @return [String]
159159
attr_accessor :account_id
160160

161-
# Optional. The annotation that will be assigned to the Event. This field can be
162-
# left empty to provide reasons that apply to an event without concluding
163-
# whether the event is legitimate or fraudulent.
161+
# Optional. The annotation that is assigned to the Event. This field can be left
162+
# empty to provide reasons that apply to an event without concluding whether the
163+
# event is legitimate or fraudulent.
164164
# Corresponds to the JSON property `annotation`
165165
# @return [String]
166166
attr_accessor :annotation
@@ -462,8 +462,8 @@ class GoogleCloudRecaptchaenterpriseV1Event
462462
alias_method :express?, :express
463463

464464
# Optional. Flag for enabling firewall policy config assessment. If this flag is
465-
# enabled, the firewall policy will be evaluated and a suggested firewall action
466-
# will be returned in the response.
465+
# enabled, the firewall policy is evaluated and a suggested firewall action is
466+
# returned in the response.
467467
# Corresponds to the JSON property `firewallPolicyEvaluation`
468468
# @return [Boolean]
469469
attr_accessor :firewall_policy_evaluation
@@ -600,7 +600,7 @@ class GoogleCloudRecaptchaenterpriseV1FirewallAction
600600
attr_accessor :include_recaptcha_script
601601

602602
# A redirect action returns a 307 (temporary redirect) response, pointing the
603-
# user to a ReCaptcha interstitial page to attach a token.
603+
# user to a reCAPTCHA interstitial page to attach a token.
604604
# Corresponds to the JSON property `redirect`
605605
# @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction]
606606
attr_accessor :redirect
@@ -677,7 +677,7 @@ def update!(**args)
677677
end
678678

679679
# A redirect action returns a 307 (temporary redirect) response, pointing the
680-
# user to a ReCaptcha interstitial page to attach a token.
680+
# user to a reCAPTCHA interstitial page to attach a token.
681681
class GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction
682682
include Google::Apis::Core::Hashable
683683

@@ -1274,9 +1274,8 @@ def update!(**args)
12741274
class GoogleCloudRecaptchaenterpriseV1Metrics
12751275
include Google::Apis::Core::Hashable
12761276

1277-
# Metrics will be continuous and in order by dates, and in the granularity of
1278-
# day. Only challenge-based keys (CHECKBOX, INVISIBLE), will have challenge-
1279-
# based data.
1277+
# Metrics are continuous and in order by dates, and in the granularity of day.
1278+
# Only challenge-based keys (CHECKBOX, INVISIBLE) have challenge-based data.
12801279
# Corresponds to the JSON property `challengeMetrics`
12811280
# @return [Array<Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ChallengeMetrics>]
12821281
attr_accessor :challenge_metrics
@@ -1287,8 +1286,8 @@ class GoogleCloudRecaptchaenterpriseV1Metrics
12871286
# @return [String]
12881287
attr_accessor :name
12891288

1290-
# Metrics will be continuous and in order by dates, and in the granularity of
1291-
# day. All Key types should have score-based data.
1289+
# Metrics are continuous and in order by dates, and in the granularity of day.
1290+
# All Key types should have score-based data.
12921291
# Corresponds to the JSON property `scoreMetrics`
12931292
# @return [Array<Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1ScoreMetrics>]
12941293
attr_accessor :score_metrics
@@ -1737,14 +1736,14 @@ class GoogleCloudRecaptchaenterpriseV1TestingOptions
17371736
include Google::Apis::Core::Hashable
17381737

17391738
# Optional. For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge
1740-
# requests for this site will return nocaptcha if NOCAPTCHA, or an unsolvable
1739+
# requests for this site return nocaptcha if NOCAPTCHA, or an unsolvable
17411740
# challenge if CHALLENGE.
17421741
# Corresponds to the JSON property `testingChallenge`
17431742
# @return [String]
17441743
attr_accessor :testing_challenge
17451744

1746-
# Optional. All assessments for this Key will return this score. Must be between
1747-
# 0 (likely not legitimate) and 1 (likely legitimate) inclusive.
1745+
# Optional. All assessments for this Key return this score. Must be between 0 (
1746+
# likely not legitimate) and 1 (likely legitimate) inclusive.
17481747
# Corresponds to the JSON property `testingScore`
17491748
# @return [Float]
17501749
attr_accessor :testing_score
@@ -2248,7 +2247,7 @@ def update!(**args)
22482247
class GoogleCloudRecaptchaenterpriseV1WebKeySettings
22492248
include Google::Apis::Core::Hashable
22502249

2251-
# Optional. If set to true, it means allowed_domains will not be enforced.
2250+
# Optional. If set to true, it means allowed_domains are not enforced.
22522251
# Corresponds to the JSON property `allowAllDomains`
22532252
# @return [Boolean]
22542253
attr_accessor :allow_all_domains
@@ -2271,7 +2270,7 @@ class GoogleCloudRecaptchaenterpriseV1WebKeySettings
22712270

22722271
# Optional. Settings for the frequency and difficulty at which this key triggers
22732272
# captcha challenges. This should only be specified for IntegrationTypes
2274-
# CHECKBOX and INVISIBLE.
2273+
# CHECKBOX and INVISIBLE and SCORE_AND_CHALLENGE.
22752274
# Corresponds to the JSON property `challengeSecurityPreference`
22762275
# @return [String]
22772276
attr_accessor :challenge_security_preference

generated/google-apis-recaptchaenterprise_v1/lib/google/apis/recaptchaenterprise_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module RecaptchaenterpriseV1
1818
# Version of the google-apis-recaptchaenterprise_v1 gem
19-
GEM_VERSION = "0.55.0"
19+
GEM_VERSION = "0.56.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.15.1"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20240825"
25+
REVISION = "20240906"
2626
end
2727
end
2828
end

generated/google-apis-recaptchaenterprise_v1/lib/google/apis/recaptchaenterprise_v1/service.rb

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ def annotate_project_assessment(name, google_cloud_recaptchaenterprise_v1_annota
8989

9090
# Creates an Assessment of the likelihood an event is legitimate.
9191
# @param [String] parent
92-
# Required. The name of the project in which the assessment will be created, in
93-
# the format `projects/`project``.
92+
# Required. The name of the project in which the assessment is created, in the
93+
# format `projects/`project``.
9494
# @param [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Assessment] google_cloud_recaptchaenterprise_v1_assessment_object
9595
# @param [String] fields
9696
# Selector specifying which fields to include in a partial response.
@@ -125,7 +125,7 @@ def create_project_assessment(parent, google_cloud_recaptchaenterprise_v1_assess
125125
# Enterprise actions can be executed. A project may have a maximum of 1000
126126
# policies.
127127
# @param [String] parent
128-
# Required. The name of the project this policy will apply to, in the format `
128+
# Required. The name of the project this policy applies to, in the format `
129129
# projects/`project``.
130130
# @param [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FirewallPolicy] google_cloud_recaptchaenterprise_v1_firewall_policy_object
131131
# @param [String] fields
@@ -265,7 +265,7 @@ def list_project_firewallpolicies(parent, page_size: nil, page_token: nil, field
265265
# @param [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1FirewallPolicy] google_cloud_recaptchaenterprise_v1_firewall_policy_object
266266
# @param [String] update_mask
267267
# Optional. The mask to control which fields of the policy get updated. If the
268-
# mask is not present, all fields will be updated.
268+
# mask is not present, all fields are updated.
269269
# @param [String] fields
270270
# Selector specifying which fields to include in a partial response.
271271
# @param [String] quota_user
@@ -332,7 +332,7 @@ def reorder_project_firewallpolicy(parent, google_cloud_recaptchaenterprise_v1_r
332332

333333
# Adds an IP override to a key. The following restrictions hold: * The maximum
334334
# number of IP overrides per key is 100. * For any conflict (such as IP already
335-
# exists or IP part of an existing IP range), an error will be returned.
335+
# exists or IP part of an existing IP range), an error is returned.
336336
# @param [String] name
337337
# Required. The name of the key to which the IP override is added, in the format
338338
# `projects/`project`/keys/`key``.
@@ -368,8 +368,8 @@ def add_project_key_ip_override(name, google_cloud_recaptchaenterprise_v1_add_ip
368368

369369
# Creates a new reCAPTCHA Enterprise key.
370370
# @param [String] parent
371-
# Required. The name of the project in which the key will be created, in the
372-
# format `projects/`project``.
371+
# Required. The name of the project in which the key is created, in the format `
372+
# projects/`project``.
373373
# @param [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Key] google_cloud_recaptchaenterprise_v1_key_object
374374
# @param [String] fields
375375
# Selector specifying which fields to include in a partial response.
@@ -496,8 +496,8 @@ def get_project_key_metrics(name, fields: nil, quota_user: nil, options: nil, &b
496496

497497
# Returns the list of all keys that belong to a project.
498498
# @param [String] parent
499-
# Required. The name of the project that contains the keys that will be listed,
500-
# in the format `projects/`project``.
499+
# Required. The name of the project that contains the keys that is listed, in
500+
# the format `projects/`project``.
501501
# @param [Fixnum] page_size
502502
# Optional. The maximum number of keys to return. Default is 10. Max limit is
503503
# 1000.
@@ -618,7 +618,7 @@ def migrate_project_key(name, google_cloud_recaptchaenterprise_v1_migrate_key_re
618618
# @param [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1Key] google_cloud_recaptchaenterprise_v1_key_object
619619
# @param [String] update_mask
620620
# Optional. The mask to control which fields of the key get updated. If the mask
621-
# is not present, all fields will be updated.
621+
# is not present, all fields are updated.
622622
# @param [String] fields
623623
# Selector specifying which fields to include in a partial response.
624624
# @param [String] quota_user
@@ -650,9 +650,9 @@ def patch_project_key(name, google_cloud_recaptchaenterprise_v1_key_object = nil
650650
end
651651

652652
# Removes an IP override from a key. The following restrictions hold: * If the
653-
# IP isn't found in an existing IP override, a `NOT_FOUND` error will be
654-
# returned. * If the IP is found in an existing IP override, but the override
655-
# type does not match, a `NOT_FOUND` error will be returned.
653+
# IP isn't found in an existing IP override, a `NOT_FOUND` error is returned. *
654+
# If the IP is found in an existing IP override, but the override type does not
655+
# match, a `NOT_FOUND` error is returned.
656656
# @param [String] name
657657
# Required. The name of the key from which the IP override is removed, in the
658658
# format `projects/`project`/keys/`key``.

0 commit comments

Comments
 (0)