Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ResponseFormat

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/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) ⇒ GoogleCloudAiplatformV1ResponseFormat

Returns a new instance of GoogleCloudAiplatformV1ResponseFormat.



35603
35604
35605
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 35603

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

Instance Attribute Details

#audioGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1AudioResponseFormat

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



35586
35587
35588
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 35586

def audio
  @audio
end

#imageGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1ImageResponseFormat

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



35591
35592
35593
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 35591

def image
  @image
end

#textGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1TextResponseFormat

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



35596
35597
35598
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 35596

def text
  @text
end

#videoGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1VideoResponseFormat

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



35601
35602
35603
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 35601

def video
  @video
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35608
35609
35610
35611
35612
35613
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 35608

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