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.



47984
47985
47986
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 47984

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



47967
47968
47969
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 47967

def audio
  @audio
end

#imageGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ImageResponseFormat

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



47972
47973
47974
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 47972

def image
  @image
end

#textGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TextResponseFormat

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



47977
47978
47979
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 47977

def text
  @text
end

#videoGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VideoResponseFormat

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



47982
47983
47984
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 47982

def video
  @video
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



47989
47990
47991
47992
47993
47994
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 47989

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