Struct google_api_proto::google::cloud::compute::v1::InterconnectOutageNotification
source · pub struct InterconnectOutageNotification {
pub affected_circuits: Vec<String>,
pub description: Option<String>,
pub end_time: Option<i64>,
pub issue_type: Option<String>,
pub name: Option<String>,
pub source: Option<String>,
pub start_time: Option<i64>,
pub state: Option<String>,
}
Expand description
Description of a planned outage on this Interconnect.
Fields§
§affected_circuits: Vec<String>
If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.
description: Option<String>
A description about the purpose of the outage.
end_time: Option<i64>
Scheduled end time for the outage (milliseconds since Unix epoch).
issue_type: Option<String>
Form this outage is expected to take, which can take one of the following values: - OUTAGE: The Interconnect may be completely out of service for some or all of the specified window. - PARTIAL_OUTAGE: Some circuits comprising the Interconnect as a whole should remain up, but with reduced bandwidth. Note that the versions of this enum prefixed with “IT_” have been deprecated in favor of the unprefixed values. Check the IssueType enum for the list of possible values.
name: Option<String>
Unique identifier for this outage notification.
source: Option<String>
The party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google. Note that the value of NSRC_GOOGLE has been deprecated in favor of GOOGLE. Check the Source enum for the list of possible values.
start_time: Option<i64>
Scheduled start time for the outage (milliseconds since Unix epoch).
state: Option<String>
State of this notification, which can take one of the following values: - ACTIVE: This outage notification is active. The event could be in the past, present, or future. See start_time and end_time for scheduling. - CANCELLED: The outage associated with this notification was cancelled before the outage was due to start. - COMPLETED: The outage associated with this notification is complete. Note that the versions of this enum prefixed with “NS_” have been deprecated in favor of the unprefixed values. Check the State enum for the list of possible values.
Implementations§
source§impl InterconnectOutageNotification
impl InterconnectOutageNotification
sourcepub fn start_time(&self) -> i64
pub fn start_time(&self) -> i64
Returns the value of start_time
, or the default value if start_time
is unset.
sourcepub fn state(&self) -> &str
pub fn state(&self) -> &str
Returns the value of state
, or the default value if state
is unset.
sourcepub fn end_time(&self) -> i64
pub fn end_time(&self) -> i64
Returns the value of end_time
, or the default value if end_time
is unset.
sourcepub fn source(&self) -> &str
pub fn source(&self) -> &str
Returns the value of source
, or the default value if source
is unset.
sourcepub fn issue_type(&self) -> &str
pub fn issue_type(&self) -> &str
Returns the value of issue_type
, or the default value if issue_type
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.
Trait Implementations§
source§impl Clone for InterconnectOutageNotification
impl Clone for InterconnectOutageNotification
source§fn clone(&self) -> InterconnectOutageNotification
fn clone(&self) -> InterconnectOutageNotification
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for InterconnectOutageNotification
impl Message for InterconnectOutageNotification
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
. Read moresource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
.source§impl PartialEq for InterconnectOutageNotification
impl PartialEq for InterconnectOutageNotification
source§fn eq(&self, other: &InterconnectOutageNotification) -> bool
fn eq(&self, other: &InterconnectOutageNotification) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InterconnectOutageNotification
Auto Trait Implementations§
impl Freeze for InterconnectOutageNotification
impl RefUnwindSafe for InterconnectOutageNotification
impl Send for InterconnectOutageNotification
impl Sync for InterconnectOutageNotification
impl Unpin for InterconnectOutageNotification
impl UnwindSafe for InterconnectOutageNotification
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