pub struct CertificateIssuanceConfig {
pub name: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub labels: BTreeMap<String, String>,
pub description: String,
pub certificate_authority_config: Option<CertificateAuthorityConfig>,
pub lifetime: Option<Duration>,
pub rotation_window_percentage: i32,
pub key_algorithm: i32,
}
Expand description
CertificateIssuanceConfig specifies how to issue and manage a certificate.
Fields§
§name: String
A user-defined name of the certificate issuance config.
CertificateIssuanceConfig names must be unique globally and match pattern
projects/*/locations/*/certificateIssuanceConfigs/*
.
create_time: Option<Timestamp>
Output only. The creation timestamp of a CertificateIssuanceConfig.
update_time: Option<Timestamp>
Output only. The last update timestamp of a CertificateIssuanceConfig.
labels: BTreeMap<String, String>
Set of labels associated with a CertificateIssuanceConfig.
description: String
One or more paragraphs of text description of a CertificateIssuanceConfig.
Required. The CA that issues the workload certificate. It includes the CA address, type, authentication to CA service, etc.
lifetime: Option<Duration>
Required. Workload certificate lifetime requested.
rotation_window_percentage: i32
Required. Specifies the percentage of elapsed time of the certificate lifetime to wait before renewing the certificate. Must be a number between 1-99, inclusive.
key_algorithm: i32
Required. The key algorithm to use when generating the private key.
Implementations§
source§impl CertificateIssuanceConfig
impl CertificateIssuanceConfig
sourcepub fn key_algorithm(&self) -> KeyAlgorithm
pub fn key_algorithm(&self) -> KeyAlgorithm
Returns the enum value of key_algorithm
, or the default if the field is set to an invalid enum value.
sourcepub fn set_key_algorithm(&mut self, value: KeyAlgorithm)
pub fn set_key_algorithm(&mut self, value: KeyAlgorithm)
Sets key_algorithm
to the provided enum value.
Trait Implementations§
source§impl Clone for CertificateIssuanceConfig
impl Clone for CertificateIssuanceConfig
source§fn clone(&self) -> CertificateIssuanceConfig
fn clone(&self) -> CertificateIssuanceConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CertificateIssuanceConfig
impl Debug for CertificateIssuanceConfig
source§impl Default for CertificateIssuanceConfig
impl Default for CertificateIssuanceConfig
source§impl Message for CertificateIssuanceConfig
impl Message for CertificateIssuanceConfig
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 CertificateIssuanceConfig
impl PartialEq for CertificateIssuanceConfig
source§fn eq(&self, other: &CertificateIssuanceConfig) -> bool
fn eq(&self, other: &CertificateIssuanceConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CertificateIssuanceConfig
Auto Trait Implementations§
impl Freeze for CertificateIssuanceConfig
impl RefUnwindSafe for CertificateIssuanceConfig
impl Send for CertificateIssuanceConfig
impl Sync for CertificateIssuanceConfig
impl Unpin for CertificateIssuanceConfig
impl UnwindSafe for CertificateIssuanceConfig
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