Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1VideoContent
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1VideoContent
- 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
-
#data ⇒ String
The video content.
-
#mime_type ⇒ String
The mime type of the video.
-
#resolution ⇒ String
The resolution of the media.
-
#uri ⇒ String
The URI of the video.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenaiVertexV1beta1VideoContent
constructor
A new instance of GenaiVertexV1beta1VideoContent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenaiVertexV1beta1VideoContent
Returns a new instance of GenaiVertexV1beta1VideoContent.
6350 6351 6352 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6350 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data ⇒ String
The video content.
Corresponds to the JSON property data
NOTE: Values are automatically base64 encoded/decoded in the client library.
6333 6334 6335 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6333 def data @data end |
#mime_type ⇒ String
The mime type of the video.
Corresponds to the JSON property mimeType
6338 6339 6340 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6338 def mime_type @mime_type end |
#resolution ⇒ String
The resolution of the media.
Corresponds to the JSON property resolution
6343 6344 6345 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6343 def resolution @resolution end |
#uri ⇒ String
The URI of the video.
Corresponds to the JSON property uri
6348 6349 6350 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6348 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6355 6356 6357 6358 6359 6360 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6355 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 |