Class: Google::Apis::CloudiotV1::PublicKeyCertificate

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 public key certificate format and data.

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) ⇒ PublicKeyCertificate

Returns a new instance of PublicKeyCertificate.



980
981
982
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 980

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

Instance Attribute Details

#certificateString

The certificate data. Corresponds to the JSON property certificate

Returns:

  • (String)


968
969
970
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 968

def certificate
  @certificate
end

#formatString

The certificate format. Corresponds to the JSON property format

Returns:

  • (String)


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

def format
  @format
end

#x509_detailsGoogle::Apis::CloudiotV1::X509CertificateDetails

Details of an X.509 certificate. For informational purposes only. Corresponds to the JSON property x509Details



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

def x509_details
  @x509_details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



985
986
987
988
989
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 985

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