class Google::Apis::PrivatecaV1beta1::CertificateRevocationList

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.

Attributes

access_url[RW]

Output only. The location where 'pem_crl' can be accessed. Corresponds to the JSON property `accessUrl` @return [String]

create_time[RW]

Output only. The time at which this CertificateRevocationList was created. Corresponds to the JSON property `createTime` @return [String]

labels[RW]

Optional. Labels with user-defined metadata. Corresponds to the JSON property `labels` @return [Hash<String,String>]

name[RW]

Output only. The resource path for this CertificateRevocationList in the format `projects//locations//certificateAuthorities/*/ certificateRevocationLists/*`. Corresponds to the JSON property `name` @return [String]

pem_crl[RW]

Output only. The PEM-encoded X.509 CRL. Corresponds to the JSON property `pemCrl` @return [String]

revoked_certificates[RW]

Output only. The revoked serial numbers that appear in pem_crl. Corresponds to the JSON property `revokedCertificates` @return [Array<Google::Apis::PrivatecaV1beta1::RevokedCertificate>]

sequence_number[RW]

Output only. The CRL sequence number that appears in pem_crl. Corresponds to the JSON property `sequenceNumber` @return [Fixnum]

state[RW]

Output only. The State for this CertificateRevocationList. Corresponds to the JSON property `state` @return [String]

update_time[RW]

Output only. The time at which this CertificateRevocationList was updated. Corresponds to the JSON property `updateTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/privateca_v1beta1/classes.rb, line 831
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/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