Struct googapis::google::cloud::networkmanagement::v1::ConnectivityTest [−][src]
pub struct ConnectivityTest {
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: HashMap<String, String>,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub reachability_details: Option<ReachabilityDetails>,
}
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_id}
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: HashMap<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.
Trait Implementations
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ConnectivityTest
impl Send for ConnectivityTest
impl Sync for ConnectivityTest
impl Unpin for ConnectivityTest
impl UnwindSafe for ConnectivityTest
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more