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

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

Audit trail for the access provided by this grant.

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

Namespace

Google \ Cloud \ PrivilegedAccessManager \ V1 \ Grant

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ access_grant_time Google\Protobuf\Timestamp

Output only. The time at which access was given.

↳ access_remove_time Google\Protobuf\Timestamp

Output only. The time at which the system removed access. This could be because of an automatic expiry or because of a revocation. If unspecified, then access hasn't been removed yet.

getAccessGrantTime

Output only. The time at which access was given.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasAccessGrantTime

clearAccessGrantTime

setAccessGrantTime

Output only. The time at which access was given.

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

getAccessRemoveTime

Output only. The time at which the system removed access. This could be because of an automatic expiry or because of a revocation.

If unspecified, then access hasn't been removed yet.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasAccessRemoveTime

clearAccessRemoveTime

setAccessRemoveTime

Output only. The time at which the system removed access. This could be because of an automatic expiry or because of a revocation.

If unspecified, then access hasn't been removed yet.

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