NAME
Google::Cloud::Security::Privateca::V1beta1::Resources - Compiled Protocol Buffers messages for google/cloud/security/privateca/v1beta1/resources.proto
SYNOPSIS
use Google::Cloud::Security::Privateca::V1beta1::Resources;
my $msg = Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateAuthority->new({
name => $name,
type => $type,
tier => $tier,
config => $config,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateAuthority->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/security/privateca/v1beta1/resources.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateAuthority
A [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] represents an individual Certificate Authority. A [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] can be used to create [Certificates][google.cloud.security.privateca.v1beta1.Certificate].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput only. The resource name for this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] in the format `projects/*/locations/*/certificateAuthorities/*`.
$msg->type()/$msg->type($value)Type:
Enum(Google::Cloud::Security::Privateca::V1beta1::CertificateAuthority::Type)Required. Immutable. The [Type][google.cloud.security.privateca.v1beta1.CertificateAuthority.Type] of this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority].
$msg->tier()/$msg->tier($value)Type:
Enum(Google::Cloud::Security::Privateca::V1beta1::CertificateAuthority::Tier)Required. Immutable. The [Tier][google.cloud.security.privateca.v1beta1.CertificateAuthority.Tier] of this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority].
$msg->config()/$msg->config($value)Type:
Message(Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateConfig)Required. Immutable. The config used to create a self-signed X.509 certificate or CSR.
$msg->lifetime()/$msg->lifetime($value)Type:
Message(Google::Protobuf::Duration::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.
$msg->key_spec()/$msg->key_spec($value)Type:
Message(Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateAuthority::KeyVersionSpec)Required. Immutable. Used when issuing certificates for this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]. If this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] is a self-signed CertificateAuthority, this key is also used to sign the self-signed CA certificate. Otherwise, it is used to sign a CSR.
$msg->certificate_policy()/$msg->certificate_policy($value)Type:
Message(Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateAuthority::CertificateAuthorityPolicy)Optional. The [CertificateAuthorityPolicy][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy] to enforce when issuing [Certificates][google.cloud.security.privateca.v1beta1.Certificate] from this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority].
$msg->issuing_options()/$msg->issuing_options($value)Type:
Message(Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateAuthority::IssuingOptions)Optional. The [IssuingOptions][google.cloud.security.privateca.v1beta1.CertificateAuthority.IssuingOptions] to follow when issuing [Certificates][google.cloud.security.privateca.v1beta1.Certificate] from this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority].
$msg->subordinate_config()/$msg->subordinate_config($value)Type:
Message(Google::Cloud::Security::Privateca::V1beta1::Resources::SubordinateConfig)Optional. If this is a subordinate [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority], this field will be set with the subordinate configuration, which describes its issuers. This may be updated, but this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] must continue to validate.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Security::Privateca::V1beta1::CertificateAuthority::State)Output only. The [State][google.cloud.security.privateca.v1beta1.CertificateAuthority.State] for this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority].
$msg->pem_ca_certificates()/$msg->pem_ca_certificates($value)Type:
StringOutput only. This [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]'s certificate chain, including the current [CertificateAuthority][google.cloud.security.privateca.v1beta1.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][google.cloud.security.privateca.v1beta1.CertificateAuthority]'s certificate.
$msg->ca_certificate_descriptions()/$msg->ca_certificate_descriptions($value)Type:
Message(Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateDescription)Output only. A structured description of this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]'s CA certificate and its issuers. Ordered as self-to-root.
$msg->gcs_bucket()/$msg->gcs_bucket($value)Type:
StringImmutable. The name of a Cloud Storage bucket where this [CertificateAuthority][google.cloud.security.privateca.v1beta1.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.
$msg->access_urls()/$msg->access_urls($value)Type:
Message(Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateAuthority::AccessUrls)Output only. URLs for accessing content published by this CA, such as the CA certificate and CRLs.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time at which this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time at which this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] was updated.
$msg->delete_time()/$msg->delete_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time at which this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] will be deleted, if scheduled for deletion.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateAuthority::LabelsEntry)Optional. Labels with user-defined metadata.
Enum: CertificateAuthority::Type
TYPE_UNSPECIFIED=>0SELF_SIGNED=>1SUBORDINATE=>2
Enum: CertificateAuthority::Tier
TIER_UNSPECIFIED=>0ENTERPRISE=>1DEVOPS=>2
Enum: CertificateAuthority::State
STATE_UNSPECIFIED=>0ENABLED=>1DISABLED=>2PENDING_ACTIVATION=>3PENDING_DELETION=>4
Enum: CertificateAuthority::SignHashAlgorithm
SIGN_HASH_ALGORITHM_UNSPECIFIED=>0RSA_PSS_2048_SHA256=>1RSA_PSS_3072_SHA256=>2RSA_PSS_4096_SHA256=>3RSA_PKCS1_2048_SHA256=>6RSA_PKCS1_3072_SHA256=>7RSA_PKCS1_4096_SHA256=>8EC_P256_SHA256=>4EC_P384_SHA384=>5
Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateRevocationList
A [CertificateRevocationList][google.cloud.security.privateca.v1beta1.CertificateRevocationList] corresponds to a signed X.509 certificate Revocation List (CRL). A CRL contains the serial numbers of certificates that should no longer be trusted.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput only. The resource path for this [CertificateRevocationList][google.cloud.security.privateca.v1beta1.CertificateRevocationList] in the format `projects/*/locations/*/certificateAuthorities/*/ certificateRevocationLists/*`.
$msg->sequence_number()/$msg->sequence_number($value)Type:
Int64Output only. The CRL sequence number that appears in pem_crl.
$msg->revoked_certificates()/$msg->revoked_certificates($value)Type:
Message(Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateRevocationList::RevokedCertificate)Output only. The revoked serial numbers that appear in pem_crl.
$msg->pem_crl()/$msg->pem_crl($value)Type:
StringOutput only. The PEM-encoded X.509 CRL.
$msg->access_url()/$msg->access_url($value)Type:
StringOutput only. The location where 'pem_crl' can be accessed.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Security::Privateca::V1beta1::CertificateRevocationList::State)Output only. The [State][google.cloud.security.privateca.v1beta1.CertificateRevocationList.State] for this [CertificateRevocationList][google.cloud.security.privateca.v1beta1.CertificateRevocationList].
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time at which this [CertificateRevocationList][google.cloud.security.privateca.v1beta1.CertificateRevocationList] was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time at which this [CertificateRevocationList][google.cloud.security.privateca.v1beta1.CertificateRevocationList] was updated.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateRevocationList::LabelsEntry)Optional. Labels with user-defined metadata.
Enum: CertificateRevocationList::State
STATE_UNSPECIFIED=>0ACTIVE=>1SUPERSEDED=>2
Google::Cloud::Security::Privateca::V1beta1::Resources::Certificate
A [Certificate][google.cloud.security.privateca.v1beta1.Certificate] corresponds to a signed X.509 certificate issued by a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput only. The resource path for this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] in the format `projects/*/locations/*/certificateAuthorities/*/certificates/*`.
$msg->pem_csr()/$msg->pem_csr($value)Type:
StringImmutable. A pem-encoded X.509 certificate signing request (CSR).
$msg->config()/$msg->config($value)Type:
Message(Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateConfig)Immutable. A description of the certificate and key that does not require X.509 or ASN.1.
$msg->lifetime()/$msg->lifetime($value)Type:
Message(Google::Protobuf::Duration::Duration)Required. Immutable. The desired lifetime of a certificate. Used to create the "not_before_time" and "not_after_time" fields inside an X.509 certificate. Note that the lifetime may be truncated if it would extend past the life of any certificate authority in the issuing chain.
$msg->revocation_details()/$msg->revocation_details($value)Type:
Message(Google::Cloud::Security::Privateca::V1beta1::Resources::Certificate::RevocationDetails)Output only. Details regarding the revocation of this [Certificate][google.cloud.security.privateca.v1beta1.Certificate]. This [Certificate][google.cloud.security.privateca.v1beta1.Certificate] is considered revoked if and only if this field is present.
$msg->pem_certificate()/$msg->pem_certificate($value)Type:
StringOutput only. The pem-encoded, signed X.509 certificate.
$msg->certificate_description()/$msg->certificate_description($value)Type:
Message(Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateDescription)Output only. A structured description of the issued X.509 certificate.
$msg->pem_certificate_chain()/$msg->pem_certificate_chain($value)Type:
StringOutput only. The chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was updated.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Security::Privateca::V1beta1::Resources::Certificate::LabelsEntry)Optional. Labels with user-defined metadata.
Google::Cloud::Security::Privateca::V1beta1::Resources::ReusableConfig
A [ReusableConfig][google.cloud.security.privateca.v1beta1.ReusableConfig] refers to a managed [ReusableConfigValues][google.cloud.security.privateca.v1beta1.ReusableConfigValues]. Those, in turn, are used to describe certain fields of an X.509 certificate, such as the key usage fields, fields specific to CA certificates, certificate policy extensions and custom extensions.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput only. The resource path for this [ReusableConfig][google.cloud.security.privateca.v1beta1.ReusableConfig] in the format `projects/*/locations/*/reusableConfigs/*`.
$msg->values()/$msg->values($value)Type:
Message(Google::Cloud::Security::Privateca::V1beta1::Resources::ReusableConfigValues)Required. The config values.
$msg->description()/$msg->description($value)Type:
StringOptional. A human-readable description of scenarios these ReusableConfigValues may be compatible with.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time at which this [ReusableConfig][google.cloud.security.privateca.v1beta1.ReusableConfig] was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time at which this [ReusableConfig][google.cloud.security.privateca.v1beta1.ReusableConfig] was updated.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Security::Privateca::V1beta1::Resources::ReusableConfig::LabelsEntry)Optional. Labels with user-defined metadata.
Google::Cloud::Security::Privateca::V1beta1::Resources::ReusableConfigValues
A [ReusableConfigValues][google.cloud.security.privateca.v1beta1.ReusableConfigValues] is used to describe certain fields of an X.509 certificate, such as the key usage fields, fields specific to CA certificates, certificate policy extensions and custom extensions.
Inherits from Protobuf::Message.
Accessors
$msg->key_usage()/$msg->key_usage($value)Type:
Message(Google::Cloud::Security::Privateca::V1beta1::Resources::KeyUsage)Optional. Indicates the intended use for keys that correspond to a certificate.
$msg->ca_options()/$msg->ca_options($value)Type:
Message(Google::Cloud::Security::Privateca::V1beta1::Resources::ReusableConfigValues::CaOptions)Optional. Describes options in this [ReusableConfigValues][google.cloud.security.privateca.v1beta1.ReusableConfigValues] that are relevant in a CA certificate.
$msg->policy_ids()/$msg->policy_ids($value)Type:
Message(Google::Cloud::Security::Privateca::V1beta1::Resources::ObjectId)Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
$msg->aia_ocsp_servers()/$msg->aia_ocsp_servers($value)Type:
StringOptional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the "Authority Information Access" extension in the certificate.
$msg->additional_extensions()/$msg->additional_extensions($value)Type:
Message(Google::Cloud::Security::Privateca::V1beta1::Resources::X509Extension)Optional. Describes custom X.509 extensions.
Google::Cloud::Security::Privateca::V1beta1::Resources::ReusableConfigWrapper
A [ReusableConfigWrapper][google.cloud.security.privateca.v1beta1.ReusableConfigWrapper] describes values that may assist in creating an X.509 certificate, or a reference to a pre-defined set of values.
Inherits from Protobuf::Message.
Accessors
$msg->reusable_config()/$msg->reusable_config($value)Type:
StringRequired. A resource path to a [ReusableConfig][google.cloud.security.privateca.v1beta1.ReusableConfig] in the format `projects/*/locations/*/reusableConfigs/*`.
$msg->reusable_config_values()/$msg->reusable_config_values($value)Type:
Message(Google::Cloud::Security::Privateca::V1beta1::Resources::ReusableConfigValues)Required. A user-specified inline [ReusableConfigValues][google.cloud.security.privateca.v1beta1.ReusableConfigValues].
Google::Cloud::Security::Privateca::V1beta1::Resources::SubordinateConfig
Describes a subordinate CA's issuers. This is either a resource path to a known issuing [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority], or a PEM issuer certificate chain.
Inherits from Protobuf::Message.
Accessors
$msg->certificate_authority()/$msg->certificate_authority($value)Type:
StringRequired. This can refer to a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] in the same project that was used to create a subordinate [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]. This field is used for information and usability purposes only. The resource name is in the format `projects/*/locations/*/certificateAuthorities/*`.
$msg->pem_issuer_chain()/$msg->pem_issuer_chain($value)Type:
Message(Google::Cloud::Security::Privateca::V1beta1::Resources::SubordinateConfig::SubordinateConfigChain)Required. Contains the PEM certificate chain for the issuers of this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority], but not pem certificate for this CA itself.
Google::Cloud::Security::Privateca::V1beta1::Resources::PublicKey
A [PublicKey][google.cloud.security.privateca.v1beta1.PublicKey] describes a public key.
Inherits from Protobuf::Message.
Accessors
$msg->type()/$msg->type($value)Type:
Enum(Google::Cloud::Security::Privateca::V1beta1::PublicKey::KeyType)Required. The type of public key.
$msg->key()/$msg->key($value)Type:
BytesRequired. A public key. Padding and encoding varies by 'KeyType' and is described along with the KeyType values.
Enum: PublicKey::KeyType
KEY_TYPE_UNSPECIFIED=>0PEM_RSA_KEY=>1PEM_EC_KEY=>2
Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateConfig
A [CertificateConfig][google.cloud.security.privateca.v1beta1.CertificateConfig] describes an X.509 certificate or CSR that is to be created, as an alternative to using ASN.1.
Inherits from Protobuf::Message.
Accessors
$msg->subject_config()/$msg->subject_config($value)Type:
Message(Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateConfig::SubjectConfig)Required. Specifies some of the values in a certificate that are related to the subject.
$msg->reusable_config()/$msg->reusable_config($value)Type:
Message(Google::Cloud::Security::Privateca::V1beta1::Resources::ReusableConfigWrapper)Required. Describes how some of the technical fields in a certificate should be populated.
$msg->public_key()/$msg->public_key($value)Type:
Message(Google::Cloud::Security::Privateca::V1beta1::Resources::PublicKey)Optional. The public key that corresponds to this config. This is, for example, used when issuing [Certificates][google.cloud.security.privateca.v1beta1.Certificate], but not when creating a self-signed [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] or [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] CSR.
Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateDescription
A [CertificateDescription][google.cloud.security.privateca.v1beta1.CertificateDescription] describes an X.509 certificate or CSR that has been issued, as an alternative to using ASN.1 / X.509.
Inherits from Protobuf::Message.
Accessors
$msg->subject_description()/$msg->subject_description($value)Type:
Message(Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateDescription::SubjectDescription)Describes some of the values in a certificate that are related to the subject and lifetime.
$msg->config_values()/$msg->config_values($value)Type:
Message(Google::Cloud::Security::Privateca::V1beta1::Resources::ReusableConfigValues)Describes some of the technical fields in a certificate.
$msg->public_key()/$msg->public_key($value)Type:
Message(Google::Cloud::Security::Privateca::V1beta1::Resources::PublicKey)The public key that corresponds to an issued certificate.
$msg->subject_key_id()/$msg->subject_key_id($value)Type:
Message(Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateDescription::KeyId)Provides a means of identifiying certificates that contain a particular public key, per https://tools.ietf.org/html/rfc5280#section-4.2.1.2.
$msg->authority_key_id()/$msg->authority_key_id($value)Type:
Message(Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateDescription::KeyId)Identifies the subject_key_id of the parent certificate, per https://tools.ietf.org/html/rfc5280#section-4.2.1.1
$msg->crl_distribution_points()/$msg->crl_distribution_points($value)Type:
StringDescribes a list of locations to obtain CRL information, i.e. the DistributionPoint.fullName described by https://tools.ietf.org/html/rfc5280#section-4.2.1.13
$msg->aia_issuing_certificate_urls()/$msg->aia_issuing_certificate_urls($value)Type:
StringDescribes lists of issuer CA certificate URLs that appear in the "Authority Information Access" extension in the certificate.
$msg->cert_fingerprint()/$msg->cert_fingerprint($value)Type:
Message(Google::Cloud::Security::Privateca::V1beta1::Resources::CertificateDescription::CertificateFingerprint)The hash of the x.509 certificate.
Google::Cloud::Security::Privateca::V1beta1::Resources::ObjectId
An [ObjectId][google.cloud.security.privateca.v1beta1.ObjectId] specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
Inherits from Protobuf::Message.
Accessors
$msg->object_id_path()/$msg->object_id_path($value)Type:
Int32Required. The parts of an OID path. The most significant parts of the path come first.
Google::Cloud::Security::Privateca::V1beta1::Resources::X509Extension
An [X509Extension][google.cloud.security.privateca.v1beta1.X509Extension] specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
Inherits from Protobuf::Message.
Accessors
$msg->object_id()/$msg->object_id($value)Type:
Message(Google::Cloud::Security::Privateca::V1beta1::Resources::ObjectId)Required. The OID for this X.509 extension.
$msg->critical()/$msg->critical($value)Type:
BoolRequired. Indicates whether or not this extension is critical (i.e., if the client does not know how to handle this extension, the client should consider this to be an error).
$msg->value()/$msg->value($value)Type:
BytesRequired. The value of this X.509 extension.
Google::Cloud::Security::Privateca::V1beta1::Resources::KeyUsage
A [KeyUsage][google.cloud.security.privateca.v1beta1.KeyUsage] describes key usage values that may appear in an X.509 certificate.
Inherits from Protobuf::Message.
Accessors
$msg->base_key_usage()/$msg->base_key_usage($value)Type:
Message(Google::Cloud::Security::Privateca::V1beta1::Resources::KeyUsage::KeyUsageOptions)Describes high-level ways in which a key may be used.
$msg->extended_key_usage()/$msg->extended_key_usage($value)Type:
Message(Google::Cloud::Security::Privateca::V1beta1::Resources::KeyUsage::ExtendedKeyUsageOptions)Detailed scenarios in which a key may be used.
$msg->unknown_extended_key_usages()/$msg->unknown_extended_key_usages($value)Type:
Message(Google::Cloud::Security::Privateca::V1beta1::Resources::ObjectId)Used to describe extended key usages that are not listed in the [KeyUsage.ExtendedKeyUsageOptions][google.cloud.security.privateca.v1beta1.KeyUsage.ExtendedKeyUsageOptions] message.
Google::Cloud::Security::Privateca::V1beta1::Resources::Subject
[Subject][google.cloud.security.privateca.v1beta1.Subject] describes parts of a distinguished name that, in turn, describes the subject of the certificate.
Inherits from Protobuf::Message.
Accessors
$msg->country_code()/$msg->country_code($value)Type:
StringThe country code of the subject.
$msg->organization()/$msg->organization($value)Type:
StringThe organization of the subject.
$msg->organizational_unit()/$msg->organizational_unit($value)Type:
StringThe organizational_unit of the subject.
$msg->locality()/$msg->locality($value)Type:
StringThe locality or city of the subject.
$msg->province()/$msg->province($value)Type:
StringThe province, territory, or regional state of the subject.
$msg->street_address()/$msg->street_address($value)Type:
StringThe street address of the subject.
$msg->postal_code()/$msg->postal_code($value)Type:
StringThe postal code of the subject.
Google::Cloud::Security::Privateca::V1beta1::Resources::SubjectAltNames
[SubjectAltNames][google.cloud.security.privateca.v1beta1.SubjectAltNames] corresponds to a more modern way of listing what the asserted identity is in a certificate (i.e., compared to the "common name" in the distinguished name).
Inherits from Protobuf::Message.
Accessors
$msg->dns_names()/$msg->dns_names($value)Type:
StringContains only valid, fully-qualified host names.
$msg->uris()/$msg->uris($value)Type:
StringContains only valid RFC 3986 URIs.
$msg->email_addresses()/$msg->email_addresses($value)Type:
StringContains only valid RFC 2822 E-mail addresses.
$msg->ip_addresses()/$msg->ip_addresses($value)Type:
StringContains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
$msg->custom_sans()/$msg->custom_sans($value)Type:
Message(Google::Cloud::Security::Privateca::V1beta1::Resources::X509Extension)Contains additional subject alternative name values.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Security::Privateca::V1beta1::Resources::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.