Package org.ovirt.engine.sdk4.services
Interface RoleService.UpdateRequest
-
- All Superinterfaces:
Request<RoleService.UpdateRequest,RoleService.UpdateResponse>
- Enclosing interface:
- RoleService
public static interface RoleService.UpdateRequest extends Request<RoleService.UpdateRequest,RoleService.UpdateResponse>
Updates a role. You are allowed to update `name`, `description` and `administrative` attributes after role is created. Within this endpoint you can't add or remove roles permits you need to use <> that manages permits of role. For example to update role's `name`, `description` and `administrative` attributes send a request like this: [source] ---- PUT /ovirt-engine/api/roles/123 ---- With a request body like this: [source,xml] ---- MyNewRoleName My new description of the role true ----
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RoleService.UpdateRequest
async(Boolean async)
Indicates if the update should be performed asynchronously.RoleService.UpdateRequest
role(RoleBuilder role)
Updated role.RoleService.UpdateRequest
role(Role role)
-
-
-
Method Detail
-
async
RoleService.UpdateRequest async(Boolean async)
Indicates if the update should be performed asynchronously.
-
role
RoleService.UpdateRequest role(Role role)
-
role
RoleService.UpdateRequest role(RoleBuilder role)
Updated role.
-
-