Access Context Manager V1 Client - Class GetAccessLevelRequest (0.5.5)

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

A request to get a particular AccessLevel.

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

Namespace

Google \ Identity \ AccessContextManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. Resource name for the [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel]. Format: accessPolicies/{policy_id}/accessLevels/{access_level_id}

↳ access_level_format int

Whether to return BasicLevels in the Cloud Common Expression Language rather than as BasicLevels. Defaults to AS_DEFINED, where Access Levels are returned as BasicLevels or CustomLevels based on how they were created. If set to CEL, all [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] are returned as CustomLevels. In the CEL case, BasicLevels are translated to equivalent CustomLevels.

getName

Required. Resource name for the Access Level.

Format: accessPolicies/{policy_id}/accessLevels/{access_level_id}

Returns
Type Description
string

setName

Required. Resource name for the Access Level.

Format: accessPolicies/{policy_id}/accessLevels/{access_level_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getAccessLevelFormat

Whether to return BasicLevels in the Cloud Common Expression Language rather than as BasicLevels. Defaults to AS_DEFINED, where Access Levels are returned as BasicLevels or CustomLevels based on how they were created. If set to CEL, all Access Levels are returned as CustomLevels. In the CEL case, BasicLevels are translated to equivalent CustomLevels.

Returns
Type Description
int

setAccessLevelFormat

Whether to return BasicLevels in the Cloud Common Expression Language rather than as BasicLevels. Defaults to AS_DEFINED, where Access Levels are returned as BasicLevels or CustomLevels based on how they were created. If set to CEL, all Access Levels are returned as CustomLevels. In the CEL case, BasicLevels are translated to equivalent CustomLevels.

Parameter
Name Description
var int
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. Resource name for the Access Level.

Format: accessPolicies/{policy_id}/accessLevels/{access_level_id} Please see Google\Identity\AccessContextManager\V1\AccessContextManagerClient::accessLevelName() for help formatting this field.

Returns
Type Description
Google\Identity\AccessContextManager\V1\GetAccessLevelRequest