Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ResponseFormat

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

Configuration for the model to configure output formatting and delivery.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ResponseFormat

Returns a new instance of GoogleCloudAiplatformV1beta1ResponseFormat.



50331
50332
50333
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 50331

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

Instance Attribute Details

#audioGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AudioResponseFormat

Configuration for audio-specific output formatting. Corresponds to the JSON property audio



50314
50315
50316
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 50314

def audio
  @audio
end

#imageGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ImageResponseFormat

Configuration for image-specific output formatting. Corresponds to the JSON property image



50319
50320
50321
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 50319

def image
  @image
end

#textGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TextResponseFormat

Configuration for text-specific output formatting. Corresponds to the JSON property text



50324
50325
50326
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 50324

def text
  @text
end

#videoGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VideoResponseFormat

Configuration for video-specific output formatting. Corresponds to the JSON property video



50329
50330
50331
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 50329

def video
  @video
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



50336
50337
50338
50339
50340
50341
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 50336

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