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 | |
---|---|
Name | Description |
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: |
↳ 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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDataSourceDefinition
Data source definition.
Generated from protobuf field .google.cloud.bigquery.datatransfer.v1.DataSourceDefinition data_source_definition = 2;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
Google\Cloud\BigQuery\DataTransfer\V1\DataSourceDefinition
|
Returns | |
---|---|
Type | Description |
$this |