Struct gapi_grpc::google::cloud::security::privateca::v1::CertificateIdentityConstraints[][src]

pub struct CertificateIdentityConstraints {
    pub cel_expression: Option<Expr>,
    pub allow_subject_passthrough: bool,
    pub allow_subject_alt_names_passthrough: bool,
}

Describes constraints on a [Certificate][google.cloud.security.privateca.v1.Certificate]’s [Subject][google.cloud.security.privateca.v1.Subject] and [SubjectAltNames][google.cloud.security.privateca.v1.SubjectAltNames].

Fields

cel_expression: Option<Expr>

Optional. A CEL expression that may be used to validate the resolved X.509 Subject and/or Subject Alternative Name before a certificate is signed. To see the full allowed syntax and some examples, see https://cloud.google.com/certificate-authority-service/docs/cel-guide

allow_subject_passthrough: bool

Required. If this is true, the [Subject][google.cloud.security.privateca.v1.Subject] field may be copied from a certificate request into the signed certificate. Otherwise, the requested [Subject][google.cloud.security.privateca.v1.Subject] will be discarded. The bool is optional to indicate an unset field, which suggests a forgotten value that needs to be set by the caller.

allow_subject_alt_names_passthrough: bool

Required. If this is true, the [SubjectAltNames][google.cloud.security.privateca.v1.SubjectAltNames] extension may be copied from a certificate request into the signed certificate. Otherwise, the requested [SubjectAltNames][google.cloud.security.privateca.v1.SubjectAltNames] will be discarded. The bool is optional to indicate an unset field, which suggests a forgotten value that needs to be set by the caller.

Trait Implementations

impl Clone for CertificateIdentityConstraints[src]

impl Debug for CertificateIdentityConstraints[src]

impl Default for CertificateIdentityConstraints[src]

impl Message for CertificateIdentityConstraints[src]

impl PartialEq<CertificateIdentityConstraints> for CertificateIdentityConstraints[src]

impl StructuralPartialEq for CertificateIdentityConstraints[src]

Auto Trait Implementations

impl RefUnwindSafe for CertificateIdentityConstraints

impl Send for CertificateIdentityConstraints

impl Sync for CertificateIdentityConstraints

impl Unpin for CertificateIdentityConstraints

impl UnwindSafe for CertificateIdentityConstraints

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]