Google Cloud Access Approval V1 Client - Class ApproveDecision (2.0.5)

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

A decision that has been made to approve access to a resource.

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

Namespace

Google \ Cloud \ AccessApproval \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ approve_time
Google\Protobuf\Timestamp

The time at which approval was granted.

↳ expire_time
Google\Protobuf\Timestamp

The time at which the approval expires.

↳ invalidate_time
Google\Protobuf\Timestamp

If set, denotes the timestamp at which the approval is invalidated.

↳ signature_info
SignatureInfo

The signature for the ApprovalRequest and details on how it was signed.

↳ auto_approved
bool

True when the request has been auto-approved.

getApproveTime

The time at which approval was granted.

Returns
Type
Description

hasApproveTime

clearApproveTime

setApproveTime

The time at which approval was granted.

Parameter
Name
Description
Returns
Type
Description
$this

getExpireTime

The time at which the approval expires.

Returns
Type
Description

hasExpireTime

clearExpireTime

setExpireTime

The time at which the approval expires.

Parameter
Name
Description
Returns
Type
Description
$this

getInvalidateTime

If set, denotes the timestamp at which the approval is invalidated.

Returns
Type
Description

hasInvalidateTime

clearInvalidateTime

setInvalidateTime

If set, denotes the timestamp at which the approval is invalidated.

Parameter
Name
Description
Returns
Type
Description
$this

getSignatureInfo

The signature for the ApprovalRequest and details on how it was signed.

Returns
Type
Description

hasSignatureInfo

clearSignatureInfo

setSignatureInfo

The signature for the ApprovalRequest and details on how it was signed.

Parameter
Name
Description
Returns
Type
Description
$this

getAutoApproved

True when the request has been auto-approved.

Returns
Type
Description
bool

setAutoApproved

True when the request has been auto-approved.

Parameter
Name
Description
var
bool
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: