# Vision AI V1 API - Class Google::Cloud::VisionAI::V1::MediaWarehouseConfig (v1.5.0)

1.5.0 (latest) 1.4.1 1.3.1 1.2.0 1.1.1 1.0.1 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::MediaWarehouseConfig.

Message describing MediaWarehouseConfig.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #corpus

    def corpus() -> ::String

**Returns**

- (::String) --- Resource name of the Media Warehouse corpus. Format: projects/${project_id}/locations/${location_id}/corpora/${corpus_id}

### #corpus=

    def corpus=(value) -> ::String

**Parameter**

- **value** (::String) --- Resource name of the Media Warehouse corpus. Format: projects/${project_id}/locations/${location_id}/corpora/${corpus_id}
**Returns**

- (::String) --- Resource name of the Media Warehouse corpus. Format: projects/${project_id}/locations/${location_id}/corpora/${corpus_id}

### #region

    def region() -> ::String

**Returns**

- (::String) --- Deprecated.

### #region=

    def region=(value) -> ::String

**Parameter**

- **value** (::String) --- Deprecated.
**Returns**

- (::String) --- Deprecated.

### #ttl

    def ttl() -> ::Google::Protobuf::Duration

**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Protobuf-Duration)) --- The duration for which all media assets, associated metadata, and search documents can exist.

### #ttl=

    def ttl=(value) -> ::Google::Protobuf::Duration

**Parameter**

- **value** ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Protobuf-Duration)) --- The duration for which all media assets, associated metadata, and search documents can exist.
**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Protobuf-Duration)) --- The duration for which all media assets, associated metadata, and search documents can exist.