Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VideoResponseFormat

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1VideoResponseFormat

Returns a new instance of GoogleCloudAiplatformV1VideoResponseFormat.



52555
52556
52557
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 52555

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)


52531
52532
52533
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 52531

def aspect_ratio
  @aspect_ratio
end

#deliveryString

Optional. Delivery mode for the generated content. Corresponds to the JSON property delivery

Returns:

  • (String)


52536
52537
52538
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 52536

def delivery
  @delivery
end

#durationString

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

Returns:

  • (String)


52541
52542
52543
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 52541

def duration
  @duration
end

#gcs_uriString

Optional. The Google Cloud Storage URI to store the video output. Required for Vertex if delivery is URI. Corresponds to the JSON property gcsUri

Returns:

  • (String)


52547
52548
52549
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 52547

def gcs_uri
  @gcs_uri
end

#resolutionString

Optional. The video output resolution. Supported values: "360p", "720p", " 1080p", "4k". Corresponds to the JSON property resolution

Returns:

  • (String)


52553
52554
52555
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 52553

def resolution
  @resolution
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



52560
52561
52562
52563
52564
52565
52566
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 52560

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