BigQuery Data Transfer V1 Client - Class ListDataSourcesRequest (1.8.5)

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

Request to list supported data sources and their data transfer settings.

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

Namespace

Google \ Cloud \ BigQuery \ DataTransfer \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The BigQuery project id for which data sources should be returned. Must be in the form: projects/{project_id} or projects/{project_id}/locations/{location_id}

↳ page_token string

Pagination token, which can be used to request a specific page of ListDataSourcesRequest list results. For multiple-page results, ListDataSourcesResponse outputs a next_page token, which can be used as the page_token value to request the next page of list results.

↳ page_size int

Page size. The default page size is the maximum value of 1000 results.

getParent

Required. The BigQuery project id for which data sources should be returned. Must be in the form: projects/{project_id} or projects/{project_id}/locations/{location_id}

Returns
Type Description
string

setParent

Required. The BigQuery project id for which data sources should be returned. Must be in the form: projects/{project_id} or projects/{project_id}/locations/{location_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getPageToken

Pagination token, which can be used to request a specific page of ListDataSourcesRequest list results. For multiple-page results, ListDataSourcesResponse outputs a next_page token, which can be used as the page_token value to request the next page of list results.

Returns
Type Description
string

setPageToken

Pagination token, which can be used to request a specific page of ListDataSourcesRequest list results. For multiple-page results, ListDataSourcesResponse outputs a next_page token, which can be used as the page_token value to request the next page of list results.

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Page size. The default page size is the maximum value of 1000 results.

Returns
Type Description
int

setPageSize

Page size. The default page size is the maximum value of 1000 results.

Parameter
Name Description
var int
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. The BigQuery project id for which data sources should be returned. Must be in the form: projects/{project_id} or projects/{project_id}/locations/{location_id} Please see Google\Cloud\BigQuery\DataTransfer\V1\DataTransferServiceClient::projectName() for help formatting this field.

Returns
Type Description
Google\Cloud\BigQuery\DataTransfer\V1\ListDataSourcesRequest