Google Cloud Notebooks V1 Client - Class RefreshRuntimeTokenInternalResponse (0.5.0)

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 \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setAccessToken

The OAuth 2.0 access token.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getExpireTime

Output only. Token expiration time.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasExpireTime

clearExpireTime

setExpireTime

Output only. Token expiration time.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this