pub struct Interconnect {
Show 30 fields pub admin_enabled: Option<bool>, pub available_features: Vec<String>, pub circuit_infos: Vec<InterconnectCircuitInfo>, pub creation_timestamp: Option<String>, pub customer_name: Option<String>, pub description: Option<String>, pub expected_outages: Vec<InterconnectOutageNotification>, pub google_ip_address: Option<String>, pub google_reference_id: Option<String>, pub id: Option<u64>, pub interconnect_attachments: Vec<String>, pub interconnect_type: Option<String>, pub kind: Option<String>, pub label_fingerprint: Option<String>, pub labels: BTreeMap<String, String>, pub link_type: Option<String>, pub location: Option<String>, pub macsec: Option<InterconnectMacsec>, pub macsec_enabled: Option<bool>, pub name: Option<String>, pub noc_contact_email: Option<String>, pub operational_status: Option<String>, pub peer_ip_address: Option<String>, pub provisioned_link_count: Option<i32>, pub remote_location: Option<String>, pub requested_features: Vec<String>, pub requested_link_count: Option<i32>, pub satisfies_pzs: Option<bool>, pub self_link: Option<String>, pub state: Option<String>,
}
Expand description

Represents an Interconnect resource. An Interconnect resource is a dedicated connection between the Google Cloud network and your on-premises network. For more information, read the Dedicated Interconnect Overview.

Fields§

§admin_enabled: Option<bool>

Administrative status of the interconnect. When this is set to true, the Interconnect is functional and can carry traffic. When set to false, no packets can be carried over the interconnect and no BGP routes are exchanged over it. By default, the status is set to true.

§available_features: Vec<String>

[Output only] List of features available for this Interconnect connection, which can take one of the following values: - MACSEC If present then the Interconnect connection is provisioned on MACsec capable hardware ports. If not present then the Interconnect connection is provisioned on non-MACsec capable ports and MACsec isn’t supported and enabling MACsec fails. Check the AvailableFeatures enum for the list of possible values.

§circuit_infos: Vec<InterconnectCircuitInfo>

[Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG.

§creation_timestamp: Option<String>

[Output Only] Creation timestamp in RFC3339 text format.

§customer_name: Option<String>

Customer name, to put in the Letter of Authorization as the party authorized to request a crossconnect.

§description: Option<String>

An optional description of this resource. Provide this property when you create the resource.

§expected_outages: Vec<InterconnectOutageNotification>

[Output Only] A list of outages expected for this Interconnect.

§google_ip_address: Option<String>

[Output Only] IP address configured on the Google side of the Interconnect link. This can be used only for ping tests.

§google_reference_id: Option<String>

[Output Only] Google reference ID to be used when raising support tickets with Google or otherwise to debug backend connectivity issues.

§id: Option<u64>

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

§interconnect_attachments: Vec<String>

[Output Only] A list of the URLs of all InterconnectAttachments configured to use this Interconnect.

§interconnect_type: Option<String>

Type of interconnect, which can take one of the following values: - PARTNER: A partner-managed interconnection shared between customers though a partner. - DEDICATED: A dedicated physical interconnection with the customer. Note that a value IT_PRIVATE has been deprecated in favor of DEDICATED. Check the InterconnectType enum for the list of possible values.

§kind: Option<String>

[Output Only] Type of the resource. Always compute#interconnect for interconnects.

§label_fingerprint: Option<String>

A fingerprint for the labels being applied to this Interconnect, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an Interconnect.

§labels: BTreeMap<String, String>

Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.

§link_type: Option<String>

Type of link requested, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics. Note that this field indicates the speed of each of the links in the bundle, not the speed of the entire bundle. Check the LinkType enum for the list of possible values.

§location: Option<String>

URL of the InterconnectLocation object that represents where this connection is to be provisioned.

§macsec: Option<InterconnectMacsec>

Configuration that enables Media Access Control security (MACsec) on the Cloud Interconnect connection between Google and your on-premises router.

§macsec_enabled: Option<bool>

Enable or disable MACsec on this Interconnect connection. MACsec enablement fails if the MACsec object is not specified.

§name: Option<String>

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z](\[-a-z0-9\]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

§noc_contact_email: Option<String>

Email address to contact the customer NOC for operations and maintenance notifications regarding this Interconnect. If specified, this will be used for notifications in addition to all other forms described, such as Cloud Monitoring logs alerting and Cloud Notifications. This field is required for users who sign up for Cloud Interconnect using workforce identity federation.

§operational_status: Option<String>

[Output Only] The current status of this Interconnect’s functionality, which can take one of the following values: - OS_ACTIVE: A valid Interconnect, which is turned up and is ready to use. Attachments may be provisioned on this Interconnect. - OS_UNPROVISIONED: An Interconnect that has not completed turnup. No attachments may be provisioned on this Interconnect. - OS_UNDER_MAINTENANCE: An Interconnect that is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect. Check the OperationalStatus enum for the list of possible values.

§peer_ip_address: Option<String>

[Output Only] IP address configured on the customer side of the Interconnect link. The customer should configure this IP address during turnup when prompted by Google NOC. This can be used only for ping tests.

§provisioned_link_count: Option<i32>

[Output Only] Number of links actually provisioned in this interconnect.

§remote_location: Option<String>

Indicates that this is a Cross-Cloud Interconnect. This field specifies the location outside of Google’s network that the interconnect is connected to.

§requested_features: Vec<String>

Optional. List of features requested for this Interconnect connection, which can take one of the following values: - MACSEC If specified then the connection is created on MACsec capable hardware ports. If not specified, the default value is false, which allocates non-MACsec capable ports first if available. This parameter can be provided only with Interconnect INSERT. It isn’t valid for Interconnect PATCH. Check the RequestedFeatures enum for the list of possible values.

§requested_link_count: Option<i32>

Target number of physical links in the link bundle, as requested by the customer.

§satisfies_pzs: Option<bool>

[Output Only] Reserved for future use.

§self_link: Option<String>

[Output Only] Server-defined URL for the resource.

§state: Option<String>

[Output Only] The current state of Interconnect functionality, which can take one of the following values: - ACTIVE: The Interconnect is valid, turned up and ready to use. Attachments may be provisioned on this Interconnect. - UNPROVISIONED: The Interconnect has not completed turnup. No attachments may be provisioned on this Interconnect. - UNDER_MAINTENANCE: The Interconnect is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect. Check the State enum for the list of possible values.

Implementations§

source§

impl Interconnect

source

pub fn id(&self) -> u64

Returns the value of id, or the default value if id is unset.

source

pub fn kind(&self) -> &str

Returns the value of kind, or the default value if kind is unset.

source

pub fn name(&self) -> &str

Returns the value of name, or the default value if name is unset.

source

pub fn customer_name(&self) -> &str

Returns the value of customer_name, or the default value if customer_name is unset.

source

pub fn noc_contact_email(&self) -> &str

Returns the value of noc_contact_email, or the default value if noc_contact_email is unset.

source

pub fn creation_timestamp(&self) -> &str

Returns the value of creation_timestamp, or the default value if creation_timestamp is unset.

Returns the value of requested_link_count, or the default value if requested_link_count is unset.

source

pub fn state(&self) -> &str

Returns the value of state, or the default value if state is unset.

source

pub fn label_fingerprint(&self) -> &str

Returns the value of label_fingerprint, or the default value if label_fingerprint is unset.

source

pub fn macsec_enabled(&self) -> bool

Returns the value of macsec_enabled, or the default value if macsec_enabled is unset.

source

pub fn operational_status(&self) -> &str

Returns the value of operational_status, or the default value if operational_status is unset.

source

pub fn peer_ip_address(&self) -> &str

Returns the value of peer_ip_address, or the default value if peer_ip_address is unset.

source

pub fn location(&self) -> &str

Returns the value of location, or the default value if location is unset.

source

pub fn remote_location(&self) -> &str

Returns the value of remote_location, or the default value if remote_location is unset.

Returns the value of provisioned_link_count, or the default value if provisioned_link_count is unset.

source

pub fn description(&self) -> &str

Returns the value of description, or the default value if description is unset.

source

pub fn google_ip_address(&self) -> &str

Returns the value of google_ip_address, or the default value if google_ip_address is unset.

source

pub fn admin_enabled(&self) -> bool

Returns the value of admin_enabled, or the default value if admin_enabled is unset.

Returns the value of self_link, or the default value if self_link is unset.

source

pub fn satisfies_pzs(&self) -> bool

Returns the value of satisfies_pzs, or the default value if satisfies_pzs is unset.

source

pub fn interconnect_type(&self) -> &str

Returns the value of interconnect_type, or the default value if interconnect_type is unset.

Returns the value of link_type, or the default value if link_type is unset.

source

pub fn google_reference_id(&self) -> &str

Returns the value of google_reference_id, or the default value if google_reference_id is unset.

Trait Implementations§

source§

impl Clone for Interconnect

source§

fn clone(&self) -> Interconnect

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Interconnect

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Interconnect

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl Message for Interconnect

source§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
source§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
source§

fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
where B: BufMut, Self: Sized,

Encodes the message to a buffer. Read more
source§

fn encode_to_vec(&self) -> Vec<u8>
where Self: Sized,

Encodes the message to a newly allocated buffer.
source§

fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
where B: BufMut, Self: Sized,

Encodes the message with a length-delimiter to a buffer. Read more
source§

fn encode_length_delimited_to_vec(&self) -> Vec<u8>
where Self: Sized,

Encodes the message with a length-delimiter to a newly allocated buffer.
source§

fn decode<B>(buf: B) -> Result<Self, DecodeError>
where B: Buf, Self: Default,

Decodes an instance of the message from a buffer. Read more
source§

fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
where B: Buf, Self: Default,

Decodes a length-delimited instance of the message from the buffer.
source§

fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
where B: Buf, Self: Sized,

Decodes an instance of the message from a buffer, and merges it into self. Read more
source§

fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
where B: Buf, Self: Sized,

Decodes a length-delimited instance of the message from buffer, and merges it into self.
source§

impl PartialEq for Interconnect

source§

fn eq(&self, other: &Interconnect) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for Interconnect

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> FromRef<T> for T
where T: Clone,

§

fn from_ref(input: &T) -> T

Converts to this type from a reference to the input type.
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoRequest<T> for T

source§

fn into_request(self) -> Request<T>

Wrap the input message T in a tonic::Request
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more