Class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VideoResponseFormat

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/firebaseml_v2beta/classes.rb,
lib/google/apis/firebaseml_v2beta/representations.rb,
lib/google/apis/firebaseml_v2beta/representations.rb

Overview

Configuration for video-specific output formatting.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1VideoResponseFormat

Returns a new instance of GoogleCloudAiplatformV1beta1VideoResponseFormat.



4292
4293
4294
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 4292

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)


4274
4275
4276
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 4274

def aspect_ratio
  @aspect_ratio
end

#deliveryString

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

Returns:

  • (String)


4279
4280
4281
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 4279

def delivery
  @delivery
end

#durationString

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

Returns:

  • (String)


4284
4285
4286
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 4284

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)


4290
4291
4292
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 4290

def gcs_uri
  @gcs_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4297
4298
4299
4300
4301
4302
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 4297

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