# Vision AI V1 API - Class Google::Cloud::VisionAI::V1::IngestAssetRequest (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::IngestAssetRequest.

Request message for IngestAsset API.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #config

    def config() -> ::Google::Cloud::VisionAI::V1::IngestAssetRequest::Config

**Returns**

- ([::Google::Cloud::VisionAI::V1::IngestAssetRequest::Config](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Cloud-VisionAI-V1-IngestAssetRequest-Config)) --- Provides information for the data and the asset resource name that the data belongs to. The first `IngestAssetRequest` message must only contain a `Config` message.


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

### #config=

    def config=(value) -> ::Google::Cloud::VisionAI::V1::IngestAssetRequest::Config

**Parameter**

- **value** ([::Google::Cloud::VisionAI::V1::IngestAssetRequest::Config](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Cloud-VisionAI-V1-IngestAssetRequest-Config)) --- Provides information for the data and the asset resource name that the data belongs to. The first `IngestAssetRequest` message must only contain a `Config` message.


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

- ([::Google::Cloud::VisionAI::V1::IngestAssetRequest::Config](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Cloud-VisionAI-V1-IngestAssetRequest-Config)) --- Provides information for the data and the asset resource name that the data belongs to. The first `IngestAssetRequest` message must only contain a `Config` message.


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

### #time_indexed_data

    def time_indexed_data() -> ::Google::Cloud::VisionAI::V1::IngestAssetRequest::TimeIndexedData

**Returns**

- ([::Google::Cloud::VisionAI::V1::IngestAssetRequest::TimeIndexedData](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Cloud-VisionAI-V1-IngestAssetRequest-TimeIndexedData)) --- Data to be ingested.


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

### #time_indexed_data=

    def time_indexed_data=(value) -> ::Google::Cloud::VisionAI::V1::IngestAssetRequest::TimeIndexedData

**Parameter**

- **value** ([::Google::Cloud::VisionAI::V1::IngestAssetRequest::TimeIndexedData](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Cloud-VisionAI-V1-IngestAssetRequest-TimeIndexedData)) --- Data to be ingested.


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

- ([::Google::Cloud::VisionAI::V1::IngestAssetRequest::TimeIndexedData](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Cloud-VisionAI-V1-IngestAssetRequest-TimeIndexedData)) --- Data to be ingested.


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