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

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

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