# Cloud Controls Partner V1 API - Class Google::Cloud::CloudControlsPartner::V1::AccessApprovalRequest (v2.3.0)

2.3.0 (latest) 2.2.1 2.1.0 2.0.1 1.3.0 1.2.0 1.1.0 1.0.1 0.1.1 Reference documentation and code samples for the Cloud Controls Partner V1 API class Google::Cloud::CloudControlsPartner::V1::AccessApprovalRequest.

Details about the Access request.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #name

    def name() -> ::String

**Returns**

- (::String) --- Identifier. Format: `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approval_request}`

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Identifier. Format: `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approval_request}`
**Returns**

- (::String) --- Identifier. Format: `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approval_request}`

### #request_time

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

**Returns**

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

### #request_time=

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

**Parameter**

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

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

### #requested_expiration_time

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

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_controls_partner-v1/latest/Google-Protobuf-Timestamp)) --- The requested expiration for the approval. If the request is approved, access will be granted from the time of approval until the expiration time.

### #requested_expiration_time=

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

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_controls_partner-v1/latest/Google-Protobuf-Timestamp)) --- The requested expiration for the approval. If the request is approved, access will be granted from the time of approval until the expiration time.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_controls_partner-v1/latest/Google-Protobuf-Timestamp)) --- The requested expiration for the approval. If the request is approved, access will be granted from the time of approval until the expiration time.

### #requested_reason

    def requested_reason() -> ::Google::Cloud::CloudControlsPartner::V1::AccessReason

**Returns**

- ([::Google::Cloud::CloudControlsPartner::V1::AccessReason](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_controls_partner-v1/latest/Google-Cloud-CloudControlsPartner-V1-AccessReason)) --- The justification for which approval is being requested.

### #requested_reason=

    def requested_reason=(value) -> ::Google::Cloud::CloudControlsPartner::V1::AccessReason

**Parameter**

- **value** ([::Google::Cloud::CloudControlsPartner::V1::AccessReason](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_controls_partner-v1/latest/Google-Cloud-CloudControlsPartner-V1-AccessReason)) --- The justification for which approval is being requested.
**Returns**

- ([::Google::Cloud::CloudControlsPartner::V1::AccessReason](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_controls_partner-v1/latest/Google-Cloud-CloudControlsPartner-V1-AccessReason)) --- The justification for which approval is being requested.