BigQuery Data Transfer V1 Client - Class ListTransferLogsRequest (1.5.2)

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

A request to get user facing log messages associated with data transfer run.

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

Namespace

Google \ Cloud \ BigQuery \ DataTransfer \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Transfer run name in the form: projects/{project_id}/transferConfigs/{config_id}/runs/{run_id} or projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}

↳ page_token string

Pagination token, which can be used to request a specific page of ListTransferLogsRequest list results. For multiple-page results, ListTransferLogsResponse 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.

↳ message_types array

Message types to return. If not populated - INFO, WARNING and ERROR messages are returned.

getParent

Required. Transfer run name in the form: projects/{project_id}/transferConfigs/{config_id}/runs/{run_id} or projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}

Returns
TypeDescription
string

setParent

Required. Transfer run name in the form: projects/{project_id}/transferConfigs/{config_id}/runs/{run_id} or projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageToken

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

Returns
TypeDescription
string

setPageToken

Pagination token, which can be used to request a specific page of ListTransferLogsRequest list results. For multiple-page results, ListTransferLogsResponse outputs a next_page token, which can be used as the page_token value to request the next page of 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

getMessageTypes

Message types to return. If not populated - INFO, WARNING and ERROR messages are returned.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setMessageTypes

Message types to return. If not populated - INFO, WARNING and ERROR messages are returned.

Parameter
NameDescription
var int[]
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
parent string

Required. Transfer run name in the form: projects/{project_id}/transferConfigs/{config_id}/runs/{run_id} or projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id} Please see Google\Cloud\BigQuery\DataTransfer\V1\DataTransferServiceClient::runName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\BigQuery\DataTransfer\V1\ListTransferLogsRequest