Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1VideoResponseFormat
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1VideoResponseFormat
- 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 output format.
Instance Attribute Summary collapse
-
#aspect_ratio ⇒ String
The aspect ratio for the video output.
-
#delivery ⇒ String
The delivery mode for the video output.
-
#duration ⇒ String
The duration for the video output.
-
#gcs_uri ⇒ String
The Cloud Storage URI to store the video output.
-
#resolution ⇒ String
The video output resolution.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenaiVertexV1beta1VideoResponseFormat
constructor
A new instance of GenaiVertexV1beta1VideoResponseFormat.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenaiVertexV1beta1VideoResponseFormat
Returns a new instance of GenaiVertexV1beta1VideoResponseFormat.
6938 6939 6940 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6938 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
6915 6916 6917 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6915 def aspect_ratio @aspect_ratio end |
#delivery ⇒ String
The delivery mode for the video output.
Corresponds to the JSON property delivery
6920 6921 6922 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6920 def delivery @delivery end |
#duration ⇒ String
The duration for the video output.
Corresponds to the JSON property duration
6925 6926 6927 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6925 def duration @duration end |
#gcs_uri ⇒ String
The Cloud Storage URI to store the video output. Required for Vertex if
delivery mode is URI.
Corresponds to the JSON property gcsUri
6931 6932 6933 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6931 def gcs_uri @gcs_uri end |
#resolution ⇒ String
The video output resolution. Defaults to 720p.
Corresponds to the JSON property resolution
6936 6937 6938 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6936 def resolution @resolution end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6943 6944 6945 6946 6947 6948 6949 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6943 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 |