Class: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartVideoMetadataModelLevelMetadata
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartVideoMetadataModelLevelMetadata
- 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
-
#fps ⇒ Float
Frame rate to decode from this video.
-
#num_frames ⇒ Fixnum
Number of frames to decode from this video.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudAiNlLlmProtoServicePartVideoMetadataModelLevelMetadata
constructor
A new instance of CloudAiNlLlmProtoServicePartVideoMetadataModelLevelMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#fps ⇒ Float
Frame rate to decode from this video.
Corresponds to the JSON property fps
914 915 916 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 914 def fps @fps end |
#num_frames ⇒ Fixnum
Number of frames to decode from this video.
Corresponds to the JSON property numFrames
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 |