Class AppPlatformCloudFunctionRequest (0.1.5)

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

For any cloud function based customer processing logic, customer's cloud function is expected to receive AppPlatformCloudFunctionRequest as request and send back AppPlatformCloudFunctionResponse as response. Message of request from AppPlatform to Cloud Function.

Attributes

Name Description
app_platform_metadata google.cloud.visionai_v1alpha1.types.AppPlatformMetadata
The metadata of the AppPlatform for customer to identify the source of the payload.
annotations MutableSequence[google.cloud.visionai_v1alpha1.types.AppPlatformCloudFunctionRequest.StructedInputAnnotation]
The actual annotations to be processed by the customized Cloud Function.

Classes

StructedInputAnnotation

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

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