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.



25404
25405
25406
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 25404

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)


25386
25387
25388
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 25386

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


25392
25393
25394
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 25392

def class_methods
  @class_methods
end

#deployment_specGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec

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



25397
25398
25399
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 25397

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



25402
25403
25404
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 25402

def package_spec
  @package_spec
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



25409
25410
25411
25412
25413
25414
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 25409

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