Google Cloud Notebooks V1 Client - Class CreateRuntimeRequest (0.5.0)

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

Request for creating a Managed Notebook Runtime.

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

Namespace

Google \ Cloud \ Notebooks \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Format: parent=projects/{project_id}/locations/{location}

↳ runtime_id string

Required. User-defined unique ID of this Runtime.

↳ runtime Google\Cloud\Notebooks\V1\Runtime

Required. The Runtime to be created.

↳ request_id string

Idempotent request UUID.

getParent

Required. Format: parent=projects/{project_id}/locations/{location}

Returns
TypeDescription
string

setParent

Required. Format: parent=projects/{project_id}/locations/{location}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRuntimeId

Required. User-defined unique ID of this Runtime.

Returns
TypeDescription
string

setRuntimeId

Required. User-defined unique ID of this Runtime.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRuntime

Required. The Runtime to be created.

Returns
TypeDescription
Google\Cloud\Notebooks\V1\Runtime|null

hasRuntime

clearRuntime

setRuntime

Required. The Runtime to be created.

Parameter
NameDescription
var Google\Cloud\Notebooks\V1\Runtime
Returns
TypeDescription
$this

getRequestId

Idempotent request UUID.

Returns
TypeDescription
string

setRequestId

Idempotent request UUID.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parent string

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

runtimeId string

Required. User-defined unique ID of this Runtime.

runtime Google\Cloud\Notebooks\V1\Runtime

Required. The Runtime to be created.

Returns
TypeDescription
Google\Cloud\Notebooks\V1\CreateRuntimeRequest