Ceritificate Authority Service V1 API - Class Google::Cloud::Security::PrivateCA::V1::Subject (v0.7.0)

Reference documentation and code samples for the Ceritificate Authority Service V1 API class Google::Cloud::Security::PrivateCA::V1::Subject.

Subject describes parts of a distinguished name that, in turn, describes the subject of the certificate.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#common_name

def common_name() -> ::String
Returns
  • (::String) — The "common name" of the subject.

#common_name=

def common_name=(value) -> ::String
Parameter
  • value (::String) — The "common name" of the subject.
Returns
  • (::String) — The "common name" of the subject.

#country_code

def country_code() -> ::String
Returns
  • (::String) — The country code of the subject.

#country_code=

def country_code=(value) -> ::String
Parameter
  • value (::String) — The country code of the subject.
Returns
  • (::String) — The country code of the subject.

#locality

def locality() -> ::String
Returns
  • (::String) — The locality or city of the subject.

#locality=

def locality=(value) -> ::String
Parameter
  • value (::String) — The locality or city of the subject.
Returns
  • (::String) — The locality or city of the subject.

#organization

def organization() -> ::String
Returns
  • (::String) — The organization of the subject.

#organization=

def organization=(value) -> ::String
Parameter
  • value (::String) — The organization of the subject.
Returns
  • (::String) — The organization of the subject.

#organizational_unit

def organizational_unit() -> ::String
Returns
  • (::String) — The organizational_unit of the subject.

#organizational_unit=

def organizational_unit=(value) -> ::String
Parameter
  • value (::String) — The organizational_unit of the subject.
Returns
  • (::String) — The organizational_unit of the subject.

#postal_code

def postal_code() -> ::String
Returns
  • (::String) — The postal code of the subject.

#postal_code=

def postal_code=(value) -> ::String
Parameter
  • value (::String) — The postal code of the subject.
Returns
  • (::String) — The postal code of the subject.

#province

def province() -> ::String
Returns
  • (::String) — The province, territory, or regional state of the subject.

#province=

def province=(value) -> ::String
Parameter
  • value (::String) — The province, territory, or regional state of the subject.
Returns
  • (::String) — The province, territory, or regional state of the subject.

#street_address

def street_address() -> ::String
Returns
  • (::String) — The street address of the subject.

#street_address=

def street_address=(value) -> ::String
Parameter
  • value (::String) — The street address of the subject.
Returns
  • (::String) — The street address of the subject.