# Google Cloud Orchestration Airflow V1 Client - Class RetentionMode (2.2.3)

2.2.3 (latest) 2.2.2 2.1.8 2.0.1 1.6.4 1.5.0 1.4.2 1.3.0 1.2.0 1.1.0 1.0.4 Reference documentation and code samples for the Google Cloud Orchestration Airflow V1 Client class RetentionMode.

Describes retention policy.

Protobuf type `google.cloud.orchestration.airflow.service.v1.AirflowMetadataRetentionPolicyConfig.RetentionMode`

## Namespace

Google \\ Cloud \\ Orchestration \\ Airflow \\ Service \\ V1 \\ AirflowMetadataRetentionPolicyConfig

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### RETENTION_MODE_UNSPECIFIED

    Value: 0

Default mode doesn't change environment parameters.

Generated from protobuf enum `RETENTION_MODE_UNSPECIFIED = 0;`

### RETENTION_MODE_ENABLED

    Value: 1

Retention policy is enabled.

Generated from protobuf enum `RETENTION_MODE_ENABLED = 1;`

### RETENTION_MODE_DISABLED

    Value: 2

Retention policy is disabled.

Generated from protobuf enum `RETENTION_MODE_DISABLED = 2;`