Interface ManualApprovals.StepOrBuilder (0.9.0)

public static interface ManualApprovals.StepOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getApprovalsNeeded()

public abstract int 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.

int32 approvals_needed = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The approvalsNeeded.

getApproverEmailRecipients(int index)

public abstract String getApproverEmailRecipients(int index)

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

repeated string approver_email_recipients = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The approverEmailRecipients at the given index.

getApproverEmailRecipientsBytes(int index)

public abstract ByteString getApproverEmailRecipientsBytes(int index)

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

repeated string approver_email_recipients = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the approverEmailRecipients at the given index.

getApproverEmailRecipientsCount()

public abstract int getApproverEmailRecipientsCount()

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

repeated string approver_email_recipients = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of approverEmailRecipients.

getApproverEmailRecipientsList()

public abstract List<String> getApproverEmailRecipientsList()

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

repeated string approver_email_recipients = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the approverEmailRecipients.

getApprovers(int index)

public abstract AccessControlEntry getApprovers(int index)

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

repeated .google.cloud.privilegedaccessmanager.v1.AccessControlEntry approvers = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AccessControlEntry

getApproversCount()

public abstract int getApproversCount()

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

repeated .google.cloud.privilegedaccessmanager.v1.AccessControlEntry approvers = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getApproversList()

public abstract List<AccessControlEntry> getApproversList()

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

repeated .google.cloud.privilegedaccessmanager.v1.AccessControlEntry approvers = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<AccessControlEntry>

getApproversOrBuilder(int index)

public abstract AccessControlEntryOrBuilder getApproversOrBuilder(int index)

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

repeated .google.cloud.privilegedaccessmanager.v1.AccessControlEntry approvers = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AccessControlEntryOrBuilder

getApproversOrBuilderList()

public abstract List<? extends AccessControlEntryOrBuilder> getApproversOrBuilderList()

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

repeated .google.cloud.privilegedaccessmanager.v1.AccessControlEntry approvers = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.privilegedaccessmanager.v1.AccessControlEntryOrBuilder>