Google Cloud Notebooks V1 Client - Class CreateInstanceRequest (0.5.0)

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

Request for creating a notebook instance.

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

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}

↳ instance_id string

Required. User-defined unique ID of this instance.

↳ instance Google\Cloud\Notebooks\V1\Instance

Required. The instance to be created.

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\V1\Instance|null

hasInstance

clearInstance

setInstance

Required. The instance to be created.

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

static::build

Parameters
NameDescription
parent string

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

instance Google\Cloud\Notebooks\V1\Instance

Required. The instance to be created.

instanceId string

Required. User-defined unique ID of this instance.

Returns
TypeDescription
Google\Cloud\Notebooks\V1\CreateInstanceRequest