Google Cloud OsConfig V1 Client - Class ListPatchJobInstanceDetailsRequest (2.0.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
Name Description
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
Type Description
string

setParent

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

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

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

Returns
Type Description
int

setPageSize

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

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

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

Returns
Type Description
string

setPageToken

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

Parameter
Name Description
var string
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

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

Returns
Type Description
ListPatchJobInstanceDetailsRequest