Google Cloud Privileged Access Manager V1 Client - Class Approved (0.1.2)

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

An event representing that the grant was approved.

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

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 approver for approving the grant.

↳ actor string

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

getReason

Output only. The reason provided by the approver for approving the grant.

Returns
Type Description
string

setReason

Output only. The reason provided by the approver for approving the grant.

Parameter
Name Description
var string
Returns
Type Description
$this

getActor

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

Returns
Type Description
string

setActor

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

Parameter
Name Description
var string
Returns
Type Description
$this