Access Context Manager V1 Client - Class ListAccessLevelsRequest (0.3.5)

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

Methods

__construct

Constructor.

Parameters
NameDescription
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] [google.identity.accesscontextmanager.v1.AccessLevel] from.

Format: accessPolicies/{policy_id}

Returns
TypeDescription
string

setParent

Required. Resource name for the access policy to list [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] from.

Format: accessPolicies/{policy_id}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

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

Returns
TypeDescription
int

setPageSize

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

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

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

Defaults to the first page of results.

Returns
TypeDescription
string

setPageToken

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

Defaults to the first page of results.

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var int
Returns
TypeDescription
$this