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.



6817
6818
6819
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6817

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)


6798
6799
6800
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6798

def data
  @data
end

#mime_type_stringString

Flexible MIME type string of the video, superseding mime_type = 1. Note: Bespoke logic in the GAOS parser/serializer maps this to the "mime_type" JSON key. Corresponds to the JSON property mimeTypeString

Returns:

  • (String)


6805
6806
6807
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6805

def mime_type_string
  @mime_type_string
end

#resolutionString

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

Returns:

  • (String)


6810
6811
6812
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6810

def resolution
  @resolution
end

#uriString

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

Returns:

  • (String)


6815
6816
6817
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6815

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6822
6823
6824
6825
6826
6827
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6822

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