BigQuery Data Transfer V1 Client - Class StartBigQueryJobsRequest (1.6.2)

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

A request to start and monitor a BigQuery load job.

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

Namespace

Google \ Cloud \ BigQuery \ DataTransfer \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Name of the resource in the form: "projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}"

↳ imported_data array<Google\Cloud\BigQuery\DataTransfer\V1\ImportedDataInfo>

Import jobs which should be started and monitored.

↳ user_credentials string

User credentials which should be used to start/monitor BigQuery jobs. If not specified, then jobs are started using data source service account credentials. This may be OAuth token or JWT token.

↳ max_parallelism int

The number of BQ Jobs that can run in parallel.

getName

Name of the resource in the form: "projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}"

Returns
TypeDescription
string

setName

Name of the resource in the form: "projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}"

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getImportedData

Import jobs which should be started and monitored.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setImportedData

Import jobs which should be started and monitored.

Parameter
NameDescription
var array<Google\Cloud\BigQuery\DataTransfer\V1\ImportedDataInfo>
Returns
TypeDescription
$this

getUserCredentials

User credentials which should be used to start/monitor BigQuery jobs. If not specified, then jobs are started using data source service account credentials.

This may be OAuth token or JWT token.

Returns
TypeDescription
string

setUserCredentials

User credentials which should be used to start/monitor BigQuery jobs. If not specified, then jobs are started using data source service account credentials.

This may be OAuth token or JWT token.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMaxParallelism

The number of BQ Jobs that can run in parallel.

Returns
TypeDescription
int

setMaxParallelism

The number of BQ Jobs that can run in parallel.

Parameter
NameDescription
var int
Returns
TypeDescription
$this