Class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1CreateSessionCookieResponse

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 CreateSessionCookie.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1CreateSessionCookieResponse

Returns a new instance of GoogleCloudIdentitytoolkitV1CreateSessionCookieResponse.



434
435
436
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 434

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

Instance Attribute Details

The session cookie that has been created from the Identity Platform ID token specified in the request. It is in the form of a JSON Web Token (JWT). Always present. Corresponds to the JSON property sessionCookie

Returns:

  • (String)


432
433
434
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 432

def session_cookie
  @session_cookie
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



439
440
441
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 439

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