Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VideoResponseFormat
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VideoResponseFormat
- 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 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.
-
#resolution ⇒ 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.
69324 69325 69326 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 69324 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
69300 69301 69302 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 69300 def aspect_ratio @aspect_ratio end |
#delivery ⇒ String
Optional. Delivery mode for the generated content.
Corresponds to the JSON property delivery
69305 69306 69307 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 69305 def delivery @delivery end |
#duration ⇒ String
Optional. The duration for the video output.
Corresponds to the JSON property duration
69310 69311 69312 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 69310 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
69316 69317 69318 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 69316 def gcs_uri @gcs_uri end |
#resolution ⇒ String
Optional. The video output resolution. Supported values: "360p", "720p", "
1080p", "4k".
Corresponds to the JSON property resolution
69322 69323 69324 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 69322 def resolution @resolution end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
69329 69330 69331 69332 69333 69334 69335 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 69329 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) @resolution = args[:resolution] if args.key?(:resolution) end |