Repository navigation
feat(cli): validate --processing and --resolution against generated enums and API version - #272
Open
copybara-service[bot] wants to merge 1 commit into
Open
copybara-service[bot] wants to merge 1 commit into
copybara-service[bot] wants to merge 1 commit into
Conversation
copybara-service
Bot
force-pushed
the
copybara/1036209720
branch
2 times, most recently
from
December 4, 2026 14:52
788197c to
b389691
Compare
…nums and API version - Validate --processing and --resolution values against generated per-modality enums and surface valid schema values in usage error hints. - Scope media fields by modality and API version (document and audio fields are v1beta-only; v1 skips them in mixed calls and hints --api-version v1beta when no input accepts the flag on v1). - Preview a video block on --dry-run for untyped files/<id> handles when a video-only processing mode is requested. - Add contract tests in media_options_test.go covering validation, case insensitivity, per-modality scoping, v1/v1beta behavior, and dry-run previews. PiperOrigin-RevId: 1036209720
copybara-service
Bot
force-pushed
the
copybara/1036209720
branch
from
December 4, 2026 15:25
b389691 to
4bf61ca
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat(cli): validate --processing and --resolution against generated enums and API version
enums and surface valid schema values in usage error hints.
v1beta-only; v1 skips them in mixed calls and hints --api-version v1beta when
no input accepts the flag on v1).
video-only processing mode is requested.
insensitivity, per-modality scoping, v1/v1beta behavior, and dry-run previews.