googleapis / googleapis/python-aiplatform

fps option is missing in VideoMetadata

Open
#6,073 0 comments 0 reactions 0 assignees View on GitHub
api: vertex-ai
Dominant language
Python
Stars
905
Forks
465
Avg merge
1d 13h
Merged PRs (30d)
44

Description

FPS option is missed in `class VideoMetadata(proto.Message)` in types/content.py

It should exist according to both docs (v1 and v1beta1):
https://cloud.google.com/vertex-ai/generative-ai/docs/reference/rest/v1/Content
https://cloud.google.com/vertex-ai/generative-ai/docs/reference/rest/v1beta1/Content

And also is existent in VideoMetadata in `content.proto`:
https://github.com/googleapis/googleapis/blob/97763d6efb2d35474e0363c254ee6994837a08fa/google/ai/generativelanguage/v1/content.proto#L107
as:
```
message VideoMetadata {
// Optional. The start offset of the video.
google.protobuf.Duration start_offset = 1
[(google.api.field_behavior) = OPTIONAL];

// Optional. The end offset of the video.
google.protobuf.Duration end_offset = 2
[(google.api.field_behavior) = OPTIONAL];

// Optional. The frame rate of the video sent to the model. If not specified,
// the default value will be 1.0. The fps range is (0.0, 24.0].
double fps = 3 [(google.api.field_behavior) = OPTIONAL];
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.