Access Context Manager V1 Client - Class ListAccessLevelsRequest (1.0.2)

Reference documentation and code samples for the Access Context Manager V1 Client class ListAccessLevelsRequest.

A request to list all AccessLevels in an AccessPolicy.

Generated from protobuf message google.identity.accesscontextmanager.v1.ListAccessLevelsRequest

Namespace

Google \ Identity \ AccessContextManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Resource name for the access policy to list [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] from. Format: accessPolicies/{policy_id}

↳ page_size int

Number of [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] to include in the list. Default 100.

↳ page_token string

Next page token for the next batch of [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] instances. Defaults to the first page of results.

↳ access_level_format int

Whether to return BasicLevels in the Cloud Common Expression language, as CustomLevels, rather than as BasicLevels. Defaults to returning AccessLevels in the format they were defined.

getParent

Required. Resource name for the access policy to list Access Levels from.

Format: accessPolicies/{policy_id}

Returns
Type Description
string

setParent

Required. Resource name for the access policy to list Access Levels from.

Format: accessPolicies/{policy_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Number of Access Levels to include in the list. Default 100.

Returns
Type Description
int

setPageSize

Number of Access Levels to include in the list. Default 100.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

Next page token for the next batch of Access Level instances.

Defaults to the first page of results.

Returns
Type Description
string

setPageToken

Next page token for the next batch of Access Level instances.

Defaults to the first page of results.

Parameter
Name Description
var string
Returns
Type Description
$this

getAccessLevelFormat

Whether to return BasicLevels in the Cloud Common Expression language, as CustomLevels, rather than as BasicLevels. Defaults to returning AccessLevels in the format they were defined.

Returns
Type Description
int

setAccessLevelFormat

Whether to return BasicLevels in the Cloud Common Expression language, as CustomLevels, rather than as BasicLevels. Defaults to returning AccessLevels in the format they were defined.

Parameter
Name Description
var int
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. Resource name for the access policy to list Access Levels from.

Format: accessPolicies/{policy_id} Please see AccessContextManagerClient::accessPolicyName() for help formatting this field.

Returns
Type Description
ListAccessLevelsRequest