Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DirectRawPredictRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb

Overview

Request message for PredictionService.DirectRawPredict.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1DirectRawPredictRequest

Returns a new instance of GoogleCloudAiplatformV1beta1DirectRawPredictRequest.



6040
6041
6042
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6040

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#inputString

The prediction input. Corresponds to the JSON property input NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


6031
6032
6033
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6031

def input
  @input
end

#method_nameString

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

Returns:

  • (String)


6038
6039
6040
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6038

def method_name
  @method_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6045
6046
6047
6048
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6045

def update!(**args)
  @input = args[:input] if args.key?(:input)
  @method_name = args[:method_name] if args.key?(:method_name)
end