class Google::Apis::PrivatecaV1::Subject
Subject
describes parts of a distinguished name that, in turn, describes the subject of the certificate.
Attributes
The “common name” of the subject. Corresponds to the JSON property `commonName` @return [String]
The country code of the subject. Corresponds to the JSON property `countryCode` @return [String]
The locality or city of the subject. Corresponds to the JSON property `locality` @return [String]
The organization of the subject. Corresponds to the JSON property `organization` @return [String]
The organizational_unit
of the subject. Corresponds to the JSON property `organizationalUnit` @return [String]
The postal code of the subject. Corresponds to the JSON property `postalCode` @return [String]
The province, territory, or regional state of the subject. Corresponds to the JSON property `province` @return [String]
The street address of the subject. Corresponds to the JSON property `streetAddress` @return [String]
Public Class Methods
# File lib/google/apis/privateca_v1/classes.rb, line 2334 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/privateca_v1/classes.rb, line 2339 def update!(**args) @common_name = args[:common_name] if args.key?(:common_name) @country_code = args[:country_code] if args.key?(:country_code) @locality = args[:locality] if args.key?(:locality) @organization = args[:organization] if args.key?(:organization) @organizational_unit = args[:organizational_unit] if args.key?(:organizational_unit) @postal_code = args[:postal_code] if args.key?(:postal_code) @province = args[:province] if args.key?(:province) @street_address = args[:street_address] if args.key?(:street_address) end