Reference documentation and code samples for the Google Cloud Privileged Access Manager V1 Client class ApproveGrantRequest.
Request message for ApproveGrant
method.
Generated from protobuf message google.cloud.privilegedaccessmanager.v1.ApproveGrantRequest
Namespace
Google \ Cloud \ PrivilegedAccessManager \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. Name of the grant resource which is being approved. |
↳ reason |
string
Optional. The reason for approving this grant. This is required if the |
getName
Required. Name of the grant resource which is being approved.
Returns | |
---|---|
Type | Description |
string |
setName
Required. Name of the grant resource which is being approved.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getReason
Optional. The reason for approving this grant. This is required if the
require_approver_justification
field of the ManualApprovals
workflow
used in this grant is true.
Returns | |
---|---|
Type | Description |
string |
setReason
Optional. The reason for approving this grant. This is required if the
require_approver_justification
field of the ManualApprovals
workflow
used in this grant is true.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |