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

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

A manual approval workflow where users who are designated as approvers need to call the ApproveGrant/DenyGrant APIs for a grant. The workflow can consist of multiple serial steps where each step defines who can act as approver in that step and how many of those users should approve before the workflow moves to the next step.

This can be used to create approval workflows such as:

  • Require an approval from any user in a group G.
  • Require an approval from any k number of users from a Group G.
  • Require an approval from any user in a group G and then from a user U. A single user might be part of the approvers ACL for multiple steps in this workflow, but they can only approve once and that approval is only considered to satisfy the approval step at which it was granted.

Generated from protobuf message google.cloud.privilegedaccessmanager.v1.ManualApprovals

Namespace

Google \ Cloud \ PrivilegedAccessManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ require_approver_justification bool

Optional. Do the approvers need to provide a justification for their actions?

↳ steps array<ManualApprovals\Step>

Optional. List of approval steps in this workflow. These steps are followed in the specified order sequentially. Only 1 step is supported.

getRequireApproverJustification

Optional. Do the approvers need to provide a justification for their actions?

Returns
Type Description
bool

setRequireApproverJustification

Optional. Do the approvers need to provide a justification for their actions?

Parameter
Name Description
var bool
Returns
Type Description
$this

getSteps

Optional. List of approval steps in this workflow. These steps are followed in the specified order sequentially. Only 1 step is supported.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSteps

Optional. List of approval steps in this workflow. These steps are followed in the specified order sequentially. Only 1 step is supported.

Parameter
Name Description
var array<ManualApprovals\Step>
Returns
Type Description
$this