Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1VideoContent

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

A video content block.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenaiVertexV1beta1VideoContent

Returns a new instance of GenaiVertexV1beta1VideoContent.



5293
5294
5295
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5293

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

Instance Attribute Details

#dataString

The video content. Corresponds to the JSON property data NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


5276
5277
5278
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5276

def data
  @data
end

#mime_typeString

The mime type of the video. Corresponds to the JSON property mime_type

Returns:

  • (String)


5281
5282
5283
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5281

def mime_type
  @mime_type
end

#resolutionString

The resolution of the media. Corresponds to the JSON property resolution

Returns:

  • (String)


5286
5287
5288
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5286

def resolution
  @resolution
end

#uriString

The URI of the video. Corresponds to the JSON property uri

Returns:

  • (String)


5291
5292
5293
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5291

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5298
5299
5300
5301
5302
5303
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5298

def update!(**args)
  @data = args[:data] if args.key?(:data)
  @mime_type = args[:mime_type] if args.key?(:mime_type)
  @resolution = args[:resolution] if args.key?(:resolution)
  @uri = args[:uri] if args.key?(:uri)
end