Google Cloud OsConfig V1 Client - Class ListPatchDeploymentsRequest (1.2.2)

Reference documentation and code samples for the Google Cloud OsConfig V1 Client class ListPatchDeploymentsRequest.

A request message for listing patch deployments.

Generated from protobuf message google.cloud.osconfig.v1.ListPatchDeploymentsRequest

Namespace

Google \ Cloud \ OsConfig \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The resource name of the parent in the form projects/*.

↳ page_size int

Optional. The maximum number of patch deployments to return. Default is 100.

↳ page_token string

Optional. A pagination token returned from a previous call to ListPatchDeployments that indicates where this listing should continue from.

getParent

Required. The resource name of the parent in the form projects/*.

Returns
TypeDescription
string

setParent

Required. The resource name of the parent in the form projects/*.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

Optional. The maximum number of patch deployments to return. Default is 100.

Returns
TypeDescription
int

setPageSize

Optional. The maximum number of patch deployments to return. Default is 100.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

Optional. A pagination token returned from a previous call to ListPatchDeployments that indicates where this listing should continue from.

Returns
TypeDescription
string

setPageToken

Optional. A pagination token returned from a previous call to ListPatchDeployments that indicates where this listing should continue from.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
parent string

Required. The resource name of the parent in the form projects/*. Please see Google\Cloud\OsConfig\V1\OsConfigServiceClient::projectName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\OsConfig\V1\ListPatchDeploymentsRequest