1.9.1 (latest) 1.9.0 1.8.0 1.7.0 1.6.1 1.5.0 1.4.1 1.3.1 1.2.0 1.1.0 1.0.2 0.32.0 0.31.0 0.30.0 0.29.3 0.28.1 0.27.0 0.26.1 0.25.0 0.24.0 0.23.0 0.22.0 0.21.1 0.20.1 0.19.0 0.18.0 0.17.3 Reference documentation and code samples for the Cloud Asset V1 API class Google::Identity::AccessContextManager::V1::AccessLevel.

An `AccessLevel` is a label that can be applied to requests to Google Cloud
services, along with a list of requirements necessary for the label to be
applied.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #basic

    def basic() -> ::Google::Identity::AccessContextManager::V1::BasicLevel

**Returns**

- ([::Google::Identity::AccessContextManager::V1::BasicLevel](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Identity-AccessContextManager-V1-BasicLevel)) --- A `BasicLevel` composed of `Conditions`.


  Note: The following fields are mutually exclusive: `basic`, `custom`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #basic=

    def basic=(value) -> ::Google::Identity::AccessContextManager::V1::BasicLevel

**Parameter**

- **value** ([::Google::Identity::AccessContextManager::V1::BasicLevel](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Identity-AccessContextManager-V1-BasicLevel)) --- A `BasicLevel` composed of `Conditions`.


  Note: The following fields are mutually exclusive: `basic`, `custom`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Identity::AccessContextManager::V1::BasicLevel](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Identity-AccessContextManager-V1-BasicLevel)) --- A `BasicLevel` composed of `Conditions`.


  Note: The following fields are mutually exclusive: `basic`, `custom`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #create_time

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

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Time the `AccessLevel` was created in UTC.

### #create_time=

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

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Time the `AccessLevel` was created in UTC.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Time the `AccessLevel` was created in UTC.

### #custom

    def custom() -> ::Google::Identity::AccessContextManager::V1::CustomLevel

**Returns**

- ([::Google::Identity::AccessContextManager::V1::CustomLevel](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Identity-AccessContextManager-V1-CustomLevel)) --- A `CustomLevel` written in the Common Expression Language.


  Note: The following fields are mutually exclusive: `custom`, `basic`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #custom=

    def custom=(value) -> ::Google::Identity::AccessContextManager::V1::CustomLevel

**Parameter**

- **value** ([::Google::Identity::AccessContextManager::V1::CustomLevel](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Identity-AccessContextManager-V1-CustomLevel)) --- A `CustomLevel` written in the Common Expression Language.


  Note: The following fields are mutually exclusive: `custom`, `basic`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Identity::AccessContextManager::V1::CustomLevel](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Identity-AccessContextManager-V1-CustomLevel)) --- A `CustomLevel` written in the Common Expression Language.


  Note: The following fields are mutually exclusive: `custom`, `basic`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #description

    def description() -> ::String

**Returns**

- (::String) --- Description of the `AccessLevel` and its use. Does not affect behavior.

### #description=

    def description=(value) -> ::String

**Parameter**

- **value** (::String) --- Description of the `AccessLevel` and its use. Does not affect behavior.
**Returns**

- (::String) --- Description of the `AccessLevel` and its use. Does not affect behavior.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Required. Resource name for the Access Level. The `short_name` component must begin with a letter and only include alphanumeric and '_'. Format: `accessPolicies/{access_policy}/accessLevels/{access_level}`. The maximum length of the `access_level` component is 50 characters.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Resource name for the Access Level. The `short_name` component must begin with a letter and only include alphanumeric and '_'. Format: `accessPolicies/{access_policy}/accessLevels/{access_level}`. The maximum length of the `access_level` component is 50 characters.
**Returns**

- (::String) --- Required. Resource name for the Access Level. The `short_name` component must begin with a letter and only include alphanumeric and '_'. Format: `accessPolicies/{access_policy}/accessLevels/{access_level}`. The maximum length of the `access_level` component is 50 characters.

### #title

    def title() -> ::String

**Returns**

- (::String) --- Human readable title. Must be unique within the Policy.

### #title=

    def title=(value) -> ::String

**Parameter**

- **value** (::String) --- Human readable title. Must be unique within the Policy.
**Returns**

- (::String) --- Human readable title. Must be unique within the Policy.

### #update_time

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

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Time the `AccessLevel` was updated in UTC.

### #update_time=

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

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Time the `AccessLevel` was updated in UTC.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Time the `AccessLevel` was updated in UTC.