Google Cloud Data Fusion V1 Client - Class CreateInstanceRequest (0.6.5)

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

Request message for creating a Data Fusion instance.

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

Namespace

Google \ Cloud \ DataFusion \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The instance's project and location in the format projects/{project}/locations/{location}.

↳ instance_id string

Required. The name of the instance to create.

↳ instance Google\Cloud\DataFusion\V1\Instance

An instance resource.

getParent

Required. The instance's project and location in the format projects/{project}/locations/{location}.

Returns
Type Description
string

setParent

Required. The instance's project and location in the format projects/{project}/locations/{location}.

Parameter
Name Description
var string
Returns
Type Description
$this

getInstanceId

Required. The name of the instance to create.

Returns
Type Description
string

setInstanceId

Required. The name of the instance to create.

Parameter
Name Description
var string
Returns
Type Description
$this

getInstance

An instance resource.

Returns
Type Description
Google\Cloud\DataFusion\V1\Instance|null

hasInstance

clearInstance

setInstance

An instance resource.

Parameter
Name Description
var Google\Cloud\DataFusion\V1\Instance
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The instance's project and location in the format projects/{project}/locations/{location}. Please see Google\Cloud\DataFusion\V1\DataFusionClient::locationName() for help formatting this field.

instance Google\Cloud\DataFusion\V1\Instance

An instance resource.

instanceId string

Required. The name of the instance to create.

Returns
Type Description
Google\Cloud\DataFusion\V1\CreateInstanceRequest