Struct gapi_grpc::google::cloud::essentialcontacts::v1::ComputeContactsRequest[][src]

pub struct ComputeContactsRequest {
    pub parent: String,
    pub notification_categories: Vec<i32>,
    pub page_size: i32,
    pub page_token: String,
}

Request message for the ComputeContacts method.

Fields

parent: String

Required. The name of the resource to compute contacts for. Format: organizations/{organization_id}, folders/{folder_id} or projects/{project_id}

notification_categories: Vec<i32>

The categories of notifications to compute contacts for. If ALL is included in this list, contacts subscribed to any notification category will be returned.

page_size: i32

Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of next_page_token in the response indicates that more results might be available. If not specified, the default page_size is 100.

page_token: String

Optional. If present, retrieves the next batch of results from the preceding call to this method. page_token must be the value of next_page_token from the previous response. The values of other method parameters should be identical to those in the previous call.

Implementations

impl ComputeContactsRequest[src]

pub fn notification_categories(
    &self
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<NotificationCategory>>
[src]

Returns an iterator which yields the valid enum values contained in notification_categories.

pub fn push_notification_categories(&mut self, value: NotificationCategory)[src]

Appends the provided enum value to notification_categories.

Trait Implementations

impl Clone for ComputeContactsRequest[src]

impl Debug for ComputeContactsRequest[src]

impl Default for ComputeContactsRequest[src]

impl Message for ComputeContactsRequest[src]

impl PartialEq<ComputeContactsRequest> for ComputeContactsRequest[src]

impl StructuralPartialEq for ComputeContactsRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for ComputeContactsRequest

impl Send for ComputeContactsRequest

impl Sync for ComputeContactsRequest

impl Unpin for ComputeContactsRequest

impl UnwindSafe for ComputeContactsRequest

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]