Class: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartVideoMetadataModelLevelMetadata

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

Internal only fields

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudAiNlLlmProtoServicePartVideoMetadataModelLevelMetadata

Returns a new instance of CloudAiNlLlmProtoServicePartVideoMetadataModelLevelMetadata.



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

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

Instance Attribute Details

#fpsFloat

Frame rate to decode from this video. Corresponds to the JSON property fps

Returns:

  • (Float)


914
915
916
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 914

def fps
  @fps
end

#num_framesFixnum

Number of frames to decode from this video. Corresponds to the JSON property numFrames

Returns:

  • (Fixnum)


919
920
921
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 919

def num_frames
  @num_frames
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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