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

pub struct CaPool {
    pub name: String,
    pub tier: i32,
    pub issuance_policy: Option<IssuancePolicy>,
    pub publishing_options: Option<PublishingOptions>,
    pub labels: HashMap<String, String>,
}

A [CaPool][google.cloud.security.privateca.v1.CaPool] represents a group of [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority] that form a trust anchor. A [CaPool][google.cloud.security.privateca.v1.CaPool] can be used to manage issuance policies for one or more [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] resources and to rotate CA certificates in and out of the trust anchor.

Fields

name: String

Output only. The resource name for this [CaPool][google.cloud.security.privateca.v1.CaPool] in the format projects/*/locations/*/caPools/*.

tier: i32

Required. Immutable. The [Tier][google.cloud.security.privateca.v1.CaPool.Tier] of this [CaPool][google.cloud.security.privateca.v1.CaPool].

issuance_policy: Option<IssuancePolicy>

Optional. The [IssuancePolicy][google.cloud.security.privateca.v1.CaPool.IssuancePolicy] to control how [Certificates][google.cloud.security.privateca.v1.Certificate] will be issued from this [CaPool][google.cloud.security.privateca.v1.CaPool].

publishing_options: Option<PublishingOptions>

Optional. The [PublishingOptions][google.cloud.security.privateca.v1.CaPool.PublishingOptions] to follow when issuing [Certificates][google.cloud.security.privateca.v1.Certificate] from any [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] in this [CaPool][google.cloud.security.privateca.v1.CaPool].

labels: HashMap<String, String>

Optional. Labels with user-defined metadata.

Implementations

impl CaPool[src]

pub fn tier(&self) -> Tier[src]

Returns the enum value of tier, or the default if the field is set to an invalid enum value.

pub fn set_tier(&mut self, value: Tier)[src]

Sets tier to the provided enum value.

Trait Implementations

impl Clone for CaPool[src]

impl Debug for CaPool[src]

impl Default for CaPool[src]

impl Message for CaPool[src]

impl PartialEq<CaPool> for CaPool[src]

impl StructuralPartialEq for CaPool[src]

Auto Trait Implementations

impl RefUnwindSafe for CaPool

impl Send for CaPool

impl Sync for CaPool

impl Unpin for CaPool

impl UnwindSafe for CaPool

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]