Permission(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A permission which can be included by a role.
Attributes | |
---|---|
Name | Description |
name |
str
The name of this Permission. |
title |
str
The title of this Permission. |
description |
str
A brief description of what this Permission is used for. This permission can ONLY be used in predefined roles. |
stage |
google.cloud.iam_admin_v1.types.Permission.PermissionLaunchStage
The current launch stage of the permission. |
custom_roles_support_level |
google.cloud.iam_admin_v1.types.Permission.CustomRolesSupportLevel
The current custom role support level. |
api_disabled |
bool
The service API associated with the permission is not enabled. |
primary_permission |
str
The preferred name for this permission. If present, then this permission is an alias of, and equivalent to, the listed primary_permission. |
Classes
CustomRolesSupportLevel
CustomRolesSupportLevel(value)
The state of the permission with regards to custom roles.
Values: SUPPORTED (0): Default state. Permission is fully supported for custom role use. TESTING (1): Permission is being tested to check custom role compatibility. NOT_SUPPORTED (2): Permission is not supported for custom role use.
PermissionLaunchStage
PermissionLaunchStage(value)
A stage representing a permission's lifecycle phase.
Values: ALPHA (0): The permission is currently in an alpha phase. BETA (1): The permission is currently in a beta phase. GA (2): The permission is generally available. DEPRECATED (3): The permission is being deprecated.