BigQuery Data Transfer V1 Client - Class CreateDataSourceDefinitionRequest (1.7.0)

Reference documentation and code samples for the BigQuery Data Transfer V1 Client class CreateDataSourceDefinitionRequest.

Represents the request of the CreateDataSourceDefinition method.

Generated from protobuf message google.cloud.bigquery.datatransfer.v1.CreateDataSourceDefinitionRequest

Namespace

Google \ Cloud \ BigQuery \ DataTransfer \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

The BigQuery project id for which data source definition is associated. Must be in the form: projects/{project_id}/locations/{location_id}

↳ data_source_definition Google\Cloud\BigQuery\DataTransfer\V1\DataSourceDefinition

Data source definition.

getParent

The BigQuery project id for which data source definition is associated.

Must be in the form: projects/{project_id}/locations/{location_id}

Returns
TypeDescription
string

setParent

The BigQuery project id for which data source definition is associated.

Must be in the form: projects/{project_id}/locations/{location_id}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDataSourceDefinition

Data source definition.

Returns
TypeDescription
Google\Cloud\BigQuery\DataTransfer\V1\DataSourceDefinition

setDataSourceDefinition

Data source definition.

Parameter
NameDescription
var Google\Cloud\BigQuery\DataTransfer\V1\DataSourceDefinition
Returns
TypeDescription
$this