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

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_certificateGoogle::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