Class: Google::Apis::NotebooksV1::RefreshRuntimeTokenInternalResponse
- Inherits:
-
Object
- Object
- Google::Apis::NotebooksV1::RefreshRuntimeTokenInternalResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/notebooks_v1/classes.rb,
lib/google/apis/notebooks_v1/representations.rb,
lib/google/apis/notebooks_v1/representations.rb
Overview
Response with a new access token.
Instance Attribute Summary collapse
-
#access_token ⇒ String
The OAuth 2.0 access token.
-
#expire_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RefreshRuntimeTokenInternalResponse
constructor
A new instance of RefreshRuntimeTokenInternalResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RefreshRuntimeTokenInternalResponse
Returns a new instance of RefreshRuntimeTokenInternalResponse.
1863 1864 1865 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1863 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_token ⇒ String
The OAuth 2.0 access token.
Corresponds to the JSON property accessToken
1856 1857 1858 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1856 def access_token @access_token end |
#expire_time ⇒ String
Output only. Token expiration time.
Corresponds to the JSON property expireTime
1861 1862 1863 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1861 def expire_time @expire_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1868 1869 1870 1871 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1868 def update!(**args) @access_token = args[:access_token] if args.key?(:access_token) @expire_time = args[:expire_time] if args.key?(:expire_time) end |