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

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

Step represents a logical step in a manual approval workflow.

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

Namespace

Google \ Cloud \ PrivilegedAccessManager \ V1 \ ManualApprovals

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ approvers array<Google\Cloud\PrivilegedAccessManager\V1\AccessControlEntry>

Optional. The potential set of approvers in this step. This list must contain at most one entry.

↳ approvals_needed int

Required. How many users from the above list need to approve. If there aren't enough distinct users in the list, then the workflow indefinitely blocks. Should always be greater than 0. 1 is the only supported value.

↳ approver_email_recipients array

Optional. Additional email addresses to be notified when a grant is pending approval.

getApprovers

Optional. The potential set of approvers in this step. This list must contain at most one entry.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setApprovers

Optional. The potential set of approvers in this step. This list must contain at most one entry.

Parameter
Name Description
var array<Google\Cloud\PrivilegedAccessManager\V1\AccessControlEntry>
Returns
Type Description
$this

getApprovalsNeeded

Required. How many users from the above list need to approve. If there aren't enough distinct users in the list, then the workflow indefinitely blocks. Should always be greater than 0. 1 is the only supported value.

Returns
Type Description
int

setApprovalsNeeded

Required. How many users from the above list need to approve. If there aren't enough distinct users in the list, then the workflow indefinitely blocks. Should always be greater than 0. 1 is the only supported value.

Parameter
Name Description
var int
Returns
Type Description
$this

getApproverEmailRecipients

Optional. Additional email addresses to be notified when a grant is pending approval.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setApproverEmailRecipients

Optional. Additional email addresses to be notified when a grant is pending approval.

Parameter
Name Description
var string[]
Returns
Type Description
$this