Google Cloud Notebooks V1 Client - Class RefreshRuntimeTokenInternalRequest (1.0.0)

Reference documentation and code samples for the Google Cloud Notebooks V1 Client class RefreshRuntimeTokenInternalRequest.

Request for getting a new access token.

Generated from protobuf message google.cloud.notebooks.v1.RefreshRuntimeTokenInternalRequest

Namespace

Google \ Cloud \ Notebooks \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. Format: projects/{project_id}/locations/{location}/runtimes/{runtime_id}

↳ vm_id string

Required. The VM hardware token for authenticating the VM. https://cloud.google.com/compute/docs/instances/verifying-instance-identity

getName

Required. Format: projects/{project_id}/locations/{location}/runtimes/{runtime_id}

Returns
Type Description
string

setName

Required. Format: projects/{project_id}/locations/{location}/runtimes/{runtime_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getVmId

Required. The VM hardware token for authenticating the VM.

https://cloud.google.com/compute/docs/instances/verifying-instance-identity

Returns
Type Description
string

setVmId

Required. The VM hardware token for authenticating the VM.

https://cloud.google.com/compute/docs/instances/verifying-instance-identity

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameters
Name Description
name string

Required. Format: projects/{project_id}/locations/{location}/runtimes/{runtime_id} Please see Google\Cloud\Notebooks\V1\ManagedNotebookServiceClient::runtimeName() for help formatting this field.

vmId string

Required. The VM hardware token for authenticating the VM. https://cloud.google.com/compute/docs/instances/verifying-instance-identity

Returns
Type Description
Google\Cloud\Notebooks\V1\RefreshRuntimeTokenInternalRequest