Struct google_api_proto::google::cloud::compute::v1::InterconnectLocation
source · pub struct InterconnectLocation {Show 18 fields
pub address: Option<String>,
pub availability_zone: Option<String>,
pub available_features: Vec<String>,
pub available_link_types: Vec<String>,
pub city: Option<String>,
pub continent: Option<String>,
pub creation_timestamp: Option<String>,
pub description: Option<String>,
pub facility_provider: Option<String>,
pub facility_provider_facility_id: Option<String>,
pub id: Option<u64>,
pub kind: Option<String>,
pub name: Option<String>,
pub peeringdb_facility_id: Option<String>,
pub region_infos: Vec<InterconnectLocationRegionInfo>,
pub self_link: Option<String>,
pub status: Option<String>,
pub supports_pzs: Option<bool>,
}
Expand description
Represents an Interconnect Attachment (VLAN) Location resource. You can use this resource to find location details about an Interconnect attachment (VLAN). For more information about interconnect attachments, read Creating VLAN Attachments.
Fields§
§address: Option<String>
[Output Only] The postal address of the Point of Presence, each line in the address is separated by a newline character.
availability_zone: Option<String>
[Output Only] Availability zone for this InterconnectLocation. Within a metropolitan area (metro), maintenance will not be simultaneously scheduled in more than one availability zone. Example: “zone1” or “zone2”.
available_features: Vec<String>
[Output only] List of features available at this InterconnectLocation, which can take one of the following values: - MACSEC Check the AvailableFeatures enum for the list of possible values.
available_link_types: Vec<String>
[Output only] List of link types available at this InterconnectLocation, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR - LINK_TYPE_ETHERNET_100G_LR Check the AvailableLinkTypes enum for the list of possible values.
city: Option<String>
[Output Only] Metropolitan area designator that indicates which city an interconnect is located. For example: “Chicago, IL”, “Amsterdam, Netherlands”.
continent: Option<String>
[Output Only] Continent for this location, which can take one of the following values: - AFRICA - ASIA_PAC - EUROPE - NORTH_AMERICA - SOUTH_AMERICA Check the Continent enum for the list of possible values.
creation_timestamp: Option<String>
[Output Only] Creation timestamp in RFC3339 text format.
description: Option<String>
[Output Only] An optional description of the resource.
facility_provider: Option<String>
[Output Only] The name of the provider for this facility (e.g., EQUINIX).
facility_provider_facility_id: Option<String>
[Output Only] A provider-assigned Identifier for this facility (e.g., Ashburn-DC1).
id: Option<u64>
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
kind: Option<String>
[Output Only] Type of the resource. Always compute#interconnectLocation for interconnect locations.
name: Option<String>
[Output Only] Name of the resource.
peeringdb_facility_id: Option<String>
[Output Only] The peeringdb identifier for this facility (corresponding with a netfac type in peeringdb).
region_infos: Vec<InterconnectLocationRegionInfo>
[Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters pertaining to the relation between this InterconnectLocation and various Google Cloud regions.
self_link: Option<String>
[Output Only] Server-defined URL for the resource.
status: Option<String>
[Output Only] The status of this InterconnectLocation, which can take one of the following values: - CLOSED: The InterconnectLocation is closed and is unavailable for provisioning new Interconnects. - AVAILABLE: The InterconnectLocation is available for provisioning new Interconnects. Check the Status enum for the list of possible values.
supports_pzs: Option<bool>
[Output Only] Reserved for future use.
Implementations§
source§impl InterconnectLocation
impl InterconnectLocation
sourcepub fn creation_timestamp(&self) -> &str
pub fn creation_timestamp(&self) -> &str
Returns the value of creation_timestamp
, or the default value if creation_timestamp
is unset.
sourcepub fn supports_pzs(&self) -> bool
pub fn supports_pzs(&self) -> bool
Returns the value of supports_pzs
, or the default value if supports_pzs
is unset.
sourcepub fn facility_provider_facility_id(&self) -> &str
pub fn facility_provider_facility_id(&self) -> &str
Returns the value of facility_provider_facility_id
, or the default value if facility_provider_facility_id
is unset.
sourcepub fn continent(&self) -> &str
pub fn continent(&self) -> &str
Returns the value of continent
, or the default value if continent
is unset.
sourcepub fn availability_zone(&self) -> &str
pub fn availability_zone(&self) -> &str
Returns the value of availability_zone
, or the default value if availability_zone
is unset.
sourcepub fn status(&self) -> &str
pub fn status(&self) -> &str
Returns the value of status
, or the default value if status
is unset.
sourcepub fn description(&self) -> &str
pub fn description(&self) -> &str
Returns the value of description
, or the default value if description
is unset.
sourcepub fn self_link(&self) -> &str
pub fn self_link(&self) -> &str
Returns the value of self_link
, or the default value if self_link
is unset.
sourcepub fn address(&self) -> &str
pub fn address(&self) -> &str
Returns the value of address
, or the default value if address
is unset.
sourcepub fn facility_provider(&self) -> &str
pub fn facility_provider(&self) -> &str
Returns the value of facility_provider
, or the default value if facility_provider
is unset.
sourcepub fn peeringdb_facility_id(&self) -> &str
pub fn peeringdb_facility_id(&self) -> &str
Returns the value of peeringdb_facility_id
, or the default value if peeringdb_facility_id
is unset.
Trait Implementations§
source§impl Clone for InterconnectLocation
impl Clone for InterconnectLocation
source§fn clone(&self) -> InterconnectLocation
fn clone(&self) -> InterconnectLocation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InterconnectLocation
impl Debug for InterconnectLocation
source§impl Default for InterconnectLocation
impl Default for InterconnectLocation
source§impl Message for InterconnectLocation
impl Message for InterconnectLocation
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 InterconnectLocation
impl PartialEq for InterconnectLocation
source§fn eq(&self, other: &InterconnectLocation) -> bool
fn eq(&self, other: &InterconnectLocation) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InterconnectLocation
Auto Trait Implementations§
impl Freeze for InterconnectLocation
impl RefUnwindSafe for InterconnectLocation
impl Send for InterconnectLocation
impl Sync for InterconnectLocation
impl Unpin for InterconnectLocation
impl UnwindSafe for InterconnectLocation
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