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

pub struct UptimeCheckIp {
    pub region: i32,
    pub location: String,
    pub ip_address: String,
}

Contains the region, location, and list of IP addresses where checkers in the location run from.

Fields

region: i32

A broad region category in which the IP address is located.

location: String

A more specific location within the region that typically encodes a particular city/town/metro (and its containing state/province or country) within the broader umbrella region category.

ip_address: String

The IP address from which the Uptime check originates. This is a fully specified IP address (not an IP address range). Most IP addresses, as of this publication, are in IPv4 format; however, one should not rely on the IP addresses being in IPv4 format indefinitely, and should support interpreting this field in either IPv4 or IPv6 format.

Implementations

impl UptimeCheckIp[src]

pub fn region(&self) -> UptimeCheckRegion[src]

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

pub fn set_region(&mut self, value: UptimeCheckRegion)[src]

Sets region to the provided enum value.

Trait Implementations

impl Clone for UptimeCheckIp[src]

impl Debug for UptimeCheckIp[src]

impl Default for UptimeCheckIp[src]

impl Message for UptimeCheckIp[src]

impl PartialEq<UptimeCheckIp> for UptimeCheckIp[src]

impl StructuralPartialEq for UptimeCheckIp[src]

Auto Trait Implementations

impl RefUnwindSafe for UptimeCheckIp

impl Send for UptimeCheckIp

impl Sync for UptimeCheckIp

impl Unpin for UptimeCheckIp

impl UnwindSafe for UptimeCheckIp

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]