Struct google_dfareporting2d1::UserRole [] [src]

pub struct UserRole {
    pub default_user_role: Option<bool>,
    pub kind: Option<String>,
    pub subaccount_id: Option<String>,
    pub name: Option<String>,
    pub parent_user_role_id: Option<String>,
    pub account_id: Option<String>,
    pub id: Option<String>,
    pub permissions: Option<Vec<UserRolePermission>>,
}

Contains properties of auser role, which is used to manage user access.

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

Whether this is a default user role. Default user roles are created by the system for the account/subaccount and cannot be modified or deleted. Each default user role comes with a basic set of preassigned permissions.

Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRole".

Subaccount ID of this user role. This is a read-only field that can be left blank.

Name of this user role. This is a required field. Must be less than 256 characters long. If this user role is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this user role is a top-level user role, and the name must be unique among top-level user roles of the same account.

ID of the user role that this user role is based on or copied from. This is a required field.

Account ID of this user role. This is a read-only field that can be left blank.

ID of this user role. This is a read-only, auto-generated field.

List of permissions associated with this user role.

Trait Implementations

impl Default for UserRole
[src]

[src]

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

impl Clone for UserRole
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for UserRole
[src]

[src]

Formats the value using the given formatter.

impl RequestValue for UserRole
[src]

impl Resource for UserRole
[src]

impl ResponseResult for UserRole
[src]