Reference documentation and code samples for the Cloud IoT V1 API class Google::Cloud::Iot::V1::PublicKeyCredential.
A public key format and data.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#format
def format() -> ::Google::Cloud::Iot::V1::PublicKeyFormat
Returns
- (::Google::Cloud::Iot::V1::PublicKeyFormat) — The format of the key.
#format=
def format=(value) -> ::Google::Cloud::Iot::V1::PublicKeyFormat
Parameter
- value (::Google::Cloud::Iot::V1::PublicKeyFormat) — The format of the key.
Returns
- (::Google::Cloud::Iot::V1::PublicKeyFormat) — The format of the key.
#key
def key() -> ::String
Returns
- (::String) — The key data.
#key=
def key=(value) -> ::String
Parameter
- value (::String) — The key data.
Returns
- (::String) — The key data.