BigQuery Data Transfer V1 Client - Class ListDataSourceDefinitionsRequest (1.4.5)

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

Represents the request of the ListDataSourceDefinitions method.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

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

↳ page_token string

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

↳ page_size int

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

getParent

The BigQuery project id for which data sources should be returned.

Must be in the form: projects/{project_id}/locations/{location_id}

Returns
TypeDescription
string

setParent

The BigQuery project id for which data sources should be returned.

Must be in the form: projects/{project_id}/locations/{location_id}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageToken

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

Returns
TypeDescription
string

setPageToken

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

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

Returns
TypeDescription
int

setPageSize

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

Parameter
NameDescription
var int
Returns
TypeDescription
$this