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.



25731
25732
25733
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 25731

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)


25713
25714
25715
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 25713

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>>)


25719
25720
25721
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 25719

def class_methods
  @class_methods
end

#deployment_specGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec

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



25724
25725
25726
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 25724

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



25729
25730
25731
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 25729

def package_spec
  @package_spec
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



25736
25737
25738
25739
25740
25741
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 25736

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