Google Cloud OsConfig V1 Client - Class ListOSPolicyAssignmentRevisionsRequest (1.0.5)

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

A request message to list revisions for a OS policy assignment

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the OS policy assignment to list revisions for.

↳ page_size int

The maximum number of revisions to return.

↳ page_token string

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

getName

Required. The name of the OS policy assignment to list revisions for.

Returns
TypeDescription
string

setName

Required. The name of the OS policy assignment to list revisions for.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

The maximum number of revisions to return.

Returns
TypeDescription
int

setPageSize

The maximum number of revisions to return.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

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

Returns
TypeDescription
string

setPageToken

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this