pub struct ApiDeployment {Show 14 fields
pub name: String,
pub display_name: String,
pub description: String,
pub revision_id: String,
pub create_time: Option<Timestamp>,
pub revision_create_time: Option<Timestamp>,
pub revision_update_time: Option<Timestamp>,
pub api_spec_revision: String,
pub endpoint_uri: String,
pub external_channel_uri: String,
pub intended_audience: String,
pub access_guidance: String,
pub labels: HashMap<String, String>,
pub annotations: HashMap<String, String>,
}
Expand description
Describes a service running at particular address that provides a particular version of an API. ApiDeployments have revisions which correspond to different configurations of a single deployment in time. Revision identifiers should be updated whenever the served API spec or endpoint address changes.
Fields§
§name: String
Resource name.
display_name: String
Human-meaningful name.
description: String
A detailed description.
revision_id: String
Output only. Immutable. The revision ID of the deployment. A new revision is committed whenever the deployment contents are changed. The format is an 8-character hexadecimal string.
create_time: Option<Timestamp>
Output only. Creation timestamp; when the deployment resource was created.
revision_create_time: Option<Timestamp>
Output only. Revision creation timestamp; when the represented revision was created.
revision_update_time: Option<Timestamp>
Output only. Last update timestamp: when the represented revision was last modified.
api_spec_revision: String
The full resource name (including revision ID) of the spec of the API being
served by the deployment. Changes to this value will update the revision.
Format: apis/{api}/deployments/{deployment}
endpoint_uri: String
The address where the deployment is serving. Changes to this value will update the revision.
external_channel_uri: String
The address of the external channel of the API (e.g., the Developer Portal). Changes to this value will not affect the revision.
intended_audience: String
Text briefly identifying the intended audience of the API. Changes to this value will not affect the revision.
access_guidance: String
Text briefly describing how to access the endpoint. Changes to this value will not affect the revision.
labels: HashMap<String, String>
Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations.
Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded).
See https://goo.gl/xmQnxf for more information and examples of labels.
System reserved label keys are prefixed with
apigeeregistry.googleapis.com/
and cannot be changed.
annotations: HashMap<String, String>
Annotations attach non-identifying metadata to resources.
Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts.
Trait Implementations§
Source§impl Clone for ApiDeployment
impl Clone for ApiDeployment
Source§fn clone(&self) -> ApiDeployment
fn clone(&self) -> ApiDeployment
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ApiDeployment
impl Debug for ApiDeployment
Source§impl Default for ApiDeployment
impl Default for ApiDeployment
Source§impl Message for ApiDeployment
impl Message for ApiDeployment
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 ApiDeployment
impl PartialEq for ApiDeployment
impl StructuralPartialEq for ApiDeployment
Auto Trait Implementations§
impl Freeze for ApiDeployment
impl RefUnwindSafe for ApiDeployment
impl Send for ApiDeployment
impl Sync for ApiDeployment
impl Unpin for ApiDeployment
impl UnwindSafe for ApiDeployment
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