class Google::Apis::PrivatecaV1beta1::SubjectConfig
These values are used to create the distinguished name and subject alternative name fields in an X.509 certificate.
Attributes
common_name[RW]
Optional. The “common name” of the distinguished name. Corresponds to the JSON property `commonName` @return [String]
subject[RW]
Subject
describes parts of a distinguished name that, in turn, describes the subject of the certificate. Corresponds to the JSON property `subject` @return [Google::Apis::PrivatecaV1beta1::Subject]
subject_alt_name[RW]
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). Corresponds to the JSON property `subjectAltName` @return [Google::Apis::PrivatecaV1beta1::SubjectAltNames]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/privateca_v1beta1/classes.rb, line 2301 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/privateca_v1beta1/classes.rb, line 2306 def update!(**args) @common_name = args[:common_name] if args.key?(:common_name) @subject = args[:subject] if args.key?(:subject) @subject_alt_name = args[:subject_alt_name] if args.key?(:subject_alt_name) end