Cloud Scheduler V1beta1 Client - Class ListJobsRequest (1.6.8)

Reference documentation and code samples for the Cloud Scheduler V1beta1 Client class ListJobsRequest.

Request message for listing jobs using ListJobs.

Generated from protobuf message google.cloud.scheduler.v1beta1.ListJobsRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The location name. For example: projects/PROJECT_ID/locations/LOCATION_ID.

↳ page_size int

Requested page size. The maximum page size is 500. If unspecified, the page size will be the maximum. Fewer jobs than requested might be returned, even if more jobs exist; use next_page_token to determine if more jobs exist.

↳ page_token string

A token identifying a page of results the server will return. To request the first page results, page_token must be empty. To request the next page of results, page_token must be the value of next_page_token returned from the previous call to ListJobs. It is an error to switch the value of filter or order_by while iterating through pages.

getParent

Required. The location name. For example: projects/PROJECT_ID/locations/LOCATION_ID.

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

Returns
TypeDescription
string

setParent

Required. The location name. For example: projects/PROJECT_ID/locations/LOCATION_ID.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

Requested page size.

The maximum page size is 500. If unspecified, the page size will be the maximum. Fewer jobs than requested might be returned, even if more jobs exist; use next_page_token to determine if more jobs exist.

Generated from protobuf field int32 page_size = 5;

Returns
TypeDescription
int

setPageSize

Requested page size.

The maximum page size is 500. If unspecified, the page size will be the maximum. Fewer jobs than requested might be returned, even if more jobs exist; use next_page_token to determine if more jobs exist.

Generated from protobuf field int32 page_size = 5;

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

A token identifying a page of results the server will return. To request the first page results, page_token must be empty. To request the next page of results, page_token must be the value of next_page_token returned from the previous call to ListJobs. It is an error to switch the value of filter or order_by while iterating through pages.

Generated from protobuf field string page_token = 6;

Returns
TypeDescription
string

setPageToken

A token identifying a page of results the server will return. To request the first page results, page_token must be empty. To request the next page of results, page_token must be the value of next_page_token returned from the previous call to ListJobs. It is an error to switch the value of filter or order_by while iterating through pages.

Generated from protobuf field string page_token = 6;

Parameter
NameDescription
var string
Returns
TypeDescription
$this