Google Cloud Privileged Access Manager V1 Client - Class Timeline (0.1.3)

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

Timeline of a grant describing what happened to it and when.

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

Namespace

Google \ Cloud \ PrivilegedAccessManager \ V1 \ Grant

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ events array<Timeline\Event>

Output only. The events that have occurred on this grant. This list contains entries in the same order as they occurred. The first entry is always be of type Requested and there is always at least one entry in this array.

getEvents

Output only. The events that have occurred on this grant. This list contains entries in the same order as they occurred. The first entry is always be of type Requested and there is always at least one entry in this array.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setEvents

Output only. The events that have occurred on this grant. This list contains entries in the same order as they occurred. The first entry is always be of type Requested and there is always at least one entry in this array.

Parameter
Name Description
var array<Timeline\Event>
Returns
Type Description
$this