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).

Fields

The unique ID of the user this role is assigned to.

The type of the API resource. This is always admin#directory#roleAssignment.

ETag of the resource.

ID of this roleAssignment.

The ID of the role that is assigned.

The scope in which this role is assigned. Possible values are: - CUSTOMER - ORG_UNIT

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]

Returns the "default value" for a type. Read more

impl Clone for RoleAssignment
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for RoleAssignment
[src]

Formats the value using the given formatter.

impl RequestValue for RoleAssignment
[src]

impl Resource for RoleAssignment
[src]

impl ResponseResult for RoleAssignment
[src]