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
The following fields are returned by SELECT
queries:
- get
- list
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Identifier. 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 (google-datetime) | 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 (int64) | Output only. The CRL sequence number that appears in pem_crl. |
state | string | Output only. The State for this CertificateRevocationList. |
updateTime | string (google-datetime) | Output only. The time at which this CertificateRevocationList was updated. |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Identifier. 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 (google-datetime) | 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 (int64) | Output only. The CRL sequence number that appears in pem_crl. |
state | string | Output only. The State for this CertificateRevocationList. |
updateTime | string (google-datetime) | Output only. The time at which this CertificateRevocationList was updated. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | projectsId , locationsId , caPoolsId , certificateAuthoritiesId , certificateRevocationListsId | Returns a CertificateRevocationList. | |
list | select | projectsId , locationsId , caPoolsId , certificateAuthoritiesId | pageSize , pageToken , filter , orderBy | Lists CertificateRevocationLists. |
patch | update | projectsId , locationsId , caPoolsId , certificateAuthoritiesId , certificateRevocationListsId | updateMask , requestId | Update 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.
Name | Datatype | Description |
---|---|---|
caPoolsId | string | |
certificateAuthoritiesId | string | |
certificateRevocationListsId | string | |
locationsId | string | |
projectsId | string | |
filter | string | |
orderBy | string | |
pageSize | integer (int32) | |
pageToken | string | |
requestId | string | |
updateMask | string (google-fieldmask) |
SELECT
examples
- get
- list
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;
Lists CertificateRevocationLists.
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 pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
AND filter = '{{ filter }}'
AND orderBy = '{{ orderBy }}';
UPDATE
examples
- patch
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;