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

pub struct QueryGrantableRolesRequest {
    pub full_resource_name: String,
    pub view: i32,
    pub page_size: i32,
    pub page_token: String,
}

The grantable role query request.

Fields

full_resource_name: String

Required. The full resource name to query from the list of grantable roles.

The name follows the Google Cloud Platform resource format. For example, a Cloud Platform project with id my-project will be named //cloudresourcemanager.googleapis.com/projects/my-project.

view: i32page_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 QueryGrantableRolesResponse.

Implementations

impl QueryGrantableRolesRequest[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 QueryGrantableRolesRequest[src]

impl Debug for QueryGrantableRolesRequest[src]

impl Default for QueryGrantableRolesRequest[src]

impl Message for QueryGrantableRolesRequest[src]

impl PartialEq<QueryGrantableRolesRequest> for QueryGrantableRolesRequest[src]

impl StructuralPartialEq for QueryGrantableRolesRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for QueryGrantableRolesRequest

impl Send for QueryGrantableRolesRequest

impl Sync for QueryGrantableRolesRequest

impl Unpin for QueryGrantableRolesRequest

impl UnwindSafe for QueryGrantableRolesRequest

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]