Reference documentation and code samples for the Privileged Access Manager V1 API class Google::Cloud::PrivilegedAccessManager::V1::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.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#require_approver_justification
defrequire_approver_justification()->::Boolean
Returns
(::Boolean) — Optional. Do the approvers need to provide a justification for their
actions?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-03 UTC."],[],[],null,["# Privileged Access Manager V1 API - Class Google::Cloud::PrivilegedAccessManager::V1::ManualApprovals (v1.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.0 (latest)](/ruby/docs/reference/google-cloud-privileged_access_manager-v1/latest/Google-Cloud-PrivilegedAccessManager-V1-ManualApprovals)\n- [1.1.0](/ruby/docs/reference/google-cloud-privileged_access_manager-v1/1.1.0/Google-Cloud-PrivilegedAccessManager-V1-ManualApprovals)\n- [1.0.1](/ruby/docs/reference/google-cloud-privileged_access_manager-v1/1.0.1/Google-Cloud-PrivilegedAccessManager-V1-ManualApprovals)\n- [0.3.0](/ruby/docs/reference/google-cloud-privileged_access_manager-v1/0.3.0/Google-Cloud-PrivilegedAccessManager-V1-ManualApprovals)\n- [0.2.0](/ruby/docs/reference/google-cloud-privileged_access_manager-v1/0.2.0/Google-Cloud-PrivilegedAccessManager-V1-ManualApprovals)\n- [0.1.2](/ruby/docs/reference/google-cloud-privileged_access_manager-v1/0.1.2/Google-Cloud-PrivilegedAccessManager-V1-ManualApprovals) \nReference documentation and code samples for the Privileged Access Manager V1 API class Google::Cloud::PrivilegedAccessManager::V1::ManualApprovals.\n\nA manual approval workflow where users who are designated as approvers\nneed to call the `ApproveGrant`/`DenyGrant` APIs for a grant. The workflow\ncan consist of multiple serial steps where each step defines who can act as\napprover in that step and how many of those users should approve before the\nworkflow moves to the next step.\n\n\nThis can be used to create approval workflows such as:\n\n- Require an approval from any user in a group G.\n- Require an approval from any k number of users from a Group G.\n- Require an approval from any user in a group G and then from a user U.\n\n\u003cbr /\u003e\n\nA single user might be part of the `approvers` ACL for multiple steps in this\nworkflow, but they can only approve once and that approval is only considered\nto satisfy the approval step at which it was granted. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #require_approver_justification\n\n def require_approver_justification() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- Optional. Do the approvers need to provide a justification for their actions?\n\n### #require_approver_justification=\n\n def require_approver_justification=(value) -\u003e ::Boolean\n\n**Parameter**\n\n- **value** (::Boolean) --- Optional. Do the approvers need to provide a justification for their actions? \n**Returns**\n\n- (::Boolean) --- Optional. Do the approvers need to provide a justification for their actions?\n\n### #steps\n\n def steps() -\u003e ::Array\u003c::Google::Cloud::PrivilegedAccessManager::V1::ManualApprovals::Step\u003e\n\n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::PrivilegedAccessManager::V1::ManualApprovals::Step](./Google-Cloud-PrivilegedAccessManager-V1-ManualApprovals-Step)\\\u003e) --- Optional. List of approval steps in this workflow. These steps are followed in the specified order sequentially. Only 1 step is supported.\n\n### #steps=\n\n def steps=(value) -\u003e ::Array\u003c::Google::Cloud::PrivilegedAccessManager::V1::ManualApprovals::Step\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c[::Google::Cloud::PrivilegedAccessManager::V1::ManualApprovals::Step](./Google-Cloud-PrivilegedAccessManager-V1-ManualApprovals-Step)\\\u003e) --- Optional. List of approval steps in this workflow. These steps are followed in the specified order sequentially. Only 1 step is supported. \n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::PrivilegedAccessManager::V1::ManualApprovals::Step](./Google-Cloud-PrivilegedAccessManager-V1-ManualApprovals-Step)\\\u003e) --- Optional. List of approval steps in this workflow. These steps are followed in the specified order sequentially. Only 1 step is supported."]]