Google Cloud Notebooks V2 Client - Class CreateInstanceRequest (1.0.0)

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
Name Description
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
Type Description
string

setParent

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

Parameter
Name Description
var string
Returns
Type Description
$this

getInstanceId

Required. User-defined unique ID of this instance.

Returns
Type Description
string

setInstanceId

Required. User-defined unique ID of this instance.

Parameter
Name Description
var string
Returns
Type Description
$this

getInstance

Required. The instance to be created.

Returns
Type Description
Google\Cloud\Notebooks\V2\Instance|null

hasInstance

clearInstance

setInstance

Required. The instance to be created.

Parameter
Name Description
var Google\Cloud\Notebooks\V2\Instance
Returns
Type Description
$this

getRequestId

Optional. Idempotent request UUID.

Returns
Type Description
string

setRequestId

Optional. Idempotent request UUID.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameters
Name Description
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
Type Description
Google\Cloud\Notebooks\V2\CreateInstanceRequest