Google Cloud OsConfig V1 Client - Class ListOSPolicyAssignmentRevisionsRequest (2.0.0-RC1)

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

Namespace

Google \ Cloud \ OsConfig \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
string

setName

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

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

The maximum number of revisions to return.

Returns
Type Description
int

setPageSize

The maximum number of revisions to return.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

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

Returns
Type Description
string

setPageToken

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

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the OS policy assignment to list revisions for. Please see Google\Cloud\OsConfig\V1\OsConfigZonalServiceClient::oSPolicyAssignmentName() for help formatting this field.

Returns
Type Description
Google\Cloud\OsConfig\V1\ListOSPolicyAssignmentRevisionsRequest