[][src]Struct google_networkmanagement1::Endpoint

pub struct Endpoint {
    pub instance: Option<String>,
    pub network: Option<String>,
    pub network_type: Option<String>,
    pub project_id: Option<String>,
    pub ip_address: Option<String>,
    pub port: Option<i32>,
}

Source or destination of the Connectivity Test.

This type is not used in any activity, and only used as part of another schema.

Fields

instance: Option<String>

A Compute Engine instance URI.

network: Option<String>

A Compute Engine network URI.

network_type: Option<String>

Type of the network where the endpoint is located. Applicable only to source endpoint, as destination network type can be inferred from the source.

project_id: Option<String>

Project ID where the endpoint is located. The Project ID can be derived from the URI if you provide a VM instance or network URI. The following are two cases where you must provide the project ID:

  1. Only the IP address is specified, and the IP address is within a GCP project.
  2. When you are using Shared VPC and the IP address that you provide is from the service project. In this case, the network that the IP address resides in is defined in the host project.
ip_address: Option<String>

The IP address of the endpoint, which can be an external or internal IP. An IPv6 address is only allowed when the test's destination is a global load balancer VIP.

port: Option<i32>

The IP protocol port of the endpoint. Only applicable when protocol is TCP or UDP.

Trait Implementations

impl Clone for Endpoint[src]

impl Debug for Endpoint[src]

impl Default for Endpoint[src]

impl<'de> Deserialize<'de> for Endpoint[src]

impl Part for Endpoint[src]

impl Serialize for Endpoint[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<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<T> Typeable for T where
    T: Any