@@ -7,6 +7,9 @@ import "com/coralogixapis/notification_center/connectors/v1/connector.proto";
7
7
import "google/protobuf/descriptor.proto" ;
8
8
import "google/api/annotations.proto" ;
9
9
import "protoc-gen-openapiv2/options/annotations.proto" ;
10
+ import "com/coralogixapis/notification_center/common/v1/identifier.proto" ;
11
+
12
+ option go_package = "com/coralogixapis/notification_center/connectors/v1" ;
10
13
11
14
// Public API that allows managing connectors.
12
15
service ConnectorsService {
@@ -138,7 +141,9 @@ message DeleteConnectorRequest {
138
141
description : "Find out more about notification center"
139
142
}
140
143
};
141
- string id = 1 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field ) = { example : "\"connector-id\"" }];
144
+ string deprecated_id = 1 [deprecated = true ];
145
+ ConnectorIdentifier identifier = 2 [deprecated = true ];
146
+ string id = 3 ;
142
147
}
143
148
144
149
message DeleteConnectorResponse {
@@ -156,7 +161,10 @@ message GetConnectorRequest {
156
161
description : "Find out more about notification center"
157
162
}
158
163
};
159
- string id = 1 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field ) = { example : "\"connector-id\"" }];
164
+
165
+ string deprecated_id = 1 [deprecated = true ];
166
+ ConnectorIdentifier identifier = 2 [deprecated = true ];
167
+ string id = 3 ;
160
168
}
161
169
162
170
message GetConnectorResponse {
@@ -175,8 +183,7 @@ message GetConnectorResponse {
175
183
}
176
184
177
185
message ListConnectorsRequest {
178
- // Deprecated with the introduction of Global connectors.
179
- reserved 3 ;
186
+ reserved 2 , 3 ;
180
187
reserved "entity_type" ;
181
188
182
189
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema ) = {
@@ -191,7 +198,6 @@ message ListConnectorsRequest {
191
198
}
192
199
};
193
200
ConnectorType connector_type = 1 ;
194
- repeated OrderBy order_bys = 2 ;
195
201
}
196
202
197
203
message ListConnectorsResponse {
@@ -221,7 +227,9 @@ message BatchGetConnectorsRequest {
221
227
description : "Find out more about notification center"
222
228
}
223
229
};
224
- repeated string ids = 1 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field ) = { example : "[\"connector-id-1\", \"connector-id-2\"]" }];
230
+ repeated string deprecated_ids = 1 [deprecated = true ];
231
+ repeated ConnectorIdentifier deprecated_identifiers = 2 [deprecated = true ];
232
+ repeated string ids = 3 ;
225
233
}
226
234
227
235
message BatchGetConnectorsResponse {
@@ -252,7 +260,9 @@ message BatchGetConnectorSummariesRequest {
252
260
description : "Find out more about notification center"
253
261
}
254
262
};
255
- repeated string ids = 1 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field ) = { example : "[\"connector-id-1\", \"connector-id-2\"]" }];
263
+ repeated string deprecated_ids = 1 [deprecated = true ];
264
+ repeated ConnectorIdentifier deprecated_identifiers = 2 [deprecated = true ];
265
+ repeated string ids = 3 ;
256
266
}
257
267
message BatchGetConnectorSummariesResponse {
258
268
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema ) = {
@@ -285,8 +295,7 @@ message GetConnectorTypeSummariesRequest {
285
295
}
286
296
287
297
message ListConnectorSummariesRequest {
288
- // Deprecated with the introduction of Global connectors.
289
- reserved 3 ;
298
+ reserved 2 , 3 ;
290
299
reserved "entity_type" ;
291
300
292
301
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema ) = {
@@ -301,7 +310,6 @@ message ListConnectorSummariesRequest {
301
310
}
302
311
};
303
312
ConnectorType connector_type = 1 ;
304
- repeated OrderBy order_bys = 2 ;
305
313
}
306
314
message ListConnectorSummariesResponse {
307
315
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema ) = {
@@ -315,7 +323,7 @@ message ListConnectorSummariesResponse {
315
323
description : "Find out more about notification center"
316
324
}
317
325
};
318
- repeated ConnectorSummary connector_summaries = 1 ;
326
+ repeated ConnectorSummary connectors = 1 ;
319
327
}
320
328
321
329
message GetConnectorTypeSummariesResponse {
0 commit comments