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.
1026 1027 1028 |
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 1026 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
1024 1025 1026 |
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 1024 def public_key_certificate @public_key_certificate end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1031 1032 1033 |
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 1031 def update!(**args) @public_key_certificate = args[:public_key_certificate] if args.key?(:public_key_certificate) end |