Class: Google::Apis::PrivatecaV1beta1::CertificateRevocationList
- Inherits:
-
Object
- Object
- Google::Apis::PrivatecaV1beta1::CertificateRevocationList
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/privateca_v1beta1/classes.rb,
generated/google/apis/privateca_v1beta1/representations.rb,
generated/google/apis/privateca_v1beta1/representations.rb
Overview
A CertificateRevocationList corresponds to a signed X.509 certificate Revocation List (CRL). A CRL contains the serial numbers of certificates that should no longer be trusted.
Instance Attribute Summary collapse
-
#access_url ⇒ String
Output only.
-
#create_time ⇒ String
Output only.
-
#labels ⇒ Hash<String,String>
Optional.
-
#name ⇒ String
Output only.
-
#pem_crl ⇒ String
Output only.
-
#revoked_certificates ⇒ Array<Google::Apis::PrivatecaV1beta1::RevokedCertificate>
Output only.
-
#sequence_number ⇒ Fixnum
Output only.
-
#state ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CertificateRevocationList
constructor
A new instance of CertificateRevocationList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CertificateRevocationList
Returns a new instance of CertificateRevocationList.
831 832 833 |
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 831 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_url ⇒ String
Output only. The location where 'pem_crl' can be accessed.
Corresponds to the JSON property accessUrl
787 788 789 |
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 787 def access_url @access_url end |
#create_time ⇒ String
Output only. The time at which this CertificateRevocationList was created.
Corresponds to the JSON property createTime
792 793 794 |
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 792 def create_time @create_time end |
#labels ⇒ Hash<String,String>
Optional. Labels with user-defined metadata.
Corresponds to the JSON property labels
797 798 799 |
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 797 def labels @labels end |
#name ⇒ String
Output only. The resource path for this CertificateRevocationList in the
format projects/*/locations/*/certificateAuthorities/*/
certificateRevocationLists/*
.
Corresponds to the JSON property name
804 805 806 |
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 804 def name @name end |
#pem_crl ⇒ String
Output only. The PEM-encoded X.509 CRL.
Corresponds to the JSON property pemCrl
809 810 811 |
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 809 def pem_crl @pem_crl end |
#revoked_certificates ⇒ Array<Google::Apis::PrivatecaV1beta1::RevokedCertificate>
Output only. The revoked serial numbers that appear in pem_crl.
Corresponds to the JSON property revokedCertificates
814 815 816 |
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 814 def revoked_certificates @revoked_certificates end |
#sequence_number ⇒ Fixnum
Output only. The CRL sequence number that appears in pem_crl.
Corresponds to the JSON property sequenceNumber
819 820 821 |
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 819 def sequence_number @sequence_number end |
#state ⇒ String
Output only. The State for this CertificateRevocationList.
Corresponds to the JSON property state
824 825 826 |
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 824 def state @state end |
#update_time ⇒ String
Output only. The time at which this CertificateRevocationList was updated.
Corresponds to the JSON property updateTime
829 830 831 |
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 829 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
836 837 838 839 840 841 842 843 844 845 846 |
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 836 def update!(**args) @access_url = args[:access_url] if args.key?(:access_url) @create_time = args[:create_time] if args.key?(:create_time) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @pem_crl = args[:pem_crl] if args.key?(:pem_crl) @revoked_certificates = args[:revoked_certificates] if args.key?(:revoked_certificates) @sequence_number = args[:sequence_number] if args.key?(:sequence_number) @state = args[:state] if args.key?(:state) @update_time = args[:update_time] if args.key?(:update_time) end |