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

An IndexedAsset is an asset that the index is built upon.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #asset

    def asset() -> ::String

**Returns**

- (::String) --- Required. The resource name of the asset. Format: `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}`

### #asset=

    def asset=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The resource name of the asset. Format: `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}`
**Returns**

- (::String) --- Required. The resource name of the asset. Format: `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}`

### #create_time

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

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The create timestamp.

### #index

    def index() -> ::String

**Returns**

- (::String) --- Required. The index that this indexed asset belongs to. Format: `projects/{project_number}/locations/{location}/corpora/{corpus}/indexes/{index}`

### #index=

    def index=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The index that this indexed asset belongs to. Format: `projects/{project_number}/locations/{location}/corpora/{corpus}/indexes/{index}`
**Returns**

- (::String) --- Required. The index that this indexed asset belongs to. Format: `projects/{project_number}/locations/{location}/corpora/{corpus}/indexes/{index}`

### #update_time

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

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The update timestamp.