Reference documentation and code samples for the Cloud IoT V1 API class Google::Cloud::Iot::V1::PublicKeyCertificate.
A public key certificate format and data.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#certificate
def certificate() -> ::String
Returns
- (::String) — The certificate data.
#certificate=
def certificate=(value) -> ::String
Parameter
- value (::String) — The certificate data.
Returns
- (::String) — The certificate data.
#format
def format() -> ::Google::Cloud::Iot::V1::PublicKeyCertificateFormat
Returns
- (::Google::Cloud::Iot::V1::PublicKeyCertificateFormat) — The certificate format.
#format=
def format=(value) -> ::Google::Cloud::Iot::V1::PublicKeyCertificateFormat
Parameter
- value (::Google::Cloud::Iot::V1::PublicKeyCertificateFormat) — The certificate format.
Returns
- (::Google::Cloud::Iot::V1::PublicKeyCertificateFormat) — The certificate format.
#x509_details
def x509_details() -> ::Google::Cloud::Iot::V1::X509CertificateDetails
Returns
- (::Google::Cloud::Iot::V1::X509CertificateDetails) — [Output only] The certificate details. Used only for X.509 certificates.
#x509_details=
def x509_details=(value) -> ::Google::Cloud::Iot::V1::X509CertificateDetails
Parameter
- value (::Google::Cloud::Iot::V1::X509CertificateDetails) — [Output only] The certificate details. Used only for X.509 certificates.
Returns
- (::Google::Cloud::Iot::V1::X509CertificateDetails) — [Output only] The certificate details. Used only for X.509 certificates.