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.



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

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)


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

def session_info
  @session_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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