AccessPolicy#
- class AccessPolicy(display_name=None, description=None, client_name=None, identities=None, objects=None, role=None, created_time=None, last_updated_time=None, created_by=None, is_system_defined=True, access_policy_type=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)[source]#
Bases:
ExternalizableAbstractModel
An access policy to define who can perform what operation on which object
- Parameters:
display_name – (
display_name
) The display name for the access policydescription – (
description
) Description of the access policyclient_name – (
client_name
) Client that created the access policyidentities – (
identities
) The identities for which the access policy is createdobjects – (
objects
) The objects being qualified by the access policyrole – (
role
) The role associated with the access policycreated_time – (
created_time
) The creation time of the access policylast_updated_time – (
last_updated_time
) The time when the access policy was last updatedcreated_by – (
created_by
) User or service name that created the access policyis_system_defined – (
is_system_defined
) Flag identifying if the access policy is system defined or not (Default True)access_policy_type – (
access_policy_type
)
- property access_policy_type#
- Type:
- property client_name#
Client that created the access policy
- Type:
str
- property created_by#
User or service name that created the access policy
- Type:
str
- property created_time#
The creation time of the access policy
- Type:
datetime
- property description#
Description of the access policy
- Type:
str
- property display_name#
The display name for the access policy
- Type:
str
- property is_system_defined#
Flag identifying if the access policy is system defined or not
- Type:
bool
- property last_updated_time#
The time when the access policy was last updated
- Type:
datetime
- property role#
The role associated with the access policy
- Type:
str