Skip to main content

certificate_revocation_lists

Creates, updates, deletes, gets or lists a certificate_revocation_lists resource.

Overview

Namecertificate_revocation_lists
TypeResource
Idgoogle.privateca.certificate_revocation_lists

Fields

NameDatatypeDescription
namestringOutput only. The resource name for this CertificateRevocationList in the format projects/*/locations/*/caPools/*certificateAuthorities/*/ certificateRevocationLists/*.
accessUrlstringOutput only. The location where 'pem_crl' can be accessed.
createTimestringOutput only. The time at which this CertificateRevocationList was created.
labelsobjectOptional. Labels with user-defined metadata.
pemCrlstringOutput only. The PEM-encoded X.509 CRL.
revisionIdstringOutput only. The revision ID of this CertificateRevocationList. A new revision is committed whenever a new CRL is published. The format is an 8-character hexadecimal string.
revokedCertificatesarrayOutput only. The revoked serial numbers that appear in pem_crl.
sequenceNumberstringOutput only. The CRL sequence number that appears in pem_crl.
statestringOutput only. The State for this CertificateRevocationList.
updateTimestringOutput only. The time at which this CertificateRevocationList was updated.

Methods

NameAccessible byRequired ParamsDescription
getSELECTcaPoolsId, certificateAuthoritiesId, certificateRevocationListsId, locationsId, projectsIdReturns a CertificateRevocationList.
listSELECTcaPoolsId, certificateAuthoritiesId, locationsId, projectsIdLists CertificateRevocationLists.
patchUPDATEcaPoolsId, certificateAuthoritiesId, certificateRevocationListsId, locationsId, projectsIdUpdate a CertificateRevocationList.

SELECT examples

Lists CertificateRevocationLists.

SELECT
name,
accessUrl,
createTime,
labels,
pemCrl,
revisionId,
revokedCertificates,
sequenceNumber,
state,
updateTime
FROM google.privateca.certificate_revocation_lists
WHERE caPoolsId = '{{ caPoolsId }}'
AND certificateAuthoritiesId = '{{ certificateAuthoritiesId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';

UPDATE example

Updates a certificate_revocation_lists resource.

/*+ update */
UPDATE google.privateca.certificate_revocation_lists
SET
labels = '{{ labels }}'
WHERE
caPoolsId = '{{ caPoolsId }}'
AND certificateAuthoritiesId = '{{ certificateAuthoritiesId }}'
AND certificateRevocationListsId = '{{ certificateRevocationListsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';