Struct google_admin1_directory::RoleAssignment
[−]
[src]
pub struct RoleAssignment { pub assigned_to: Option<String>, pub kind: Option<String>, pub etag: Option<String>, pub role_assignment_id: Option<String>, pub role_id: Option<String>, pub scope_type: Option<String>, pub org_unit_id: Option<String>, }
JSON template for roleAssignment resource in Directory API.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- insert role assignments (request|response)
- list role assignments (none)
- delete role assignments (none)
- get role assignments (response)
Fields
assigned_to: Option<String>
The unique ID of the user this role is assigned to.
kind: Option<String>
The type of the API resource. This is always admin#directory#roleAssignment.
etag: Option<String>
ETag of the resource.
role_assignment_id: Option<String>
ID of this roleAssignment.
role_id: Option<String>
The ID of the role that is assigned.
scope_type: Option<String>
The scope in which this role is assigned. Possible values are: - CUSTOMER - ORG_UNIT
org_unit_id: Option<String>
If the role is restricted to an organization unit, this contains the ID for the organization unit the exercise of this role is restricted to.
Trait Implementations
impl Default for RoleAssignment
[src]
fn default() -> RoleAssignment
Returns the "default value" for a type. Read more
impl Clone for RoleAssignment
[src]
fn clone(&self) -> RoleAssignment
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more