BigQuery Data Transfer V1 Client - Class EnrollDataSourcesRequest (1.8.4)

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

Namespace

Google \ Cloud \ BigQuery \ DataTransfer \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. 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

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

Returns
Type Description
string

setName

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

Parameter
Name Description
var string
Returns
Type Description
$this

getDataSourceIds

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setDataSourceIds

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

Parameter
Name Description
var string[]
Returns
Type Description
$this