Skip to content

Commit

Permalink
chore(integration): mark connection.namespace_id as output-only (#502)
Browse files Browse the repository at this point in the history
Because

- The creation / update requests use an explicit parameter for this info
  (instead of the value in the nested object), so this field has become
  output-only.


This commit

- Updates the field behaviour of `connection.namespace_id`

---------

Co-authored-by: droplet-bot <[email protected]>
  • Loading branch information
jvallesm and droplet-bot authored Oct 28, 2024
1 parent 9d69b5c commit f5750c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion openapi/v2/service.swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6081,6 +6081,7 @@ definitions:
namespaceId:
type: string
description: ID of the namespace owning the connection.
readOnly: true
integrationId:
type: string
description: |-
Expand Down Expand Up @@ -6151,7 +6152,6 @@ definitions:
used by several components and pipelines.
required:
- id
- namespaceId
- integrationId
- method
- setup
Expand Down
5 changes: 1 addition & 4 deletions vdp/pipeline/v1beta/integration.proto
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,7 @@ message Connection {
// ID.
string id = 2 [(google.api.field_behavior) = REQUIRED];
// ID of the namespace owning the connection.
string namespace_id = 3 [
(google.api.field_behavior) = REQUIRED,
(google.api.field_behavior) = IMMUTABLE
];
string namespace_id = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
// Integration ID. It determines for which type of components can reference
// this connection.
string integration_id = 4 [
Expand Down

0 comments on commit f5750c2

Please sign in to comment.