BigQuery Data Transfer V1 Client - Class ListTransferRunsRequest (1.3.8)

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

A request to list data transfer runs.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Name of transfer configuration for which transfer runs should be retrieved. Format of transfer configuration resource name is: projects/{project_id}/transferConfigs/{config_id} or projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}.

↳ states array

When specified, only transfer runs with requested states are returned.

↳ page_token string

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

↳ run_attempt int

Indicates how run attempts are to be pulled.

getParent

Required. Name of transfer configuration for which transfer runs should be retrieved.

Format of transfer configuration resource name is: projects/{project_id}/transferConfigs/{config_id} or projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}.

Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Returns
TypeDescription
string

setParent

Required. Name of transfer configuration for which transfer runs should be retrieved.

Format of transfer configuration resource name is: projects/{project_id}/transferConfigs/{config_id} or projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}.

Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getStates

When specified, only transfer runs with requested states are returned.

Generated from protobuf field repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setStates

When specified, only transfer runs with requested states are returned.

Generated from protobuf field repeated .google.cloud.bigquery.datatransfer.v1.TransferState states = 2;

Parameter
NameDescription
var int[]
Returns
TypeDescription
$this

getPageToken

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

Generated from protobuf field string page_token = 3;

Returns
TypeDescription
string

setPageToken

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

Generated from protobuf field string page_token = 3;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

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

Generated from protobuf field int32 page_size = 4;

Returns
TypeDescription
int

setPageSize

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

Generated from protobuf field int32 page_size = 4;

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getRunAttempt

Indicates how run attempts are to be pulled.

Generated from protobuf field .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5;

Returns
TypeDescription
int

setRunAttempt

Indicates how run attempts are to be pulled.

Generated from protobuf field .google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest.RunAttempt run_attempt = 5;

Parameter
NameDescription
var int
Returns
TypeDescription
$this