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 \ V1Methods
__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 |
Google\Cloud\AccessApproval\V1\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 |
Google\Protobuf\Timestamp|null |
hasApproveTime
clearApproveTime
setApproveTime
The time at which approval was granted.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getExpireTime
The time at which the approval expires.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasExpireTime
clearExpireTime
setExpireTime
The time at which the approval expires.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getInvalidateTime
If set, denotes the timestamp at which the approval is invalidated.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasInvalidateTime
clearInvalidateTime
setInvalidateTime
If set, denotes the timestamp at which the approval is invalidated.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getSignatureInfo
The signature for the ApprovalRequest and details on how it was signed.
Returns | |
---|---|
Type | Description |
Google\Cloud\AccessApproval\V1\SignatureInfo|null |
hasSignatureInfo
clearSignatureInfo
setSignatureInfo
The signature for the ApprovalRequest and details on how it was signed.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\AccessApproval\V1\SignatureInfo
|
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 |