# Access Approval V1 API - Class Google::Cloud::AccessApproval::V1::ApproveDecision (v1.6.0)

1.6.0 (latest) 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.2 0.12.0 0.11.2 0.10.0 0.9.0 0.8.0 0.7.1 0.6.0 0.5.0 0.4.5 Reference documentation and code samples for the Access Approval V1 API class Google::Cloud::AccessApproval::V1::ApproveDecision.

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

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #approve_time

    def approve_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-access_approval-v1/latest/Google-Protobuf-Timestamp)) --- The time at which approval was granted.

### #approve_time=

    def approve_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-access_approval-v1/latest/Google-Protobuf-Timestamp)) --- The time at which approval was granted.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-access_approval-v1/latest/Google-Protobuf-Timestamp)) --- The time at which approval was granted.

### #auto_approved

    def auto_approved() -> ::Boolean

**Returns**

- (::Boolean) --- True when the request has been auto-approved.

### #auto_approved=

    def auto_approved=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- True when the request has been auto-approved.
**Returns**

- (::Boolean) --- True when the request has been auto-approved.

### #expire_time

    def expire_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-access_approval-v1/latest/Google-Protobuf-Timestamp)) --- The time at which the approval expires.

### #expire_time=

    def expire_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-access_approval-v1/latest/Google-Protobuf-Timestamp)) --- The time at which the approval expires.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-access_approval-v1/latest/Google-Protobuf-Timestamp)) --- The time at which the approval expires.

### #invalidate_time

    def invalidate_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-access_approval-v1/latest/Google-Protobuf-Timestamp)) --- If set, denotes the timestamp at which the approval is invalidated.

### #invalidate_time=

    def invalidate_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-access_approval-v1/latest/Google-Protobuf-Timestamp)) --- If set, denotes the timestamp at which the approval is invalidated.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-access_approval-v1/latest/Google-Protobuf-Timestamp)) --- If set, denotes the timestamp at which the approval is invalidated.

### #signature_info

    def signature_info() -> ::Google::Cloud::AccessApproval::V1::SignatureInfo

**Returns**

- ([::Google::Cloud::AccessApproval::V1::SignatureInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-access_approval-v1/latest/Google-Cloud-AccessApproval-V1-SignatureInfo)) --- The signature for the ApprovalRequest and details on how it was signed.

### #signature_info=

    def signature_info=(value) -> ::Google::Cloud::AccessApproval::V1::SignatureInfo

**Parameter**

- **value** ([::Google::Cloud::AccessApproval::V1::SignatureInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-access_approval-v1/latest/Google-Cloud-AccessApproval-V1-SignatureInfo)) --- The signature for the ApprovalRequest and details on how it was signed.
**Returns**

- ([::Google::Cloud::AccessApproval::V1::SignatureInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-access_approval-v1/latest/Google-Cloud-AccessApproval-V1-SignatureInfo)) --- The signature for the ApprovalRequest and details on how it was signed.