postProcessingCloudFunction property

  1. @TagNumber.new(3)
String get postProcessingCloudFunction

If not empty, the prediction result will be sent to the specified cloud function for post processing.

  • The cloud function will receive AppPlatformCloudFunctionRequest where the annotations field will be the json format of proto PredictResponse.
  • The cloud function should return AppPlatformCloudFunctionResponse with PredictResponse stored in the annotations field.
  • To drop the prediction output, simply clear the payload field in the returned AppPlatformCloudFunctionResponse.

Implementation

@$pb.TagNumber(3)
$core.String get postProcessingCloudFunction => $_getSZ(2);
  1. @TagNumber.new(3)
set postProcessingCloudFunction (String v)

Implementation

@$pb.TagNumber(3)
set postProcessingCloudFunction($core.String v) {
  $_setString(2, v);
}