pub struct InternalChecker {
pub display_name: Option<String>,
pub gcp_zone: Option<String>,
pub name: Option<String>,
pub network: Option<String>,
pub peer_project_id: Option<String>,
pub state: Option<String>,
}
Expand description
An internal checker allows Uptime checks to run on private/internal GCP resources.
This type is not used in any activity, and only used as part of another schema.
Fields§
§display_name: Option<String>
The checker’s human-readable name. The display name should be unique within a Cloud Monitoring Metrics Scope in order to make it easier to identify; however, uniqueness is not enforced.
gcp_zone: Option<String>
The GCP zone the Uptime check should egress from. Only respected for internal Uptime checks, where internal_network is specified.
name: Option<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 Cloud Monitoring Metrics Scope project for the Uptime check config associated with the internal checker.
network: Option<String>
The GCP VPC network (https://cloud.google.com/vpc/docs/vpc) where the internal resource lives (ex: “default”).
peer_project_id: Option<String>
The GCP project ID where the internal checker lives. Not necessary the same as the Metrics Scope project.
state: Option<String>
The current operational state of the internal checker.
Trait Implementations§
Source§impl Clone for InternalChecker
impl Clone for InternalChecker
Source§fn clone(&self) -> InternalChecker
fn clone(&self) -> InternalChecker
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for InternalChecker
impl Debug for InternalChecker
Source§impl Default for InternalChecker
impl Default for InternalChecker
Source§fn default() -> InternalChecker
fn default() -> InternalChecker
Source§impl<'de> Deserialize<'de> for InternalChecker
impl<'de> Deserialize<'de> for InternalChecker
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for InternalChecker
impl Serialize for InternalChecker
impl Part for InternalChecker
Auto Trait Implementations§
impl Freeze for InternalChecker
impl RefUnwindSafe for InternalChecker
impl Send for InternalChecker
impl Sync for InternalChecker
impl Unpin for InternalChecker
impl UnwindSafe for InternalChecker
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more