Class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionReasonVideoResponseTextResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb

Overview

Contains text that is the response of the video captioning.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudAiLargeModelsVisionReasonVideoResponseTextResponse

Returns a new instance of CloudAiLargeModelsVisionReasonVideoResponseTextResponse.



347
348
349
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 347

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

Instance Attribute Details

#relative_temporal_partitionGoogle::Apis::AiplatformV1::CloudAiLargeModelsVisionRelativeTemporalPartition

For ease of use, assume that the start_offset is inclusive and the end_offset is exclusive. In mathematical terms, the partition would be written as [ start_offset, end_offset). Corresponds to the JSON property relativeTemporalPartition



340
341
342
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 340

def relative_temporal_partition
  @relative_temporal_partition
end

#textString

Text information Corresponds to the JSON property text

Returns:

  • (String)


345
346
347
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 345

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



352
353
354
355
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 352

def update!(**args)
  @relative_temporal_partition = args[:relative_temporal_partition] if args.key?(:relative_temporal_partition)
  @text = args[:text] if args.key?(:text)
end