Access Context Manager V1 Client - Class AccessLevel (0.5.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
Name
Description
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
Type
Description
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
Name
Description
var
string
Returns
Type
Description
$this

getTitle

Human readable title. Must be unique within the Policy.

Returns
Type
Description
string

setTitle

Human readable title. Must be unique within the Policy.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getDescription

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

Returns
Type
Description
string

setDescription

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

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getBasic

A BasicLevel composed of Conditions .

hasBasic

setBasic

A BasicLevel composed of Conditions .

Returns
Type
Description
$this

getCustom

A CustomLevel written in the Common Expression Language.

hasCustom

setCustom

A CustomLevel written in the Common Expression Language.

Returns
Type
Description
$this

getCreateTime

Output only. Time the AccessLevel was created in UTC.

Returns
Type
Description

hasCreateTime

clearCreateTime

setCreateTime

Output only. Time the AccessLevel was created in UTC.

Parameter
Name
Description
Returns
Type
Description
$this

getUpdateTime

Output only. Time the AccessLevel was updated in UTC.

Returns
Type
Description

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. Time the AccessLevel was updated in UTC.

Parameter
Name
Description
Returns
Type
Description
$this

getLevel

Returns
Type
Description
string
Design a Mobile Site
View Site in Mobile | Classic
Share by: