Google Cloud OsConfig V1 Client - Class ListOSPolicyAssignmentsResponse (1.1.1)

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

A response message for listing all assignments under given parent.

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

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 list of assignments

↳ next_page_token string

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

getOsPolicyAssignments

The list of assignments

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setOsPolicyAssignments

The list of assignments

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

getNextPageToken

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

Returns
TypeDescription
string

setNextPageToken

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this