Google Cloud Access Approval V1 Client - Class ApproveApprovalRequestMessage (2.0.3)

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

Request to approve an ApprovalRequest.

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

Namespace

Google \ Cloud \ AccessApproval \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Name of the approval request to approve.

↳ expire_time Google\Protobuf\Timestamp

The expiration time of this approval.

getName

Name of the approval request to approve.

Returns
Type Description
string

setName

Name of the approval request to approve.

Parameter
Name Description
var string
Returns
Type Description
$this

getExpireTime

The expiration time of this approval.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasExpireTime

clearExpireTime

setExpireTime

The expiration time of this approval.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this