Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaPromptInstancePromptExecution

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/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) ⇒ GoogleCloudAiplatformV1beta1SchemaPromptInstancePromptExecution

Returns a new instance of GoogleCloudAiplatformV1beta1SchemaPromptInstancePromptExecution.



31908
31909
31910
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 31908

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

Instance Attribute Details

#argumentsHash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaPromptInstanceVariableValue>

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



31906
31907
31908
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 31906

def arguments
  @arguments
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



31913
31914
31915
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 31913

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