Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DirectRawPredictRequest
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DirectRawPredictRequest
- 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
-
#input ⇒ String
The prediction input.
-
#method_name ⇒ String
Fully qualified name of the API method being invoked to perform predictions.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1DirectRawPredictRequest
constructor
A new instance of GoogleCloudAiplatformV1beta1DirectRawPredictRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1DirectRawPredictRequest
Returns a new instance of GoogleCloudAiplatformV1beta1DirectRawPredictRequest.
5967 5968 5969 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5967 def initialize(**args) update!(**args) end |
Instance Attribute Details
#input ⇒ String
The prediction input.
Corresponds to the JSON property input
NOTE: Values are automatically base64 encoded/decoded in the client library.
5958 5959 5960 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5958 def input @input end |
#method_name ⇒ String
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
5965 5966 5967 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5965 def method_name @method_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5972 5973 5974 5975 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5972 def update!(**args) @input = args[:input] if args.key?(:input) @method_name = args[:method_name] if args.key?(:method_name) end |