Class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1SendVerificationCodeResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/identitytoolkit_v1/classes.rb,
lib/google/apis/identitytoolkit_v1/representations.rb,
lib/google/apis/identitytoolkit_v1/representations.rb

Overview

Response message for SendVerificationCode.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1SendVerificationCodeResponse

Returns a new instance of GoogleCloudIdentitytoolkitV1SendVerificationCodeResponse.



1845
1846
1847
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1845

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#session_infoString

Encrypted session information. This can be used in signInWithPhoneNumber to authenticate the phone number. Corresponds to the JSON property sessionInfo

Returns:

  • (String)


1843
1844
1845
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1843

def session_info
  @session_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1850
1851
1852
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1850

def update!(**args)
  @session_info = args[:session_info] if args.key?(:session_info)
end