Reference documentation and code samples for the Google Cloud Shell V1 Client class AuthorizeEnvironmentRequest.
Request message for AuthorizeEnvironment .
Generated from protobuf message google.cloud.shell.v1.AuthorizeEnvironmentRequest
Namespace
Google \ Cloud \ Shell \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Name of the resource that should receive the credentials, for example users/me/environments/default
or users/someone@example.com/environments/default
.
↳ access_token
string
The OAuth access token that should be sent to the environment.
↳ id_token
string
The OAuth ID token that should be sent to the environment.
↳ expire_time
Google\Protobuf\Timestamp
The time when the credentials expire. If not set, defaults to one hour from when the server received the request.
getName
Name of the resource that should receive the credentials, for example users/me/environments/default
or users/someone@example.com/environments/default
.
string
setName
Name of the resource that should receive the credentials, for example users/me/environments/default
or users/someone@example.com/environments/default
.
var
string
$this
getAccessToken
The OAuth access token that should be sent to the environment.
string
setAccessToken
The OAuth access token that should be sent to the environment.
var
string
$this
getIdToken
The OAuth ID token that should be sent to the environment.
string
setIdToken
The OAuth ID token that should be sent to the environment.
var
string
$this
getExpireTime
The time when the credentials expire. If not set, defaults to one hour from when the server received the request.
hasExpireTime
clearExpireTime
setExpireTime
The time when the credentials expire. If not set, defaults to one hour from when the server received the request.
$this