Class DirectRawPredictRequest (1.48.0)

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

Request message for PredictionService.DirectRawPredict.

Attributes

NameDescription
endpoint str
Required. The name of the Endpoint requested to serve the prediction. Format: projects/{project}/locations/{location}/endpoints/{endpoint}
method_name str
Fully qualified name of the API method being invoked to perform predictions. Format: /namespace.Service/Method/ Example: /tensorflow.serving.PredictionService/Predict
input bytes
The prediction input.

Methods

DirectRawPredictRequest

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

Request message for PredictionService.DirectRawPredict.