Google Cloud Deploy V1 Client - Class ListReleasesRequest (0.3.4)

Reference documentation and code samples for the Google Cloud Deploy V1 Client class ListReleasesRequest.

The request object for ListReleases.

Generated from protobuf message google.cloud.deploy.v1.ListReleasesRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The DeliveryPipeline which owns this collection of Release objects.

↳ page_size int

Optional. The maximum number of Release objects to return. The service may return fewer than this value. If unspecified, at most 50 Release objects will be returned. The maximum value is 1000; values above 1000 will be set to 1000.

↳ page_token string

Optional. A page token, received from a previous ListReleases call. Provide this to retrieve the subsequent page. When paginating, all other provided parameters match the call that provided the page token.

↳ filter string

Optional. Filter releases to be returned. See https://google.aip.dev/160 for more details.

↳ order_by string

Optional. Field to sort by. See https://google.aip.dev/132#ordering for more details.

getParent

Required. The DeliveryPipeline which owns this collection of Release objects.

Returns
TypeDescription
string

setParent

Required. The DeliveryPipeline which owns this collection of Release objects.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

Optional. The maximum number of Release objects to return. The service may return fewer than this value. If unspecified, at most 50 Release objects will be returned. The maximum value is 1000; values above 1000 will be set to 1000.

Returns
TypeDescription
int

setPageSize

Optional. The maximum number of Release objects to return. The service may return fewer than this value. If unspecified, at most 50 Release objects will be returned. The maximum value is 1000; values above 1000 will be set to 1000.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

Optional. A page token, received from a previous ListReleases call.

Provide this to retrieve the subsequent page. When paginating, all other provided parameters match the call that provided the page token.

Returns
TypeDescription
string

setPageToken

Optional. A page token, received from a previous ListReleases call.

Provide this to retrieve the subsequent page. When paginating, all other provided parameters match the call that provided the page token.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFilter

Optional. Filter releases to be returned. See https://google.aip.dev/160 for more details.

Returns
TypeDescription
string

setFilter

Optional. Filter releases to be returned. See https://google.aip.dev/160 for more details.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getOrderBy

Optional. Field to sort by. See https://google.aip.dev/132#ordering for more details.

Returns
TypeDescription
string

setOrderBy

Optional. Field to sort by. See https://google.aip.dev/132#ordering for more details.

Parameter
NameDescription
var string
Returns
TypeDescription
$this