Class: Google::Apis::CloudiotV1::RegistryCredential
- Inherits:
-
Object
- Object
- Google::Apis::CloudiotV1::RegistryCredential
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- 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.
Constructor Details
#initialize(**args) ⇒ RegistryCredential
Returns a new instance of RegistryCredential.
963 964 965 |
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 963 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
961 962 963 |
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 961 def public_key_certificate @public_key_certificate end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
968 969 970 |
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 968 def update!(**args) @public_key_certificate = args[:public_key_certificate] if args.key?(:public_key_certificate) end |