# Class AppPlatformCloudFunctionResponse (0.5.1)

0.5.1 (latest) 0.5.0 0.4.0 0.3.0 0.2.0 0.1.10

    AppPlatformCloudFunctionResponse(
        mapping=None, *, ignore_unknown_fields=False, **kwargs
    )

Message of the response from customer's Cloud Function to
AppPlatform.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `annotations` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/google-cloud-visionai/latest/google.cloud.visionai_v1alpha1.types.AppPlatformCloudFunctionResponse.StructedOutputAnnotation]` The modified annotations that is returned back to AppPlatform. If the annotations fields are empty, then those annotations will be dropped by AppPlatform. |
| `annotation_passthrough` | `bool` If set to true, AppPlatform will use original annotations instead of dropping them, even if it is empty in the annotations filed. |
| `events` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/google-cloud-visionai/latest/google.cloud.visionai_v1alpha1.types.AppPlatformEventBody]` The event notifications that is returned back to AppPlatform. Typically it will then be configured to be consumed/forwared to a operator that handles events, such as Pub/Sub operator. |

## Classes

### StructedOutputAnnotation

    StructedOutputAnnotation(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A general annotation message that uses struct format to
represent different concrete annotation protobufs.