Google Cloud OsConfig V1 Client - Class ListPatchJobInstanceDetailsRequest (1.2.2)

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

Request to list details for all instances that are part of a patch job.

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

Namespace

Google \ Cloud \ OsConfig \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent for the instances are in the form of projects/*/patchJobs/*.

↳ page_size int

The maximum number of instance details records to return. Default is 100.

↳ page_token string

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

↳ filter string

A filter expression that filters results listed in the response. This field supports filtering results by instance zone, name, state, or failure_reason.

getParent

Required. The parent for the instances are in the form of projects/*/patchJobs/*.

Returns
TypeDescription
string

setParent

Required. The parent for the instances are in the form of projects/*/patchJobs/*.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

The maximum number of instance details records to return. Default is 100.

Returns
TypeDescription
int

setPageSize

The maximum number of instance details records to return. Default is 100.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

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

Returns
TypeDescription
string

setPageToken

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFilter

A filter expression that filters results listed in the response. This field supports filtering results by instance zone, name, state, or failure_reason.

Returns
TypeDescription
string

setFilter

A filter expression that filters results listed in the response. This field supports filtering results by instance zone, name, state, or failure_reason.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
parent string

Required. The parent for the instances are in the form of projects/*/patchJobs/*. Please see Google\Cloud\OsConfig\V1\OsConfigServiceClient::patchJobName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\OsConfig\V1\ListPatchJobInstanceDetailsRequest