Google Cloud OsConfig V1 Client - Class ListOSPolicyAssignmentRevisionsResponse (2.0.1)

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
Name Description
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
Type Description
Google\Protobuf\Internal\RepeatedField

setOsPolicyAssignments

The OS policy assignment revisions

Parameter
Name Description
var array<Google\Cloud\OsConfig\V1\OSPolicyAssignment>
Returns
Type Description
$this

getNextPageToken

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

Returns
Type Description
string

setNextPageToken

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

Parameter
Name Description
var string
Returns
Type Description
$this