certificate_revocation_lists
Creates, updates, deletes, gets or lists a certificate_revocation_lists
resource.
Overview
Name | certificate_revocation_lists |
Type | Resource |
Id | google.privateca.certificate_revocation_lists |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Output only. The resource name for this CertificateRevocationList in the format projects/*/locations/*/caPools/*certificateAuthorities/*/ certificateRevocationLists/* . |
accessUrl | string | Output only. The location where 'pem_crl' can be accessed. |
createTime | string | Output only. The time at which this CertificateRevocationList was created. |
labels | object | Optional. Labels with user-defined metadata. |
pemCrl | string | Output only. The PEM-encoded X.509 CRL. |
revisionId | string | Output 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. |
revokedCertificates | array | Output only. The revoked serial numbers that appear in pem_crl. |
sequenceNumber | string | Output only. The CRL sequence number that appears in pem_crl. |
state | string | Output only. The State for this CertificateRevocationList. |
updateTime | string | Output only. The time at which this CertificateRevocationList was updated. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | caPoolsId, certificateAuthoritiesId, certificateRevocationListsId, locationsId, projectsId | Returns a CertificateRevocationList. |
list | SELECT | caPoolsId, certificateAuthoritiesId, locationsId, projectsId | Lists CertificateRevocationLists. |
patch | UPDATE | caPoolsId, certificateAuthoritiesId, certificateRevocationListsId, locationsId, projectsId | Update 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 }}';