Role Assignments
CreateRoleAssignment
client.Groups.RoleAssignments.New(ctx, body) (*GroupRoleAssignmentNewResponse, error)
POST/gitpod.v1.GroupService/CreateRoleAssignment
DeleteRoleAssignment
client.Groups.RoleAssignments.Delete(ctx, body) (*GroupRoleAssignmentDeleteResponse, error)
POST/gitpod.v1.GroupService/DeleteRoleAssignment
ListRoleAssignments
client.Groups.RoleAssignments.List(ctx, params) (*AssignmentsPage[RoleAssignment], error)
POST/gitpod.v1.GroupService/ListRoleAssignments
ModelsExpand Collapse
type RoleAssignment struct{…}RoleAssignment represents a role assigned to a group on a specific resource
type RoleAssignment struct{…}
RoleAssignment represents a role assigned to a group on a specific resource
The org-level role that created this assignment, if any.
RESOURCE_ROLE_UNSPECIFIED means this is a direct share (manually created).
Non-zero (e.g., ORG_PROJECTS_ADMIN, ORG_RUNNERS_ADMIN) means this
assignment was derived from an org-level role.
The org-level role that created this assignment, if any. RESOURCE_ROLE_UNSPECIFIED means this is a direct share (manually created). Non-zero (e.g., ORG_PROJECTS_ADMIN, ORG_RUNNERS_ADMIN) means this assignment was derived from an org-level role.
One of the following:
const ResourceRoleRunnerConfigurationReader ResourceRole = "RESOURCE_ROLE_RUNNER_CONFIGURATION_READER"
const ResourceRoleHostAuthenticationTokenAdmin ResourceRole = "RESOURCE_ROLE_HOST_AUTHENTICATION_TOKEN_ADMIN"
const ResourceRoleHostAuthenticationTokenUpdater ResourceRole = "RESOURCE_ROLE_HOST_AUTHENTICATION_TOKEN_UPDATER"
const ResourceRoleEnvironmentServiceViewer ResourceRole = "RESOURCE_ROLE_ENVIRONMENT_SERVICE_VIEWER"
const ResourceRoleAgentExecutionOutputsReporter ResourceRole = "RESOURCE_ROLE_AGENT_EXECUTION_OUTPUTS_REPORTER"
Role assigned to the group on this resource
Role assigned to the group on this resource
One of the following:
const ResourceRoleRunnerConfigurationReader ResourceRole = "RESOURCE_ROLE_RUNNER_CONFIGURATION_READER"
const ResourceRoleHostAuthenticationTokenAdmin ResourceRole = "RESOURCE_ROLE_HOST_AUTHENTICATION_TOKEN_ADMIN"
const ResourceRoleHostAuthenticationTokenUpdater ResourceRole = "RESOURCE_ROLE_HOST_AUTHENTICATION_TOKEN_UPDATER"
const ResourceRoleEnvironmentServiceViewer ResourceRole = "RESOURCE_ROLE_ENVIRONMENT_SERVICE_VIEWER"
const ResourceRoleAgentExecutionOutputsReporter ResourceRole = "RESOURCE_ROLE_AGENT_EXECUTION_OUTPUTS_REPORTER"
Type of resource (runner, project, environment, etc.)
Type of resource (runner, project, environment, etc.)
One of the following:
const ResourceTypeOrganizationLlmIntegration ResourceType = "RESOURCE_TYPE_ORGANIZATION_LLM_INTEGRATION"