Class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VideoResponseFormat
- Inherits:
-
Object
- Object
- Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VideoResponseFormat
- 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 video-specific output formatting.
Instance Attribute Summary collapse
-
#aspect_ratio ⇒ String
The aspect ratio for the video output.
-
#delivery ⇒ String
Optional.
-
#duration ⇒ String
Optional.
-
#gcs_uri ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1VideoResponseFormat
constructor
A new instance of GoogleCloudAiplatformV1beta1VideoResponseFormat.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1VideoResponseFormat
Returns a new instance of GoogleCloudAiplatformV1beta1VideoResponseFormat.
4313 4314 4315 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 4313 def initialize(**args) update!(**args) end |
Instance Attribute Details
#aspect_ratio ⇒ String
The aspect ratio for the video output.
Corresponds to the JSON property aspectRatio
4295 4296 4297 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 4295 def aspect_ratio @aspect_ratio end |
#delivery ⇒ String
Optional. Delivery mode for the generated content.
Corresponds to the JSON property delivery
4300 4301 4302 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 4300 def delivery @delivery end |
#duration ⇒ String
Optional. The duration for the video output.
Corresponds to the JSON property duration
4305 4306 4307 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 4305 def duration @duration end |
#gcs_uri ⇒ String
Optional. The Google Cloud Storage URI to store the video output. Required for
Vertex if delivery is URI.
Corresponds to the JSON property gcsUri
4311 4312 4313 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 4311 def gcs_uri @gcs_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4318 4319 4320 4321 4322 4323 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 4318 def update!(**args) @aspect_ratio = args[:aspect_ratio] if args.key?(:aspect_ratio) @delivery = args[:delivery] if args.key?(:delivery) @duration = args[:duration] if args.key?(:duration) @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri) end |