Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::DirectRawPredictRequest (v0.60.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::DirectRawPredictRequest.

Request message for PredictionService.DirectRawPredict.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#endpoint

def endpoint() -> ::String
Returns
  • (::String) — Required. The name of the Endpoint requested to serve the prediction. Format: projects/{project}/locations/{location}/endpoints/{endpoint}

#endpoint=

def endpoint=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the Endpoint requested to serve the prediction. Format: projects/{project}/locations/{location}/endpoints/{endpoint}
Returns
  • (::String) — Required. The name of the Endpoint requested to serve the prediction. Format: projects/{project}/locations/{location}/endpoints/{endpoint}

#input

def input() -> ::String
Returns
  • (::String) — The prediction input.

#input=

def input=(value) -> ::String
Parameter
  • value (::String) — The prediction input.
Returns
  • (::String) — The prediction input.

#method_name

def method_name() -> ::String
Returns
  • (::String) — Fully qualified name of the API method being invoked to perform predictions.

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

#method_name=

def method_name=(value) -> ::String
Parameter
  • value (::String) — Fully qualified name of the API method being invoked to perform predictions.

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

Returns
  • (::String) — Fully qualified name of the API method being invoked to perform predictions.

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