Google Cloud Access Approval V1 Client - Class GetApprovalRequestMessage (1.2.5)

Reference documentation and code samples for the Google Cloud Access Approval V1 Client class GetApprovalRequestMessage.

Request to get an approval request.

Generated from protobuf message google.cloud.accessapproval.v1.GetApprovalRequestMessage

Namespace

Google \ Cloud \ AccessApproval \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

The name of the approval request to retrieve. Format: "{projects|folders|organizations}/{id}/approvalRequests/{approval_request}"

getName

The name of the approval request to retrieve.

Format: "{projects|folders|organizations}/{id}/approvalRequests/{approval_request}"

Returns
Type Description
string

setName

The name of the approval request to retrieve.

Format: "{projects|folders|organizations}/{id}/approvalRequests/{approval_request}"

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

The name of the approval request to retrieve. Format: "{projects|folders|organizations}/{id}/approvalRequests/{approval_request}"

Returns
Type Description
Google\Cloud\AccessApproval\V1\GetApprovalRequestMessage