Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngineSpec

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

Overview

ReasoningEngine configurations

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1ReasoningEngineSpec

Returns a new instance of GoogleCloudAiplatformV1ReasoningEngineSpec.



24764
24765
24766
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 24764

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

Instance Attribute Details

#agent_frameworkString

Optional. The OSS agent framework used to develop the agent. Currently supported values: "google-adk", "langchain", "langgraph", "ag2", "llama-index", "custom". Corresponds to the JSON property agentFramework

Returns:

  • (String)


24746
24747
24748
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 24746

def agent_framework
  @agent_framework
end

#class_methodsArray<Hash<String,Object>>

Optional. Declarations for object class methods in OpenAPI specification format. Corresponds to the JSON property classMethods

Returns:

  • (Array<Hash<String,Object>>)


24752
24753
24754
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 24752

def class_methods
  @class_methods
end

#deployment_specGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec

The specification of a Reasoning Engine deployment. Corresponds to the JSON property deploymentSpec



24757
24758
24759
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 24757

def deployment_spec
  @deployment_spec
end

#package_specGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec

User provided package spec like pickled object and package requirements. Corresponds to the JSON property packageSpec



24762
24763
24764
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 24762

def package_spec
  @package_spec
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



24769
24770
24771
24772
24773
24774
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 24769

def update!(**args)
  @agent_framework = args[:agent_framework] if args.key?(:agent_framework)
  @class_methods = args[:class_methods] if args.key?(:class_methods)
  @deployment_spec = args[:deployment_spec] if args.key?(:deployment_spec)
  @package_spec = args[:package_spec] if args.key?(:package_spec)
end