Struct google_networkmanagement1::api::ConnectivityTest
source · pub struct ConnectivityTest {Show 13 fields
pub bypass_firewall_checks: Option<bool>,
pub create_time: Option<DateTime<Utc>>,
pub description: Option<String>,
pub destination: Option<Endpoint>,
pub display_name: Option<String>,
pub labels: Option<HashMap<String, String>>,
pub name: Option<String>,
pub probing_details: Option<ProbingDetails>,
pub protocol: Option<String>,
pub reachability_details: Option<ReachabilityDetails>,
pub related_projects: Option<Vec<String>>,
pub source: Option<Endpoint>,
pub update_time: Option<DateTime<Utc>>,
}
Expand description
A Connectivity Test for a network reachability analysis.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§bypass_firewall_checks: Option<bool>
Whether the test should skip firewall checking. If not provided, we assume false.
create_time: Option<DateTime<Utc>>
Output only. The time the test was created.
description: Option<String>
The user-supplied description of the Connectivity Test. Maximum of 512 characters.
destination: Option<Endpoint>
Required. Destination specification of the Connectivity Test. You can use a combination of destination IP address, Compute Engine VM instance, or VPC network to uniquely identify the destination location. Even if the destination IP address is not unique, the source IP location is unique. Usually, the analysis can infer the destination endpoint from route information. If the destination you specify is a VM instance and the instance has multiple network interfaces, then you must also specify either a destination IP address or VPC network to identify the destination interface. A reachability analysis proceeds even if the destination location is ambiguous. However, the result can include endpoints that you don’t intend to test.
display_name: Option<String>
Output only. The display name of a Connectivity Test.
labels: Option<HashMap<String, String>>
Resource labels to represent user-provided metadata.
name: Option<String>
Identifier. Unique name of the resource using the form: projects/{project_id}/locations/global/connectivityTests/{test_id}
probing_details: Option<ProbingDetails>
Output only. The probing details of this test from the latest run, present for applicable tests only. The details are updated when creating a new test, updating an existing test, or triggering a one-time rerun of an existing test.
protocol: Option<String>
IP Protocol of the test. When not provided, “TCP” is assumed.
reachability_details: Option<ReachabilityDetails>
Output only. The reachability details of this test from the latest run. The details are updated when creating a new test, updating an existing test, or triggering a one-time rerun of an existing test.
Other projects that may be relevant for reachability analysis. This is applicable to scenarios where a test can cross project boundaries.
source: Option<Endpoint>
Required. Source specification of the Connectivity Test. You can use a combination of source IP address, virtual machine (VM) instance, or Compute Engine network to uniquely identify the source location. Examples: If the source IP address is an internal IP address within a Google Cloud Virtual Private Cloud (VPC) network, then you must also specify the VPC network. Otherwise, specify the VM instance, which already contains its internal IP address and VPC network information. If the source of the test is within an on-premises network, then you must provide the destination VPC network. If the source endpoint is a Compute Engine VM instance with multiple network interfaces, the instance itself is not sufficient to identify the endpoint. So, you must also specify the source IP address or VPC network. A reachability analysis proceeds even if the source location is ambiguous. However, the test result may include endpoints that you don’t intend to test.
update_time: Option<DateTime<Utc>>
Output only. The time the test’s configuration was updated.
Trait Implementations§
source§impl Clone for ConnectivityTest
impl Clone for ConnectivityTest
source§fn clone(&self) -> ConnectivityTest
fn clone(&self) -> ConnectivityTest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ConnectivityTest
impl Debug for ConnectivityTest
source§impl Default for ConnectivityTest
impl Default for ConnectivityTest
source§fn default() -> ConnectivityTest
fn default() -> ConnectivityTest
source§impl<'de> Deserialize<'de> for ConnectivityTest
impl<'de> Deserialize<'de> for ConnectivityTest
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 ConnectivityTest
impl Serialize for ConnectivityTest
impl RequestValue for ConnectivityTest
impl ResponseResult for ConnectivityTest
Auto Trait Implementations§
impl Freeze for ConnectivityTest
impl RefUnwindSafe for ConnectivityTest
impl Send for ConnectivityTest
impl Sync for ConnectivityTest
impl Unpin for ConnectivityTest
impl UnwindSafe for ConnectivityTest
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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