> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# IDataSourceValidityPeriodCacheRetention

- Package: [@gooddata/sdk-model](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/index.md)
- Kind: interface
- Stability: alpha
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-model/src/dataSources/index.ts

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Cached results of the data source expire when the validity period elapses.

**Signature:**

```typescript
export interface IDataSourceValidityPeriodCacheRetention 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [type](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.idatasourcevalidityperiodcacheretention/index.md#idatasourcevalidityperiodcacheretentiontype) |  | "VALIDITY\_PERIOD" | **_(ALPHA)_** |
| [validityPeriod](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.idatasourcevalidityperiodcacheretention/index.md#idatasourcevalidityperiodcacheretentionvalidityperiod) |  | string | **_(ALPHA)_** ISO-8601 duration, for example `PT1H`. |

## Property details

### IDataSourceValidityPeriodCacheRetention.type

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

**Signature:**

```typescript
type: "VALIDITY_PERIOD";
```

### IDataSourceValidityPeriodCacheRetention.validityPeriod

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

ISO-8601 duration, for example `PT1H`.

**Signature:**

```typescript
validityPeriod: string;
```
