# Certificate Authority Service V1 API - Class Google::Cloud::Security::PrivateCA::V1::CertificateRevocationList (v2.8.0)

2.8.0 (latest) 2.7.0 2.6.1 2.5.0 2.4.1 2.3.0 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.1 0.13.0 0.12.0 0.11.0 0.10.2 0.9.0 0.8.1 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.1 0.1.6 Reference documentation and code samples for the Certificate Authority Service V1 API class Google::Cloud::Security::PrivateCA::V1::CertificateRevocationList.

A
[CertificateRevocationList](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/Google-Cloud-Security-PrivateCA-V1-CertificateRevocationList "Google::Cloud::Security::PrivateCA::V1::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-v1/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-v1/latest/Google-Cloud-Security-PrivateCA-V1-CertificateRevocationList "Google::Cloud::Security::PrivateCA::V1::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) --- Identifier. The resource name for this [CertificateRevocationList](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/Google-Cloud-Security-PrivateCA-V1-CertificateRevocationList "Google::Cloud::Security::PrivateCA::V1::CertificateRevocationList (class)") in the format `projects/*/locations/*/caPools/*certificateAuthorities/*/
  certificateRevocationLists/*`.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Identifier. The resource name for this [CertificateRevocationList](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/Google-Cloud-Security-PrivateCA-V1-CertificateRevocationList "Google::Cloud::Security::PrivateCA::V1::CertificateRevocationList (class)") in the format `projects/*/locations/*/caPools/*certificateAuthorities/*/
  certificateRevocationLists/*`.
**Returns**

- (::String) --- Identifier. The resource name for this [CertificateRevocationList](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/Google-Cloud-Security-PrivateCA-V1-CertificateRevocationList "Google::Cloud::Security::PrivateCA::V1::CertificateRevocationList (class)") in the format `projects/*/locations/*/caPools/*certificateAuthorities/*/
  certificateRevocationLists/*`.

### #pem_crl

    def pem_crl() -> ::String

**Returns**

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

### #revision_id

    def revision_id() -> ::String

**Returns**

- (::String) --- Output only. The revision ID of this [CertificateRevocationList](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/Google-Cloud-Security-PrivateCA-V1-CertificateRevocationList "Google::Cloud::Security::PrivateCA::V1::CertificateRevocationList (class)"). A new revision is committed whenever a new CRL is published. The format is an 8-character hexadecimal string.

### #revoked_certificates

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

**Returns**

- (::Array\<[::Google::Cloud::Security::PrivateCA::V1::CertificateRevocationList::RevokedCertificate](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/Google-Cloud-Security-PrivateCA-V1-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::V1::CertificateRevocationList::State

**Returns**

- ([::Google::Cloud::Security::PrivateCA::V1::CertificateRevocationList::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/Google-Cloud-Security-PrivateCA-V1-CertificateRevocationList-State)) --- Output only. The [State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/Google-Cloud-Security-PrivateCA-V1-CertificateRevocationList-State "Google::Cloud::Security::PrivateCA::V1::CertificateRevocationList::State (module)") for this [CertificateRevocationList](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/Google-Cloud-Security-PrivateCA-V1-CertificateRevocationList "Google::Cloud::Security::PrivateCA::V1::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-v1/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-v1/latest/Google-Cloud-Security-PrivateCA-V1-CertificateRevocationList "Google::Cloud::Security::PrivateCA::V1::CertificateRevocationList (class)") was updated.