From 8aa278c23c36ae68dfde5f66c19620283d2cdc36 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 28 Sep 2025 10:39:56 +0000 Subject: [PATCH] feat: Automated regeneration of recaptchaenterprise v1 client --- api_names_out.yaml | 4 +++ .../CHANGELOG.md | 4 +++ .../apis/recaptchaenterprise_v1/classes.rb | 33 +++++++++++++++++++ .../recaptchaenterprise_v1/gem_version.rb | 4 +-- .../recaptchaenterprise_v1/representations.rb | 16 +++++++++ 5 files changed, 59 insertions(+), 2 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 41bf745ccbe..5056005a3d9 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -320663,6 +320663,7 @@ "/recaptchaenterprise:v1/GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest/accountId": account_id "/recaptchaenterprise:v1/GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest/annotation": annotation "/recaptchaenterprise:v1/GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest/hashedAccountId": hashed_account_id +"/recaptchaenterprise:v1/GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest/phoneAuthenticationEvent": phone_authentication_event "/recaptchaenterprise:v1/GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest/reasons": reasons "/recaptchaenterprise:v1/GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest/reasons/reason": reason "/recaptchaenterprise:v1/GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest/transactionEvent": transaction_event @@ -320821,6 +320822,9 @@ "/recaptchaenterprise:v1/GoogleCloudRecaptchaenterpriseV1Metrics/startTime": start_time "/recaptchaenterprise:v1/GoogleCloudRecaptchaenterpriseV1MigrateKeyRequest": google_cloud_recaptchaenterprise_v1_migrate_key_request "/recaptchaenterprise:v1/GoogleCloudRecaptchaenterpriseV1MigrateKeyRequest/skipBillingCheck": skip_billing_check +"/recaptchaenterprise:v1/GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent": google_cloud_recaptchaenterprise_v1_phone_authentication_event +"/recaptchaenterprise:v1/GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent/eventTime": event_time +"/recaptchaenterprise:v1/GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent/phoneNumber": phone_number "/recaptchaenterprise:v1/GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment": google_cloud_recaptchaenterprise_v1_phone_fraud_assessment "/recaptchaenterprise:v1/GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment/smsTollFraudVerdict": sms_toll_fraud_verdict "/recaptchaenterprise:v1/GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification": google_cloud_recaptchaenterprise_v1_private_password_leak_verification diff --git a/generated/google-apis-recaptchaenterprise_v1/CHANGELOG.md b/generated/google-apis-recaptchaenterprise_v1/CHANGELOG.md index 9e028362c33..a19656458cb 100644 --- a/generated/google-apis-recaptchaenterprise_v1/CHANGELOG.md +++ b/generated/google-apis-recaptchaenterprise_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-recaptchaenterprise_v1 +### v0.63.0 (2025-09-28) + +* Regenerated from discovery document revision 20250917 + ### v0.62.0 (2025-07-13) * Regenerated from discovery document revision 20250706 diff --git a/generated/google-apis-recaptchaenterprise_v1/lib/google/apis/recaptchaenterprise_v1/classes.rb b/generated/google-apis-recaptchaenterprise_v1/lib/google/apis/recaptchaenterprise_v1/classes.rb index dea3805604e..9eccd79663a 100644 --- a/generated/google-apis-recaptchaenterprise_v1/lib/google/apis/recaptchaenterprise_v1/classes.rb +++ b/generated/google-apis-recaptchaenterprise_v1/lib/google/apis/recaptchaenterprise_v1/classes.rb @@ -174,6 +174,11 @@ class GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest # @return [String] attr_accessor :hashed_account_id + # Details on a phone authentication event + # Corresponds to the JSON property `phoneAuthenticationEvent` + # @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent] + attr_accessor :phone_authentication_event + # Optional. Reasons for the annotation that are assigned to the event. # Corresponds to the JSON property `reasons` # @return [Array] @@ -193,6 +198,7 @@ def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @annotation = args[:annotation] if args.key?(:annotation) @hashed_account_id = args[:hashed_account_id] if args.key?(:hashed_account_id) + @phone_authentication_event = args[:phone_authentication_event] if args.key?(:phone_authentication_event) @reasons = args[:reasons] if args.key?(:reasons) @transaction_event = args[:transaction_event] if args.key?(:transaction_event) end @@ -1397,6 +1403,33 @@ def update!(**args) end end + # Details on a phone authentication event + class GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent + include Google::Apis::Core::Hashable + + # Optional. The time at which the multi-factor authentication event (challenge + # or verification) occurred. + # Corresponds to the JSON property `eventTime` + # @return [String] + attr_accessor :event_time + + # Required. Phone number in E.164 format for which a multi-factor authentication + # challenge was initiated, succeeded, or failed. + # Corresponds to the JSON property `phoneNumber` + # @return [String] + attr_accessor :phone_number + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @event_time = args[:event_time] if args.key?(:event_time) + @phone_number = args[:phone_number] if args.key?(:phone_number) + end + end + # Assessment for Phone Fraud class GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment include Google::Apis::Core::Hashable diff --git a/generated/google-apis-recaptchaenterprise_v1/lib/google/apis/recaptchaenterprise_v1/gem_version.rb b/generated/google-apis-recaptchaenterprise_v1/lib/google/apis/recaptchaenterprise_v1/gem_version.rb index f8d6e52064f..be93f578ba4 100644 --- a/generated/google-apis-recaptchaenterprise_v1/lib/google/apis/recaptchaenterprise_v1/gem_version.rb +++ b/generated/google-apis-recaptchaenterprise_v1/lib/google/apis/recaptchaenterprise_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module RecaptchaenterpriseV1 # Version of the google-apis-recaptchaenterprise_v1 gem - GEM_VERSION = "0.62.0" + GEM_VERSION = "0.63.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20250706" + REVISION = "20250917" end end end diff --git a/generated/google-apis-recaptchaenterprise_v1/lib/google/apis/recaptchaenterprise_v1/representations.rb b/generated/google-apis-recaptchaenterprise_v1/lib/google/apis/recaptchaenterprise_v1/representations.rb index ec48c3012b8..b23e0cfe76c 100644 --- a/generated/google-apis-recaptchaenterprise_v1/lib/google/apis/recaptchaenterprise_v1/representations.rb +++ b/generated/google-apis-recaptchaenterprise_v1/lib/google/apis/recaptchaenterprise_v1/representations.rb @@ -274,6 +274,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment class Representation < Google::Apis::Core::JsonRepresentation; end @@ -507,6 +513,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :account_id, as: 'accountId' property :annotation, as: 'annotation' property :hashed_account_id, :base64 => true, as: 'hashedAccountId' + property :phone_authentication_event, as: 'phoneAuthenticationEvent', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent::Representation + collection :reasons, as: 'reasons' property :transaction_event, as: 'transactionEvent', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TransactionEvent, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TransactionEvent::Representation @@ -874,6 +882,14 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :event_time, as: 'eventTime' + property :phone_number, as: 'phoneNumber' + end + end + class GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment # @private class Representation < Google::Apis::Core::JsonRepresentation