Google Cloud Privileged Access Manager V1 Client - Class RevokeGrantRequest (0.1.0)

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

Request message for RevokeGrant method.

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

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 revoked.

↳ reason string

Optional. The reason for revoking this grant.

getName

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

Returns
Type Description
string

setName

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

Parameter
Name Description
var string
Returns
Type Description
$this

getReason

Optional. The reason for revoking this grant.

Returns
Type Description
string

setReason

Optional. The reason for revoking this grant.

Parameter
Name Description
var string
Returns
Type Description
$this