BigQuery Data Transfer V1 Client - Class CreateDataSourceDefinitionRequest (1.3.8)

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

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}

Generated from protobuf field string parent = 1;

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}

Generated from protobuf field string parent = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDataSourceDefinition

Data source definition.

Generated from protobuf field .google.cloud.bigquery.datatransfer.v1.DataSourceDefinition data_source_definition = 2;

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

setDataSourceDefinition

Data source definition.

Generated from protobuf field .google.cloud.bigquery.datatransfer.v1.DataSourceDefinition data_source_definition = 2;

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