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

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringIdentifier. The resource name for this CertificateRevocationList in the format projects/*/locations/*/caPools/*certificateAuthorities/*/ certificateRevocationLists/*.
accessUrlstringOutput only. The location where 'pem_crl' can be accessed.
createTimestring (google-datetime)Output 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.
sequenceNumberstring (int64)Output only. The CRL sequence number that appears in pem_crl.
statestringOutput only. The State for this CertificateRevocationList.
updateTimestring (google-datetime)Output only. The time at which this CertificateRevocationList was updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectprojectsId, locationsId, caPoolsId, certificateAuthoritiesId, certificateRevocationListsIdReturns a CertificateRevocationList.
listselectprojectsId, locationsId, caPoolsId, certificateAuthoritiesIdpageSize, pageToken, filter, orderByLists CertificateRevocationLists.
patchupdateprojectsId, locationsId, caPoolsId, certificateAuthoritiesId, certificateRevocationListsIdupdateMask, requestIdUpdate a CertificateRevocationList.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
caPoolsIdstring
certificateAuthoritiesIdstring
certificateRevocationListsIdstring
locationsIdstring
projectsIdstring
filterstring
orderBystring
pageSizeinteger (int32)
pageTokenstring
requestIdstring
updateMaskstring (google-fieldmask)

SELECT examples

Returns a CertificateRevocationList.

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

UPDATE examples

Update a CertificateRevocationList.

UPDATE google.privateca.certificate_revocation_lists
SET
data__name = '{{ name }}',
data__labels = '{{ labels }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND caPoolsId = '{{ caPoolsId }}' --required
AND certificateAuthoritiesId = '{{ certificateAuthoritiesId }}' --required
AND certificateRevocationListsId = '{{ certificateRevocationListsId }}' --required
AND updateMask = '{{ updateMask}}'
AND requestId = '{{ requestId}}'
RETURNING
name,
done,
error,
metadata,
response;