Struct google_compute1::api::NotificationEndpointGrpcSettings[][src]

pub struct NotificationEndpointGrpcSettings {
    pub authority: Option<String>,
    pub endpoint: Option<String>,
    pub payload_name: Option<String>,
    pub resend_interval: Option<Duration>,
    pub retry_duration_sec: Option<u32>,
}

Represents a gRPC setting that describes one gRPC notification endpoint and the retry duration attempting to send notification to this endpoint.

This type is not used in any activity, and only used as part of another schema.

Fields

authority: Option<String>

Optional. If specified, this field is used to set the authority header by the sender of notifications. See https://tools.ietf.org/html/rfc7540#section-8.1.2.3

endpoint: Option<String>

Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.

payload_name: Option<String>

Optional. If specified, this field is used to populate the "name" field in gRPC requests.

resend_interval: Option<Duration>

Optional. This field is used to configure how often to send a full update of all non-healthy backends. If unspecified, full updates are not sent. If specified, must be in the range between 600 seconds to 3600 seconds. Nanos are disallowed.

retry_duration_sec: Option<u32>

How much time (in seconds) is spent attempting notification retries until a successful response is received. Default is 30s. Limit is 20m (1200s). Must be a positive number.

Trait Implementations

impl Clone for NotificationEndpointGrpcSettings[src]

impl Debug for NotificationEndpointGrpcSettings[src]

impl Default for NotificationEndpointGrpcSettings[src]

impl<'de> Deserialize<'de> for NotificationEndpointGrpcSettings[src]

impl Part for NotificationEndpointGrpcSettings[src]

impl Serialize for NotificationEndpointGrpcSettings[src]

Auto Trait Implementations

impl RefUnwindSafe for NotificationEndpointGrpcSettings[src]

impl Send for NotificationEndpointGrpcSettings[src]

impl Sync for NotificationEndpointGrpcSettings[src]

impl Unpin for NotificationEndpointGrpcSettings[src]

impl UnwindSafe for NotificationEndpointGrpcSettings[src]

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<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.