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

pub struct InternalChecker {
    pub name: String,
    pub display_name: String,
    pub network: String,
    pub gcp_zone: String,
    pub peer_project_id: String,
    pub state: i32,
}

An internal checker allows Uptime checks to run on private/internal GCP resources.

Fields

name: String

A unique resource name for this InternalChecker. The format is:

projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID]

[PROJECT_ID_OR_NUMBER] is the Stackdriver Workspace project for the Uptime check config associated with the internal checker.

display_name: String

The checker’s human-readable name. The display name should be unique within a Stackdriver Workspace in order to make it easier to identify; however, uniqueness is not enforced.

network: String

The GCP VPC network where the internal resource lives (ex: “default”).

gcp_zone: String

The GCP zone the Uptime check should egress from. Only respected for internal Uptime checks, where internal_network is specified.

peer_project_id: String

The GCP project ID where the internal checker lives. Not necessary the same as the Workspace project.

state: i32

The current operational state of the internal checker.

Implementations

impl InternalChecker[src]

pub fn state(&self) -> State[src]

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

pub fn set_state(&mut self, value: State)[src]

Sets state to the provided enum value.

Trait Implementations

impl Clone for InternalChecker[src]

impl Debug for InternalChecker[src]

impl Default for InternalChecker[src]

impl Message for InternalChecker[src]

impl PartialEq<InternalChecker> for InternalChecker[src]

impl StructuralPartialEq for InternalChecker[src]

Auto Trait Implementations

impl RefUnwindSafe for InternalChecker

impl Send for InternalChecker

impl Sync for InternalChecker

impl Unpin for InternalChecker

impl UnwindSafe for InternalChecker

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]