Struct gapi_grpc::google::monitoring::v3::GetNotificationChannelVerificationCodeRequest[][src]

pub struct GetNotificationChannelVerificationCodeRequest {
    pub name: String,
    pub expire_time: Option<Timestamp>,
}

The GetNotificationChannelVerificationCode request.

Fields

name: String

Required. The notification channel for which a verification code is to be generated and retrieved. This must name a channel that is already verified; if the specified channel is not verified, the request will fail.

expire_time: Option<Timestamp>

The desired expiration time. If specified, the API will guarantee that the returned code will not be valid after the specified timestamp; however, the API cannot guarantee that the returned code will be valid for at least as long as the requested time (the API puts an upper bound on the amount of time for which a code may be valid). If omitted, a default expiration will be used, which may be less than the max permissible expiration (so specifying an expiration may extend the code’s lifetime over omitting an expiration, even though the API does impose an upper limit on the maximum expiration that is permitted).

Trait Implementations

impl Clone for GetNotificationChannelVerificationCodeRequest[src]

impl Debug for GetNotificationChannelVerificationCodeRequest[src]

impl Default for GetNotificationChannelVerificationCodeRequest[src]

impl Message for GetNotificationChannelVerificationCodeRequest[src]

impl PartialEq<GetNotificationChannelVerificationCodeRequest> for GetNotificationChannelVerificationCodeRequest[src]

impl StructuralPartialEq for GetNotificationChannelVerificationCodeRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for GetNotificationChannelVerificationCodeRequest

impl Send for GetNotificationChannelVerificationCodeRequest

impl Sync for GetNotificationChannelVerificationCodeRequest

impl Unpin for GetNotificationChannelVerificationCodeRequest

impl UnwindSafe for GetNotificationChannelVerificationCodeRequest

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]