Google Certificate Authority Service V1beta1 Client - Class Subject (1.1.0)

Reference documentation and code samples for the Google Certificate Authority Service V1beta1 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.v1beta1.Subject

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ 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.

getCountryCode

The country code of the subject.

Returns
TypeDescription
string

setCountryCode

The country code of the subject.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getOrganization

The organization of the subject.

Returns
TypeDescription
string

setOrganization

The organization of the subject.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getOrganizationalUnit

The organizational_unit of the subject.

Returns
TypeDescription
string

setOrganizationalUnit

The organizational_unit of the subject.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLocality

The locality or city of the subject.

Returns
TypeDescription
string

setLocality

The locality or city of the subject.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getProvince

The province, territory, or regional state of the subject.

Returns
TypeDescription
string

setProvince

The province, territory, or regional state of the subject.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getStreetAddress

The street address of the subject.

Returns
TypeDescription
string

setStreetAddress

The street address of the subject.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPostalCode

The postal code of the subject.

Returns
TypeDescription
string

setPostalCode

The postal code of the subject.

Parameter
NameDescription
var string
Returns
TypeDescription
$this