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.



31470
31471
31472
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 31470

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



31468
31469
31470
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 31468

def arguments
  @arguments
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



31475
31476
31477
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 31475

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