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.



45528
45529
45530
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 45528

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



45526
45527
45528
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 45526

def arguments
  @arguments
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



45533
45534
45535
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 45533

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