Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::DirectPredictRequest (v0.58.0)

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

Request message for PredictionService.DirectPredict.

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}

#inputs

def inputs() -> ::Array<::Google::Cloud::AIPlatform::V1::Tensor>
Returns

#inputs=

def inputs=(value) -> ::Array<::Google::Cloud::AIPlatform::V1::Tensor>
Parameter
Returns

#parameters

def parameters() -> ::Google::Cloud::AIPlatform::V1::Tensor
Returns

#parameters=

def parameters=(value) -> ::Google::Cloud::AIPlatform::V1::Tensor
Parameter
Returns