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.



5996
5997
5998
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5996

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)


5979
5980
5981
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5979

def data
  @data
end

#mime_typeString

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

Returns:

  • (String)


5984
5985
5986
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5984

def mime_type
  @mime_type
end

#resolutionString

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

Returns:

  • (String)


5989
5990
5991
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5989

def resolution
  @resolution
end

#uriString

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

Returns:

  • (String)


5994
5995
5996
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5994

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6001
6002
6003
6004
6005
6006
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6001

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