Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1UserInputStep

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

Input provided by the user.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenaiVertexV1beta1UserInputStep

Returns a new instance of GenaiVertexV1beta1UserInputStep.



5643
5644
5645
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5643

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

Instance Attribute Details

#content_listGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1ContentList

A list of Content. Corresponds to the JSON property contentList



5636
5637
5638
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5636

def content_list
  @content_list
end

#content_stringString

The content of the step. A single string. Corresponds to the JSON property contentString

Returns:

  • (String)


5641
5642
5643
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5641

def content_string
  @content_string
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5648
5649
5650
5651
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5648

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