class Google::Apis::PrivatecaV1::CertificateAuthority
A CertificateAuthority
represents an individual Certificate
Authority. A CertificateAuthority
can be used to create Certificates.
Attributes
URLs where a CertificateAuthority
will publish content. Corresponds to the JSON property `accessUrls` @return [Google::Apis::PrivatecaV1::AccessUrls]
Output only. A structured description of this CertificateAuthority's CA certificate and its issuers. Ordered as self-to-root. Corresponds to the JSON property `caCertificateDescriptions` @return [Array<Google::Apis::PrivatecaV1::CertificateDescription>]
A CertificateConfig
describes an X.509 certificate or CSR that is to be created, as an alternative to using ASN.1. Corresponds to the JSON property `config` @return [Google::Apis::PrivatecaV1::CertificateConfig]
Output only. The time at which this CertificateAuthority
was created. Corresponds to the JSON property `createTime` @return [String]
Output only. The time at which this CertificateAuthority
was soft deleted, if it is in the DELETED state. Corresponds to the JSON property `deleteTime` @return [String]
Output only. The time at which this CertificateAuthority
will be permanently purged, if it is in the DELETED state. Corresponds to the JSON property `expireTime` @return [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. Corresponds to the JSON property `gcsBucket` @return [String]
A Cloud KMS key configuration that a CertificateAuthority
will use. Corresponds to the JSON property `keySpec` @return [Google::Apis::PrivatecaV1::KeyVersionSpec]
Optional. Labels with user-defined metadata. Corresponds to the JSON property `labels` @return [Hash<String,String>]
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. Corresponds to the JSON property `lifetime` @return [String]
Output only. The resource name for this CertificateAuthority
in the format ` projects//locations//caPools//certificateAuthorities/`. Corresponds to the JSON property `name` @return [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. Corresponds to the JSON property `pemCaCertificates` @return [Array<String>]
Output only. The State for this CertificateAuthority
. Corresponds to the JSON property `state` @return [String]
Describes a subordinate CA's issuers. This is either a resource name to a known issuing CertificateAuthority
, or a PEM issuer certificate chain. Corresponds to the JSON property `subordinateConfig` @return [Google::Apis::PrivatecaV1::SubordinateConfig]
Output only. The CaPool
.Tier of the CaPool
that includes this CertificateAuthority
. Corresponds to the JSON property `tier` @return [String]
Required. Immutable. The Type of this CertificateAuthority
. Corresponds to the JSON property `type` @return [String]
Output only. The time at which this CertificateAuthority
was last updated. Corresponds to the JSON property `updateTime` @return [String]
Public Class Methods
# File lib/google/apis/privateca_v1/classes.rb, line 594 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/privateca_v1/classes.rb, line 599 def update!(**args) @access_urls = args[:access_urls] if args.key?(:access_urls) @ca_certificate_descriptions = args[:ca_certificate_descriptions] if args.key?(:ca_certificate_descriptions) @config = args[:config] if args.key?(:config) @create_time = args[:create_time] if args.key?(:create_time) @delete_time = args[:delete_time] if args.key?(:delete_time) @expire_time = args[:expire_time] if args.key?(:expire_time) @gcs_bucket = args[:gcs_bucket] if args.key?(:gcs_bucket) @key_spec = args[:key_spec] if args.key?(:key_spec) @labels = args[:labels] if args.key?(:labels) @lifetime = args[:lifetime] if args.key?(:lifetime) @name = args[:name] if args.key?(:name) @pem_ca_certificates = args[:pem_ca_certificates] if args.key?(:pem_ca_certificates) @state = args[:state] if args.key?(:state) @subordinate_config = args[:subordinate_config] if args.key?(:subordinate_config) @tier = args[:tier] if args.key?(:tier) @type = args[:type] if args.key?(:type) @update_time = args[:update_time] if args.key?(:update_time) end