Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1QueryReasoningEngineRequest

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 ReasoningEngineExecutionService.Query.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1QueryReasoningEngineRequest

Returns a new instance of GoogleCloudAiplatformV1beta1QueryReasoningEngineRequest.



25416
25417
25418
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 25416

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

Instance Attribute Details

#class_methodString

Optional. Class method to be used for the query. It is optional and defaults to "query" if unspecified. Corresponds to the JSON property classMethod

Returns:

  • (String)


25408
25409
25410
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 25408

def class_method
  @class_method
end

#inputHash<String,Object>

Optional. Input content provided by users in JSON object format. Examples include text query, function calling parameters, media bytes, etc. Corresponds to the JSON property input

Returns:

  • (Hash<String,Object>)


25414
25415
25416
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 25414

def input
  @input
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



25421
25422
25423
25424
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 25421

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