Google Certificate Authority Service V1 Client - Class RevocationDetails (1.2.2)

Reference documentation and code samples for the Google Certificate Authority Service V1 Client class RevocationDetails.

Describes fields that are relavent to the revocation of a Certificate.

Generated from protobuf message google.cloud.security.privateca.v1.Certificate.RevocationDetails

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ revocation_state int

Indicates why a Certificate was revoked.

↳ revocation_time Google\Protobuf\Timestamp

The time at which this Certificate was revoked.

getRevocationState

Indicates why a Certificate was revoked.

Returns
TypeDescription
int

setRevocationState

Indicates why a Certificate was revoked.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getRevocationTime

The time at which this Certificate was revoked.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasRevocationTime

clearRevocationTime

setRevocationTime

The time at which this Certificate was revoked.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this