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.



50569
50570
50571
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 50569

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



50567
50568
50569
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 50567

def arguments
  @arguments
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



50574
50575
50576
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 50574

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