Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VideoResponseFormat
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VideoResponseFormat
- 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 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) ⇒ GoogleCloudAiplatformV1VideoResponseFormat
constructor
A new instance of GoogleCloudAiplatformV1VideoResponseFormat.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1VideoResponseFormat
Returns a new instance of GoogleCloudAiplatformV1VideoResponseFormat.
51307 51308 51309 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 51307 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
51289 51290 51291 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 51289 def aspect_ratio @aspect_ratio end |
#delivery ⇒ String
Optional. Delivery mode for the generated content.
Corresponds to the JSON property delivery
51294 51295 51296 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 51294 def delivery @delivery end |
#duration ⇒ String
Optional. The duration for the video output.
Corresponds to the JSON property duration
51299 51300 51301 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 51299 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
51305 51306 51307 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 51305 def gcs_uri @gcs_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
51312 51313 51314 51315 51316 51317 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 51312 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 |