syntax = "proto3"; package onprem.user.v1; option go_package = "gitlab.com/on-prem-net/protocol/onprem/user/v1;userproto"; import "onprem/user/v1/data_source.proto"; import "onprem/user/v1/error.proto"; message DataSourceFilter { optional string name = 1; reserved 2; optional string owner_team_id = 3; optional string owner_user_id = 4; } message CreateDataSourceRequest { DataSource data_source = 1; } message CreateDataSourceResponse { DataSource data_source = 1; } message DeleteDataSourceRequest { string id = 1; } message DeleteDataSourceResponse { } message FindDataSourceRequest { string id = 1; } message FindDataSourceResponse { DataSource data_source = 1; } message FindDataSourcesRequest { DataSourceFilter filter = 1; } message FindDataSourcesResponse { repeated DataSource data_sources = 1; } message UpdateDataSourceRequest { DataSource data_source = 1; } message UpdateDataSourceResponse { DataSource data_source = 1; } message ValidateDataSourceRequest { DataSource data_source = 1; } message ValidateDataSourceResponse { repeated ErrorObject errors = 1; }