Google Certificate Authority Service V1beta1 Client - Class CertificateRevocationList (1.7.3)

Reference documentation and code samples for the Google Certificate Authority Service V1beta1 Client class CertificateRevocationList.

A CertificateRevocationList corresponds to a signed X.509 certificate Revocation List (CRL). A CRL contains the serial numbers of certificates that should no longer be trusted.

Generated from protobuf message google.cloud.security.privateca.v1beta1.CertificateRevocationList

Namespace

Google \ Cloud \ Security \ PrivateCA \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Output only. The resource path for this CertificateRevocationList in the format projects/*/locations/*/certificateAuthorities/*/ certificateRevocationLists/*.

↳ sequence_number int|string

Output only. The CRL sequence number that appears in pem_crl.

↳ revoked_certificates array<Google\Cloud\Security\PrivateCA\V1beta1\CertificateRevocationList\RevokedCertificate>

Output only. The revoked serial numbers that appear in pem_crl.

↳ pem_crl string

Output only. The PEM-encoded X.509 CRL.

↳ access_url string

Output only. The location where 'pem_crl' can be accessed.

↳ state int

Output only. The State for this CertificateRevocationList.

↳ create_time Google\Protobuf\Timestamp

Output only. The time at which this CertificateRevocationList was created.

↳ update_time Google\Protobuf\Timestamp

Output only. The time at which this CertificateRevocationList was updated.

↳ labels array|Google\Protobuf\Internal\MapField

Optional. Labels with user-defined metadata.

getName

Output only. The resource path for this CertificateRevocationList in the format projects/*/locations/*/certificateAuthorities/*/ certificateRevocationLists/*.

Returns
Type Description
string

setName

Output only. The resource path for this CertificateRevocationList in the format projects/*/locations/*/certificateAuthorities/*/ certificateRevocationLists/*.

Parameter
Name Description
var string
Returns
Type Description
$this

getSequenceNumber

Output only. The CRL sequence number that appears in pem_crl.

Returns
Type Description
int|string

setSequenceNumber

Output only. The CRL sequence number that appears in pem_crl.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getRevokedCertificates

Output only. The revoked serial numbers that appear in pem_crl.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setRevokedCertificates

Output only. The revoked serial numbers that appear in pem_crl.

Parameter
Name Description
var array<Google\Cloud\Security\PrivateCA\V1beta1\CertificateRevocationList\RevokedCertificate>
Returns
Type Description
$this

getPemCrl

Output only. The PEM-encoded X.509 CRL.

Returns
Type Description
string

setPemCrl

Output only. The PEM-encoded X.509 CRL.

Parameter
Name Description
var string
Returns
Type Description
$this

getAccessUrl

Output only. The location where 'pem_crl' can be accessed.

Returns
Type Description
string

setAccessUrl

Output only. The location where 'pem_crl' can be accessed.

Parameter
Name Description
var string
Returns
Type Description
$this

getState

Output only. The State for this CertificateRevocationList.

Returns
Type Description
int

setState

Output only. The State for this CertificateRevocationList.

Parameter
Name Description
var int
Returns
Type Description
$this

getCreateTime

Output only. The time at which this CertificateRevocationList was created.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The time at which this CertificateRevocationList was created.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getUpdateTime

Output only. The time at which this CertificateRevocationList was updated.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The time at which this CertificateRevocationList was updated.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getLabels

Optional. Labels with user-defined metadata.

Returns
Type Description
Google\Protobuf\Internal\MapField

setLabels

Optional. Labels with user-defined metadata.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this