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}
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}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDataSourceDefinition
Data source definition.
Returns | |
---|---|
Type | Description |
Google\Cloud\BigQuery\DataTransfer\V1\DataSourceDefinition |
setDataSourceDefinition
Data source definition.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\BigQuery\DataTransfer\V1\DataSourceDefinition
|
Returns | |
---|---|
Type | Description |
$this |