Grafeas V1 Client - Class SecretStatus (1.2.2)

Reference documentation and code samples for the Grafeas V1 Client class SecretStatus.

The status of the secret with a timestamp.

Generated from protobuf message grafeas.v1.SecretStatus

Namespace

Grafeas \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ status int

The status of the secret.

↳ update_time Google\Protobuf\Timestamp

The time the secret status was last updated.

↳ message string

Optional message about the status code.

getStatus

The status of the secret.

Returns
Type Description
int

setStatus

The status of the secret.

Parameter
Name Description
var int
Returns
Type Description
$this

getUpdateTime

The time the secret status was last updated.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

The time the secret status was last updated.

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

getMessage

Optional message about the status code.

Returns
Type Description
string

setMessage

Optional message about the status code.

Parameter
Name Description
var string
Returns
Type Description
$this