Google Cloud Notebooks V1beta1 Client - Class CreateInstanceRequest (0.5.0)

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

Request for creating a notebook instance.

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

Namespace

Google \ Cloud \ Notebooks \ V1beta1

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

hasInstance

clearInstance

setInstance

Required. The instance to be created.

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