Google Cloud Access Approval V1 Client - Class ApproveApprovalRequestMessage (1.1.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
NameDescription
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
TypeDescription
string

setName

Name of the approval request to approve.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getExpireTime

The expiration time of this approval.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasExpireTime

clearExpireTime

setExpireTime

The expiration time of this approval.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this