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.



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

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



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

def relative_temporal_partition
  @relative_temporal_partition
end

#textString

Text information Corresponds to the JSON property text

Returns:

  • (String)


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

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



358
359
360
361
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 358

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