Skip to content

Annotate immutable fields with google.api.field_behavior IMMUTABLE - #488

Merged
Robert-Stam merged 1 commit into
mainfrom
feat/annotate-immutable-fields
Sep 8, 2026
Merged

Robert-Stam merged 1 commit into
mainfrom
feat/annotate-immutable-fields

Conversation

@qdrant-cloud-bot

Copy link
Copy Markdown
Contributor

Summary

  • Annotate fields already documented as fixed after create with [(google.api.field_behavior) = IMMUTABLE]:
    • Cluster.cloud_provider_id / cloud_provider_region_id
    • Space.cloud_provider_id / cloud_provider_region_id
    • DatabaseApiKey (v1) cluster_ids
    • HybridCloudEnvironmentConfiguration.namespace (readonly after bootstrapping)
  • Regenerate Go/Python/TypeScript/OpenAPI bindings.

Follow-up to #487 (OUTPUT_ONLY). No INPUT_ONLY candidates were found earlier.

Test plan

  • make lint / make generate succeed
  • Spot-check OpenAPI/proto for the six annotated fields
  • Confirm wire payloads unchanged (annotation-only)

Mark fields the API already describes as fixed after create (cloud provider
and region, database API key cluster_ids, hybrid namespace) with
google.api.field_behavior = IMMUTABLE.
@qdrant-cloud-bot
qdrant-cloud-bot requested a review from a team as a code owner September 8, 2026 15:09
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

PR Packages Published

Python Package:

  • Version: 0.182.0.dev488+bd0b59a
  • Package: qdrant-cloud-public-api
  • Registry: https://us-python.pkg.dev/qdrant-cloud/python/
  • To update run: uv add qdrant-cloud-public-api==0.182.0.dev488+bd0b59a

NPM Package:

  • Version: 0.182.0-dev488.bd0b59a
  • Package: @qdrant/qdrant-cloud-public-api
  • Registry: https://us-npm.pkg.dev/qdrant-cloud/npm/
  • To update run: npm install @qdrant/qdrant-cloud-public-api@0.182.0-dev488.bd0b59a

@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

The latest Buf updates on your PR. Results from workflow Pull Request / linting (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedSep 8, 2026, 3:09 PM

@Robert-Stam Robert-Stam self-assigned this Sep 8, 2026
@Robert-Stam
Robert-Stam merged commit 6e71fce into main Sep 8, 2026
11 checks passed
@Robert-Stam
Robert-Stam deleted the feat/annotate-immutable-fields branch September 8, 2026 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants