Struct google_api_proto::google::cloud::networkmanagement::v1beta1::ConnectivityTest
source · pub struct ConnectivityTest {Show 13 fields
pub name: String,
pub description: String,
pub source: Option<Endpoint>,
pub destination: Option<Endpoint>,
pub protocol: String,
pub related_projects: Vec<String>,
pub display_name: String,
pub labels: BTreeMap<String, String>,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub reachability_details: Option<ReachabilityDetails>,
pub probing_details: Option<ProbingDetails>,
pub bypass_firewall_checks: bool,
}
Expand description
A Connectivity Test for a network reachability analysis.
Fields§
§name: String
Required. Unique name of the resource using the form:
projects/{project_id}/locations/global/connectivityTests/{test}
description: String
The user-supplied description of the Connectivity Test. Maximum of 512 characters.
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.
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.
protocol: String
IP Protocol of the test. When not provided, “TCP” is assumed.
Other projects that may be relevant for reachability analysis. This is applicable to scenarios where a test can cross project boundaries.
display_name: String
Output only. The display name of a Connectivity Test.
labels: BTreeMap<String, String>
Resource labels to represent user-provided metadata.
create_time: Option<Timestamp>
Output only. The time the test was created.
update_time: Option<Timestamp>
Output only. The time the test’s configuration was updated.
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.
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.
bypass_firewall_checks: bool
Whether the test should skip firewall checking. If not provided, we assume false.
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§impl Message for ConnectivityTest
impl Message for ConnectivityTest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for ConnectivityTest
impl PartialEq for ConnectivityTest
source§fn eq(&self, other: &ConnectivityTest) -> bool
fn eq(&self, other: &ConnectivityTest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq 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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request