# Cloud Controls Partner V1BETA API - Class Google::Cloud::CloudControlsPartner::V1beta::AccessReason (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::AccessReason.

Reason for the access.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #detail

    def detail() -> ::String

**Returns**

- (::String) --- More detail about certain reason types. See comments for each type above.

### #detail=

    def detail=(value) -> ::String

**Parameter**

- **value** (::String) --- More detail about certain reason types. See comments for each type above.
**Returns**

- (::String) --- More detail about certain reason types. See comments for each type above.

### #type

    def type() -> ::Google::Cloud::CloudControlsPartner::V1beta::AccessReason::Type

**Returns**

- ([::Google::Cloud::CloudControlsPartner::V1beta::AccessReason::Type](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_controls_partner-v1beta/latest/Google-Cloud-CloudControlsPartner-V1beta-AccessReason-Type)) --- Type of access justification.

### #type=

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

**Parameter**

- **value** ([::Google::Cloud::CloudControlsPartner::V1beta::AccessReason::Type](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_controls_partner-v1beta/latest/Google-Cloud-CloudControlsPartner-V1beta-AccessReason-Type)) --- Type of access justification.
**Returns**

- ([::Google::Cloud::CloudControlsPartner::V1beta::AccessReason::Type](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_controls_partner-v1beta/latest/Google-Cloud-CloudControlsPartner-V1beta-AccessReason-Type)) --- Type of access justification.