BigQuery Data Transfer V1 Client - Class EnrollDataSourcesRequest (1.4.5)

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

A request to enroll a set of data sources so they are visible in the BigQuery UI's Transfer tab.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

The name of the project resource in the form: projects/{project_id}

↳ data_source_ids array

Data sources that are enrolled. It is required to provide at least one data source id.

getName

The name of the project resource in the form: projects/{project_id}

Returns
TypeDescription
string

setName

The name of the project resource in the form: projects/{project_id}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDataSourceIds

Data sources that are enrolled. It is required to provide at least one data source id.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setDataSourceIds

Data sources that are enrolled. It is required to provide at least one data source id.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this