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

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
NameDescription
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
TypeDescription
string

setParent

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getInstanceId

Required. The name of the instance to create.

Returns
TypeDescription
string

setInstanceId

Required. The name of the instance to create.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getInstance

An instance resource.

Returns
TypeDescription
Google\Cloud\DataFusion\V1\Instance|null

hasInstance

clearInstance

setInstance

An instance resource.

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

static::build

Parameters
NameDescription
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
TypeDescription
Google\Cloud\DataFusion\V1\CreateInstanceRequest