Google Cloud Ai Platform V1 Client - Class DirectRawPredictRequest (0.29.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class DirectRawPredictRequest.

Request message for PredictionService.DirectRawPredict.

Generated from protobuf message google.cloud.aiplatform.v1.DirectRawPredictRequest

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ endpoint string

Required. The name of the Endpoint requested to serve the prediction. Format: projects/{project}/locations/{location}/endpoints/{endpoint}

↳ method_name string

Fully qualified name of the API method being invoked to perform predictions. Format: /namespace.Service/Method/ Example: /tensorflow.serving.PredictionService/Predict

↳ input string

The prediction input.

getEndpoint

Required. The name of the Endpoint requested to serve the prediction.

Format: projects/{project}/locations/{location}/endpoints/{endpoint}

Returns
TypeDescription
string

setEndpoint

Required. The name of the Endpoint requested to serve the prediction.

Format: projects/{project}/locations/{location}/endpoints/{endpoint}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMethodName

Fully qualified name of the API method being invoked to perform predictions.

Format: /namespace.Service/Method/ Example: /tensorflow.serving.PredictionService/Predict

Returns
TypeDescription
string

setMethodName

Fully qualified name of the API method being invoked to perform predictions.

Format: /namespace.Service/Method/ Example: /tensorflow.serving.PredictionService/Predict

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getInput

The prediction input.

Returns
TypeDescription
string

setInput

The prediction input.

Parameter
NameDescription
var string
Returns
TypeDescription
$this