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.



6802
6803
6804
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6802

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)


6773
6774
6775
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6773

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)


6780
6781
6782
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6780

def mime_type_string
  @mime_type_string
end

#processing_configGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1VideoContentMediaProcessing

Corresponds to the JSON property processingConfig



6785
6786
6787
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6785

def processing_config
  @processing_config
end

#processing_typeString

Corresponds to the JSON property processingType

Returns:

  • (String)


6790
6791
6792
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6790

def processing_type
  @processing_type
end

#resolutionString

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

Returns:

  • (String)


6795
6796
6797
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6795

def resolution
  @resolution
end

#uriString

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

Returns:

  • (String)


6800
6801
6802
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6800

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6807
6808
6809
6810
6811
6812
6813
6814
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6807

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