Skip to content

Commit

Permalink
Merge b726425 into 49b9539
Browse files Browse the repository at this point in the history
  • Loading branch information
jvallesm authored Sep 5, 2024
2 parents 49b9539 + b726425 commit de4a470
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions vdp/pipeline/v1beta/integration.proto
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,17 @@ message CreateNamespaceConnectionResponse {
// UpdateNamespaceConnectionRequest represents a request to update a
// connection.
message UpdateNamespaceConnectionRequest {
// Properties of the connection to be updated.
Connection connection = 1 [(google.api.field_behavior) = REQUIRED];
// ID of the connection to be updated, as present in the database.
string connection_id = 1 [(google.api.field_behavior) = REQUIRED];
// Connection object with the new properties to be updated. Immutable and
// output-only fields will be ignored. The Setup property must be updated
// in block (no partial update is supported).
Connection connection = 2 [(google.api.field_behavior) = REQUIRED];
// The update mask specifies the subset of fields that should be modified.
//
// For more information about this field, see
// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#field-mask.
google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED];
google.protobuf.FieldMask update_mask = 3 [(google.api.field_behavior) = REQUIRED];
}

// UpdateNamespaceConnectionResponse contains the updated connection.
Expand Down
2 changes: 1 addition & 1 deletion vdp/pipeline/v1beta/pipeline_public_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1541,7 +1541,7 @@ service PipelinePublicService {
// Updates a connection with the supplied connection fields.
rpc UpdateNamespaceConnection(UpdateNamespaceConnectionRequest) returns (UpdateNamespaceConnectionResponse) {
option (google.api.http) = {
patch: "/v1beta/namespaces/{connection.namespace_id}/connections/{connection.id}"
patch: "/v1beta/namespaces/{connection.namespace_id}/connections/{connection_id}"
body: "connection"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {tags: "Integration"};
Expand Down

0 comments on commit de4a470

Please sign in to comment.