Reference documentation and code samples for the Google Cloud Shell V1 Client class StartEnvironmentRequest.
Request message for StartEnvironment .
Generated from protobuf message google.cloud.shell.v1.StartEnvironmentRequest
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Name of the resource that should be started, for example users/me/environments/default
or users/someone@example.com/environments/default
.
↳ access_token
string
The initial access token passed to the environment. If this is present and valid, the environment will be pre-authenticated with gcloud so that the user can run gcloud commands in Cloud Shell without having to log in. This code can be updated later by calling AuthorizeEnvironment.
↳ public_keys
array
Public keys that should be added to the environment before it is started.
getName
Name of the resource that should be started, for example users/me/environments/default
or users/someone@example.com/environments/default
.
string
setName
Name of the resource that should be started, for example users/me/environments/default
or users/someone@example.com/environments/default
.
var
string
$this
getAccessToken
The initial access token passed to the environment. If this is present and valid, the environment will be pre-authenticated with gcloud so that the user can run gcloud commands in Cloud Shell without having to log in. This code can be updated later by calling AuthorizeEnvironment.
string
setAccessToken
The initial access token passed to the environment. If this is present and valid, the environment will be pre-authenticated with gcloud so that the user can run gcloud commands in Cloud Shell without having to log in. This code can be updated later by calling AuthorizeEnvironment.
var
string
$this
getPublicKeys
Public keys that should be added to the environment before it is started.
setPublicKeys
Public keys that should be added to the environment before it is started.
var
string[]
$this