Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
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.63.0 (2025-09-28)

* Regenerated from discovery document revision 20250917

### v0.62.0 (2025-07-13)

* Regenerated from discovery document revision 20250706
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<String>]
Expand All @@ -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
Expand Down Expand Up @@ -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
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.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
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down
Loading