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 \ TimelineMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ requested |
Event\Requested
The grant was requested. |
↳ approved |
Event\Approved
The grant was approved. |
↳ denied |
Event\Denied
The grant was denied. |
↳ revoked |
Event\Revoked
The grant was revoked. |
↳ scheduled |
Event\Scheduled
The grant has been scheduled to give access. |
↳ activated |
Event\Activated
The grant was successfully activated to give access. |
↳ activation_failed |
Event\ActivationFailed
There was a non-retriable error while trying to give access. |
↳ expired |
Event\Expired
The approval workflow did not complete in the necessary duration, and so the grant is expired. |
↳ ended |
Event\Ended
Access given by the grant ended automatically as the approved duration was over. |
↳ externally_modified |
Event\ExternallyModified
The policy bindings made by grant have been modified outside of PAM. |
↳ withdrawn |
Event\Withdrawn
The grant was withdrawn. |
↳ 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 |
Event\Requested|null |
|
hasRequested
setRequested
The grant was requested.
| Parameter | |
|---|---|
| Name | Description |
var |
Event\Requested
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getApproved
The grant was approved.
| Returns | |
|---|---|
| Type | Description |
Event\Approved|null |
|
hasApproved
setApproved
The grant was approved.
| Parameter | |
|---|---|
| Name | Description |
var |
Event\Approved
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDenied
The grant was denied.
| Returns | |
|---|---|
| Type | Description |
Event\Denied|null |
|
hasDenied
setDenied
The grant was denied.
| Parameter | |
|---|---|
| Name | Description |
var |
Event\Denied
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRevoked
The grant was revoked.
| Returns | |
|---|---|
| Type | Description |
Event\Revoked|null |
|
hasRevoked
setRevoked
The grant was revoked.
| Parameter | |
|---|---|
| Name | Description |
var |
Event\Revoked
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getScheduled
The grant has been scheduled to give access.
| Returns | |
|---|---|
| Type | Description |
Event\Scheduled|null |
|
hasScheduled
setScheduled
The grant has been scheduled to give access.
| Parameter | |
|---|---|
| Name | Description |
var |
Event\Scheduled
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getActivated
The grant was successfully activated to give access.
| Returns | |
|---|---|
| Type | Description |
Event\Activated|null |
|
hasActivated
setActivated
The grant was successfully activated to give access.
| Parameter | |
|---|---|
| Name | Description |
var |
Event\Activated
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getActivationFailed
There was a non-retriable error while trying to give access.
| Returns | |
|---|---|
| Type | Description |
Event\ActivationFailed|null |
|
hasActivationFailed
setActivationFailed
There was a non-retriable error while trying to give access.
| Parameter | |
|---|---|
| Name | Description |
var |
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 |
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 |
Event\Expired
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEnded
Access given by the grant ended automatically as the approved duration was over.
| Returns | |
|---|---|
| Type | Description |
Event\Ended|null |
|
hasEnded
setEnded
Access given by the grant ended automatically as the approved duration was over.
| Parameter | |
|---|---|
| Name | Description |
var |
Event\Ended
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getExternallyModified
The policy bindings made by grant have been modified outside of PAM.
| Returns | |
|---|---|
| Type | Description |
Event\ExternallyModified|null |
|
hasExternallyModified
setExternallyModified
The policy bindings made by grant have been modified outside of PAM.
| Parameter | |
|---|---|
| Name | Description |
var |
Event\ExternallyModified
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getWithdrawn
The grant was withdrawn.
| Returns | |
|---|---|
| Type | Description |
Event\Withdrawn|null |
|
hasWithdrawn
setWithdrawn
The grant was withdrawn.
| Parameter | |
|---|---|
| Name | Description |
var |
Event\Withdrawn
|
| 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 |
|