Access Context Manager V1 Client - Class GetAccessLevelRequest (0.4.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
NameDescription
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
TypeDescription
string

setName

Required. Resource name for the Access Level.

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

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

static::build

Parameter
NameDescription
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
TypeDescription
Google\Identity\AccessContextManager\V1\GetAccessLevelRequest