pub struct ExternalApi {
pub name: String,
pub display_name: String,
pub description: String,
pub endpoints: Vec<String>,
pub paths: Vec<String>,
pub documentation: Option<Documentation>,
pub attributes: HashMap<String, AttributeValues>,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
}
Expand description
An external API represents an API being provided by external sources. This can be used to model third-party APIs and can be used to define dependencies.
Fields§
§name: String
Identifier. Format:
projects/{project}/locations/{location}/externalApi/{externalApi}
.
display_name: String
Required. Display name of the external API. Max length is 63 characters (Unicode Code Points).
description: String
Optional. Description of the external API. Max length is 2000 characters (Unicode Code Points).
endpoints: Vec<String>
Optional. List of endpoints on which this API is accessible.
paths: Vec<String>
Optional. List of paths served by this API.
documentation: Option<Documentation>
Optional. Documentation of the external API.
attributes: HashMap<String, AttributeValues>
Optional. The list of user defined attributes associated with the Version
resource. The key is the attribute name. It will be of the format:
projects/{project}/locations/{location}/attributes/{attribute}
.
The value is the attribute values associated with the resource.
create_time: Option<Timestamp>
Output only. Creation timestamp.
update_time: Option<Timestamp>
Output only. Last update timestamp.
Trait Implementations§
Source§impl Clone for ExternalApi
impl Clone for ExternalApi
Source§fn clone(&self) -> ExternalApi
fn clone(&self) -> ExternalApi
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ExternalApi
impl Debug for ExternalApi
Source§impl Default for ExternalApi
impl Default for ExternalApi
Source§impl Message for ExternalApi
impl Message for ExternalApi
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 ExternalApi
impl PartialEq for ExternalApi
impl StructuralPartialEq for ExternalApi
Auto Trait Implementations§
impl Freeze for ExternalApi
impl RefUnwindSafe for ExternalApi
impl Send for ExternalApi
impl Sync for ExternalApi
impl Unpin for ExternalApi
impl UnwindSafe for ExternalApi
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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