Struct google_api_proto::google::cloud::apihub::v1::ExternalApi
source · 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: BTreeMap<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: BTreeMap<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
source§fn eq(&self, other: &ExternalApi) -> bool
fn eq(&self, other: &ExternalApi) -> bool
self
and other
values to be equal, and is used
by ==
.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
§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