Class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ResponseFormat
- Inherits:
-
Object
- Object
- Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ResponseFormat
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firebaseml_v2beta/classes.rb,
lib/google/apis/firebaseml_v2beta/representations.rb,
lib/google/apis/firebaseml_v2beta/representations.rb
Overview
Configuration for the model to configure output formatting and delivery.
Instance Attribute Summary collapse
-
#audio ⇒ Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AudioResponseFormat
Configuration for audio-specific output formatting.
-
#image ⇒ Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ImageResponseFormat
Configuration for image-specific output formatting.
-
#text ⇒ Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1TextResponseFormat
Configuration for text-specific output formatting.
-
#video ⇒ Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VideoResponseFormat
Configuration for video-specific output formatting.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ResponseFormat
constructor
A new instance of GoogleCloudAiplatformV1beta1ResponseFormat.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ResponseFormat
Returns a new instance of GoogleCloudAiplatformV1beta1ResponseFormat.
3131 3132 3133 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 3131 def initialize(**args) update!(**args) end |
Instance Attribute Details
#audio ⇒ Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AudioResponseFormat
Configuration for audio-specific output formatting.
Corresponds to the JSON property audio
3114 3115 3116 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 3114 def audio @audio end |
#image ⇒ Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ImageResponseFormat
Configuration for image-specific output formatting.
Corresponds to the JSON property image
3119 3120 3121 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 3119 def image @image end |
#text ⇒ Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1TextResponseFormat
Configuration for text-specific output formatting.
Corresponds to the JSON property text
3124 3125 3126 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 3124 def text @text end |
#video ⇒ Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VideoResponseFormat
Configuration for video-specific output formatting.
Corresponds to the JSON property video
3129 3130 3131 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 3129 def video @video end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3136 3137 3138 3139 3140 3141 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 3136 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 |