Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 2.21 KB

ResourceRoleRead.md

File metadata and controls

25 lines (20 loc) · 2.21 KB

ResourceRoleRead

Properties

Name Type Description Notes
name String The name of the role
description Option<String> optional description string explaining what this role represents, or what permissions are granted to it. [optional]
permissions Option<Vec> list of action keys that define what actions this resource role is permitted to do [optional]
attributes Option<serde_json::Value> optional dictionary of key-value pairs that can be used to store arbitrary metadata about this role. This metadata can be used to filter role using query parameters with attr_ prefix, currently supports only 'equals' operator [optional]
extends Option<Vec> list of role keys that define what roles this role extends. In other words: this role will automatically inherit all the permissions of the given roles in this list. [optional][default to []]
granted_to Option<models::DerivedRoleBlockRead> Derived role that inherit will be applied on this role [optional]
key String A URL-friendly name of the role (i.e: slug). You will be able to query later using this key instead of the id (UUID) of the role.
id uuid::Uuid Unique id of the role
organization_id uuid::Uuid Unique id of the organization that the role belongs to.
project_id uuid::Uuid Unique id of the project that the role belongs to.
environment_id uuid::Uuid Unique id of the environment that the role belongs to.
resource_id uuid::Uuid Unique id of the resource that the role belongs to.
resource String The unique resource key that the role belongs to.
created_at String Date and time when the role was created (ISO_8601 format).
updated_at String Date and time when the role was last updated/modified (ISO_8601 format).

[Back to Model list] [Back to API list] [Back to README]