Class: Google::Apis::CloudiotV1::X509CertificateDetails
- Inherits:
-
Object
- Object
- Google::Apis::CloudiotV1::X509CertificateDetails
- Defined in:
- generated/google/apis/cloudiot_v1/classes.rb,
generated/google/apis/cloudiot_v1/representations.rb,
generated/google/apis/cloudiot_v1/representations.rb
Overview
Details of an X.509 certificate. For informational purposes only.
Instance Attribute Summary collapse
-
#expiry_time ⇒ String
The time the certificate becomes invalid.
-
#issuer ⇒ String
The entity that signed the certificate.
-
#public_key_type ⇒ String
The type of public key in the certificate.
-
#signature_algorithm ⇒ String
The algorithm used to sign the certificate.
-
#start_time ⇒ String
The time the certificate becomes valid.
-
#subject ⇒ String
The entity the certificate and public key belong to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ X509CertificateDetails
constructor
A new instance of X509CertificateDetails.
-
#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) ⇒ X509CertificateDetails
Returns a new instance of X509CertificateDetails
1072 1073 1074 |
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 1072 def initialize(**args) update!(**args) end |
Instance Attribute Details
#expiry_time ⇒ String
The time the certificate becomes invalid.
Corresponds to the JSON property expiryTime
1045 1046 1047 |
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 1045 def expiry_time @expiry_time end |
#issuer ⇒ String
The entity that signed the certificate.
Corresponds to the JSON property issuer
1050 1051 1052 |
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 1050 def issuer @issuer end |
#public_key_type ⇒ String
The type of public key in the certificate.
Corresponds to the JSON property publicKeyType
1055 1056 1057 |
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 1055 def public_key_type @public_key_type end |
#signature_algorithm ⇒ String
The algorithm used to sign the certificate.
Corresponds to the JSON property signatureAlgorithm
1060 1061 1062 |
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 1060 def signature_algorithm @signature_algorithm end |
#start_time ⇒ String
The time the certificate becomes valid.
Corresponds to the JSON property startTime
1065 1066 1067 |
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 1065 def start_time @start_time end |
#subject ⇒ String
The entity the certificate and public key belong to.
Corresponds to the JSON property subject
1070 1071 1072 |
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 1070 def subject @subject end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1077 1078 1079 1080 1081 1082 1083 1084 |
# File 'generated/google/apis/cloudiot_v1/classes.rb', line 1077 def update!(**args) @expiry_time = args[:expiry_time] if args.key?(:expiry_time) @issuer = args[:issuer] if args.key?(:issuer) @public_key_type = args[:public_key_type] if args.key?(:public_key_type) @signature_algorithm = args[:signature_algorithm] if args.key?(:signature_algorithm) @start_time = args[:start_time] if args.key?(:start_time) @subject = args[:subject] if args.key?(:subject) end |