Struct google_api_proto::google::cloud::certificatemanager::v1::CertificateMapEntry
source · pub struct CertificateMapEntry {
pub name: String,
pub description: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub labels: BTreeMap<String, String>,
pub certificates: Vec<String>,
pub state: i32,
pub match: Option<Match>,
}
Expand description
Defines a certificate map entry.
Fields§
§name: String
A user-defined name of the Certificate Map Entry. Certificate Map Entry
names must be unique globally and match pattern
projects/*/locations/*/certificateMaps/*/certificateMapEntries/*
.
description: String
One or more paragraphs of text description of a certificate map entry.
create_time: Option<Timestamp>
Output only. The creation timestamp of a Certificate Map Entry.
update_time: Option<Timestamp>
Output only. The update timestamp of a Certificate Map Entry.
labels: BTreeMap<String, String>
Set of labels associated with a Certificate Map Entry.
certificates: Vec<String>
A set of Certificates defines for the given hostname
. There can be
defined up to four certificates in each Certificate Map Entry. Each
certificate must match pattern projects/*/locations/*/certificates/*
.
state: i32
Output only. A serving state of this Certificate Map Entry.
match: Option<Match>
Implementations§
source§impl CertificateMapEntry
impl CertificateMapEntry
sourcepub fn state(&self) -> ServingState
pub fn state(&self) -> ServingState
Returns the enum value of state
, or the default if the field is set to an invalid enum value.
sourcepub fn set_state(&mut self, value: ServingState)
pub fn set_state(&mut self, value: ServingState)
Sets state
to the provided enum value.
Trait Implementations§
source§impl Clone for CertificateMapEntry
impl Clone for CertificateMapEntry
source§fn clone(&self) -> CertificateMapEntry
fn clone(&self) -> CertificateMapEntry
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CertificateMapEntry
impl Debug for CertificateMapEntry
source§impl Default for CertificateMapEntry
impl Default for CertificateMapEntry
source§impl Message for CertificateMapEntry
impl Message for CertificateMapEntry
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 CertificateMapEntry
impl PartialEq for CertificateMapEntry
source§fn eq(&self, other: &CertificateMapEntry) -> bool
fn eq(&self, other: &CertificateMapEntry) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CertificateMapEntry
Auto Trait Implementations§
impl Freeze for CertificateMapEntry
impl RefUnwindSafe for CertificateMapEntry
impl Send for CertificateMapEntry
impl Sync for CertificateMapEntry
impl Unpin for CertificateMapEntry
impl UnwindSafe for CertificateMapEntry
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