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.



25876
25877
25878
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 25876

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)


25858
25859
25860
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 25858

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


25864
25865
25866
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 25864

def class_methods
  @class_methods
end

#deployment_specGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec

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



25869
25870
25871
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 25869

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



25874
25875
25876
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 25874

def package_spec
  @package_spec
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



25881
25882
25883
25884
25885
25886
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 25881

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