Class AppPlatformCloudFunctionResponse (0.1.5)

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

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

Attributes

Name Description
annotations MutableSequence[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[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.