public static interface RoleAssignment.DefinitionStages.WithRole
Modifier and Type | Method and Description |
---|---|
RoleAssignment.DefinitionStages.WithScope |
withBuiltInRole(BuiltInRole role)
Specifies the name of a built in role for this assignment.
|
RoleAssignment.DefinitionStages.WithScope |
withRoleDefinition(String roleDefinitionId)
Specifies the ID of the custom role for this assignment.
|
RoleAssignment.DefinitionStages.WithScope withBuiltInRole(BuiltInRole role)
role
- the name of the roleRoleAssignment.DefinitionStages.WithScope withRoleDefinition(String roleDefinitionId)
roleDefinitionId
- ID of the custom role definitionCopyright © 2019. All rights reserved.