aserto-directory 0.31.3 → 0.31.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -4
- data/VERSION +1 -1
- data/generated/aserto/directory/assertion/v3/assertion_pb.rb +5 -29
- data/generated/aserto/directory/common/v2/common_pb.rb +2 -25
- data/generated/aserto/directory/common/v3/common_pb.rb +2 -26
- data/generated/aserto/directory/exporter/v2/exporter_pb.rb +2 -25
- data/generated/aserto/directory/exporter/v2/exporter_services_pb.rb +1 -0
- data/generated/aserto/directory/exporter/v3/exporter_pb.rb +1 -25
- data/generated/aserto/directory/exporter/v3/exporter_services_pb.rb +1 -0
- data/generated/aserto/directory/importer/v2/importer_pb.rb +2 -24
- data/generated/aserto/directory/importer/v2/importer_services_pb.rb +1 -0
- data/generated/aserto/directory/importer/v3/importer_pb.rb +3 -24
- data/generated/aserto/directory/importer/v3/importer_services_pb.rb +1 -0
- data/generated/aserto/directory/model/v3/model_pb.rb +2 -27
- data/generated/aserto/directory/model/v3/model_services_pb.rb +3 -2
- data/generated/aserto/directory/openapi/v3/openapi_pb.rb +1 -22
- data/generated/aserto/directory/reader/v2/reader_pb.rb +2 -24
- data/generated/aserto/directory/reader/v2/reader_services_pb.rb +22 -8
- data/generated/aserto/directory/reader/v3/reader_pb.rb +6 -28
- data/generated/aserto/directory/reader/v3/reader_services_pb.rb +13 -6
- data/generated/aserto/directory/schema/v2/group_pb.rb +2 -23
- data/generated/aserto/directory/schema/v2/identity_pb.rb +2 -23
- data/generated/aserto/directory/schema/v2/tenant_pb.rb +2 -24
- data/generated/aserto/directory/schema/v2/user_pb.rb +2 -23
- data/generated/aserto/directory/schema/v3/group_pb.rb +1 -22
- data/generated/aserto/directory/schema/v3/identity_pb.rb +1 -22
- data/generated/aserto/directory/schema/v3/tenant_pb.rb +1 -23
- data/generated/aserto/directory/schema/v3/user_pb.rb +1 -22
- data/generated/aserto/directory/writer/v2/writer_pb.rb +2 -25
- data/generated/aserto/directory/writer/v2/writer_services_pb.rb +8 -5
- data/generated/aserto/directory/writer/v3/writer_pb.rb +5 -29
- data/generated/aserto/directory/writer/v3/writer_services_pb.rb +4 -2
- metadata +6 -6
@@ -17,27 +17,41 @@ module Aserto
|
|
17
17
|
self.unmarshal_class_method = :decode
|
18
18
|
self.service_name = 'aserto.directory.reader.v2.Reader'
|
19
19
|
|
20
|
-
# object type metadata
|
20
|
+
# get object type metadata
|
21
21
|
rpc :GetObjectType, ::Aserto::Directory::Reader::V2::GetObjectTypeRequest, ::Aserto::Directory::Reader::V2::GetObjectTypeResponse
|
22
|
+
# list object type metadata
|
22
23
|
rpc :GetObjectTypes, ::Aserto::Directory::Reader::V2::GetObjectTypesRequest, ::Aserto::Directory::Reader::V2::GetObjectTypesResponse
|
23
|
-
# relation type metadata
|
24
|
+
# get relation type metadata
|
24
25
|
rpc :GetRelationType, ::Aserto::Directory::Reader::V2::GetRelationTypeRequest, ::Aserto::Directory::Reader::V2::GetRelationTypeResponse
|
26
|
+
# list relation type metadata
|
25
27
|
rpc :GetRelationTypes, ::Aserto::Directory::Reader::V2::GetRelationTypesRequest, ::Aserto::Directory::Reader::V2::GetRelationTypesResponse
|
26
|
-
# permission metadata
|
28
|
+
# get permission metadata
|
27
29
|
rpc :GetPermission, ::Aserto::Directory::Reader::V2::GetPermissionRequest, ::Aserto::Directory::Reader::V2::GetPermissionResponse
|
30
|
+
# list permission metadata
|
28
31
|
rpc :GetPermissions, ::Aserto::Directory::Reader::V2::GetPermissionsRequest, ::Aserto::Directory::Reader::V2::GetPermissionsResponse
|
29
|
-
# object
|
32
|
+
# get object
|
33
|
+
# Deprecated: directory.v2.GetObject is deprecated, use directory.v3.GetObject.
|
30
34
|
rpc :GetObject, ::Aserto::Directory::Reader::V2::GetObjectRequest, ::Aserto::Directory::Reader::V2::GetObjectResponse
|
35
|
+
# get multiple objects
|
36
|
+
# Deprecated: directory.v2.GetObjectMany is deprecated, update to use directory.v3.GetObjectMany.
|
31
37
|
rpc :GetObjectMany, ::Aserto::Directory::Reader::V2::GetObjectManyRequest, ::Aserto::Directory::Reader::V2::GetObjectManyResponse
|
38
|
+
# list objects
|
39
|
+
# Deprecated: directory.v2.GetObjects is deprecated, update to use directory.v3.GetObjects.
|
32
40
|
rpc :GetObjects, ::Aserto::Directory::Reader::V2::GetObjectsRequest, ::Aserto::Directory::Reader::V2::GetObjectsResponse
|
33
|
-
# relation
|
41
|
+
# get relation
|
42
|
+
# Deprecated: directory.v2.GetRelation is deprecated, update to use directory.v3.GetRelation.
|
34
43
|
rpc :GetRelation, ::Aserto::Directory::Reader::V2::GetRelationRequest, ::Aserto::Directory::Reader::V2::GetRelationResponse
|
44
|
+
# list relations
|
45
|
+
# Deprecated: directory.v2.GetRelations is deprecated, update to use directory.v3.GetRelations.
|
35
46
|
rpc :GetRelations, ::Aserto::Directory::Reader::V2::GetRelationsRequest, ::Aserto::Directory::Reader::V2::GetRelationsResponse
|
36
|
-
# check permission
|
47
|
+
# check permission
|
48
|
+
# Deprecated: directory.v2.CheckPermission is deprecated, update to use directory.v3.Check.
|
37
49
|
rpc :CheckPermission, ::Aserto::Directory::Reader::V2::CheckPermissionRequest, ::Aserto::Directory::Reader::V2::CheckPermissionResponse
|
38
|
-
# check relation
|
50
|
+
# check relation
|
51
|
+
# Deprecated: directory.v2.CheckRelation is deprecated, update to use directory.v3.Check.
|
39
52
|
rpc :CheckRelation, ::Aserto::Directory::Reader::V2::CheckRelationRequest, ::Aserto::Directory::Reader::V2::CheckRelationResponse
|
40
|
-
# graph
|
53
|
+
# get object relationship graph
|
54
|
+
# Deprecated: directory.v2.GetGraph is deprecated, update to use directory.v3.GetGraph.
|
41
55
|
rpc :GetGraph, ::Aserto::Directory::Reader::V2::GetGraphRequest, ::Aserto::Directory::Reader::V2::GetGraphResponse
|
42
56
|
end
|
43
57
|
|
@@ -4,41 +4,17 @@
|
|
4
4
|
|
5
5
|
require 'google/protobuf'
|
6
6
|
|
7
|
-
require '
|
7
|
+
require 'aserto/directory/common/v3/common_pb'
|
8
8
|
require 'google/api/annotations_pb'
|
9
9
|
require 'google/api/field_behavior_pb'
|
10
10
|
require 'google/protobuf/struct_pb'
|
11
|
-
require '
|
12
|
-
require 'aserto/directory/common/v3/common_pb'
|
11
|
+
require 'protoc-gen-openapiv2/options/annotations_pb'
|
13
12
|
|
14
13
|
|
15
|
-
descriptor_data = "\n\'aserto/directory/reader/v3/reader.proto\x12\x1a\x61serto.directory.reader.v3\x1a.protoc-gen-openapiv2/options/annotations.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1b\x62uf/validate/validate.proto\x1a\'aserto/directory/common/v3/common.proto\"\xaf\x04\n\x10GetObjectRequest\x12\x8e\x02\n\x0bobject_type\x18\x01 \x01(\tB\xec\x01\xe0\x41\x02\xbaH\xe5\x01r\x02\x18@\xba\x01\xda\x01\n\x16get_object.object_type\x12\x8b\x01must be all lowercase, start with a letter, can contain letters, digits, dots, underscores, and dashes, and must end with a letter or digit\x1a\x32this.matches(\'^[a-z][a-z0-9\\\\._-]{1,62}[a-z0-9]$\')\xc8\x01\x01R\nobjectType\x12\x95\x01\n\tobject_id\x18\x02 \x01(\tBx\xbaHur\x03\x18\x80\x02\xba\x01j\n\x14get_object.object_id\x12\x38\x63\x61nnot contain any spaces or other whitespace characters\x1a\x18this.matches(\'^[\\\\S]+$\')\xc8\x01\x01R\x08objectId\x12*\n\x0ewith_relations\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01R\rwithRelations\x12\x46\n\x04page\x18\t \x01(\x0b\x32-.aserto.directory.common.v3.PaginationRequestB\x03\xe0\x41\x01R\x04page\"\xd7\x01\n\x11GetObjectResponse\x12:\n\x06result\x18\x01 \x01(\x0b\x32\".aserto.directory.common.v3.ObjectR\x06result\x12\x42\n\trelations\x18\x04 \x03(\x0b\x32$.aserto.directory.common.v3.RelationR\trelations\x12\x42\n\x04page\x18\t \x01(\x0b\x32..aserto.directory.common.v3.PaginationResponseR\x04page\"_\n\x14GetObjectManyRequest\x12G\n\x05param\x18\x01 \x03(\x0b\x32,.aserto.directory.common.v3.ObjectIdentifierB\x03\xe0\x41\x02R\x05param\"U\n\x15GetObjectManyResponse\x12<\n\x07results\x18\x01 \x03(\x0b\x32\".aserto.directory.common.v3.ObjectR\x07results\"\xed\x02\n\x11GetObjectsRequest\x12\x8f\x02\n\x0bobject_type\x18\x01 \x01(\tB\xed\x01\xe0\x41\x01\xbaH\xe6\x01r\x02\x18@\xba\x01\xdb\x01\n\x17get_objects.object_type\x12\x8b\x01must be all lowercase, start with a letter, can contain letters, digits, dots, underscores, and dashes, and must end with a letter or digit\x1a\x32this.matches(\'^[a-z][a-z0-9\\\\._-]{1,62}[a-z0-9]$\')\xd0\x01\x01R\nobjectType\x12\x46\n\x04page\x18\t \x01(\x0b\x32-.aserto.directory.common.v3.PaginationRequestB\x03\xe0\x41\x01R\x04page\"\x96\x01\n\x12GetObjectsResponse\x12<\n\x07results\x18\x01 \x03(\x0b\x32\".aserto.directory.common.v3.ObjectR\x07results\x12\x42\n\x04page\x18\t \x01(\x0b\x32..aserto.directory.common.v3.PaginationResponseR\x04page\"\xfd\x0f\n\x12GetRelationRequest\x12\x90\x02\n\x0bobject_type\x18\x01 \x01(\tB\xee\x01\xe0\x41\x02\xbaH\xe7\x01r\x02\x18@\xba\x01\xdc\x01\n\x18get_relation.object_type\x12\x8b\x01must be all lowercase, start with a letter, can contain letters, digits, dots, underscores, and dashes, and must end with a letter or digit\x1a\x32this.matches(\'^[a-z][a-z0-9\\\\._-]{1,62}[a-z0-9]$\')\xd0\x01\x01R\nobjectType\x12\x9a\x01\n\tobject_id\x18\x02 \x01(\tB}\xe0\x41\x02\xbaHwr\x03\x18\x80\x02\xba\x01l\n\x16get_relation.object_id\x12\x38\x63\x61nnot contain any spaces or other whitespace characters\x1a\x18this.matches(\'^[\\\\S]+$\')\xd0\x01\x01R\x08objectId\x12\x88\x02\n\x08relation\x18\x03 \x01(\tB\xeb\x01\xe0\x41\x02\xbaH\xe4\x01r\x02\x18@\xba\x01\xd9\x01\n\x15get_relation.relation\x12\x8b\x01must be all lowercase, start with a letter, can contain letters, digits, dots, underscores, and dashes, and must end with a letter or digit\x1a\x32this.matches(\'^[a-z][a-z0-9\\\\._-]{1,62}[a-z0-9]$\')\xd0\x01\x01R\x08relation\x12\x93\x02\n\x0csubject_type\x18\x04 \x01(\tB\xef\x01\xe0\x41\x02\xbaH\xe8\x01r\x02\x18@\xba\x01\xdd\x01\n\x19get_relation.subject_type\x12\x8b\x01must be all lowercase, start with a letter, can contain letters, digits, dots, underscores, and dashes, and must end with a letter or digit\x1a\x32this.matches(\'^[a-z][a-z0-9\\\\._-]{1,62}[a-z0-9]$\')\xd0\x01\x01R\x0bsubjectType\x12\x9d\x01\n\nsubject_id\x18\x05 \x01(\tB~\xe0\x41\x02\xbaHxr\x03\x18\x80\x02\xba\x01m\n\x17get_relation.subject_id\x12\x38\x63\x61nnot contain any spaces or other whitespace characters\x1a\x18this.matches(\'^[\\\\S]+$\')\xd0\x01\x01R\tsubjectId\x12\x9f\x02\n\x10subject_relation\x18\x06 \x01(\tB\xf3\x01\xe0\x41\x01\xbaH\xec\x01r\x02\x18@\xba\x01\xe1\x01\n\x1dget_relation.subject_relation\x12\x8b\x01must be all lowercase, start with a letter, can contain letters, digits, dots, underscores, and dashes, and must end with a letter or digit\x1a\x32this.matches(\'^[a-z][a-z0-9\\\\._-]{1,62}[a-z0-9]$\')\xd0\x01\x01R\x0fsubjectRelation\x12&\n\x0cwith_objects\x18\x07 \x01(\x08\x42\x03\xe0\x41\x01R\x0bwithObjects:\xab\x04\xbaH\xa7\x04\x1a\x8c\x02\n get_relation.object_id_with_type\x12Mwhen an object_id is specified, the accompanying object_type must be provided\x1a\x98\x01(this.object_type == \'\' && this.object_id == \'\') || (this.object_type != \'\' && this.object_id == \'\') || (this.object_type != \'\' && this.object_id != \'\')\x1a\x95\x02\n!get_relation.subject_id_with_type\x12Owhen an subject_id is specified, the accompanying subject_type must be provided\x1a\x9e\x01(this.subject_type == \'\' && this.subject_id == \'\') || (this.subject_type != \'\' && this.subject_id == \'\') || (this.subject_type != \'\' && this.subject_id != \'\')\"\x8b\x02\n\x13GetRelationResponse\x12<\n\x06result\x18\x01 \x01(\x0b\x32$.aserto.directory.common.v3.RelationR\x06result\x12V\n\x07objects\x18\x02 \x03(\x0b\x32<.aserto.directory.reader.v3.GetRelationResponse.ObjectsEntryR\x07objects\x1a^\n\x0cObjectsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32\".aserto.directory.common.v3.ObjectR\x05value:\x02\x38\x01\"\x92\x11\n\x13GetRelationsRequest\x12\x91\x02\n\x0bobject_type\x18\x01 \x01(\tB\xef\x01\xe0\x41\x01\xbaH\xe8\x01r\x02\x18@\xba\x01\xdd\x01\n\x19get_relations.object_type\x12\x8b\x01must be all lowercase, start with a letter, can contain letters, digits, dots, underscores, and dashes, and must end with a letter or digit\x1a\x32this.matches(\'^[a-z][a-z0-9\\\\._-]{1,62}[a-z0-9]$\')\xd0\x01\x01R\nobjectType\x12\x9b\x01\n\tobject_id\x18\x02 \x01(\tB~\xe0\x41\x01\xbaHxr\x03\x18\x80\x02\xba\x01m\n\x17get_relations.object_id\x12\x38\x63\x61nnot contain any spaces or other whitespace characters\x1a\x18this.matches(\'^[\\\\S]+$\')\xd0\x01\x01R\x08objectId\x12\x89\x02\n\x08relation\x18\x03 \x01(\tB\xec\x01\xe0\x41\x01\xbaH\xe5\x01r\x02\x18@\xba\x01\xda\x01\n\x16get_relations.relation\x12\x8b\x01must be all lowercase, start with a letter, can contain letters, digits, dots, underscores, and dashes, and must end with a letter or digit\x1a\x32this.matches(\'^[a-z][a-z0-9\\\\._-]{1,62}[a-z0-9]$\')\xd0\x01\x01R\x08relation\x12\x94\x02\n\x0csubject_type\x18\x04 \x01(\tB\xf0\x01\xe0\x41\x01\xbaH\xe9\x01r\x02\x18@\xba\x01\xde\x01\n\x1aget_relations.subject_type\x12\x8b\x01must be all lowercase, start with a letter, can contain letters, digits, dots, underscores, and dashes, and must end with a letter or digit\x1a\x32this.matches(\'^[a-z][a-z0-9\\\\._-]{1,62}[a-z0-9]$\')\xd0\x01\x01R\x0bsubjectType\x12\x9e\x01\n\nsubject_id\x18\x05 \x01(\tB\x7f\xe0\x41\x01\xbaHyr\x03\x18\x80\x02\xba\x01n\n\x18get_relations.subject_id\x12\x38\x63\x61nnot contain any spaces or other whitespace characters\x1a\x18this.matches(\'^[\\\\S]+$\')\xd0\x01\x01R\tsubjectId\x12\xa0\x02\n\x10subject_relation\x18\x06 \x01(\tB\xf4\x01\xe0\x41\x01\xbaH\xed\x01r\x02\x18@\xba\x01\xe2\x01\n\x1eget_relations.subject_relation\x12\x8b\x01must be all lowercase, start with a letter, can contain letters, digits, dots, underscores, and dashes, and must end with a letter or digit\x1a\x32this.matches(\'^[a-z][a-z0-9\\\\._-]{1,62}[a-z0-9]$\')\xd0\x01\x01R\x0fsubjectRelation\x12&\n\x0cwith_objects\x18\x07 \x01(\x08\x42\x03\xe0\x41\x01R\x0bwithObjects\x12\x42\n\x1bwith_empty_subject_relation\x18\x08 \x01(\x08\x42\x03\xe0\x41\x01R\x18withEmptySubjectRelation\x12\x46\n\x04page\x18\t \x01(\x0b\x32-.aserto.directory.common.v3.PaginationRequestB\x03\xe0\x41\x01R\x04page:\xad\x04\xbaH\xa9\x04\x1a\x8d\x02\n!get_relations.object_id_with_type\x12Mwhen an object_id is specified, the accompanying object_type must be provided\x1a\x98\x01(this.object_type == \'\' && this.object_id == \'\') || (this.object_type != \'\' && this.object_id == \'\') || (this.object_type != \'\' && this.object_id != \'\')\x1a\x96\x02\n\"get_relations.subject_id_with_type\x12Owhen an subject_id is specified, the accompanying subject_type must be provided\x1a\x9e\x01(this.subject_type == \'\' && this.subject_id == \'\') || (this.subject_type != \'\' && this.subject_id == \'\') || (this.subject_type != \'\' && this.subject_id != \'\')\"\xd3\x02\n\x14GetRelationsResponse\x12>\n\x07results\x18\x01 \x03(\x0b\x32$.aserto.directory.common.v3.RelationR\x07results\x12W\n\x07objects\x18\x02 \x03(\x0b\x32=.aserto.directory.reader.v3.GetRelationsResponse.ObjectsEntryR\x07objects\x12\x42\n\x04page\x18\t \x01(\x0b\x32..aserto.directory.common.v3.PaginationResponseR\x04page\x1a^\n\x0cObjectsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32\".aserto.directory.common.v3.ObjectR\x05value:\x02\x38\x01\"\x87\x08\n\x0c\x43heckRequest\x12\x89\x02\n\x0bobject_type\x18\x01 \x01(\tB\xe7\x01\xe0\x41\x02\xbaH\xe0\x01r\x02\x18@\xba\x01\xd5\x01\n\x11\x63heck.object_type\x12\x8b\x01must be all lowercase, start with a letter, can contain letters, digits, dots, underscores, and dashes, and must end with a letter or digit\x1a\x32this.matches(\'^[a-z][a-z0-9\\\\._-]{1,62}[a-z0-9]$\')\xc8\x01\x01R\nobjectType\x12\x93\x01\n\tobject_id\x18\x02 \x01(\tBv\xe0\x41\x02\xbaHpr\x03\x18\x80\x02\xba\x01\x65\n\x0f\x63heck.object_id\x12\x38\x63\x61nnot contain any spaces or other whitespace characters\x1a\x18this.matches(\'^[\\\\S]+$\')\xc8\x01\x01R\x08objectId\x12\x91\x01\n\x08relation\x18\x03 \x01(\tBu\xe0\x41\x02\xbaHor\x03\x18\x80\x02\xba\x01\x64\n\x0e\x63heck.relation\x12\x38\x63\x61nnot contain any spaces or other whitespace characters\x1a\x18this.matches(\'^[\\\\S]+$\')\xc8\x01\x01R\x08relation\x12\x8c\x02\n\x0csubject_type\x18\x04 \x01(\tB\xe8\x01\xe0\x41\x02\xbaH\xe1\x01r\x02\x18@\xba\x01\xd6\x01\n\x12\x63heck.subject_type\x12\x8b\x01must be all lowercase, start with a letter, can contain letters, digits, dots, underscores, and dashes, and must end with a letter or digit\x1a\x32this.matches(\'^[a-z][a-z0-9\\\\._-]{1,62}[a-z0-9]$\')\xc8\x01\x01R\x0bsubjectType\x12\x96\x01\n\nsubject_id\x18\x05 \x01(\tBw\xe0\x41\x02\xbaHqr\x03\x18\x80\x02\xba\x01\x66\n\x10\x63heck.subject_id\x12\x38\x63\x61nnot contain any spaces or other whitespace characters\x1a\x18this.matches(\'^[\\\\S]+$\')\xc8\x01\x01R\tsubjectId\x12\x19\n\x05trace\x18\x07 \x01(\x08\x42\x03\xe0\x41\x01R\x05trace\";\n\rCheckResponse\x12\x14\n\x05\x63heck\x18\x01 \x01(\x08R\x05\x63heck\x12\x14\n\x05trace\x18\x02 \x03(\tR\x05trace\"\xd1\x08\n\x16\x43heckPermissionRequest\x12\x94\x02\n\x0bobject_type\x18\x01 \x01(\tB\xf2\x01\xe0\x41\x02\xbaH\xeb\x01r\x02\x18@\xba\x01\xe0\x01\n\x1c\x63heck_permission.object_type\x12\x8b\x01must be all lowercase, start with a letter, can contain letters, digits, dots, underscores, and dashes, and must end with a letter or digit\x1a\x32this.matches(\'^[a-z][a-z0-9\\\\._-]{1,62}[a-z0-9]$\')\xc8\x01\x01R\nobjectType\x12\x9f\x01\n\tobject_id\x18\x02 \x01(\tB\x81\x01\xe0\x41\x02\xbaH{r\x03\x18\x80\x02\xba\x01p\n\x1a\x63heck_permission.object_id\x12\x38\x63\x61nnot contain any spaces or other whitespace characters\x1a\x18this.matches(\'^[\\\\S]+$\')\xc8\x01\x01R\x08objectId\x12\xa3\x01\n\npermission\x18\x03 \x01(\tB\x82\x01\xe0\x41\x02\xbaH|r\x03\x18\x80\x02\xba\x01q\n\x1b\x63heck_permission.permission\x12\x38\x63\x61nnot contain any spaces or other whitespace characters\x1a\x18this.matches(\'^[\\\\S]+$\')\xc8\x01\x01R\npermission\x12\x97\x02\n\x0csubject_type\x18\x04 \x01(\tB\xf3\x01\xe0\x41\x02\xbaH\xec\x01r\x02\x18@\xba\x01\xe1\x01\n\x1d\x63heck_permission.subject_type\x12\x8b\x01must be all lowercase, start with a letter, can contain letters, digits, dots, underscores, and dashes, and must end with a letter or digit\x1a\x32this.matches(\'^[a-z][a-z0-9\\\\._-]{1,62}[a-z0-9]$\')\xc8\x01\x01R\x0bsubjectType\x12\xa2\x01\n\nsubject_id\x18\x05 \x01(\tB\x82\x01\xe0\x41\x02\xbaH|r\x03\x18\x80\x02\xba\x01q\n\x1b\x63heck_permission.subject_id\x12\x38\x63\x61nnot contain any spaces or other whitespace characters\x1a\x18this.matches(\'^[\\\\S]+$\')\xc8\x01\x01R\tsubjectId\x12\x19\n\x05trace\x18\x07 \x01(\x08\x42\x03\xe0\x41\x01R\x05trace\"E\n\x17\x43heckPermissionResponse\x12\x14\n\x05\x63heck\x18\x01 \x01(\x08R\x05\x63heck\x12\x14\n\x05trace\x18\x02 \x03(\tR\x05trace\"\xad\t\n\x14\x43heckRelationRequest\x12\x92\x02\n\x0bobject_type\x18\x01 \x01(\tB\xf0\x01\xe0\x41\x02\xbaH\xe9\x01r\x02\x18@\xba\x01\xde\x01\n\x1a\x63heck_relation.object_type\x12\x8b\x01must be all lowercase, start with a letter, can contain letters, digits, dots, underscores, and dashes, and must end with a letter or digit\x1a\x32this.matches(\'^[a-z][a-z0-9\\\\._-]{1,62}[a-z0-9]$\')\xc8\x01\x01R\nobjectType\x12\x9c\x01\n\tobject_id\x18\x02 \x01(\tB\x7f\xe0\x41\x02\xbaHyr\x03\x18\x80\x02\xba\x01n\n\x18\x63heck_relation.object_id\x12\x38\x63\x61nnot contain any spaces or other whitespace characters\x1a\x18this.matches(\'^[\\\\S]+$\')\xc8\x01\x01R\x08objectId\x12\x8a\x02\n\x08relation\x18\x03 \x01(\tB\xed\x01\xe0\x41\x02\xbaH\xe6\x01r\x02\x18@\xba\x01\xdb\x01\n\x17\x63heck_relation.relation\x12\x8b\x01must be all lowercase, start with a letter, can contain letters, digits, dots, underscores, and dashes, and must end with a letter or digit\x1a\x32this.matches(\'^[a-z][a-z0-9\\\\._-]{1,62}[a-z0-9]$\')\xc8\x01\x01R\x08relation\x12\x95\x02\n\x0csubject_type\x18\x04 \x01(\tB\xf1\x01\xe0\x41\x02\xbaH\xea\x01r\x02\x18@\xba\x01\xdf\x01\n\x1b\x63heck_relation.subject_type\x12\x8b\x01must be all lowercase, start with a letter, can contain letters, digits, dots, underscores, and dashes, and must end with a letter or digit\x1a\x32this.matches(\'^[a-z][a-z0-9\\\\._-]{1,62}[a-z0-9]$\')\xc8\x01\x01R\x0bsubjectType\x12\xa0\x01\n\nsubject_id\x18\x05 \x01(\tB\x80\x01\xe0\x41\x02\xbaHzr\x03\x18\x80\x02\xba\x01o\n\x19\x63heck_relation.subject_id\x12\x38\x63\x61nnot contain any spaces or other whitespace characters\x1a\x18this.matches(\'^[\\\\S]+$\')\xc8\x01\x01R\tsubjectId\x12\x19\n\x05trace\x18\x07 \x01(\x08\x42\x03\xe0\x41\x01R\x05trace\"C\n\x15\x43heckRelationResponse\x12\x14\n\x05\x63heck\x18\x01 \x01(\x08R\x05\x63heck\x12\x14\n\x05trace\x18\x02 \x03(\tR\x05trace\"\xf0\x0b\n\x0fGetGraphRequest\x12\x8d\x02\n\x0bobject_type\x18\x03 \x01(\tB\xeb\x01\xe0\x41\x02\xbaH\xe4\x01r\x02\x18@\xba\x01\xd9\x01\n\x15get_graph.object_type\x12\x8b\x01must be all lowercase, start with a letter, can contain letters, digits, dots, underscores, and dashes, and must end with a letter or digit\x1a\x32this.matches(\'^[a-z][a-z0-9\\\\._-]{1,62}[a-z0-9]$\')\xd0\x01\x01R\nobjectType\x12\x97\x01\n\tobject_id\x18\x04 \x01(\tBz\xe0\x41\x01\xbaHtr\x03\x18\x80\x02\xba\x01i\n\x13get_graph.object_id\x12\x38\x63\x61nnot contain any spaces or other whitespace characters\x1a\x18this.matches(\'^[\\\\S]+$\')\xd0\x01\x01R\x08objectId\x12\x85\x02\n\x08relation\x18\x05 \x01(\tB\xe8\x01\xe0\x41\x02\xbaH\xe1\x01r\x02\x18@\xba\x01\xd6\x01\n\x12get_graph.relation\x12\x8b\x01must be all lowercase, start with a letter, can contain letters, digits, dots, underscores, and dashes, and must end with a letter or digit\x1a\x32this.matches(\'^[a-z][a-z0-9\\\\._-]{1,62}[a-z0-9]$\')\xd0\x01\x01R\x08relation\x12\x90\x02\n\x0csubject_type\x18\x06 \x01(\tB\xec\x01\xe0\x41\x02\xbaH\xe5\x01r\x02\x18@\xba\x01\xda\x01\n\x16get_graph.subject_type\x12\x8b\x01must be all lowercase, start with a letter, can contain letters, digits, dots, underscores, and dashes, and must end with a letter or digit\x1a\x32this.matches(\'^[a-z][a-z0-9\\\\._-]{1,62}[a-z0-9]$\')\xd0\x01\x01R\x0bsubjectType\x12\x9a\x01\n\nsubject_id\x18\x07 \x01(\tB{\xe0\x41\x01\xbaHur\x03\x18\x80\x02\xba\x01j\n\x14get_graph.subject_id\x12\x38\x63\x61nnot contain any spaces or other whitespace characters\x1a\x18this.matches(\'^[\\\\S]+$\')\xd0\x01\x01R\tsubjectId\x12\x9c\x02\n\x10subject_relation\x18\x08 \x01(\tB\xf0\x01\xe0\x41\x01\xbaH\xe9\x01r\x02\x18@\xba\x01\xde\x01\n\x1aget_graph.subject_relation\x12\x8b\x01must be all lowercase, start with a letter, can contain letters, digits, dots, underscores, and dashes, and must end with a letter or digit\x1a\x32this.matches(\'^[a-z][a-z0-9\\\\._-]{1,62}[a-z0-9]$\')\xd0\x01\x01R\x0fsubjectRelation\x12\x1d\n\x07\x65xplain\x18\t \x01(\x08\x42\x03\xe0\x41\x01R\x07\x65xplain\x12\x19\n\x05trace\x18\n \x01(\x08\x42\x03\xe0\x41\x01R\x05traceJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03R\x0b\x61nchor_typeR\tanchor_id\"\xb1\x01\n\x10GetGraphResponse\x12\x46\n\x07results\x18\x02 \x03(\x0b\x32,.aserto.directory.common.v3.ObjectIdentifierR\x07results\x12\x39\n\x0b\x65xplanation\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructR\x0b\x65xplanation\x12\x14\n\x05trace\x18\x04 \x03(\tR\x05traceJ\x04\x08\x01\x10\x02\x32\x85\x14\n\x06Reader\x12\xe2\x02\n\tGetObject\x12,.aserto.directory.reader.v3.GetObjectRequest\x1a-.aserto.directory.reader.v3.GetObjectResponse\"\xf7\x01\x92\x41\xb9\x01\n\tdirectory\x12\x13Get object instance\x1a:Returns single object instance, optionally with relations.*\x17\x64irectory.v3.object.getJ\x1d\n\x03\x33\x30\x34\x12\x16\n\x14Object not modified.b#\n\x13\n\x0f\x44irectoryAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x82\xd3\xe4\x93\x02\x34\x12\x32/api/v3/directory/object/{object_type}/{object_id}\x12v\n\rGetObjectMany\x12\x30.aserto.directory.reader.v3.GetObjectManyRequest\x1a\x31.aserto.directory.reader.v3.GetObjectManyResponse\"\x00\x12\x98\x02\n\nGetObjects\x12-.aserto.directory.reader.v3.GetObjectsRequest\x1a..aserto.directory.reader.v3.GetObjectsResponse\"\xaa\x01\x92\x41\x85\x01\n\tdirectory\x12\x15List object instances\x1a!Returns list of object instances.*\x19\x64irectory.v3.objects.listb#\n\x13\n\x0f\x44irectoryAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x82\xd3\xe4\x93\x02\x1b\x12\x19/api/v3/directory/objects\x12\xd6\x02\n\x0bGetRelation\x12..aserto.directory.reader.v3.GetRelationRequest\x1a/.aserto.directory.reader.v3.GetRelationResponse\"\xe5\x01\x92\x41\xbf\x01\n\tdirectory\x12\x15Get relation instance\x1a:Returns single relation instance, optionally with objects.*\x19\x64irectory.v3.relation.getJ\x1f\n\x03\x33\x30\x34\x12\x18\n\x16Relation not modified.b#\n\x13\n\x0f\x44irectoryAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x82\xd3\xe4\x93\x02\x1c\x12\x1a/api/v3/directory/relation\x12\xa7\x02\n\x0cGetRelations\x12/.aserto.directory.reader.v3.GetRelationsRequest\x1a\x30.aserto.directory.reader.v3.GetRelationsResponse\"\xb3\x01\x92\x41\x8c\x01\n\tdirectory\x12\x18List relations instances\x1a#Returns list of relation instances.*\x1b\x64irectory.v3.relations.listb#\n\x13\n\x0f\x44irectoryAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x82\xd3\xe4\x93\x02\x1d\x12\x1b/api/v3/directory/relations\x12\xe7\x01\n\x05\x43heck\x12(.aserto.directory.reader.v3.CheckRequest\x1a).aserto.directory.reader.v3.CheckResponse\"\x88\x01\x92\x41\x63\n\tdirectory\x12\x05\x43heck\x1a\x16Returns check outcome.*\x12\x64irectory.v3.checkb#\n\x13\n\x0f\x44irectoryAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x82\xd3\xe4\x93\x02\x1c\"\x17/api/v3/directory/check:\x01*\x12\xb2\x02\n\x0f\x43heckPermission\x12\x32.aserto.directory.reader.v3.CheckPermissionRequest\x1a\x33.aserto.directory.reader.v3.CheckPermissionResponse\"\xb5\x01\x92\x41\x84\x01\n\tdirectory\x12\x10\x43heck permission\x1a!Returns check permission outcome.*\x1d\x64irectory.v3.check.permissionb#\n\x13\n\x0f\x44irectoryAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x82\xd3\xe4\x93\x02\'\"\"/api/v3/directory/check/permission:\x01*\x12\xa3\x02\n\rCheckRelation\x12\x30.aserto.directory.reader.v3.CheckRelationRequest\x1a\x31.aserto.directory.reader.v3.CheckRelationResponse\"\xac\x01\x92\x41~\n\tdirectory\x12\x0e\x43heck relation\x1a\x1fReturns check relation outcome.*\x1b\x64irectory.v3.check.relationb#\n\x13\n\x0f\x44irectoryAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x82\xd3\xe4\x93\x02%\" /api/v3/directory/check/relation:\x01*\x12\xba\x02\n\x08GetGraph\x12+.aserto.directory.reader.v3.GetGraphRequest\x1a,.aserto.directory.reader.v3.GetGraphResponse\"\xd2\x01\x92\x41\x87\x01\n\tdirectory\x12\tGet graph\x1a\x36Returns object graph from anchor to subject or object.*\x12\x64irectory.v3.graphb#\n\x13\n\x0f\x44irectoryAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x82\xd3\xe4\x93\x02\x41\x12?/api/v3/directory/graph/{object_type}/{relation}/{subject_type}B\x80\x02\n\x1e\x63om.aserto.directory.reader.v3B\x0bReaderProtoP\x01ZDgithub.com/aserto-dev/go-directory/aserto/directory/reader/v3;reader\xa2\x02\x03\x41\x44R\xaa\x02\x1a\x41serto.Directory.Reader.V3\xca\x02\x1b\x41serto\\Directory_\\Reader\\V3\xe2\x02\'Aserto\\Directory_\\Reader\\V3\\GPBMetadata\xea\x02\x1d\x41serto::Directory::Reader::V3b\x06proto3"
|
14
|
+
descriptor_data = "\n\'aserto/directory/reader/v3/reader.proto\x12\x1a\x61serto.directory.reader.v3\x1a\'aserto/directory/common/v3/common.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\"\xce\x01\n\x10GetObjectRequest\x12$\n\x0bobject_type\x18\x01 \x01(\tB\x03\xe0\x41\x02R\nobjectType\x12 \n\tobject_id\x18\x02 \x01(\tB\x03\xe0\x41\x02R\x08objectId\x12*\n\x0ewith_relations\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01R\rwithRelations\x12\x46\n\x04page\x18\t \x01(\x0b\x32-.aserto.directory.common.v3.PaginationRequestB\x03\xe0\x41\x01R\x04page\"\xd7\x01\n\x11GetObjectResponse\x12:\n\x06result\x18\x01 \x01(\x0b\x32\".aserto.directory.common.v3.ObjectR\x06result\x12\x42\n\trelations\x18\x04 \x03(\x0b\x32$.aserto.directory.common.v3.RelationR\trelations\x12\x42\n\x04page\x18\t \x01(\x0b\x32..aserto.directory.common.v3.PaginationResponseR\x04page\"_\n\x14GetObjectManyRequest\x12G\n\x05param\x18\x01 \x03(\x0b\x32,.aserto.directory.common.v3.ObjectIdentifierB\x03\xe0\x41\x02R\x05param\"U\n\x15GetObjectManyResponse\x12<\n\x07results\x18\x01 \x03(\x0b\x32\".aserto.directory.common.v3.ObjectR\x07results\"\x81\x01\n\x11GetObjectsRequest\x12$\n\x0bobject_type\x18\x01 \x01(\tB\x03\xe0\x41\x01R\nobjectType\x12\x46\n\x04page\x18\t \x01(\x0b\x32-.aserto.directory.common.v3.PaginationRequestB\x03\xe0\x41\x01R\x04page\"\x96\x01\n\x12GetObjectsResponse\x12<\n\x07results\x18\x01 \x03(\x0b\x32\".aserto.directory.common.v3.ObjectR\x07results\x12\x42\n\x04page\x18\t \x01(\x0b\x32..aserto.directory.common.v3.PaginationResponseR\x04page\"\xa1\x02\n\x12GetRelationRequest\x12$\n\x0bobject_type\x18\x01 \x01(\tB\x03\xe0\x41\x02R\nobjectType\x12 \n\tobject_id\x18\x02 \x01(\tB\x03\xe0\x41\x02R\x08objectId\x12\x1f\n\x08relation\x18\x03 \x01(\tB\x03\xe0\x41\x02R\x08relation\x12&\n\x0csubject_type\x18\x04 \x01(\tB\x03\xe0\x41\x02R\x0bsubjectType\x12\"\n\nsubject_id\x18\x05 \x01(\tB\x03\xe0\x41\x02R\tsubjectId\x12.\n\x10subject_relation\x18\x06 \x01(\tB\x03\xe0\x41\x01R\x0fsubjectRelation\x12&\n\x0cwith_objects\x18\x07 \x01(\x08\x42\x03\xe0\x41\x01R\x0bwithObjects\"\x8b\x02\n\x13GetRelationResponse\x12<\n\x06result\x18\x01 \x01(\x0b\x32$.aserto.directory.common.v3.RelationR\x06result\x12V\n\x07objects\x18\x02 \x03(\x0b\x32<.aserto.directory.reader.v3.GetRelationResponse.ObjectsEntryR\x07objects\x1a^\n\x0cObjectsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32\".aserto.directory.common.v3.ObjectR\x05value:\x02\x38\x01\"\xae\x03\n\x13GetRelationsRequest\x12$\n\x0bobject_type\x18\x01 \x01(\tB\x03\xe0\x41\x01R\nobjectType\x12 \n\tobject_id\x18\x02 \x01(\tB\x03\xe0\x41\x01R\x08objectId\x12\x1f\n\x08relation\x18\x03 \x01(\tB\x03\xe0\x41\x01R\x08relation\x12&\n\x0csubject_type\x18\x04 \x01(\tB\x03\xe0\x41\x01R\x0bsubjectType\x12\"\n\nsubject_id\x18\x05 \x01(\tB\x03\xe0\x41\x01R\tsubjectId\x12.\n\x10subject_relation\x18\x06 \x01(\tB\x03\xe0\x41\x01R\x0fsubjectRelation\x12&\n\x0cwith_objects\x18\x07 \x01(\x08\x42\x03\xe0\x41\x01R\x0bwithObjects\x12\x42\n\x1bwith_empty_subject_relation\x18\x08 \x01(\x08\x42\x03\xe0\x41\x01R\x18withEmptySubjectRelation\x12\x46\n\x04page\x18\t \x01(\x0b\x32-.aserto.directory.common.v3.PaginationRequestB\x03\xe0\x41\x01R\x04page\"\xd3\x02\n\x14GetRelationsResponse\x12>\n\x07results\x18\x01 \x03(\x0b\x32$.aserto.directory.common.v3.RelationR\x07results\x12W\n\x07objects\x18\x02 \x03(\x0b\x32=.aserto.directory.reader.v3.GetRelationsResponse.ObjectsEntryR\x07objects\x12\x42\n\x04page\x18\t \x01(\x0b\x32..aserto.directory.common.v3.PaginationResponseR\x04page\x1a^\n\x0cObjectsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x38\n\x05value\x18\x02 \x01(\x0b\x32\".aserto.directory.common.v3.ObjectR\x05value:\x02\x38\x01\"\xde\x01\n\x0c\x43heckRequest\x12$\n\x0bobject_type\x18\x01 \x01(\tB\x03\xe0\x41\x02R\nobjectType\x12 \n\tobject_id\x18\x02 \x01(\tB\x03\xe0\x41\x02R\x08objectId\x12\x1f\n\x08relation\x18\x03 \x01(\tB\x03\xe0\x41\x02R\x08relation\x12&\n\x0csubject_type\x18\x04 \x01(\tB\x03\xe0\x41\x02R\x0bsubjectType\x12\"\n\nsubject_id\x18\x05 \x01(\tB\x03\xe0\x41\x02R\tsubjectId\x12\x19\n\x05trace\x18\x07 \x01(\x08\x42\x03\xe0\x41\x01R\x05trace\"n\n\rCheckResponse\x12\x14\n\x05\x63heck\x18\x01 \x01(\x08R\x05\x63heck\x12\x14\n\x05trace\x18\x02 \x03(\tR\x05trace\x12\x31\n\x07\x63ontext\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructR\x07\x63ontext\"\x95\x01\n\rChecksRequest\x12\x42\n\x07\x64\x65\x66\x61ult\x18\x01 \x01(\x0b\x32(.aserto.directory.reader.v3.CheckRequestR\x07\x64\x65\x66\x61ult\x12@\n\x06\x63hecks\x18\x02 \x03(\x0b\x32(.aserto.directory.reader.v3.CheckRequestR\x06\x63hecks\"S\n\x0e\x43hecksResponse\x12\x41\n\x06\x63hecks\x18\x01 \x03(\x0b\x32).aserto.directory.reader.v3.CheckResponseR\x06\x63hecks\"\xec\x01\n\x16\x43heckPermissionRequest\x12$\n\x0bobject_type\x18\x01 \x01(\tB\x03\xe0\x41\x02R\nobjectType\x12 \n\tobject_id\x18\x02 \x01(\tB\x03\xe0\x41\x02R\x08objectId\x12#\n\npermission\x18\x03 \x01(\tB\x03\xe0\x41\x02R\npermission\x12&\n\x0csubject_type\x18\x04 \x01(\tB\x03\xe0\x41\x02R\x0bsubjectType\x12\"\n\nsubject_id\x18\x05 \x01(\tB\x03\xe0\x41\x02R\tsubjectId\x12\x19\n\x05trace\x18\x07 \x01(\x08\x42\x03\xe0\x41\x01R\x05trace\"E\n\x17\x43heckPermissionResponse\x12\x14\n\x05\x63heck\x18\x01 \x01(\x08R\x05\x63heck\x12\x14\n\x05trace\x18\x02 \x03(\tR\x05trace\"\xe6\x01\n\x14\x43heckRelationRequest\x12$\n\x0bobject_type\x18\x01 \x01(\tB\x03\xe0\x41\x02R\nobjectType\x12 \n\tobject_id\x18\x02 \x01(\tB\x03\xe0\x41\x02R\x08objectId\x12\x1f\n\x08relation\x18\x03 \x01(\tB\x03\xe0\x41\x02R\x08relation\x12&\n\x0csubject_type\x18\x04 \x01(\tB\x03\xe0\x41\x02R\x0bsubjectType\x12\"\n\nsubject_id\x18\x05 \x01(\tB\x03\xe0\x41\x02R\tsubjectId\x12\x19\n\x05trace\x18\x07 \x01(\x08\x42\x03\xe0\x41\x01R\x05trace\"C\n\x15\x43heckRelationResponse\x12\x14\n\x05\x63heck\x18\x01 \x01(\x08R\x05\x63heck\x12\x14\n\x05trace\x18\x02 \x03(\tR\x05trace\"\xd4\x02\n\x0fGetGraphRequest\x12$\n\x0bobject_type\x18\x03 \x01(\tB\x03\xe0\x41\x02R\nobjectType\x12 \n\tobject_id\x18\x04 \x01(\tB\x03\xe0\x41\x01R\x08objectId\x12\x1f\n\x08relation\x18\x05 \x01(\tB\x03\xe0\x41\x02R\x08relation\x12&\n\x0csubject_type\x18\x06 \x01(\tB\x03\xe0\x41\x02R\x0bsubjectType\x12\"\n\nsubject_id\x18\x07 \x01(\tB\x03\xe0\x41\x01R\tsubjectId\x12.\n\x10subject_relation\x18\x08 \x01(\tB\x03\xe0\x41\x01R\x0fsubjectRelation\x12\x1d\n\x07\x65xplain\x18\t \x01(\x08\x42\x03\xe0\x41\x01R\x07\x65xplain\x12\x19\n\x05trace\x18\n \x01(\x08\x42\x03\xe0\x41\x01R\x05traceJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03R\x0b\x61nchor_typeR\tanchor_id\"\xb1\x01\n\x10GetGraphResponse\x12\x46\n\x07results\x18\x02 \x03(\x0b\x32,.aserto.directory.common.v3.ObjectIdentifierR\x07results\x12\x39\n\x0b\x65xplanation\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructR\x0b\x65xplanation\x12\x14\n\x05trace\x18\x04 \x03(\tR\x05traceJ\x04\x08\x01\x10\x02\x32\xc5\x16\n\x06Reader\x12\xe9\x02\n\tGetObject\x12,.aserto.directory.reader.v3.GetObjectRequest\x1a-.aserto.directory.reader.v3.GetObjectResponse\"\xfe\x01\x92\x41\xc0\x01\n\tdirectory\x12\x13Get object instance\x1a:Returns single object instance, optionally with relations.*\x1e\x64irectory.reader.v3.object.getJ\x1d\n\x03\x33\x30\x34\x12\x16\n\x14Object not modified.b#\n\x13\n\x0f\x44irectoryAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x82\xd3\xe4\x93\x02\x34\x12\x32/api/v3/directory/object/{object_type}/{object_id}\x12v\n\rGetObjectMany\x12\x30.aserto.directory.reader.v3.GetObjectManyRequest\x1a\x31.aserto.directory.reader.v3.GetObjectManyResponse\"\x00\x12\x9f\x02\n\nGetObjects\x12-.aserto.directory.reader.v3.GetObjectsRequest\x1a..aserto.directory.reader.v3.GetObjectsResponse\"\xb1\x01\x92\x41\x8c\x01\n\tdirectory\x12\x15List object instances\x1a!Returns list of object instances.* directory.reader.v3.objects.listb#\n\x13\n\x0f\x44irectoryAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x82\xd3\xe4\x93\x02\x1b\x12\x19/api/v3/directory/objects\x12\xdd\x02\n\x0bGetRelation\x12..aserto.directory.reader.v3.GetRelationRequest\x1a/.aserto.directory.reader.v3.GetRelationResponse\"\xec\x01\x92\x41\xc6\x01\n\tdirectory\x12\x15Get relation instance\x1a:Returns single relation instance, optionally with objects.* directory.reader.v3.relation.getJ\x1f\n\x03\x33\x30\x34\x12\x18\n\x16Relation not modified.b#\n\x13\n\x0f\x44irectoryAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x82\xd3\xe4\x93\x02\x1c\x12\x1a/api/v3/directory/relation\x12\xae\x02\n\x0cGetRelations\x12/.aserto.directory.reader.v3.GetRelationsRequest\x1a\x30.aserto.directory.reader.v3.GetRelationsResponse\"\xba\x01\x92\x41\x93\x01\n\tdirectory\x12\x18List relations instances\x1a#Returns list of relation instances.*\"directory.reader.v3.relations.listb#\n\x13\n\x0f\x44irectoryAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x82\xd3\xe4\x93\x02\x1d\x12\x1b/api/v3/directory/relations\x12\xee\x01\n\x05\x43heck\x12(.aserto.directory.reader.v3.CheckRequest\x1a).aserto.directory.reader.v3.CheckResponse\"\x8f\x01\x92\x41j\n\tdirectory\x12\x05\x43heck\x1a\x16Returns check outcome.*\x19\x64irectory.reader.v3.checkb#\n\x13\n\x0f\x44irectoryAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x82\xd3\xe4\x93\x02\x1c\"\x17/api/v3/directory/check:\x01*\x12\xfe\x01\n\x06\x43hecks\x12).aserto.directory.reader.v3.ChecksRequest\x1a*.aserto.directory.reader.v3.ChecksResponse\"\x9c\x01\x92\x41v\n\tdirectory\x12\x06\x43hecks\x1a Returns multiple check outcomes.*\x1a\x64irectory.reader.v3.checksb#\n\x13\n\x0f\x44irectoryAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x82\xd3\xe4\x93\x02\x1d\"\x18/api/v3/directory/checks:\x01*\x12\xbc\x02\n\x0f\x43heckPermission\x12\x32.aserto.directory.reader.v3.CheckPermissionRequest\x1a\x33.aserto.directory.reader.v3.CheckPermissionResponse\"\xbf\x01\x88\x02\x01\x92\x41\x8b\x01\n\tdirectory\x12\x10\x43heck permission\x1a!Returns check permission outcome.*$directory.reader.v3.check.permissionb#\n\x13\n\x0f\x44irectoryAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x82\xd3\xe4\x93\x02\'\"\"/api/v3/directory/check/permission:\x01*\x12\xae\x02\n\rCheckRelation\x12\x30.aserto.directory.reader.v3.CheckRelationRequest\x1a\x31.aserto.directory.reader.v3.CheckRelationResponse\"\xb7\x01\x88\x02\x01\x92\x41\x85\x01\n\tdirectory\x12\x0e\x43heck relation\x1a\x1fReturns check relation outcome.*\"directory.reader.v3.check.relationb#\n\x13\n\x0f\x44irectoryAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x82\xd3\xe4\x93\x02%\" /api/v3/directory/check/relation:\x01*\x12\xc1\x02\n\x08GetGraph\x12+.aserto.directory.reader.v3.GetGraphRequest\x1a,.aserto.directory.reader.v3.GetGraphResponse\"\xd9\x01\x92\x41\x8e\x01\n\tdirectory\x12\tGet graph\x1a\x36Returns object graph from anchor to subject or object.*\x19\x64irectory.reader.v3.graphb#\n\x13\n\x0f\x44irectoryAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x82\xd3\xe4\x93\x02\x41\x12?/api/v3/directory/graph/{object_type}/{relation}/{subject_type}B\x80\x02\n\x1e\x63om.aserto.directory.reader.v3B\x0bReaderProtoP\x01ZDgithub.com/aserto-dev/go-directory/aserto/directory/reader/v3;reader\xa2\x02\x03\x41\x44R\xaa\x02\x1a\x41serto.Directory.Reader.V3\xca\x02\x1b\x41serto\\Directory_\\Reader\\V3\xe2\x02\'Aserto\\Directory_\\Reader\\V3\\GPBMetadata\xea\x02\x1d\x41serto::Directory::Reader::V3b\x06proto3"
|
16
15
|
|
17
16
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
18
|
-
|
19
|
-
begin
|
20
|
-
pool.add_serialized_file(descriptor_data)
|
21
|
-
rescue TypeError
|
22
|
-
# Compatibility code: will be removed in the next major version.
|
23
|
-
require 'google/protobuf/descriptor_pb'
|
24
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
25
|
-
parsed.clear_dependency
|
26
|
-
serialized = parsed.class.encode(parsed)
|
27
|
-
file = pool.add_serialized_file(serialized)
|
28
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
29
|
-
imports = [
|
30
|
-
["aserto.directory.common.v3.PaginationRequest", "aserto/directory/common/v3/common.proto"],
|
31
|
-
["google.protobuf.Struct", "google/protobuf/struct.proto"],
|
32
|
-
]
|
33
|
-
imports.each do |type_name, expected_filename|
|
34
|
-
import_file = pool.lookup(type_name).file_descriptor
|
35
|
-
if import_file.name != expected_filename
|
36
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
37
|
-
end
|
38
|
-
end
|
39
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
40
|
-
warn "This will become an error in the next major version."
|
41
|
-
end
|
17
|
+
pool.add_serialized_file(descriptor_data)
|
42
18
|
|
43
19
|
module Aserto
|
44
20
|
module Directory
|
@@ -56,6 +32,8 @@ module Aserto
|
|
56
32
|
GetRelationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.directory.reader.v3.GetRelationsResponse").msgclass
|
57
33
|
CheckRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.directory.reader.v3.CheckRequest").msgclass
|
58
34
|
CheckResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.directory.reader.v3.CheckResponse").msgclass
|
35
|
+
ChecksRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.directory.reader.v3.ChecksRequest").msgclass
|
36
|
+
ChecksResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.directory.reader.v3.ChecksResponse").msgclass
|
59
37
|
CheckPermissionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.directory.reader.v3.CheckPermissionRequest").msgclass
|
60
38
|
CheckPermissionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.directory.reader.v3.CheckPermissionResponse").msgclass
|
61
39
|
CheckRelationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.directory.reader.v3.CheckRelationRequest").msgclass
|
@@ -17,20 +17,27 @@ module Aserto
|
|
17
17
|
self.unmarshal_class_method = :decode
|
18
18
|
self.service_name = 'aserto.directory.reader.v3.Reader'
|
19
19
|
|
20
|
-
# object
|
20
|
+
# get object
|
21
21
|
rpc :GetObject, ::Aserto::Directory::Reader::V3::GetObjectRequest, ::Aserto::Directory::Reader::V3::GetObjectResponse
|
22
|
+
# get multiple objects
|
22
23
|
rpc :GetObjectMany, ::Aserto::Directory::Reader::V3::GetObjectManyRequest, ::Aserto::Directory::Reader::V3::GetObjectManyResponse
|
24
|
+
# list objects
|
23
25
|
rpc :GetObjects, ::Aserto::Directory::Reader::V3::GetObjectsRequest, ::Aserto::Directory::Reader::V3::GetObjectsResponse
|
24
|
-
# relation
|
26
|
+
# get relation
|
25
27
|
rpc :GetRelation, ::Aserto::Directory::Reader::V3::GetRelationRequest, ::Aserto::Directory::Reader::V3::GetRelationResponse
|
28
|
+
# list relations
|
26
29
|
rpc :GetRelations, ::Aserto::Directory::Reader::V3::GetRelationsRequest, ::Aserto::Directory::Reader::V3::GetRelationsResponse
|
27
|
-
# check
|
30
|
+
# check if subject has relation or permission with object
|
28
31
|
rpc :Check, ::Aserto::Directory::Reader::V3::CheckRequest, ::Aserto::Directory::Reader::V3::CheckResponse
|
29
|
-
# check
|
32
|
+
# EXPERIMENTAL: checks validates a set of check requests in a single roundtrip
|
33
|
+
rpc :Checks, ::Aserto::Directory::Reader::V3::ChecksRequest, ::Aserto::Directory::Reader::V3::ChecksResponse
|
34
|
+
# check permission (deprecated, use the check method)
|
35
|
+
# Deprecated: use directory.reader.v3.Check()
|
30
36
|
rpc :CheckPermission, ::Aserto::Directory::Reader::V3::CheckPermissionRequest, ::Aserto::Directory::Reader::V3::CheckPermissionResponse
|
31
|
-
# check relation method
|
37
|
+
# check relation (deprecated, use the check method)
|
38
|
+
# Deprecated: use directory.reader.v3.Check()
|
32
39
|
rpc :CheckRelation, ::Aserto::Directory::Reader::V3::CheckRelationRequest, ::Aserto::Directory::Reader::V3::CheckRelationResponse
|
33
|
-
# graph
|
40
|
+
# get object relationship graph
|
34
41
|
rpc :GetGraph, ::Aserto::Directory::Reader::V3::GetGraphRequest, ::Aserto::Directory::Reader::V3::GetGraphResponse
|
35
42
|
end
|
36
43
|
|
@@ -5,31 +5,10 @@
|
|
5
5
|
require 'google/protobuf'
|
6
6
|
|
7
7
|
|
8
|
-
descriptor_data = "\n&aserto/directory/schema/v2/group.proto\x12\x1a\x61serto.directory.schema.v2\"
|
8
|
+
descriptor_data = "\n&aserto/directory/schema/v2/group.proto\x12\x1a\x61serto.directory.schema.v2\":\n\x0fGroupProperties\x12#\n\rconnection_id\x18\x01 \x01(\tR\x0c\x63onnectionId:\x02\x18\x01\x42\xff\x01\n\x1e\x63om.aserto.directory.schema.v2B\nGroupProtoP\x01ZDgithub.com/aserto-dev/go-directory/aserto/directory/schema/v2;schema\xa2\x02\x03\x41\x44S\xaa\x02\x1a\x41serto.Directory.Schema.V2\xca\x02\x1b\x41serto\\Directory_\\Schema\\V2\xe2\x02\'Aserto\\Directory_\\Schema\\V2\\GPBMetadata\xea\x02\x1d\x41serto::Directory::Schema::V2b\x06proto3"
|
9
9
|
|
10
10
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
11
|
-
|
12
|
-
begin
|
13
|
-
pool.add_serialized_file(descriptor_data)
|
14
|
-
rescue TypeError
|
15
|
-
# Compatibility code: will be removed in the next major version.
|
16
|
-
require 'google/protobuf/descriptor_pb'
|
17
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
18
|
-
parsed.clear_dependency
|
19
|
-
serialized = parsed.class.encode(parsed)
|
20
|
-
file = pool.add_serialized_file(serialized)
|
21
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
22
|
-
imports = [
|
23
|
-
]
|
24
|
-
imports.each do |type_name, expected_filename|
|
25
|
-
import_file = pool.lookup(type_name).file_descriptor
|
26
|
-
if import_file.name != expected_filename
|
27
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
28
|
-
end
|
29
|
-
end
|
30
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
31
|
-
warn "This will become an error in the next major version."
|
32
|
-
end
|
11
|
+
pool.add_serialized_file(descriptor_data)
|
33
12
|
|
34
13
|
module Aserto
|
35
14
|
module Directory
|
@@ -5,31 +5,10 @@
|
|
5
5
|
require 'google/protobuf'
|
6
6
|
|
7
7
|
|
8
|
-
descriptor_data = "\n)aserto/directory/schema/v2/identity.proto\x12\x1a\x61serto.directory.schema.v2\"\
|
8
|
+
descriptor_data = "\n)aserto/directory/schema/v2/identity.proto\x12\x1a\x61serto.directory.schema.v2\"\xca\x01\n\x12IdentityProperties\x12<\n\x04kind\x18\x01 \x01(\x0e\x32(.aserto.directory.schema.v2.IdentityKindR\x04kind\x12\x1a\n\x08provider\x18\x02 \x01(\tR\x08provider\x12\x1a\n\x08verified\x18\x03 \x01(\x08R\x08verified\x12(\n\rconnection_id\x18\x04 \x01(\tH\x00R\x0c\x63onnectionId\x88\x01\x01:\x02\x18\x01\x42\x10\n\x0e_connection_id*\xc1\x01\n\x0cIdentityKind\x12\x19\n\x15IDENTITY_KIND_UNKNOWN\x10\x00\x12\x15\n\x11IDENTITY_KIND_PID\x10\x01\x12\x17\n\x13IDENTITY_KIND_EMAIL\x10\x02\x12\x1a\n\x16IDENTITY_KIND_USERNAME\x10\x03\x12\x14\n\x10IDENTITY_KIND_DN\x10\x04\x12\x17\n\x13IDENTITY_KIND_PHONE\x10\x05\x12\x17\n\x13IDENTITY_KIND_EMPID\x10\x06\x1a\x02\x18\x01\x42\x82\x02\n\x1e\x63om.aserto.directory.schema.v2B\rIdentityProtoP\x01ZDgithub.com/aserto-dev/go-directory/aserto/directory/schema/v2;schema\xa2\x02\x03\x41\x44S\xaa\x02\x1a\x41serto.Directory.Schema.V2\xca\x02\x1b\x41serto\\Directory_\\Schema\\V2\xe2\x02\'Aserto\\Directory_\\Schema\\V2\\GPBMetadata\xea\x02\x1d\x41serto::Directory::Schema::V2b\x06proto3"
|
9
9
|
|
10
10
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
11
|
-
|
12
|
-
begin
|
13
|
-
pool.add_serialized_file(descriptor_data)
|
14
|
-
rescue TypeError
|
15
|
-
# Compatibility code: will be removed in the next major version.
|
16
|
-
require 'google/protobuf/descriptor_pb'
|
17
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
18
|
-
parsed.clear_dependency
|
19
|
-
serialized = parsed.class.encode(parsed)
|
20
|
-
file = pool.add_serialized_file(serialized)
|
21
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
22
|
-
imports = [
|
23
|
-
]
|
24
|
-
imports.each do |type_name, expected_filename|
|
25
|
-
import_file = pool.lookup(type_name).file_descriptor
|
26
|
-
if import_file.name != expected_filename
|
27
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
28
|
-
end
|
29
|
-
end
|
30
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
31
|
-
warn "This will become an error in the next major version."
|
32
|
-
end
|
11
|
+
pool.add_serialized_file(descriptor_data)
|
33
12
|
|
34
13
|
module Aserto
|
35
14
|
module Directory
|
@@ -7,32 +7,10 @@ require 'google/protobuf'
|
|
7
7
|
require 'google/protobuf/struct_pb'
|
8
8
|
|
9
9
|
|
10
|
-
descriptor_data = "\n\'aserto/directory/schema/v2/tenant.proto\x12\x1a\x61serto.directory.schema.v2\x1a\x1cgoogle/protobuf/struct.proto\"\
|
10
|
+
descriptor_data = "\n\'aserto/directory/schema/v2/tenant.proto\x12\x1a\x61serto.directory.schema.v2\x1a\x1cgoogle/protobuf/struct.proto\"\xfb\x01\n\x10TenantProperties\x12:\n\x04kind\x18\x01 \x01(\x0e\x32&.aserto.directory.schema.v2.TenantKindR\x04kind\x12!\n\x0c\x64irectory_v2\x18\x02 \x01(\x08R\x0b\x64irectoryV2\x12*\n\x11\x64irectory_v2_only\x18\x03 \x01(\x08R\x0f\x64irectoryV2Only\x12L\n\x07\x61\x63\x63ount\x18\x04 \x01(\x0b\x32-.aserto.directory.schema.v2.AccountPropertiesH\x00R\x07\x61\x63\x63ount\x88\x01\x01:\x02\x18\x01\x42\n\n\x08_account\"\xc8\x01\n\x11\x41\x63\x63ountProperties\x12\x19\n\x08max_orgs\x18\x01 \x01(\x05R\x07maxOrgs\x12T\n\x0fgetting_started\x18\x03 \x01(\x0b\x32&.aserto.directory.schema.v2.GuideStateH\x00R\x0egettingStarted\x88\x01\x01\x12*\n\x11\x64\x65\x66\x61ult_tenant_id\x18\x04 \x01(\tR\x0f\x64\x65\x66\x61ultTenantId:\x02\x18\x01\x42\x12\n\x10_getting_started\"S\n\nGuideState\x12\x12\n\x04show\x18\x01 \x01(\x08R\x04show\x12-\n\x05steps\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructR\x05steps:\x02\x18\x01*`\n\nTenantKind\x12\x17\n\x13TENANT_KIND_UNKNOWN\x10\x00\x12\x1c\n\x18TENANT_KIND_ORGANIZATION\x10\x01\x12\x17\n\x13TENANT_KIND_ACCOUNT\x10\x02\x1a\x02\x18\x01\x42\x80\x02\n\x1e\x63om.aserto.directory.schema.v2B\x0bTenantProtoP\x01ZDgithub.com/aserto-dev/go-directory/aserto/directory/schema/v2;schema\xa2\x02\x03\x41\x44S\xaa\x02\x1a\x41serto.Directory.Schema.V2\xca\x02\x1b\x41serto\\Directory_\\Schema\\V2\xe2\x02\'Aserto\\Directory_\\Schema\\V2\\GPBMetadata\xea\x02\x1d\x41serto::Directory::Schema::V2b\x06proto3"
|
11
11
|
|
12
12
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
|
-
|
14
|
-
begin
|
15
|
-
pool.add_serialized_file(descriptor_data)
|
16
|
-
rescue TypeError
|
17
|
-
# Compatibility code: will be removed in the next major version.
|
18
|
-
require 'google/protobuf/descriptor_pb'
|
19
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
20
|
-
parsed.clear_dependency
|
21
|
-
serialized = parsed.class.encode(parsed)
|
22
|
-
file = pool.add_serialized_file(serialized)
|
23
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
24
|
-
imports = [
|
25
|
-
["google.protobuf.Struct", "google/protobuf/struct.proto"],
|
26
|
-
]
|
27
|
-
imports.each do |type_name, expected_filename|
|
28
|
-
import_file = pool.lookup(type_name).file_descriptor
|
29
|
-
if import_file.name != expected_filename
|
30
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
31
|
-
end
|
32
|
-
end
|
33
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
34
|
-
warn "This will become an error in the next major version."
|
35
|
-
end
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
36
14
|
|
37
15
|
module Aserto
|
38
16
|
module Directory
|
@@ -5,31 +5,10 @@
|
|
5
5
|
require 'google/protobuf'
|
6
6
|
|
7
7
|
|
8
|
-
descriptor_data = "\n%aserto/directory/schema/v2/user.proto\x12\x1a\x61serto.directory.schema.v2\"\
|
8
|
+
descriptor_data = "\n%aserto/directory/schema/v2/user.proto\x12\x1a\x61serto.directory.schema.v2\"\xc3\x01\n\x0eUserProperties\x12\x14\n\x05\x65mail\x18\x01 \x01(\tR\x05\x65mail\x12\x18\n\x07picture\x18\x02 \x01(\tR\x07picture\x12>\n\x06status\x18\x03 \x01(\x0e\x32&.aserto.directory.schema.v2.UserStatusR\x06status\x12\x18\n\x07\x65nabled\x18\x04 \x01(\x08R\x07\x65nabled\x12#\n\rconnection_id\x18\x05 \x01(\tR\x0c\x63onnectionId:\x02\x18\x01*\x88\x02\n\nUserStatus\x12\x17\n\x13USER_STATUS_UNKNOWN\x10\x00\x12\x16\n\x12USER_STATUS_STAGED\x10\x01\x12\x1b\n\x17USER_STATUS_PROVISIONED\x10\x02\x12\x16\n\x12USER_STATUS_ACTIVE\x10\x03\x12\x18\n\x14USER_STATUS_RECOVERY\x10\x04\x12 \n\x1cUSER_STATUS_PASSWORD_EXPIRED\x10\x05\x12\x1a\n\x16USER_STATUS_LOCKED_OUT\x10\x06\x12\x19\n\x15USER_STATUS_SUSPENDED\x10\x07\x12\x1d\n\x19USER_STATUS_DEPROVISIONED\x10\x08\x1a\x02\x18\x01\x42\xfe\x01\n\x1e\x63om.aserto.directory.schema.v2B\tUserProtoP\x01ZDgithub.com/aserto-dev/go-directory/aserto/directory/schema/v2;schema\xa2\x02\x03\x41\x44S\xaa\x02\x1a\x41serto.Directory.Schema.V2\xca\x02\x1b\x41serto\\Directory_\\Schema\\V2\xe2\x02\'Aserto\\Directory_\\Schema\\V2\\GPBMetadata\xea\x02\x1d\x41serto::Directory::Schema::V2b\x06proto3"
|
9
9
|
|
10
10
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
11
|
-
|
12
|
-
begin
|
13
|
-
pool.add_serialized_file(descriptor_data)
|
14
|
-
rescue TypeError
|
15
|
-
# Compatibility code: will be removed in the next major version.
|
16
|
-
require 'google/protobuf/descriptor_pb'
|
17
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
18
|
-
parsed.clear_dependency
|
19
|
-
serialized = parsed.class.encode(parsed)
|
20
|
-
file = pool.add_serialized_file(serialized)
|
21
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
22
|
-
imports = [
|
23
|
-
]
|
24
|
-
imports.each do |type_name, expected_filename|
|
25
|
-
import_file = pool.lookup(type_name).file_descriptor
|
26
|
-
if import_file.name != expected_filename
|
27
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
28
|
-
end
|
29
|
-
end
|
30
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
31
|
-
warn "This will become an error in the next major version."
|
32
|
-
end
|
11
|
+
pool.add_serialized_file(descriptor_data)
|
33
12
|
|
34
13
|
module Aserto
|
35
14
|
module Directory
|
@@ -8,28 +8,7 @@ require 'google/protobuf'
|
|
8
8
|
descriptor_data = "\n&aserto/directory/schema/v3/group.proto\x12\x1a\x61serto.directory.schema.v3\"6\n\x0fGroupProperties\x12#\n\rconnection_id\x18\x01 \x01(\tR\x0c\x63onnectionIdB\xff\x01\n\x1e\x63om.aserto.directory.schema.v3B\nGroupProtoP\x01ZDgithub.com/aserto-dev/go-directory/aserto/directory/schema/v3;schema\xa2\x02\x03\x41\x44S\xaa\x02\x1a\x41serto.Directory.Schema.V3\xca\x02\x1b\x41serto\\Directory_\\Schema\\V3\xe2\x02\'Aserto\\Directory_\\Schema\\V3\\GPBMetadata\xea\x02\x1d\x41serto::Directory::Schema::V3b\x06proto3"
|
9
9
|
|
10
10
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
11
|
-
|
12
|
-
begin
|
13
|
-
pool.add_serialized_file(descriptor_data)
|
14
|
-
rescue TypeError
|
15
|
-
# Compatibility code: will be removed in the next major version.
|
16
|
-
require 'google/protobuf/descriptor_pb'
|
17
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
18
|
-
parsed.clear_dependency
|
19
|
-
serialized = parsed.class.encode(parsed)
|
20
|
-
file = pool.add_serialized_file(serialized)
|
21
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
22
|
-
imports = [
|
23
|
-
]
|
24
|
-
imports.each do |type_name, expected_filename|
|
25
|
-
import_file = pool.lookup(type_name).file_descriptor
|
26
|
-
if import_file.name != expected_filename
|
27
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
28
|
-
end
|
29
|
-
end
|
30
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
31
|
-
warn "This will become an error in the next major version."
|
32
|
-
end
|
11
|
+
pool.add_serialized_file(descriptor_data)
|
33
12
|
|
34
13
|
module Aserto
|
35
14
|
module Directory
|
@@ -8,28 +8,7 @@ require 'google/protobuf'
|
|
8
8
|
descriptor_data = "\n)aserto/directory/schema/v3/identity.proto\x12\x1a\x61serto.directory.schema.v3\"\xc6\x01\n\x12IdentityProperties\x12<\n\x04kind\x18\x01 \x01(\x0e\x32(.aserto.directory.schema.v3.IdentityKindR\x04kind\x12\x1a\n\x08provider\x18\x02 \x01(\tR\x08provider\x12\x1a\n\x08verified\x18\x03 \x01(\x08R\x08verified\x12(\n\rconnection_id\x18\x04 \x01(\tH\x00R\x0c\x63onnectionId\x88\x01\x01\x42\x10\n\x0e_connection_id*\xbd\x01\n\x0cIdentityKind\x12\x19\n\x15IDENTITY_KIND_UNKNOWN\x10\x00\x12\x15\n\x11IDENTITY_KIND_PID\x10\x01\x12\x17\n\x13IDENTITY_KIND_EMAIL\x10\x02\x12\x1a\n\x16IDENTITY_KIND_USERNAME\x10\x03\x12\x14\n\x10IDENTITY_KIND_DN\x10\x04\x12\x17\n\x13IDENTITY_KIND_PHONE\x10\x05\x12\x17\n\x13IDENTITY_KIND_EMPID\x10\x06\x42\x82\x02\n\x1e\x63om.aserto.directory.schema.v3B\rIdentityProtoP\x01ZDgithub.com/aserto-dev/go-directory/aserto/directory/schema/v3;schema\xa2\x02\x03\x41\x44S\xaa\x02\x1a\x41serto.Directory.Schema.V3\xca\x02\x1b\x41serto\\Directory_\\Schema\\V3\xe2\x02\'Aserto\\Directory_\\Schema\\V3\\GPBMetadata\xea\x02\x1d\x41serto::Directory::Schema::V3b\x06proto3"
|
9
9
|
|
10
10
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
11
|
-
|
12
|
-
begin
|
13
|
-
pool.add_serialized_file(descriptor_data)
|
14
|
-
rescue TypeError
|
15
|
-
# Compatibility code: will be removed in the next major version.
|
16
|
-
require 'google/protobuf/descriptor_pb'
|
17
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
18
|
-
parsed.clear_dependency
|
19
|
-
serialized = parsed.class.encode(parsed)
|
20
|
-
file = pool.add_serialized_file(serialized)
|
21
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
22
|
-
imports = [
|
23
|
-
]
|
24
|
-
imports.each do |type_name, expected_filename|
|
25
|
-
import_file = pool.lookup(type_name).file_descriptor
|
26
|
-
if import_file.name != expected_filename
|
27
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
28
|
-
end
|
29
|
-
end
|
30
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
31
|
-
warn "This will become an error in the next major version."
|
32
|
-
end
|
11
|
+
pool.add_serialized_file(descriptor_data)
|
33
12
|
|
34
13
|
module Aserto
|
35
14
|
module Directory
|
@@ -10,29 +10,7 @@ require 'google/protobuf/struct_pb'
|
|
10
10
|
descriptor_data = "\n\'aserto/directory/schema/v3/tenant.proto\x12\x1a\x61serto.directory.schema.v3\x1a\x1cgoogle/protobuf/struct.proto\"\xf7\x01\n\x10TenantProperties\x12:\n\x04kind\x18\x01 \x01(\x0e\x32&.aserto.directory.schema.v3.TenantKindR\x04kind\x12!\n\x0c\x64irectory_v2\x18\x02 \x01(\x08R\x0b\x64irectoryV2\x12*\n\x11\x64irectory_v2_only\x18\x03 \x01(\x08R\x0f\x64irectoryV2Only\x12L\n\x07\x61\x63\x63ount\x18\x04 \x01(\x0b\x32-.aserto.directory.schema.v3.AccountPropertiesH\x00R\x07\x61\x63\x63ount\x88\x01\x01\x42\n\n\x08_account\"\xc4\x01\n\x11\x41\x63\x63ountProperties\x12\x19\n\x08max_orgs\x18\x01 \x01(\x05R\x07maxOrgs\x12T\n\x0fgetting_started\x18\x03 \x01(\x0b\x32&.aserto.directory.schema.v3.GuideStateH\x00R\x0egettingStarted\x88\x01\x01\x12*\n\x11\x64\x65\x66\x61ult_tenant_id\x18\x04 \x01(\tR\x0f\x64\x65\x66\x61ultTenantIdB\x12\n\x10_getting_started\"O\n\nGuideState\x12\x12\n\x04show\x18\x01 \x01(\x08R\x04show\x12-\n\x05steps\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructR\x05steps*\\\n\nTenantKind\x12\x17\n\x13TENANT_KIND_UNKNOWN\x10\x00\x12\x1c\n\x18TENANT_KIND_ORGANIZATION\x10\x01\x12\x17\n\x13TENANT_KIND_ACCOUNT\x10\x02\x42\x80\x02\n\x1e\x63om.aserto.directory.schema.v3B\x0bTenantProtoP\x01ZDgithub.com/aserto-dev/go-directory/aserto/directory/schema/v3;schema\xa2\x02\x03\x41\x44S\xaa\x02\x1a\x41serto.Directory.Schema.V3\xca\x02\x1b\x41serto\\Directory_\\Schema\\V3\xe2\x02\'Aserto\\Directory_\\Schema\\V3\\GPBMetadata\xea\x02\x1d\x41serto::Directory::Schema::V3b\x06proto3"
|
11
11
|
|
12
12
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
|
-
|
14
|
-
begin
|
15
|
-
pool.add_serialized_file(descriptor_data)
|
16
|
-
rescue TypeError
|
17
|
-
# Compatibility code: will be removed in the next major version.
|
18
|
-
require 'google/protobuf/descriptor_pb'
|
19
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
20
|
-
parsed.clear_dependency
|
21
|
-
serialized = parsed.class.encode(parsed)
|
22
|
-
file = pool.add_serialized_file(serialized)
|
23
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
24
|
-
imports = [
|
25
|
-
["google.protobuf.Struct", "google/protobuf/struct.proto"],
|
26
|
-
]
|
27
|
-
imports.each do |type_name, expected_filename|
|
28
|
-
import_file = pool.lookup(type_name).file_descriptor
|
29
|
-
if import_file.name != expected_filename
|
30
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
31
|
-
end
|
32
|
-
end
|
33
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
34
|
-
warn "This will become an error in the next major version."
|
35
|
-
end
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
36
14
|
|
37
15
|
module Aserto
|
38
16
|
module Directory
|
@@ -8,28 +8,7 @@ require 'google/protobuf'
|
|
8
8
|
descriptor_data = "\n%aserto/directory/schema/v3/user.proto\x12\x1a\x61serto.directory.schema.v3\"\xbf\x01\n\x0eUserProperties\x12\x14\n\x05\x65mail\x18\x01 \x01(\tR\x05\x65mail\x12\x18\n\x07picture\x18\x02 \x01(\tR\x07picture\x12>\n\x06status\x18\x03 \x01(\x0e\x32&.aserto.directory.schema.v3.UserStatusR\x06status\x12\x18\n\x07\x65nabled\x18\x04 \x01(\x08R\x07\x65nabled\x12#\n\rconnection_id\x18\x05 \x01(\tR\x0c\x63onnectionId*\x84\x02\n\nUserStatus\x12\x17\n\x13USER_STATUS_UNKNOWN\x10\x00\x12\x16\n\x12USER_STATUS_STAGED\x10\x01\x12\x1b\n\x17USER_STATUS_PROVISIONED\x10\x02\x12\x16\n\x12USER_STATUS_ACTIVE\x10\x03\x12\x18\n\x14USER_STATUS_RECOVERY\x10\x04\x12 \n\x1cUSER_STATUS_PASSWORD_EXPIRED\x10\x05\x12\x1a\n\x16USER_STATUS_LOCKED_OUT\x10\x06\x12\x19\n\x15USER_STATUS_SUSPENDED\x10\x07\x12\x1d\n\x19USER_STATUS_DEPROVISIONED\x10\x08\x42\xfe\x01\n\x1e\x63om.aserto.directory.schema.v3B\tUserProtoP\x01ZDgithub.com/aserto-dev/go-directory/aserto/directory/schema/v3;schema\xa2\x02\x03\x41\x44S\xaa\x02\x1a\x41serto.Directory.Schema.V3\xca\x02\x1b\x41serto\\Directory_\\Schema\\V3\xe2\x02\'Aserto\\Directory_\\Schema\\V3\\GPBMetadata\xea\x02\x1d\x41serto::Directory::Schema::V3b\x06proto3"
|
9
9
|
|
10
10
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
11
|
-
|
12
|
-
begin
|
13
|
-
pool.add_serialized_file(descriptor_data)
|
14
|
-
rescue TypeError
|
15
|
-
# Compatibility code: will be removed in the next major version.
|
16
|
-
require 'google/protobuf/descriptor_pb'
|
17
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
18
|
-
parsed.clear_dependency
|
19
|
-
serialized = parsed.class.encode(parsed)
|
20
|
-
file = pool.add_serialized_file(serialized)
|
21
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
22
|
-
imports = [
|
23
|
-
]
|
24
|
-
imports.each do |type_name, expected_filename|
|
25
|
-
import_file = pool.lookup(type_name).file_descriptor
|
26
|
-
if import_file.name != expected_filename
|
27
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
28
|
-
end
|
29
|
-
end
|
30
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
31
|
-
warn "This will become an error in the next major version."
|
32
|
-
end
|
11
|
+
pool.add_serialized_file(descriptor_data)
|
33
12
|
|
34
13
|
module Aserto
|
35
14
|
module Directory
|
@@ -8,33 +8,10 @@ require 'google/protobuf/empty_pb'
|
|
8
8
|
require 'aserto/directory/common/v2/common_pb'
|
9
9
|
|
10
10
|
|
11
|
-
descriptor_data = "\n\'aserto/directory/writer/v2/writer.proto\x12\x1a\x61serto.directory.writer.v2\x1a\x1bgoogle/protobuf/empty.proto\x1a\'aserto/directory/common/v2/common.proto\"
|
11
|
+
descriptor_data = "\n\'aserto/directory/writer/v2/writer.proto\x12\x1a\x61serto.directory.writer.v2\x1a\x1bgoogle/protobuf/empty.proto\x1a\'aserto/directory/common/v2/common.proto\"c\n\x14SetObjectTypeRequest\x12G\n\x0bobject_type\x18\x01 \x01(\x0b\x32&.aserto.directory.common.v2.ObjectTypeR\nobjectType:\x02\x18\x01\"[\n\x15SetObjectTypeResponse\x12>\n\x06result\x18\x01 \x01(\x0b\x32&.aserto.directory.common.v2.ObjectTypeR\x06result:\x02\x18\x01\"e\n\x17\x44\x65leteObjectTypeRequest\x12\x46\n\x05param\x18\x01 \x01(\x0b\x32\x30.aserto.directory.common.v2.ObjectTypeIdentifierR\x05param:\x02\x18\x01\"N\n\x18\x44\x65leteObjectTypeResponse\x12.\n\x06result\x18\x01 \x01(\x0b\x32\x16.google.protobuf.EmptyR\x06result:\x02\x18\x01\"k\n\x16SetRelationTypeRequest\x12M\n\rrelation_type\x18\x01 \x01(\x0b\x32(.aserto.directory.common.v2.RelationTypeR\x0crelationType:\x02\x18\x01\"_\n\x17SetRelationTypeResponse\x12@\n\x06result\x18\x01 \x01(\x0b\x32(.aserto.directory.common.v2.RelationTypeR\x06result:\x02\x18\x01\"i\n\x19\x44\x65leteRelationTypeRequest\x12H\n\x05param\x18\x01 \x01(\x0b\x32\x32.aserto.directory.common.v2.RelationTypeIdentifierR\x05param:\x02\x18\x01\"P\n\x1a\x44\x65leteRelationTypeResponse\x12.\n\x06result\x18\x01 \x01(\x0b\x32\x16.google.protobuf.EmptyR\x06result:\x02\x18\x01\"b\n\x14SetPermissionRequest\x12\x46\n\npermission\x18\x01 \x01(\x0b\x32&.aserto.directory.common.v2.PermissionR\npermission:\x02\x18\x01\"[\n\x15SetPermissionResponse\x12>\n\x06result\x18\x01 \x01(\x0b\x32&.aserto.directory.common.v2.PermissionR\x06result:\x02\x18\x01\"e\n\x17\x44\x65letePermissionRequest\x12\x46\n\x05param\x18\x01 \x01(\x0b\x32\x30.aserto.directory.common.v2.PermissionIdentifierR\x05param:\x02\x18\x01\"N\n\x18\x44\x65letePermissionResponse\x12.\n\x06result\x18\x01 \x01(\x0b\x32\x16.google.protobuf.EmptyR\x06result:\x02\x18\x01\"R\n\x10SetObjectRequest\x12:\n\x06object\x18\x01 \x01(\x0b\x32\".aserto.directory.common.v2.ObjectR\x06object:\x02\x18\x01\"S\n\x11SetObjectResponse\x12:\n\x06result\x18\x01 \x01(\x0b\x32\".aserto.directory.common.v2.ObjectR\x06result:\x02\x18\x01\"\x9c\x01\n\x13\x44\x65leteObjectRequest\x12\x42\n\x05param\x18\x01 \x01(\x0b\x32,.aserto.directory.common.v2.ObjectIdentifierR\x05param\x12*\n\x0ewith_relations\x18\x02 \x01(\x08H\x00R\rwithRelations\x88\x01\x01:\x02\x18\x01\x42\x11\n\x0f_with_relations\"J\n\x14\x44\x65leteObjectResponse\x12.\n\x06result\x18\x01 \x01(\x0b\x32\x16.google.protobuf.EmptyR\x06result:\x02\x18\x01\"Z\n\x12SetRelationRequest\x12@\n\x08relation\x18\x01 \x01(\x0b\x32$.aserto.directory.common.v2.RelationR\x08relation:\x02\x18\x01\"W\n\x13SetRelationResponse\x12<\n\x06result\x18\x01 \x01(\x0b\x32$.aserto.directory.common.v2.RelationR\x06result:\x02\x18\x01\"a\n\x15\x44\x65leteRelationRequest\x12\x44\n\x05param\x18\x01 \x01(\x0b\x32..aserto.directory.common.v2.RelationIdentifierR\x05param:\x02\x18\x01\"L\n\x16\x44\x65leteRelationResponse\x12.\n\x06result\x18\x01 \x01(\x0b\x32\x16.google.protobuf.EmptyR\x06result:\x02\x18\x01\x32\xee\t\n\x06Writer\x12y\n\rSetObjectType\x12\x30.aserto.directory.writer.v2.SetObjectTypeRequest\x1a\x31.aserto.directory.writer.v2.SetObjectTypeResponse\"\x03\x88\x02\x01\x12\x82\x01\n\x10\x44\x65leteObjectType\x12\x33.aserto.directory.writer.v2.DeleteObjectTypeRequest\x1a\x34.aserto.directory.writer.v2.DeleteObjectTypeResponse\"\x03\x88\x02\x01\x12\x7f\n\x0fSetRelationType\x12\x32.aserto.directory.writer.v2.SetRelationTypeRequest\x1a\x33.aserto.directory.writer.v2.SetRelationTypeResponse\"\x03\x88\x02\x01\x12\x88\x01\n\x12\x44\x65leteRelationType\x12\x35.aserto.directory.writer.v2.DeleteRelationTypeRequest\x1a\x36.aserto.directory.writer.v2.DeleteRelationTypeResponse\"\x03\x88\x02\x01\x12y\n\rSetPermission\x12\x30.aserto.directory.writer.v2.SetPermissionRequest\x1a\x31.aserto.directory.writer.v2.SetPermissionResponse\"\x03\x88\x02\x01\x12\x82\x01\n\x10\x44\x65letePermission\x12\x33.aserto.directory.writer.v2.DeletePermissionRequest\x1a\x34.aserto.directory.writer.v2.DeletePermissionResponse\"\x03\x88\x02\x01\x12m\n\tSetObject\x12,.aserto.directory.writer.v2.SetObjectRequest\x1a-.aserto.directory.writer.v2.SetObjectResponse\"\x03\x88\x02\x01\x12v\n\x0c\x44\x65leteObject\x12/.aserto.directory.writer.v2.DeleteObjectRequest\x1a\x30.aserto.directory.writer.v2.DeleteObjectResponse\"\x03\x88\x02\x01\x12s\n\x0bSetRelation\x12..aserto.directory.writer.v2.SetRelationRequest\x1a/.aserto.directory.writer.v2.SetRelationResponse\"\x03\x88\x02\x01\x12|\n\x0e\x44\x65leteRelation\x12\x31.aserto.directory.writer.v2.DeleteRelationRequest\x1a\x32.aserto.directory.writer.v2.DeleteRelationResponse\"\x03\x88\x02\x01\x42\x80\x02\n\x1e\x63om.aserto.directory.writer.v2B\x0bWriterProtoP\x01ZDgithub.com/aserto-dev/go-directory/aserto/directory/writer/v2;writer\xa2\x02\x03\x41\x44W\xaa\x02\x1a\x41serto.Directory.Writer.V2\xca\x02\x1b\x41serto\\Directory_\\Writer\\V2\xe2\x02\'Aserto\\Directory_\\Writer\\V2\\GPBMetadata\xea\x02\x1d\x41serto::Directory::Writer::V2b\x06proto3"
|
12
12
|
|
13
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
|
-
|
15
|
-
begin
|
16
|
-
pool.add_serialized_file(descriptor_data)
|
17
|
-
rescue TypeError
|
18
|
-
# Compatibility code: will be removed in the next major version.
|
19
|
-
require 'google/protobuf/descriptor_pb'
|
20
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
21
|
-
parsed.clear_dependency
|
22
|
-
serialized = parsed.class.encode(parsed)
|
23
|
-
file = pool.add_serialized_file(serialized)
|
24
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
25
|
-
imports = [
|
26
|
-
["aserto.directory.common.v2.ObjectType", "aserto/directory/common/v2/common.proto"],
|
27
|
-
["google.protobuf.Empty", "google/protobuf/empty.proto"],
|
28
|
-
]
|
29
|
-
imports.each do |type_name, expected_filename|
|
30
|
-
import_file = pool.lookup(type_name).file_descriptor
|
31
|
-
if import_file.name != expected_filename
|
32
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
33
|
-
end
|
34
|
-
end
|
35
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
36
|
-
warn "This will become an error in the next major version."
|
37
|
-
end
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
38
15
|
|
39
16
|
module Aserto
|
40
17
|
module Directory
|
@@ -17,20 +17,23 @@ module Aserto
|
|
17
17
|
self.unmarshal_class_method = :decode
|
18
18
|
self.service_name = 'aserto.directory.writer.v2.Writer'
|
19
19
|
|
20
|
-
# object type metadata methods
|
21
20
|
rpc :SetObjectType, ::Aserto::Directory::Writer::V2::SetObjectTypeRequest, ::Aserto::Directory::Writer::V2::SetObjectTypeResponse
|
22
21
|
rpc :DeleteObjectType, ::Aserto::Directory::Writer::V2::DeleteObjectTypeRequest, ::Aserto::Directory::Writer::V2::DeleteObjectTypeResponse
|
23
|
-
# relation type metadata methods
|
24
22
|
rpc :SetRelationType, ::Aserto::Directory::Writer::V2::SetRelationTypeRequest, ::Aserto::Directory::Writer::V2::SetRelationTypeResponse
|
25
23
|
rpc :DeleteRelationType, ::Aserto::Directory::Writer::V2::DeleteRelationTypeRequest, ::Aserto::Directory::Writer::V2::DeleteRelationTypeResponse
|
26
|
-
# permission metadata methods
|
27
24
|
rpc :SetPermission, ::Aserto::Directory::Writer::V2::SetPermissionRequest, ::Aserto::Directory::Writer::V2::SetPermissionResponse
|
28
25
|
rpc :DeletePermission, ::Aserto::Directory::Writer::V2::DeletePermissionRequest, ::Aserto::Directory::Writer::V2::DeletePermissionResponse
|
29
|
-
# object
|
26
|
+
# set object instance
|
27
|
+
# Deprecated: directory.v2.SetObject is deprecated, use directory.v3.SetObject.
|
30
28
|
rpc :SetObject, ::Aserto::Directory::Writer::V2::SetObjectRequest, ::Aserto::Directory::Writer::V2::SetObjectResponse
|
29
|
+
# delete object instance
|
30
|
+
# Deprecated: directory.v2.DeleteObject is deprecated, use directory.v3.DeleteObject.
|
31
31
|
rpc :DeleteObject, ::Aserto::Directory::Writer::V2::DeleteObjectRequest, ::Aserto::Directory::Writer::V2::DeleteObjectResponse
|
32
|
-
# relation
|
32
|
+
# set relation instance
|
33
|
+
# Deprecated: directory.v2.SetRelation is deprecated, use directory.v3.SetRelation.
|
33
34
|
rpc :SetRelation, ::Aserto::Directory::Writer::V2::SetRelationRequest, ::Aserto::Directory::Writer::V2::SetRelationResponse
|
35
|
+
# delete relation instance
|
36
|
+
# Deprecated: directory.v2.DeleteRelation is deprecated, use directory.v3.DeleteRelation.
|
34
37
|
rpc :DeleteRelation, ::Aserto::Directory::Writer::V2::DeleteRelationRequest, ::Aserto::Directory::Writer::V2::DeleteRelationResponse
|
35
38
|
end
|
36
39
|
|