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.



1823
1824
1825
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1823

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)


1821
1822
1823
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1821

def session_info
  @session_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1828
1829
1830
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1828

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