-
Notifications
You must be signed in to change notification settings - Fork 12
/
ydb_scheme_v1.proto
33 lines (23 loc) · 1.18 KB
/
ydb_scheme_v1.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
syntax = "proto3";
package Ydb.Scheme.V1;
option go_package = "github.com/ydb-platform/ydb-go-genproto/Ydb_Scheme_V1";
option java_package = "tech.ydb.proto.scheme.v1";
import "protos/ydb_scheme.proto";
// Every YDB Database Instance has set of objects organized a tree.
// SchemeService provides some functionality to browse and modify
// this tree.
//
// SchemeService provides a generic tree functionality, to create specific
// objects like YDB Table or Persistent Queue use corresponding services.
service SchemeService {
// Make Directory.
rpc MakeDirectory(Scheme.MakeDirectoryRequest) returns (Scheme.MakeDirectoryResponse);
// Remove Directory.
rpc RemoveDirectory(Scheme.RemoveDirectoryRequest) returns (Scheme.RemoveDirectoryResponse);
// Returns information about given directory and objects inside it.
rpc ListDirectory(Scheme.ListDirectoryRequest) returns (Scheme.ListDirectoryResponse);
// Returns information about object with given path.
rpc DescribePath(Scheme.DescribePathRequest) returns (Scheme.DescribePathResponse);
// Modify permissions.
rpc ModifyPermissions(Scheme.ModifyPermissionsRequest) returns (Scheme.ModifyPermissionsResponse);
}