Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPromptInstancePromptExecution

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

A prompt instance's parameters set that contains a set of variable values.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1SchemaPromptInstancePromptExecution

Returns a new instance of GoogleCloudAiplatformV1SchemaPromptInstancePromptExecution.



25470
25471
25472
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 25470

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

Instance Attribute Details

#argumentsHash<String,Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPromptInstanceVariableValue>

Maps variable names to their value. Corresponds to the JSON property arguments



25468
25469
25470
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 25468

def arguments
  @arguments
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



25475
25476
25477
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 25475

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