Skip to content

Commit

Permalink
feat: Automated regeneration of recaptchaenterprise v1 client (#20435)
Browse files Browse the repository at this point in the history
Auto-created at 2024-10-20 09:55:18 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Oct 20, 2024
1 parent a88e921 commit 8242468
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 2 deletions.
1 change: 1 addition & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -280203,6 +280203,7 @@
"/recaptchaenterprise:v1/GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse": google_cloud_recaptchaenterprise_v1_retrieve_legacy_secret_key_response
"/recaptchaenterprise:v1/GoogleCloudRecaptchaenterpriseV1RetrieveLegacySecretKeyResponse/legacySecretKey": legacy_secret_key
"/recaptchaenterprise:v1/GoogleCloudRecaptchaenterpriseV1RiskAnalysis": google_cloud_recaptchaenterprise_v1_risk_analysis
"/recaptchaenterprise:v1/GoogleCloudRecaptchaenterpriseV1RiskAnalysis/challenge": challenge
"/recaptchaenterprise:v1/GoogleCloudRecaptchaenterpriseV1RiskAnalysis/extendedVerdictReasons": extended_verdict_reasons
"/recaptchaenterprise:v1/GoogleCloudRecaptchaenterpriseV1RiskAnalysis/extendedVerdictReasons/extended_verdict_reason": extended_verdict_reason
"/recaptchaenterprise:v1/GoogleCloudRecaptchaenterpriseV1RiskAnalysis/reasons": reasons
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-recaptchaenterprise_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-recaptchaenterprise_v1

### v0.57.0 (2024-10-20)

* Regenerated from discovery document revision 20241013

### v0.56.0 (2024-09-15)

* Regenerated from discovery document revision 20240906
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1552,6 +1552,11 @@ def update!(**args)
class GoogleCloudRecaptchaenterpriseV1RiskAnalysis
include Google::Apis::Core::Hashable

# Output only. Challenge information for SCORE_AND_CHALLENGE keys
# Corresponds to the JSON property `challenge`
# @return [String]
attr_accessor :challenge

# Output only. Extended verdict reasons to be used for experimentation only. The
# set of possible reasons is subject to change.
# Corresponds to the JSON property `extendedVerdictReasons`
Expand All @@ -1575,6 +1580,7 @@ def initialize(**args)

# Update properties of this object
def update!(**args)
@challenge = args[:challenge] if args.key?(:challenge)
@extended_verdict_reasons = args[:extended_verdict_reasons] if args.key?(:extended_verdict_reasons)
@reasons = args[:reasons] if args.key?(:reasons)
@score = args[:score] if args.key?(:score)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module RecaptchaenterpriseV1
# Version of the google-apis-recaptchaenterprise_v1 gem
GEM_VERSION = "0.56.0"
GEM_VERSION = "0.57.0"

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

# Revision of the discovery document this client was generated from
REVISION = "20240906"
REVISION = "20241013"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -903,6 +903,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
class GoogleCloudRecaptchaenterpriseV1RiskAnalysis
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :challenge, as: 'challenge'
collection :extended_verdict_reasons, as: 'extendedVerdictReasons'
collection :reasons, as: 'reasons'
property :score, as: 'score'
Expand Down

0 comments on commit 8242468

Please sign in to comment.