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
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: |
↳ access_level_format |
int
Whether to return |
getName
Required. Resource name for the [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel].
Format:
accessPolicies/{policy_id}/accessLevels/{access_level_id}
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. Resource name for the [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel].
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] [google.identity.accesscontextmanager.v1.AccessLevel]
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.
| 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] [google.identity.accesscontextmanager.v1.AccessLevel]
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.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|