2.0.0 (latest) 1.159.0 1.158.0 1.157.0 1.156.0 1.155.0 1.154.0

    ImageSegmentationResponse(
        _prediction_response: typing.Any,
        masks: typing.List[vertexai.preview.vision_models.GeneratedMask],
    )

Image Segmentation response.

| ## Attribute ||
|---|---|
| **Name** | **Description** |
| `masks` | `List[https://docs.cloud.google.com/python/docs/reference/agentplatform/latest/vertexai.preview.vision_models.GeneratedMask]` The list of generated masks. |

## Methods

### __getitem__

    __getitem__(idx: int) -> vertexai.preview.vision_models.GeneratedMask

Gets the generated masks by index.

### __iter__

    __iter__() -> typing.Iterator[vertexai.preview.vision_models.GeneratedMask]

Iterates through the generated masks.