# Cloud Controls Partner V1BETA API - Class Google::Cloud::CloudControlsPartner::V1beta::AccessApprovalRequest (v0.9.0)

0.9.0 (latest) 0.8.0 0.7.1 0.6.0 0.5.1 0.4.0 0.3.0 0.2.0 0.1.2 Reference documentation and code samples for the Cloud Controls Partner V1BETA API class Google::Cloud::CloudControlsPartner::V1beta::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-v1beta/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-v1beta/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-v1beta/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-v1beta/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-v1beta/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-v1beta/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::V1beta::AccessReason

**Returns**

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

### #requested_reason=

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

**Parameter**

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

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