Access Context Manager V1 Client - Class AccessLevel (0.4.5)

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

An AccessLevel is a label that can be applied to requests to Google Cloud services, along with a list of requirements necessary for the label to be applied.

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

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. The short_name component must begin with a letter and only include alphanumeric and '_'. Format: accessPolicies/{access_policy}/accessLevels/{access_level}. The maximum length of the access_level component is 50 characters.

↳ title string

Human readable title. Must be unique within the Policy.

↳ description string

Description of the AccessLevel and its use. Does not affect behavior.

↳ basic Google\Identity\AccessContextManager\V1\BasicLevel

A BasicLevel composed of Conditions.

↳ custom Google\Identity\AccessContextManager\V1\CustomLevel

A CustomLevel written in the Common Expression Language.

↳ create_time Google\Protobuf\Timestamp

Output only. Time the AccessLevel was created in UTC.

↳ update_time Google\Protobuf\Timestamp

Output only. Time the AccessLevel was updated in UTC.

getName

Required. Resource name for the Access Level. The short_name component must begin with a letter and only include alphanumeric and '_'. Format: accessPolicies/{access_policy}/accessLevels/{access_level}. The maximum length of the access_level component is 50 characters.

Returns
TypeDescription
string

setName

Required. Resource name for the Access Level. The short_name component must begin with a letter and only include alphanumeric and '_'. Format: accessPolicies/{access_policy}/accessLevels/{access_level}. The maximum length of the access_level component is 50 characters.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTitle

Human readable title. Must be unique within the Policy.

Returns
TypeDescription
string

setTitle

Human readable title. Must be unique within the Policy.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDescription

Description of the AccessLevel and its use. Does not affect behavior.

Returns
TypeDescription
string

setDescription

Description of the AccessLevel and its use. Does not affect behavior.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getBasic

A BasicLevel composed of Conditions.

Returns
TypeDescription
Google\Identity\AccessContextManager\V1\BasicLevel|null

hasBasic

setBasic

A BasicLevel composed of Conditions.

Parameter
NameDescription
var Google\Identity\AccessContextManager\V1\BasicLevel
Returns
TypeDescription
$this

getCustom

A CustomLevel written in the Common Expression Language.

Returns
TypeDescription
Google\Identity\AccessContextManager\V1\CustomLevel|null

hasCustom

setCustom

A CustomLevel written in the Common Expression Language.

Parameter
NameDescription
var Google\Identity\AccessContextManager\V1\CustomLevel
Returns
TypeDescription
$this

getCreateTime

Output only. Time the AccessLevel was created in UTC.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Time the AccessLevel was created in UTC.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getUpdateTime

Output only. Time the AccessLevel was updated in UTC.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. Time the AccessLevel was updated in UTC.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getLevel

Returns
TypeDescription
string