Google Cloud Privileged Access Manager V1 Client - Class DenyGrantRequest (0.1.4)

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

Request message for DenyGrant method.

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

Namespace

Google \ Cloud \ PrivilegedAccessManager \ V1

Methods

__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 denied.

↳ reason
string

Optional. The reason for denying this grant. This is required if require_approver_justification field of the ManualApprovals workflow used in this grant is true.

getName

Required. Name of the grant resource which is being denied.

Returns
Type
Description
string

setName

Required. Name of the grant resource which is being denied.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getReason

Optional. The reason for denying this grant. This is required if require_approver_justification field of the ManualApprovals workflow used in this grant is true.

Returns
Type
Description
string

setReason

Optional. The reason for denying this grant. This is required if require_approver_justification field of the ManualApprovals workflow used in this grant is true.

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: