Google Cloud OsConfig V1 Client - Class ListOSPolicyAssignmentsRequest (1.1.1)

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

A request message to list OS policy assignments for a parent resource

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

Namespace

Google \ Cloud \ OsConfig \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource name.

↳ page_size int

The maximum number of assignments to return.

↳ page_token string

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

getParent

Required. The parent resource name.

Returns
TypeDescription
string

setParent

Required. The parent resource name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

The maximum number of assignments to return.

Returns
TypeDescription
int

setPageSize

The maximum number of assignments to return.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

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

Returns
TypeDescription
string

setPageToken

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
parent string

Required. The parent resource name. Please see Google\Cloud\OsConfig\V1\OsConfigZonalServiceClient::locationName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\OsConfig\V1\ListOSPolicyAssignmentsRequest