Reference documentation and code samples for the Google Cloud Notebooks V1 Client class RefreshRuntimeTokenInternalResponse.
Response with a new access token.
Generated from protobuf message google.cloud.notebooks.v1.RefreshRuntimeTokenInternalResponse
Namespace
Google \ Cloud \ Notebooks \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ access_token |
string
The OAuth 2.0 access token. |
↳ expire_time |
Google\Protobuf\Timestamp
Output only. Token expiration time. |
getAccessToken
The OAuth 2.0 access token.
Returns | |
---|---|
Type | Description |
string |
setAccessToken
The OAuth 2.0 access token.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getExpireTime
Output only. Token expiration time.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasExpireTime
clearExpireTime
setExpireTime
Output only. Token expiration time.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |