# Certificate Authority Service V1beta1 API - Class Google::Cloud::Security::PrivateCA::V1beta1::CertificateRevocationList (v0.18.0)

0.18.0 (latest) 0.17.1 0.16.0 0.15.1 0.14.0 0.13.0 0.12.1 0.11.0 0.10.0 0.9.1 0.8.2 0.7.0 0.6.1 0.5.0 0.4.0 0.3.6 Reference documentation and code samples for the Certificate Authority Service V1beta1 API class Google::Cloud::Security::PrivateCA::V1beta1::CertificateRevocationList.

A [CertificateRevocationList](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateRevocationList "Google::Cloud::Security::PrivateCA::V1beta1::CertificateRevocationList (class)") corresponds to a signed X.509 certificate
Revocation List (CRL). A CRL contains the serial numbers of certificates that
should no longer be trusted.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #access_url

    def access_url() -> ::String

**Returns**

- (::String) --- Output only. The location where 'pem_crl' can be accessed.

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Protobuf-Timestamp)) --- Output only. The time at which this [CertificateRevocationList](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateRevocationList "Google::Cloud::Security::PrivateCA::V1beta1::CertificateRevocationList (class)") was created.

### #labels

    def labels() -> ::Google::Protobuf::Map{::String => ::String}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. Labels with user-defined metadata.

### #labels=

    def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. Labels with user-defined metadata.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. Labels with user-defined metadata.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Output only. The resource path for this [CertificateRevocationList](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateRevocationList "Google::Cloud::Security::PrivateCA::V1beta1::CertificateRevocationList (class)") in the format `projects/*/locations/*/certificateAuthorities/*/
  certificateRevocationLists/*`.

### #pem_crl

    def pem_crl() -> ::String

**Returns**

- (::String) --- Output only. The PEM-encoded X.509 CRL.

### #revoked_certificates

    def revoked_certificates() -> ::Array<::Google::Cloud::Security::PrivateCA::V1beta1::CertificateRevocationList::RevokedCertificate>

**Returns**

- (::Array\<[::Google::Cloud::Security::PrivateCA::V1beta1::CertificateRevocationList::RevokedCertificate](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateRevocationList-RevokedCertificate)\>) --- Output only. The revoked serial numbers that appear in pem_crl.

### #sequence_number

    def sequence_number() -> ::Integer

**Returns**

- (::Integer) --- Output only. The CRL sequence number that appears in pem_crl.

### #state

    def state() -> ::Google::Cloud::Security::PrivateCA::V1beta1::CertificateRevocationList::State

**Returns**

- ([::Google::Cloud::Security::PrivateCA::V1beta1::CertificateRevocationList::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateRevocationList-State)) --- Output only. The [State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateRevocationList-State "Google::Cloud::Security::PrivateCA::V1beta1::CertificateRevocationList::State (module)") for this [CertificateRevocationList](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateRevocationList "Google::Cloud::Security::PrivateCA::V1beta1::CertificateRevocationList (class)").

### #update_time

    def update_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Protobuf-Timestamp)) --- Output only. The time at which this [CertificateRevocationList](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1beta1/latest/Google-Cloud-Security-PrivateCA-V1beta1-CertificateRevocationList "Google::Cloud::Security::PrivateCA::V1beta1::CertificateRevocationList (class)") was updated.