Class: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartVideoMetadata

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

Metadata describes the input video content.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudAiNlLlmProtoServicePartVideoMetadata

Returns a new instance of CloudAiNlLlmProtoServicePartVideoMetadata.



928
929
930
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 928

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

Instance Attribute Details

#end_offsetString

The end offset of the video. Corresponds to the JSON property endOffset

Returns:

  • (String)


921
922
923
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 921

def end_offset
  @end_offset
end

#start_offsetString

The start offset of the video. Corresponds to the JSON property startOffset

Returns:

  • (String)


926
927
928
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 926

def start_offset
  @start_offset
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



933
934
935
936
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 933

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