# Content


```
class Content
```

<br />

*** ** * ** ***

Represents a single content item for embedding.

Holds a list of `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/embedding/Part` instances, supporting text and multimodal inputs.

## Summary

| ### Public constructors |
|---|
| `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/embedding/Content#Content(kotlin.collections.List)(parts: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/embedding/Part>)` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/embedding/Part>` | `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/embedding/Content#parts()` The non-empty list of `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/embedding/Part` instances (such as `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/embedding/TextPart` and `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/embedding/ImagePart`) making up this content. |

## Public constructors

### Content

```
Content(parts: List<Part>)
```

## Public properties

### parts

```
val parts: List<Part>
```

The non-empty list of `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/embedding/Part` instances (such as `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/embedding/TextPart` and `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/embedding/ImagePart`) making up this content.