Google Cloud Privileged Access Manager V1 Client - Class Revoked (0.1.0)

Reference documentation and code samples for the Google Cloud Privileged Access Manager V1 Client class Revoked.

An event representing that the grant was revoked.

Generated from protobuf message google.cloud.privilegedaccessmanager.v1.Grant.Timeline.Event.Revoked

Namespace

Google \ Cloud \ PrivilegedAccessManager \ V1 \ Grant \ Timeline \ Event

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ reason string

Output only. The reason provided by the user for revoking the grant.

↳ actor string

Output only. Username of the user who revoked the grant.

getReason

Output only. The reason provided by the user for revoking the grant.

Returns
Type Description
string

setReason

Output only. The reason provided by the user for revoking the grant.

Parameter
Name Description
var string
Returns
Type Description
$this

getActor

Output only. Username of the user who revoked the grant.

Returns
Type Description
string

setActor

Output only. Username of the user who revoked the grant.

Parameter
Name Description
var string
Returns
Type Description
$this