Skip to content

Commit 5497c4a

Browse files
feat: Automated regeneration of recaptchaenterprise v1 client (googleapis#24445)
Auto-created at 2025-09-28 10:39:55 +0000 using the toys pull request generator.
1 parent d14049b commit 5497c4a

File tree

5 files changed

+59
-2
lines changed

5 files changed

+59
-2
lines changed

api_names_out.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321718,6 +321718,7 @@
321718321718
"/recaptchaenterprise:v1/GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest/accountId": account_id
321719321719
"/recaptchaenterprise:v1/GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest/annotation": annotation
321720321720
"/recaptchaenterprise:v1/GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest/hashedAccountId": hashed_account_id
321721+
"/recaptchaenterprise:v1/GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest/phoneAuthenticationEvent": phone_authentication_event
321721321722
"/recaptchaenterprise:v1/GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest/reasons": reasons
321722321723
"/recaptchaenterprise:v1/GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest/reasons/reason": reason
321723321724
"/recaptchaenterprise:v1/GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest/transactionEvent": transaction_event
@@ -321876,6 +321877,9 @@
321876321877
"/recaptchaenterprise:v1/GoogleCloudRecaptchaenterpriseV1Metrics/startTime": start_time
321877321878
"/recaptchaenterprise:v1/GoogleCloudRecaptchaenterpriseV1MigrateKeyRequest": google_cloud_recaptchaenterprise_v1_migrate_key_request
321878321879
"/recaptchaenterprise:v1/GoogleCloudRecaptchaenterpriseV1MigrateKeyRequest/skipBillingCheck": skip_billing_check
321880+
"/recaptchaenterprise:v1/GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent": google_cloud_recaptchaenterprise_v1_phone_authentication_event
321881+
"/recaptchaenterprise:v1/GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent/eventTime": event_time
321882+
"/recaptchaenterprise:v1/GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent/phoneNumber": phone_number
321879321883
"/recaptchaenterprise:v1/GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment": google_cloud_recaptchaenterprise_v1_phone_fraud_assessment
321880321884
"/recaptchaenterprise:v1/GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment/smsTollFraudVerdict": sms_toll_fraud_verdict
321881321885
"/recaptchaenterprise:v1/GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification": google_cloud_recaptchaenterprise_v1_private_password_leak_verification

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.63.0 (2025-09-28)
4+
5+
* Regenerated from discovery document revision 20250917
6+
37
### v0.62.0 (2025-07-13)
48

59
* Regenerated from discovery document revision 20250706

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

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,11 @@ class GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest
174174
# @return [String]
175175
attr_accessor :hashed_account_id
176176

177+
# Details on a phone authentication event
178+
# Corresponds to the JSON property `phoneAuthenticationEvent`
179+
# @return [Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent]
180+
attr_accessor :phone_authentication_event
181+
177182
# Optional. Reasons for the annotation that are assigned to the event.
178183
# Corresponds to the JSON property `reasons`
179184
# @return [Array<String>]
@@ -193,6 +198,7 @@ def update!(**args)
193198
@account_id = args[:account_id] if args.key?(:account_id)
194199
@annotation = args[:annotation] if args.key?(:annotation)
195200
@hashed_account_id = args[:hashed_account_id] if args.key?(:hashed_account_id)
201+
@phone_authentication_event = args[:phone_authentication_event] if args.key?(:phone_authentication_event)
196202
@reasons = args[:reasons] if args.key?(:reasons)
197203
@transaction_event = args[:transaction_event] if args.key?(:transaction_event)
198204
end
@@ -1397,6 +1403,33 @@ def update!(**args)
13971403
end
13981404
end
13991405

1406+
# Details on a phone authentication event
1407+
class GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent
1408+
include Google::Apis::Core::Hashable
1409+
1410+
# Optional. The time at which the multi-factor authentication event (challenge
1411+
# or verification) occurred.
1412+
# Corresponds to the JSON property `eventTime`
1413+
# @return [String]
1414+
attr_accessor :event_time
1415+
1416+
# Required. Phone number in E.164 format for which a multi-factor authentication
1417+
# challenge was initiated, succeeded, or failed.
1418+
# Corresponds to the JSON property `phoneNumber`
1419+
# @return [String]
1420+
attr_accessor :phone_number
1421+
1422+
def initialize(**args)
1423+
update!(**args)
1424+
end
1425+
1426+
# Update properties of this object
1427+
def update!(**args)
1428+
@event_time = args[:event_time] if args.key?(:event_time)
1429+
@phone_number = args[:phone_number] if args.key?(:phone_number)
1430+
end
1431+
end
1432+
14001433
# Assessment for Phone Fraud
14011434
class GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment
14021435
include Google::Apis::Core::Hashable

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.62.0"
19+
GEM_VERSION = "0.63.0"
2020

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

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

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
274274
include Google::Apis::Core::JsonObjectSupport
275275
end
276276

277+
class GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent
278+
class Representation < Google::Apis::Core::JsonRepresentation; end
279+
280+
include Google::Apis::Core::JsonObjectSupport
281+
end
282+
277283
class GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment
278284
class Representation < Google::Apis::Core::JsonRepresentation; end
279285

@@ -507,6 +513,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
507513
property :account_id, as: 'accountId'
508514
property :annotation, as: 'annotation'
509515
property :hashed_account_id, :base64 => true, as: 'hashedAccountId'
516+
property :phone_authentication_event, as: 'phoneAuthenticationEvent', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent::Representation
517+
510518
collection :reasons, as: 'reasons'
511519
property :transaction_event, as: 'transactionEvent', class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TransactionEvent, decorator: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1TransactionEvent::Representation
512520

@@ -874,6 +882,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
874882
end
875883
end
876884

885+
class GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent
886+
# @private
887+
class Representation < Google::Apis::Core::JsonRepresentation
888+
property :event_time, as: 'eventTime'
889+
property :phone_number, as: 'phoneNumber'
890+
end
891+
end
892+
877893
class GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment
878894
# @private
879895
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)