Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1VideoResponseFormat

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenaiVertexV1beta1VideoResponseFormat

Returns a new instance of GenaiVertexV1beta1VideoResponseFormat.



6426
6427
6428
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6426

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#aspect_ratioString

The aspect ratio for the video output. Corresponds to the JSON property aspectRatio

Returns:

  • (String)


6408
6409
6410
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6408

def aspect_ratio
  @aspect_ratio
end

#deliveryString

The delivery mode for the video output. Corresponds to the JSON property delivery

Returns:

  • (String)


6413
6414
6415
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6413

def delivery
  @delivery
end

#durationString

The duration for the video output. Corresponds to the JSON property duration

Returns:

  • (String)


6418
6419
6420
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6418

def duration
  @duration
end

#gcs_uriString

The GCS URI to store the video output. Required for Vertex if delivery mode is URI. Corresponds to the JSON property gcsUri

Returns:

  • (String)


6424
6425
6426
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6424

def gcs_uri
  @gcs_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6431
6432
6433
6434
6435
6436
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6431

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