Class: Google::Apis::CloudidentityV1beta1::CertificateAttributes
- Inherits:
-
Object
- Object
- Google::Apis::CloudidentityV1beta1::CertificateAttributes
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudidentity_v1beta1/classes.rb,
lib/google/apis/cloudidentity_v1beta1/representations.rb,
lib/google/apis/cloudidentity_v1beta1/representations.rb
Overview
Stores information about a certificate.
Instance Attribute Summary collapse
-
#certificate_template ⇒ Google::Apis::CloudidentityV1beta1::CertificateTemplate
CertificateTemplate (v3 Extension in X.509).
-
#fingerprint ⇒ String
The encoded certificate fingerprint.
-
#issuer ⇒ String
The name of the issuer of this certificate.
-
#serial_number ⇒ String
Serial number of the certificate, Example: "123456789".
-
#subject ⇒ String
The subject name of this certificate.
-
#thumbprint ⇒ String
The certificate thumbprint.
-
#validation_state ⇒ String
Validation state of this certificate.
-
#validity_expiration_time ⇒ String
Certificate not valid at or after this timestamp.
-
#validity_start_time ⇒ String
Certificate not valid before this timestamp.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CertificateAttributes
constructor
A new instance of CertificateAttributes.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CertificateAttributes
Returns a new instance of CertificateAttributes.
607 608 609 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 607 def initialize(**args) update!(**args) end |
Instance Attribute Details
#certificate_template ⇒ Google::Apis::CloudidentityV1beta1::CertificateTemplate
CertificateTemplate (v3 Extension in X.509).
Corresponds to the JSON property certificateTemplate
565 566 567 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 565 def certificate_template @certificate_template end |
#fingerprint ⇒ String
The encoded certificate fingerprint.
Corresponds to the JSON property fingerprint
570 571 572 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 570 def fingerprint @fingerprint end |
#issuer ⇒ String
The name of the issuer of this certificate.
Corresponds to the JSON property issuer
575 576 577 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 575 def issuer @issuer end |
#serial_number ⇒ String
Serial number of the certificate, Example: "123456789".
Corresponds to the JSON property serialNumber
580 581 582 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 580 def serial_number @serial_number end |
#subject ⇒ String
The subject name of this certificate.
Corresponds to the JSON property subject
585 586 587 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 585 def subject @subject end |
#thumbprint ⇒ String
The certificate thumbprint.
Corresponds to the JSON property thumbprint
590 591 592 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 590 def thumbprint @thumbprint end |
#validation_state ⇒ String
Validation state of this certificate.
Corresponds to the JSON property validationState
595 596 597 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 595 def validation_state @validation_state end |
#validity_expiration_time ⇒ String
Certificate not valid at or after this timestamp.
Corresponds to the JSON property validityExpirationTime
600 601 602 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 600 def validity_expiration_time @validity_expiration_time end |
#validity_start_time ⇒ String
Certificate not valid before this timestamp.
Corresponds to the JSON property validityStartTime
605 606 607 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 605 def validity_start_time @validity_start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
612 613 614 615 616 617 618 619 620 621 622 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 612 def update!(**args) @certificate_template = args[:certificate_template] if args.key?(:certificate_template) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @issuer = args[:issuer] if args.key?(:issuer) @serial_number = args[:serial_number] if args.key?(:serial_number) @subject = args[:subject] if args.key?(:subject) @thumbprint = args[:thumbprint] if args.key?(:thumbprint) @validation_state = args[:validation_state] if args.key?(:validation_state) @validity_expiration_time = args[:validity_expiration_time] if args.key?(:validity_expiration_time) @validity_start_time = args[:validity_start_time] if args.key?(:validity_start_time) end |