|
1 | | -// Copyright 2024 Google LLC |
| 1 | +// Copyright 2025 Google LLC |
2 | 2 | // |
3 | 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
4 | 4 | // you may not use this file except in compliance with the License. |
|
16 | 16 | //adopted from third_party/firebase/dataconnect/emulator/server/api/connector_service.proto |
17 | 17 | syntax = "proto3"; |
18 | 18 |
|
19 | | -package google.firebase.dataconnect.v1beta; |
| 19 | +package google.firebase.dataconnect.v1; |
20 | 20 |
|
21 | 21 | import "google/api/annotations.proto"; |
22 | 22 | import "google/api/field_behavior.proto"; |
23 | 23 | import "google/protobuf/struct.proto"; |
24 | 24 | import "graphql_error.proto"; |
25 | 25 |
|
26 | | -option java_package = "com.google.firebase.dataconnect.v1beta"; |
| 26 | +option java_package = "com.google.firebase.dataconnect.v1"; |
27 | 27 | option java_multiple_files = true; |
28 | 28 | option java_outer_classname = "ConnectorServiceProto"; |
29 | 29 |
|
30 | 30 | service ConnectorService { |
31 | 31 | // Execute a predefined query in a Connector. |
32 | | - rpc ExecuteQuery(ExecuteQueryRequest) returns (ExecuteQueryResponse) { |
33 | | - option (google.api.http) = { |
34 | | - post: "/v1alpha/{name=projects/*/locations/*/services/*/connectors/*}:executeQuery" |
35 | | - body: "*" |
36 | | - additional_bindings { |
37 | | - post: "/v1beta/{name=projects/*/locations/*/services/*/connectors/*}:executeQuery" |
38 | | - body: "*" |
39 | | - } |
40 | | - }; |
41 | | - } |
| 32 | + rpc ExecuteQuery(ExecuteQueryRequest) returns (ExecuteQueryResponse) {} |
42 | 33 |
|
43 | 34 | // Execute a predefined mutation in a Connector. |
44 | 35 | rpc ExecuteMutation(ExecuteMutationRequest) |
45 | | - returns (ExecuteMutationResponse) { |
46 | | - option (google.api.http) = { |
47 | | - post: "/v1alpha/{name=projects/*/locations/*/services/*/connectors/*}:executeMutation" |
48 | | - body: "*" |
49 | | - additional_bindings { |
50 | | - post: "/v1beta/{name=projects/*/locations/*/services/*/connectors/*}:executeMutation" |
51 | | - body: "*" |
52 | | - } |
53 | | - }; |
54 | | - } |
| 36 | + returns (ExecuteMutationResponse) {} |
55 | 37 | } |
56 | 38 |
|
57 | 39 | // The ExecuteQuery request to Firebase Data Connect. |
|
0 commit comments