Class: Google::Apis::CloudiotV1::RegistryCredential
- Inherits:
-
Object
- Object
- Google::Apis::CloudiotV1::RegistryCredential
- Defined in:
- generated/google/apis/cloudiot_v1/classes.rb,
generated/google/apis/cloudiot_v1/representations.rb,
generated/google/apis/cloudiot_v1/representations.rb
Overview
A server-stored registry credential used to validate device credentials.
Instance Attribute Summary collapse
-
#public_key_certificate ⇒ Google::Apis::CloudiotV1::PublicKeyCertificate
A public key certificate format and data.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RegistryCredential
constructor
A new instance of RegistryCredential.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ RegistryCredential
Returns a new instance of RegistryCredential
941 942 943 |
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 941 def initialize(**args) update!(**args) end |
Instance Attribute Details
#public_key_certificate ⇒ Google::Apis::CloudiotV1::PublicKeyCertificate
A public key certificate format and data.
Corresponds to the JSON property publicKeyCertificate
939 940 941 |
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 939 def public_key_certificate @public_key_certificate end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
946 947 948 |
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 946 def update!(**args) @public_key_certificate = args[:public_key_certificate] if args.key?(:public_key_certificate) end |