Google Cloud OsConfig V1 Client - Class ListOSPolicyAssignmentRevisionsResponse (1.2.2)

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

A response message for listing all revisions for a OS policy assignment.

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

Namespace

Google \ Cloud \ OsConfig \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ os_policy_assignments array<Google\Cloud\OsConfig\V1\OSPolicyAssignment>

The OS policy assignment revisions

↳ next_page_token string

The pagination token to retrieve the next page of OS policy assignment revisions.

getOsPolicyAssignments

The OS policy assignment revisions

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setOsPolicyAssignments

The OS policy assignment revisions

Parameter
NameDescription
var array<Google\Cloud\OsConfig\V1\OSPolicyAssignment>
Returns
TypeDescription
$this

getNextPageToken

The pagination token to retrieve the next page of OS policy assignment revisions.

Returns
TypeDescription
string

setNextPageToken

The pagination token to retrieve the next page of OS policy assignment revisions.

Parameter
NameDescription
var string
Returns
TypeDescription
$this