BigQuery Data Transfer V1 Client - Class EnrollDataSourcesRequest (1.3.8)

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}

Generated from protobuf field string name = 1;

Returns
TypeDescription
string

setName

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

Generated from protobuf field string name = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDataSourceIds

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

Generated from protobuf field repeated string data_source_ids = 2;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setDataSourceIds

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

Generated from protobuf field repeated string data_source_ids = 2;

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this