Class: Google::Apis::CloudiotV1::PublicKeyCertificate
- Inherits:
-
Object
- Object
- Google::Apis::CloudiotV1::PublicKeyCertificate
- 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
-
#certificate ⇒ String
The certificate data.
-
#format ⇒ String
The certificate format.
-
#x509_details ⇒ Google::Apis::CloudiotV1::X509CertificateDetails
Details of an X.509 certificate.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PublicKeyCertificate
constructor
A new instance of PublicKeyCertificate.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ PublicKeyCertificate
Returns a new instance of PublicKeyCertificate
809 810 811 |
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 809 def initialize(**args) update!(**args) end |
Instance Attribute Details
#certificate ⇒ String
The certificate data.
Corresponds to the JSON property certificate
797 798 799 |
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 797 def certificate @certificate end |
#format ⇒ String
The certificate format.
Corresponds to the JSON property format
802 803 804 |
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 802 def format @format end |
#x509_details ⇒ Google::Apis::CloudiotV1::X509CertificateDetails
Details of an X.509 certificate. For informational purposes only.
Corresponds to the JSON property x509Details
807 808 809 |
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 807 def x509_details @x509_details end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
814 815 816 817 818 |
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 814 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 |