Struct gapi_grpc::google::iam::admin::v1::ListRolesRequest[][src]

pub struct ListRolesRequest {
    pub parent: String,
    pub page_size: i32,
    pub page_token: String,
    pub view: i32,
    pub show_deleted: bool,
}
[]

The request to get all roles defined under a resource.

Fields

parent: String
[]

The parent parameter’s value depends on the target resource for the request, namely roles, projects, or organizations. Each resource type’s parent value format is described below:

Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID.

page_size: i32
[]

Optional limit on the number of roles to include in the response.

The default is 300, and the maximum is 1,000.

page_token: String
[]

Optional pagination token returned in an earlier ListRolesResponse.

view: i32
[]

Optional view for the returned Role objects. When FULL is specified, the includedPermissions field is returned, which includes a list of all permissions in the role. The default value is BASIC, which does not return the includedPermissions field.

show_deleted: bool
[]

Include Roles that have been deleted.

Implementations

impl ListRolesRequest[src][]

pub fn view(&self) -> RoleView[src][]

Returns the enum value of view, or the default if the field is set to an invalid enum value.

pub fn set_view(&mut self, value: RoleView)[src][]

Sets view to the provided enum value.

Trait Implementations

impl Clone for ListRolesRequest[src][+]

impl Debug for ListRolesRequest[src][+]

impl Default for ListRolesRequest[src][+]

impl Message for ListRolesRequest[src][+]

impl PartialEq<ListRolesRequest> for ListRolesRequest[src][+]

impl StructuralPartialEq for ListRolesRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for ListRolesRequest

impl Send for ListRolesRequest

impl Sync for ListRolesRequest

impl Unpin for ListRolesRequest

impl UnwindSafe for ListRolesRequest

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src][+]

impl<T> Borrow<T> for T where
    T: ?Sized
[src][+]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src][+]

impl<T> From<T> for T[src][+]

impl<T> Instrument for T[src][+]

impl<T> Instrument for T[src][+]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src][+]

impl<T> IntoRequest<T> for T[src][+]

impl<T> ToOwned for T where
    T: Clone
[src][+]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src][+]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src][+]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src][+]

impl<T> WithSubscriber for T[src][+]