| Field | Type | Required | Description | Example |
|---|---|---|---|---|
account_id |
T.nilable(::String) | ➖ | Account ID | |
scope_type |
T.nilable(Models::Shared::ScopeTypeEnum) | ➖ | Specifies the level for retrieving policies or roles, either at the account level or within product environments. | prodenv |
permission_type |
Models::Shared::PermissionTypeEnum | ✔️ | Specifies whether to retrieve roles whose permissions apply globally across all contexts within the scope (i.e., security settings for the account, or all folders in a product environment), or specifically to designated content instances (i.e., folder with external ID "fg3841spr"). | global |
management_type |
T.nilable(Models::Shared::ManagementTypeEnum) | ➖ | Specifies whether the role's policies are managed by Cloudinary (system) or by the user (custom). |
system |
policy_parameters |
T::Array<::String> | ➖ | For roles with permission_type set to content, this defines the type of content the role's policies apply to:- The content type can be: folder_id or collection_id.- When assigning the role, provide the instance, e.g. {"folder_id":"asdfjkl12347890"}. This specification is passed to the policy_statement (Cedar). |