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.



35090
35091
35092
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 35090

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



35073
35074
35075
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 35073

def audio
  @audio
end

#imageGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1ImageResponseFormat

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



35078
35079
35080
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 35078

def image
  @image
end

#textGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1TextResponseFormat

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



35083
35084
35085
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 35083

def text
  @text
end

#videoGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1VideoResponseFormat

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



35088
35089
35090
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 35088

def video
  @video
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35095
35096
35097
35098
35099
35100
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 35095

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