Class Google::Cloud::Security::PrivateCA::V1::CertificateAuthority (v0.1.6)

A CertificateAuthority represents an individual Certificate Authority. A CertificateAuthority can be used to create Certificates.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#access_urls

def access_urls() -> ::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority::AccessUrls
Returns

#ca_certificate_descriptions

def ca_certificate_descriptions() -> ::Array<::Google::Cloud::Security::PrivateCA::V1::CertificateDescription>
Returns

#config

def config() -> ::Google::Cloud::Security::PrivateCA::V1::CertificateConfig
Returns

#config=

def config=(value) -> ::Google::Cloud::Security::PrivateCA::V1::CertificateConfig
Parameter
Returns

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#delete_time

def delete_time() -> ::Google::Protobuf::Timestamp
Returns

#expire_time

def expire_time() -> ::Google::Protobuf::Timestamp
Returns

#gcs_bucket

def gcs_bucket() -> ::String
Returns
  • (::String) — Immutable. The name of a Cloud Storage bucket where this CertificateAuthority will publish content, such as the CA certificate and CRLs. This must be a bucket name, without any prefixes (such as gs://) or suffixes (such as .googleapis.com). For example, to use a bucket named my-bucket, you would simply specify my-bucket. If not specified, a managed bucket will be created.

#gcs_bucket=

def gcs_bucket=(value) -> ::String
Parameter
  • value (::String) — Immutable. The name of a Cloud Storage bucket where this CertificateAuthority will publish content, such as the CA certificate and CRLs. This must be a bucket name, without any prefixes (such as gs://) or suffixes (such as .googleapis.com). For example, to use a bucket named my-bucket, you would simply specify my-bucket. If not specified, a managed bucket will be created.
Returns
  • (::String) — Immutable. The name of a Cloud Storage bucket where this CertificateAuthority will publish content, such as the CA certificate and CRLs. This must be a bucket name, without any prefixes (such as gs://) or suffixes (such as .googleapis.com). For example, to use a bucket named my-bucket, you would simply specify my-bucket. If not specified, a managed bucket will be created.

#key_spec

def key_spec() -> ::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority::KeyVersionSpec
Returns

#key_spec=

def key_spec=(value) -> ::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority::KeyVersionSpec
Parameter
Returns

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels with user-defined metadata.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels with user-defined metadata.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels with user-defined metadata.

#lifetime

def lifetime() -> ::Google::Protobuf::Duration
Returns
  • (::Google::Protobuf::Duration) — Required. Immutable. The desired lifetime of the CA certificate. Used to create the "not_before_time" and "not_after_time" fields inside an X.509 certificate.

#lifetime=

def lifetime=(value) -> ::Google::Protobuf::Duration
Parameter
  • value (::Google::Protobuf::Duration) — Required. Immutable. The desired lifetime of the CA certificate. Used to create the "not_before_time" and "not_after_time" fields inside an X.509 certificate.
Returns
  • (::Google::Protobuf::Duration) — Required. Immutable. The desired lifetime of the CA certificate. Used to create the "not_before_time" and "not_after_time" fields inside an X.509 certificate.

#name

def name() -> ::String
Returns
  • (::String) — Output only. The resource name for this CertificateAuthority in the format projects/*/locations/*/caPools/*/certificateAuthorities/*.

#pem_ca_certificates

def pem_ca_certificates() -> ::Array<::String>
Returns
  • (::Array<::String>) — Output only. This CertificateAuthority's certificate chain, including the current CertificateAuthority's certificate. Ordered such that the root issuer is the final element (consistent with RFC 5246). For a self-signed CA, this will only list the current CertificateAuthority's certificate.

#state

def state() -> ::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority::State

#subordinate_config

def subordinate_config() -> ::Google::Cloud::Security::PrivateCA::V1::SubordinateConfig
Returns

#subordinate_config=

def subordinate_config=(value) -> ::Google::Cloud::Security::PrivateCA::V1::SubordinateConfig
Parameter
Returns

#tier

def tier() -> ::Google::Cloud::Security::PrivateCA::V1::CaPool::Tier
Returns

#type

def type() -> ::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority::Type

#type=

def type=(value) -> ::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority::Type

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns