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.



1783
1784
1785
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1783

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)


1781
1782
1783
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1781

def session_info
  @session_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1788
1789
1790
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1788

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