Google Cloud Notebooks V2 Client - Class CreateInstanceRequest (0.6.2)

Reference documentation and code samples for the Google Cloud Notebooks V2 Client class CreateInstanceRequest.

Request for creating a notebook instance.

Generated from protobuf message google.cloud.notebooks.v2.CreateInstanceRequest

Namespace

Google \ Cloud \ Notebooks \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

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

↳ instance_id string

Required. User-defined unique ID of this instance.

↳ instance Google\Cloud\Notebooks\V2\Instance

Required. The instance to be created.

↳ request_id string

Optional. 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

getInstanceId

Required. User-defined unique ID of this instance.

Returns
TypeDescription
string

setInstanceId

Required. User-defined unique ID of this instance.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getInstance

Required. The instance to be created.

Returns
TypeDescription
Google\Cloud\Notebooks\V2\Instance|null

hasInstance

clearInstance

setInstance

Required. The instance to be created.

Parameter
NameDescription
var Google\Cloud\Notebooks\V2\Instance
Returns
TypeDescription
$this

getRequestId

Optional. Idempotent request UUID.

Returns
TypeDescription
string

setRequestId

Optional. 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\V2\NotebookServiceClient::locationName() for help formatting this field.

instance Google\Cloud\Notebooks\V2\Instance

Required. The instance to be created.

instanceId string

Required. User-defined unique ID of this instance.

Returns
TypeDescription
Google\Cloud\Notebooks\V2\CreateInstanceRequest