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

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

Namespace

Google \ Cloud \ Security \ PrivateCA \ V1 \ Certificate

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
int

setRevocationState

Indicates why a Certificate was revoked.

Parameter
Name Description
var int
Returns
Type Description
$this

getRevocationTime

The time at which this Certificate was revoked.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasRevocationTime

clearRevocationTime

setRevocationTime

The time at which this Certificate was revoked.

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