Class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1CreateSessionCookieResponse
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1CreateSessionCookieResponse
- 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
-
#session_cookie ⇒ String
The session cookie that has been created from the Identity Platform ID token specified in the request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1CreateSessionCookieResponse
constructor
A new instance of GoogleCloudIdentitytoolkitV1CreateSessionCookieResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#session_cookie ⇒ String
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
432 433 434 |
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 432 def @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 |