Google Quantum AI · API Governance Rules
Google Quantum AI API Rules
Spectral linting rules defining API design standards and conventions for Google Quantum AI.
9 Rules
error 4
warn 4
info 1
Rule Categories
google
Rules
error
google-quantum-ai-info-contact
Google Quantum AI specs must declare a contact (cirq-maintainers).
$.info
error
google-quantum-ai-info-license
Google Quantum AI specs must declare a license.
$.info
error
google-quantum-ai-server-quantum-googleapis
Servers must use the canonical quantum.googleapis.com host.
$.servers[*].url
warn
google-quantum-ai-version-prefix
Quantum Engine paths must be prefixed with the API version (v1alpha1).
$.paths.*~
warn
google-quantum-ai-operation-id-pascal-case
Operation IDs follow Google's PascalCase convention (e.g., CreateQuantumProgram).
$.paths.*.*.operationId
warn
google-quantum-ai-summary-title-case
Operation summaries should be in Title Case.
$.paths.*.*.summary
warn
google-quantum-ai-tag-defined
Every operation must be tagged with one of the Quantum Engine domain tags.
$.paths.*.*.tags[*]
error
google-quantum-ai-oauth-required
All operations should require Google Cloud OAuth 2.0.
$.security
info
google-quantum-ai-resource-name-pattern
Path parameters named `name` should describe a Quantum Engine resource hierarchy.
$.paths..parameters[?(@.name == 'name')]