Reference documentation and code samples for the Certificate Authority Service V1beta1 API class Google::Cloud::Security::PrivateCA::V1beta1::CertificateConfig::SubjectConfig.
These values are used to create the distinguished name and subject alternative name fields in an X.509 certificate.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#common_name
def common_name() -> ::String
Returns
- (::String) — Optional. The "common name" of the distinguished name.
#common_name=
def common_name=(value) -> ::String
Parameter
- value (::String) — Optional. The "common name" of the distinguished name.
Returns
- (::String) — Optional. The "common name" of the distinguished name.
#subject
def subject() -> ::Google::Cloud::Security::PrivateCA::V1beta1::Subject
Returns
- (::Google::Cloud::Security::PrivateCA::V1beta1::Subject) — Required. Contains distinguished name fields such as the location and organization.
#subject=
def subject=(value) -> ::Google::Cloud::Security::PrivateCA::V1beta1::Subject
Parameter
- value (::Google::Cloud::Security::PrivateCA::V1beta1::Subject) — Required. Contains distinguished name fields such as the location and organization.
Returns
- (::Google::Cloud::Security::PrivateCA::V1beta1::Subject) — Required. Contains distinguished name fields such as the location and organization.
#subject_alt_name
def subject_alt_name() -> ::Google::Cloud::Security::PrivateCA::V1beta1::SubjectAltNames
Returns
- (::Google::Cloud::Security::PrivateCA::V1beta1::SubjectAltNames) — Optional. The subject alternative name fields.
#subject_alt_name=
def subject_alt_name=(value) -> ::Google::Cloud::Security::PrivateCA::V1beta1::SubjectAltNames
Parameter
- value (::Google::Cloud::Security::PrivateCA::V1beta1::SubjectAltNames) — Optional. The subject alternative name fields.
Returns
- (::Google::Cloud::Security::PrivateCA::V1beta1::SubjectAltNames) — Optional. The subject alternative name fields.