Enum google_api_proto::google::cloud::security::privateca::v1beta1::certificate_authority::certificate_authority_policy::ConfigPolicy
source · pub enum ConfigPolicy {
AllowedConfigList(AllowedConfigList),
OverwriteConfigValues(ReusableConfigWrapper),
}
Expand description
Allowed configurations or a single configuration for all issued certificates.
Variants§
AllowedConfigList(AllowedConfigList)
Optional. All [Certificates][google.cloud.security.privateca.v1beta1.Certificate] issued by the [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] must match at least one listed [ReusableConfigWrapper][google.cloud.security.privateca.v1beta1.ReusableConfigWrapper] in the list.
OverwriteConfigValues(ReusableConfigWrapper)
Optional. All [Certificates][google.cloud.security.privateca.v1beta1.Certificate] issued by the [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] will use the provided configuration values, overwriting any requested configuration values.
Implementations§
source§impl ConfigPolicy
impl ConfigPolicy
sourcepub fn merge<B>(
field: &mut Option<ConfigPolicy>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError>where
B: Buf,
pub fn merge<B>(
field: &mut Option<ConfigPolicy>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError>where
B: Buf,
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl Clone for ConfigPolicy
impl Clone for ConfigPolicy
source§fn clone(&self) -> ConfigPolicy
fn clone(&self) -> ConfigPolicy
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ConfigPolicy
impl Debug for ConfigPolicy
source§impl PartialEq for ConfigPolicy
impl PartialEq for ConfigPolicy
source§fn eq(&self, other: &ConfigPolicy) -> bool
fn eq(&self, other: &ConfigPolicy) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConfigPolicy
Auto Trait Implementations§
impl Freeze for ConfigPolicy
impl RefUnwindSafe for ConfigPolicy
impl Send for ConfigPolicy
impl Sync for ConfigPolicy
impl Unpin for ConfigPolicy
impl UnwindSafe for ConfigPolicy
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