Class DirectPredictRequest (1.48.0)

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

Request message for PredictionService.DirectPredict.

Attributes

NameDescription
endpoint str
Required. The name of the Endpoint requested to serve the prediction. Format: projects/{project}/locations/{location}/endpoints/{endpoint}
inputs MutableSequence[google.cloud.aiplatform_v1beta1.types.Tensor]
The prediction input.
parameters google.cloud.aiplatform_v1beta1.types.Tensor
The parameters that govern the prediction.

Methods

DirectPredictRequest

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

Request message for PredictionService.DirectPredict.