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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. Resource name for the Access Level. The |
↳ title |
string
Human readable title. Must be unique within the Policy. |
↳ description |
string
Description of the |
↳ basic |
BasicLevel
A |
↳ custom |
CustomLevel
A |
↳ create_time |
Google\Protobuf\Timestamp
Output only. Time the |
↳ update_time |
Google\Protobuf\Timestamp
Output only. Time the |
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
.
Returns | |
---|---|
Type | Description |
BasicLevel|null |
hasBasic
setBasic
A BasicLevel
composed of Conditions
.
Parameter | |
---|---|
Name | Description |
var |
BasicLevel
|
Returns | |
---|---|
Type | Description |
$this |
getCustom
A CustomLevel
written in the Common Expression Language.
Returns | |
---|---|
Type | Description |
CustomLevel|null |
hasCustom
setCustom
A CustomLevel
written in the Common Expression Language.
Parameter | |
---|---|
Name | Description |
var |
CustomLevel
|
Returns | |
---|---|
Type | Description |
$this |
getCreateTime
Output only. Time the AccessLevel
was created in UTC.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasCreateTime
clearCreateTime
setCreateTime
Output only. Time the AccessLevel
was created in UTC.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getUpdateTime
Output only. Time the AccessLevel
was updated in UTC.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. Time the AccessLevel
was updated in UTC.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getLevel
Returns | |
---|---|
Type | Description |
string |