Reference documentation and code samples for the Google Certificate Authority Service V1 Client class Subject.
Subject describes parts of a distinguished name that, in turn, describes the subject of the certificate.
Generated from protobuf message google.cloud.security.privateca.v1.Subject
Namespace
Google \ Cloud \ Security \ PrivateCA \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ common_name
string
The "common name" of the subject.
↳ country_code
string
The country code of the subject.
↳ organization
string
The organization of the subject.
↳ organizational_unit
string
The organizational_unit of the subject.
↳ locality
string
The locality or city of the subject.
↳ province
string
The province, territory, or regional state of the subject.
↳ street_address
string
The street address of the subject.
↳ postal_code
string
The postal code of the subject.
getCommonName
The "common name" of the subject.
string
setCommonName
The "common name" of the subject.
var
string
$this
getCountryCode
The country code of the subject.
string
setCountryCode
The country code of the subject.
var
string
$this
getOrganization
The organization of the subject.
string
setOrganization
The organization of the subject.
var
string
$this
getOrganizationalUnit
The organizational_unit of the subject.
string
setOrganizationalUnit
The organizational_unit of the subject.
var
string
$this
getLocality
The locality or city of the subject.
string
setLocality
The locality or city of the subject.
var
string
$this
getProvince
The province, territory, or regional state of the subject.
string
setProvince
The province, territory, or regional state of the subject.
var
string
$this
getStreetAddress
The street address of the subject.
string
setStreetAddress
The street address of the subject.
var
string
$this
getPostalCode
The postal code of the subject.
string
setPostalCode
The postal code of the subject.
var
string
$this