Google Cloud Ai Platform V1 Client - Class DirectRawPredictRequest (1.3.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
Name Description
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
Type Description
string

setEndpoint

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

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

Parameter
Name Description
var string
Returns
Type Description
$this

getMethodName

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

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

Returns
Type Description
string

setMethodName

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

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

Parameter
Name Description
var string
Returns
Type Description
$this

getInput

The prediction input.

Returns
Type Description
string

setInput

The prediction input.

Parameter
Name Description
var string
Returns
Type Description
$this