Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ResponseFormat

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenaiVertexV1beta1ResponseFormat

Returns a new instance of GenaiVertexV1beta1ResponseFormat.



4650
4651
4652
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4650

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

Instance Attribute Details

#audioGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1AudioResponseFormat

Configuration for audio output format. Corresponds to the JSON property audio



4627
4628
4629
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4627

def audio
  @audio
end

#imageGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1ImageResponseFormat

Configuration for image output format. Corresponds to the JSON property image



4632
4633
4634
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4632

def image
  @image
end

#struct_valueGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1Struct

Struct represents a structured data value, consisting of fields which map to dynamically typed values. Corresponds to the JSON property structValue



4638
4639
4640
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4638

def struct_value
  @struct_value
end

#textGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1TextResponseFormat

Configuration for text output format. Corresponds to the JSON property text



4643
4644
4645
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4643

def text
  @text
end

#videoGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1VideoResponseFormat

Configuration for video output format. Corresponds to the JSON property video



4648
4649
4650
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4648

def video
  @video
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4655
4656
4657
4658
4659
4660
4661
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4655

def update!(**args)
  @audio = args[:audio] if args.key?(:audio)
  @image = args[:image] if args.key?(:image)
  @struct_value = args[:struct_value] if args.key?(:struct_value)
  @text = args[:text] if args.key?(:text)
  @video = args[:video] if args.key?(:video)
end