Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ResponseFormat
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ResponseFormat
- 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
-
#audio ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AudioResponseFormat
Configuration for audio-specific output formatting.
-
#image ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ImageResponseFormat
Configuration for image-specific output formatting.
-
#text ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TextResponseFormat
Configuration for text-specific output formatting.
-
#video ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VideoResponseFormat
Configuration for video-specific output formatting.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1ResponseFormat
constructor
A new instance of GoogleCloudAiplatformV1ResponseFormat.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1ResponseFormat
Returns a new instance of GoogleCloudAiplatformV1ResponseFormat.
34646 34647 34648 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 34646 def initialize(**args) update!(**args) end |
Instance Attribute Details
#audio ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AudioResponseFormat
Configuration for audio-specific output formatting.
Corresponds to the JSON property audio
34629 34630 34631 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 34629 def audio @audio end |
#image ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ImageResponseFormat
Configuration for image-specific output formatting.
Corresponds to the JSON property image
34634 34635 34636 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 34634 def image @image end |
#text ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TextResponseFormat
Configuration for text-specific output formatting.
Corresponds to the JSON property text
34639 34640 34641 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 34639 def text @text end |
#video ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VideoResponseFormat
Configuration for video-specific output formatting.
Corresponds to the JSON property video
34644 34645 34646 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 34644 def video @video end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
34651 34652 34653 34654 34655 34656 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 34651 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 |