Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 683 Bytes

File metadata and controls

25 lines (16 loc) · 683 Bytes

Role

DEPRECATED - use permissions instead. Viewer's role on the specific document.

⚠️ DEPRECATED: Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use permissions instead.

Example Usage

import com.glean.api_client.glean_api_client.models.components.Role;

Role value = Role.ANSWER_MODERATOR;

// Open enum: use .of() to create instances from custom string values
Role custom = Role.of("custom_value");

Values

Name Value
ANSWER_MODERATOR ANSWER_MODERATOR
OWNER OWNER
VIEWER VIEWER