Class: Google::Apis::CloudiotV1::RegistryCredential

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudiot_v1/classes.rb,
lib/google/apis/cloudiot_v1/representations.rb,
lib/google/apis/cloudiot_v1/representations.rb

Overview

A server-stored registry credential used to validate device credentials.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RegistryCredential

Returns a new instance of RegistryCredential.



973
974
975
# File 'lib/google/apis/cloudiot_v1/classes.rb', line 973

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#public_key_certificateGoogle::Apis::CloudiotV1::PublicKeyCertificate

A public key certificate format and data. Corresponds to the JSON property publicKeyCertificate



971
972
973
# File 'lib/google/apis/cloudiot_v1/classes.rb', line 971

def public_key_certificate
  @public_key_certificate
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



978
979
980
# File 'lib/google/apis/cloudiot_v1/classes.rb', line 978

def update!(**args)
  @public_key_certificate = args[:public_key_certificate] if args.key?(:public_key_certificate)
end