Certificate Authority Service V1beta1 API - Class Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority (v0.3.6)

Reference documentation and code samples for the Certificate Authority Service V1beta1 API class Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority.

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::V1beta1::CertificateAuthority::AccessUrls
Returns

#ca_certificate_descriptions

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

#certificate_policy

def certificate_policy() -> ::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority::CertificateAuthorityPolicy

#certificate_policy=

def certificate_policy=(value) -> ::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority::CertificateAuthorityPolicy

#config

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

#config=

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

#create_time

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

#delete_time

def delete_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.

#issuing_options

def issuing_options() -> ::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority::IssuingOptions

#issuing_options=

def issuing_options=(value) -> ::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority::IssuingOptions

#key_spec

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

#key_spec=

def key_spec=(value) -> ::Google::Cloud::Security::PrivateCA::V1beta1::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. 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. 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. 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/*/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::V1beta1::CertificateAuthority::State

#subordinate_config

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

#subordinate_config=

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

#tier

def tier() -> ::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority::Tier

#tier=

def tier=(value) -> ::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority::Tier

#type

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

#type=

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

#update_time

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