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

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

A single operation on the grant.

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

Namespace

Google \ Cloud \ PrivilegedAccessManager \ V1 \ Grant \ Timeline

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ requested Google\Cloud\PrivilegedAccessManager\V1\Grant\Timeline\Event\Requested

The grant was requested.

↳ approved Google\Cloud\PrivilegedAccessManager\V1\Grant\Timeline\Event\Approved

The grant was approved.

↳ denied Google\Cloud\PrivilegedAccessManager\V1\Grant\Timeline\Event\Denied

The grant was denied.

↳ revoked Google\Cloud\PrivilegedAccessManager\V1\Grant\Timeline\Event\Revoked

The grant was revoked.

↳ scheduled Google\Cloud\PrivilegedAccessManager\V1\Grant\Timeline\Event\Scheduled

The grant has been scheduled to give access.

↳ activated Google\Cloud\PrivilegedAccessManager\V1\Grant\Timeline\Event\Activated

The grant was successfully activated to give access.

↳ activation_failed Google\Cloud\PrivilegedAccessManager\V1\Grant\Timeline\Event\ActivationFailed

There was a non-retriable error while trying to give access.

↳ expired Google\Cloud\PrivilegedAccessManager\V1\Grant\Timeline\Event\Expired

The approval workflow did not complete in the necessary duration, and so the grant is expired.

↳ ended Google\Cloud\PrivilegedAccessManager\V1\Grant\Timeline\Event\Ended

Access given by the grant ended automatically as the approved duration was over.

↳ externally_modified Google\Cloud\PrivilegedAccessManager\V1\Grant\Timeline\Event\ExternallyModified

The policy bindings made by grant have been modified outside of PAM.

↳ event_time Google\Protobuf\Timestamp

Output only. The time (as recorded at server) when this event occurred.

getRequested

The grant was requested.

Returns
Type Description
Google\Cloud\PrivilegedAccessManager\V1\Grant\Timeline\Event\Requested|null

hasRequested

setRequested

The grant was requested.

Parameter
Name Description
var Google\Cloud\PrivilegedAccessManager\V1\Grant\Timeline\Event\Requested
Returns
Type Description
$this

getApproved

The grant was approved.

Returns
Type Description
Google\Cloud\PrivilegedAccessManager\V1\Grant\Timeline\Event\Approved|null

hasApproved

setApproved

The grant was approved.

Parameter
Name Description
var Google\Cloud\PrivilegedAccessManager\V1\Grant\Timeline\Event\Approved
Returns
Type Description
$this

getDenied

The grant was denied.

Returns
Type Description
Google\Cloud\PrivilegedAccessManager\V1\Grant\Timeline\Event\Denied|null

hasDenied

setDenied

The grant was denied.

Parameter
Name Description
var Google\Cloud\PrivilegedAccessManager\V1\Grant\Timeline\Event\Denied
Returns
Type Description
$this

getRevoked

The grant was revoked.

Returns
Type Description
Google\Cloud\PrivilegedAccessManager\V1\Grant\Timeline\Event\Revoked|null

hasRevoked

setRevoked

The grant was revoked.

Parameter
Name Description
var Google\Cloud\PrivilegedAccessManager\V1\Grant\Timeline\Event\Revoked
Returns
Type Description
$this

getScheduled

The grant has been scheduled to give access.

Returns
Type Description
Google\Cloud\PrivilegedAccessManager\V1\Grant\Timeline\Event\Scheduled|null

hasScheduled

setScheduled

The grant has been scheduled to give access.

Parameter
Name Description
var Google\Cloud\PrivilegedAccessManager\V1\Grant\Timeline\Event\Scheduled
Returns
Type Description
$this

getActivated

The grant was successfully activated to give access.

Returns
Type Description
Google\Cloud\PrivilegedAccessManager\V1\Grant\Timeline\Event\Activated|null

hasActivated

setActivated

The grant was successfully activated to give access.

Parameter
Name Description
var Google\Cloud\PrivilegedAccessManager\V1\Grant\Timeline\Event\Activated
Returns
Type Description
$this

getActivationFailed

There was a non-retriable error while trying to give access.

Returns
Type Description
Google\Cloud\PrivilegedAccessManager\V1\Grant\Timeline\Event\ActivationFailed|null

hasActivationFailed

setActivationFailed

There was a non-retriable error while trying to give access.

Parameter
Name Description
var Google\Cloud\PrivilegedAccessManager\V1\Grant\Timeline\Event\ActivationFailed
Returns
Type Description
$this

getExpired

The approval workflow did not complete in the necessary duration, and so the grant is expired.

Returns
Type Description
Google\Cloud\PrivilegedAccessManager\V1\Grant\Timeline\Event\Expired|null

hasExpired

setExpired

The approval workflow did not complete in the necessary duration, and so the grant is expired.

Parameter
Name Description
var Google\Cloud\PrivilegedAccessManager\V1\Grant\Timeline\Event\Expired
Returns
Type Description
$this

getEnded

Access given by the grant ended automatically as the approved duration was over.

Returns
Type Description
Google\Cloud\PrivilegedAccessManager\V1\Grant\Timeline\Event\Ended|null

hasEnded

setEnded

Access given by the grant ended automatically as the approved duration was over.

Parameter
Name Description
var Google\Cloud\PrivilegedAccessManager\V1\Grant\Timeline\Event\Ended
Returns
Type Description
$this

getExternallyModified

The policy bindings made by grant have been modified outside of PAM.

Returns
Type Description
Google\Cloud\PrivilegedAccessManager\V1\Grant\Timeline\Event\ExternallyModified|null

hasExternallyModified

setExternallyModified

The policy bindings made by grant have been modified outside of PAM.

Parameter
Name Description
var Google\Cloud\PrivilegedAccessManager\V1\Grant\Timeline\Event\ExternallyModified
Returns
Type Description
$this

getEventTime

Output only. The time (as recorded at server) when this event occurred.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasEventTime

clearEventTime

setEventTime

Output only. The time (as recorded at server) when this event occurred.

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

getEvent

Returns
Type Description
string