Struct google_admin1_directory::Role
[−]
[src]
pub struct Role { pub kind: Option<String>, pub role_id: Option<String>, pub role_description: Option<String>, pub etag: Option<String>, pub is_super_admin_role: Option<bool>, pub role_name: Option<String>, pub is_system_role: Option<bool>, pub role_privileges: Option<Vec<RoleRolePrivileges>>, }
JSON template for role 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).
- update roles (request|response)
- insert roles (request|response)
- get roles (response)
- patch roles (request|response)
- list roles (none)
- delete roles (none)
Fields
kind: Option<String>
The type of the API resource. This is always admin#directory#role.
role_id: Option<String>
ID of the role.
role_description: Option<String>
A short description of the role.
etag: Option<String>
ETag of the resource.
is_super_admin_role: Option<bool>
Returns true if the role is a super admin role.
role_name: Option<String>
Name of the role.
is_system_role: Option<bool>
Returns true if this is a pre-defined system role.
role_privileges: Option<Vec<RoleRolePrivileges>>
The set of privileges that are granted to this role.
Trait Implementations
impl Default for Role
[src]
impl Clone for Role
[src]
fn clone(&self) -> Role
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