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