aserto-directory 0.31.3 → 0.31.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 67d941fa960856e28c2bd163293494ca190a8d76f502fe6ce2e95f52ba4b8b92
4
- data.tar.gz: caa3e05135f5cc9e39f8fa84d2d5f47cd0e24772a8fc0069dace155e8ab26bd2
3
+ metadata.gz: '069a644c8fd339ec2ce0a5bafca26dd95781307435522b228fbf648613eaf43c'
4
+ data.tar.gz: 5f387aaabeba938af2beb88122ce194a7860c5b4fe1f14cccbd5f7b2ffcaa501
5
5
  SHA512:
6
- metadata.gz: 5214ae29f7fc887baaaba41491b2d12794cfb19d8b87aa13f63f923ba0cb0cd1688430891a978adc5572e1222360b9b8e8010e35a7ae4ab31482af186b543e5c
7
- data.tar.gz: a2d561ba1a4414d9b628d383d4b3b36d94e9adb5890a6f80b6629122165538aa9bffbbdcb7cd8b1831894f021a079b8137328e417e5f4753a8a3284bc166b8f6
6
+ metadata.gz: 8729bdcba9ff0b51e1262f261090bb918c602e58b2b26e6018ea527e8fee9d213759d67071e1e30c565d23b2dd11d2d2806f3b1c3694216d15ea80ebdb91a19e
7
+ data.tar.gz: 1a0848cb0dabc367ecec1f2b2af2863d43e9ddf89d945c4a1a6efb67f5f152a608265f28ebf81f9e1a8dffe60f9a371f7858fd7cb9ac3fdff3815b36c539812a
data/README.md CHANGED
@@ -58,11 +58,9 @@ end
58
58
 
59
59
  ## Development
60
60
  Prerequisites:
61
+ - Ruby >= 3.0.0 to run the code
61
62
 
62
- - go >= 1.17 to generate Ruby code
63
- - Ruby >= 2.7.0 to run the code
64
-
65
- After checking out the repo, run `mage generate` to generate Ruby code.
63
+ After checking out the repo, run `make buf-generate` to generate Ruby code.
66
64
 
67
65
  Run `bundle install` to install dependencies. Then, run `bundle exec rspec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
68
66
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.31.3
1
+ 0.31.4
@@ -15,31 +15,7 @@ require 'aserto/directory/reader/v3/reader_pb'
15
15
  descriptor_data = "\n-aserto/directory/assertion/v3/assertion.proto\x12\x1d\x61serto.directory.assertion.v3\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\x1a\'aserto/directory/common/v3/common.proto\x1a\'aserto/directory/reader/v3/reader.proto\"*\n\x13GetAssertionRequest\x12\x13\n\x02id\x18\x01 \x01(\rB\x03\xe0\x41\x02R\x02id\"U\n\x14GetAssertionResponse\x12=\n\x06result\x18\x01 \x01(\x0b\x32%.aserto.directory.assertion.v3.AssertR\x06result\"_\n\x15ListAssertionsRequest\x12\x46\n\x04page\x18\x01 \x01(\x0b\x32-.aserto.directory.common.v3.PaginationRequestB\x03\xe0\x41\x01R\x04page\"\x9d\x01\n\x16ListAssertionsResponse\x12?\n\x07results\x18\x01 \x03(\x0b\x32%.aserto.directory.assertion.v3.AssertR\x07results\x12\x42\n\x04page\x18\x02 \x01(\x0b\x32..aserto.directory.common.v3.PaginationResponseR\x04page\"Y\n\x13SetAssertionRequest\x12\x42\n\x06\x61ssert\x18\x01 \x01(\x0b\x32%.aserto.directory.assertion.v3.AssertB\x03\xe0\x41\x02R\x06\x61ssert\"U\n\x14SetAssertionResponse\x12=\n\x06result\x18\x01 \x01(\x0b\x32%.aserto.directory.assertion.v3.AssertR\x06result\"-\n\x16\x44\x65leteAssertionRequest\x12\x13\n\x02id\x18\x01 \x01(\rB\x03\xe0\x41\x02R\x02id\"I\n\x17\x44\x65leteAssertionResponse\x12.\n\x06result\x18\x01 \x01(\x0b\x32\x16.google.protobuf.EmptyR\x06result\"\xbe\x02\n\x06\x41ssert\x12\x0e\n\x02id\x18\x01 \x01(\rR\x02id\x12\x1f\n\x08\x65xpected\x18\x02 \x01(\x08\x42\x03\xe0\x41\x02R\x08\x65xpected\x12@\n\x05\x63heck\x18\x03 \x01(\x0b\x32(.aserto.directory.reader.v3.CheckRequestH\x00R\x05\x63heck\x12Y\n\x0e\x63heck_relation\x18\x04 \x01(\x0b\x32\x30.aserto.directory.reader.v3.CheckRelationRequestH\x00R\rcheckRelation\x12_\n\x10\x63heck_permission\x18\x05 \x01(\x0b\x32\x32.aserto.directory.reader.v3.CheckPermissionRequestH\x00R\x0f\x63heckPermissionB\x05\n\x03msg2\xa2\t\n\tAssertion\x12\xae\x02\n\x0cGetAssertion\x12\x32.aserto.directory.assertion.v3.GetAssertionRequest\x1a\x33.aserto.directory.assertion.v3.GetAssertionResponse\"\xb4\x01\x92\x41\x88\x01\n\tdirectory\x12\x16Get assertion instance\x1a\"Returns single assertion instance.*\x1a\x64irectory.v3.assertion.getb#\n\x13\n\x0f\x44irectoryAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x82\xd3\xe4\x93\x02\"\x12 /api/v3/directory/assertion/{id}\x12\xad\x02\n\x0eListAssertions\x12\x34.aserto.directory.assertion.v3.ListAssertionsRequest\x1a\x35.aserto.directory.assertion.v3.ListAssertionsResponse\"\xad\x01\x92\x41\x85\x01\n\tdirectory\x12\x0fList assertions\x1a$Returns list of assertion instances.*\x1c\x64irectory.v3.assertions.listb#\n\x13\n\x0f\x44irectoryAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x82\xd3\xe4\x93\x02\x1e\x12\x1c/api/v3/directory/assertions\x12\x8e\x02\n\x0cSetAssertion\x12\x32.aserto.directory.assertion.v3.SetAssertionRequest\x1a\x33.aserto.directory.assertion.v3.SetAssertionResponse\"\x94\x01\x92\x41k\n\tdirectory\x12\rSet assertion\x1a\x0eSet assertion.*\x1a\x64irectory.v3.assertion.setb#\n\x13\n\x0f\x44irectoryAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x82\xd3\xe4\x93\x02 \"\x1b/api/v3/directory/assertion:\x01*\x12\xa2\x02\n\x0f\x44\x65leteAssertion\x12\x35.aserto.directory.assertion.v3.DeleteAssertionRequest\x1a\x36.aserto.directory.assertion.v3.DeleteAssertionResponse\"\x9f\x01\x92\x41t\n\tdirectory\x12\x10\x44\x65lete assertion\x1a\x11\x44\x65lete assertion.*\x1d\x64irectory.v3.assertion.deleteb#\n\x13\n\x0f\x44irectoryAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x82\xd3\xe4\x93\x02\"* /api/v3/directory/assertion/{id}B\x98\x02\n!com.aserto.directory.assertion.v3B\x0e\x41ssertionProtoP\x01ZJgithub.com/aserto-dev/go-directory/aserto/directory/assertion/v3;assertion\xa2\x02\x03\x41\x44\x41\xaa\x02\x1d\x41serto.Directory.Assertion.V3\xca\x02\x1e\x41serto\\Directory_\\Assertion\\V3\xe2\x02*Aserto\\Directory_\\Assertion\\V3\\GPBMetadata\xea\x02 Aserto::Directory::Assertion::V3b\x06proto3"
16
16
 
17
17
  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.Empty", "google/protobuf/empty.proto"],
32
- ["aserto.directory.reader.v3.CheckRequest", "aserto/directory/reader/v3/reader.proto"],
33
- ]
34
- imports.each do |type_name, expected_filename|
35
- import_file = pool.lookup(type_name).file_descriptor
36
- if import_file.name != expected_filename
37
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
38
- end
39
- end
40
- warn "Each proto file must use a consistent fully-qualified name."
41
- warn "This will become an error in the next major version."
42
- end
18
+ pool.add_serialized_file(descriptor_data)
43
19
 
44
20
  module Aserto
45
21
  module Directory
@@ -11,30 +11,7 @@ require 'google/protobuf/timestamp_pb'
11
11
  descriptor_data = "\n\'aserto/directory/common/v2/common.proto\x12\x1a\x61serto.directory.common.v2\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xeb\x02\n\nObjectType\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12!\n\x0c\x64isplay_name\x18\x03 \x01(\tR\x0b\x64isplayName\x12\x1d\n\nis_subject\x18\x04 \x01(\x08R\tisSubject\x12\x18\n\x07ordinal\x18\x05 \x01(\x05R\x07ordinal\x12\x16\n\x06status\x18\x06 \x01(\rR\x06status\x12/\n\x06schema\x18\n \x01(\x0b\x32\x17.google.protobuf.StructR\x06schema\x12\x39\n\ncreated_at\x18\x14 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x15 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12\x12\n\x04hash\x18\x17 \x01(\tR\x04hashJ\x04\x08\x01\x10\x02J\x04\x08\x16\x10\x17R\x02idR\ndeleted_at\"\xe9\x01\n\nPermission\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12!\n\x0c\x64isplay_name\x18\x03 \x01(\tR\x0b\x64isplayName\x12\x39\n\ncreated_at\x18\x14 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x15 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12\x12\n\x04hash\x18\x17 \x01(\tR\x04hashJ\x04\x08\x01\x10\x02J\x04\x08\x16\x10\x17R\x02idR\ndeleted_at\"\xf8\x02\n\x0cRelationType\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x1f\n\x0bobject_type\x18\x03 \x01(\tR\nobjectType\x12!\n\x0c\x64isplay_name\x18\x04 \x01(\tR\x0b\x64isplayName\x12\x18\n\x07ordinal\x18\x05 \x01(\x05R\x07ordinal\x12\x16\n\x06status\x18\x06 \x01(\rR\x06status\x12\x16\n\x06unions\x18\x07 \x03(\tR\x06unions\x12 \n\x0bpermissions\x18\x08 \x03(\tR\x0bpermissions\x12\x39\n\ncreated_at\x18\x14 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x15 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12\x12\n\x04hash\x18\x17 \x01(\tR\x04hashJ\x04\x08\x01\x10\x02J\x04\x08\x16\x10\x17R\x02idR\ndeleted_at\"\xb0\x02\n\x06Object\x12\x10\n\x03key\x18\x02 \x01(\tR\x03key\x12\x12\n\x04type\x18\x03 \x01(\tR\x04type\x12!\n\x0c\x64isplay_name\x18\x04 \x01(\tR\x0b\x64isplayName\x12\x37\n\nproperties\x18\x05 \x01(\x0b\x32\x17.google.protobuf.StructR\nproperties\x12\x39\n\ncreated_at\x18\x14 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x15 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12\x12\n\x04hash\x18\x17 \x01(\tR\x04hashJ\x04\x08\x01\x10\x02J\x04\x08\x16\x10\x17R\x02idR\ndeleted_at\"\xd0\x02\n\x08Relation\x12\x46\n\x07subject\x18\x01 \x01(\x0b\x32,.aserto.directory.common.v2.ObjectIdentifierR\x07subject\x12\x1a\n\x08relation\x18\x02 \x01(\tR\x08relation\x12\x44\n\x06object\x18\x03 \x01(\x0b\x32,.aserto.directory.common.v2.ObjectIdentifierR\x06object\x12\x39\n\ncreated_at\x18\x14 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x15 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12\x12\n\x04hash\x18\x17 \x01(\tR\x04hashJ\x04\x08\x16\x10\x17R\ndeleted_at\"\x9a\x02\n\x10ObjectDependency\x12\x1f\n\x0bobject_type\x18\x01 \x01(\tR\nobjectType\x12\x1d\n\nobject_key\x18\x04 \x01(\tR\tobjectKey\x12\x1a\n\x08relation\x18\x05 \x01(\tR\x08relation\x12!\n\x0csubject_type\x18\x07 \x01(\tR\x0bsubjectType\x12\x1f\n\x0bsubject_key\x18\n \x01(\tR\nsubjectKey\x12\x14\n\x05\x64\x65pth\x18\x0b \x01(\x05R\x05\x64\x65pth\x12\x19\n\x08is_cycle\x18\x0c \x01(\x08R\x07isCycle\x12\x12\n\x04path\x18\r \x03(\tR\x04pathJ\x04\x08\x03\x10\x04J\x04\x08\t\x10\nR\tobject_idR\nsubject_id\"B\n\x14ObjectTypeIdentifier\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x42\x07\n\x05_nameJ\x04\x08\x01\x10\x02R\x02id\"B\n\x14PermissionIdentifier\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x42\x07\n\x05_nameJ\x04\x08\x01\x10\x02R\x02id\"z\n\x16RelationTypeIdentifier\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12$\n\x0bobject_type\x18\x03 \x01(\tH\x01R\nobjectType\x88\x01\x01\x42\x07\n\x05_nameB\x0e\n\x0c_object_typeJ\x04\x08\x01\x10\x02R\x02id\"]\n\x10ObjectIdentifier\x12\x17\n\x04type\x18\x01 \x01(\tH\x00R\x04type\x88\x01\x01\x12\x15\n\x03key\x18\x03 \x01(\tH\x01R\x03key\x88\x01\x01\x42\x07\n\x05_typeB\x06\n\x04_keyJ\x04\x08\x02\x10\x03R\x02id\"\xf2\x01\n\x12RelationIdentifier\x12\x46\n\x07subject\x18\x01 \x01(\x0b\x32,.aserto.directory.common.v2.ObjectIdentifierR\x07subject\x12N\n\x08relation\x18\x02 \x01(\x0b\x32\x32.aserto.directory.common.v2.RelationTypeIdentifierR\x08relation\x12\x44\n\x06object\x18\x03 \x01(\x0b\x32,.aserto.directory.common.v2.ObjectIdentifierR\x06object\"=\n\x11PaginationRequest\x12\x12\n\x04size\x18\x01 \x01(\x05R\x04size\x12\x14\n\x05token\x18\x02 \x01(\tR\x05token\"T\n\x12PaginationResponse\x12\x1d\n\nnext_token\x18\x01 \x01(\tR\tnextToken\x12\x1f\n\x0bresult_size\x18\x02 \x01(\x05R\nresultSize*^\n\x04\x46lag\x12\x10\n\x0c\x46LAG_UNKNOWN\x10\x00\x12\x0f\n\x0b\x46LAG_HIDDEN\x10\x01\x12\x11\n\rFLAG_READONLY\x10\x02\x12\x0f\n\x0b\x46LAG_SYSTEM\x10\x04\x12\x0f\n\x0b\x46LAG_SHADOW\x10\x08\x42\x80\x02\n\x1e\x63om.aserto.directory.common.v2B\x0b\x43ommonProtoP\x01ZDgithub.com/aserto-dev/go-directory/aserto/directory/common/v2;common\xa2\x02\x03\x41\x44\x43\xaa\x02\x1a\x41serto.Directory.Common.V2\xca\x02\x1b\x41serto\\Directory_\\Common\\V2\xe2\x02\'Aserto\\Directory_\\Common\\V2\\GPBMetadata\xea\x02\x1d\x41serto::Directory::Common::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
- ["google.protobuf.Struct", "google/protobuf/struct.proto"],
27
- ["google.protobuf.Timestamp", "google/protobuf/timestamp.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
@@ -13,30 +13,7 @@ require 'buf/validate/validate_pb'
13
13
  descriptor_data = "\n\'aserto/directory/common/v3/common.proto\x12\x1a\x61serto.directory.common.v3\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1b\x62uf/validate/validate.proto\"\x83\x05\n\x06Object\x12\xf6\x01\n\x04type\x18\x01 \x01(\tB\xe1\x01\xe0\x41\x02\xbaH\xda\x01r\x02\x18@\xba\x01\xcf\x01\n\x0bobject.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\x04type\x12\x80\x01\n\x02id\x18\x02 \x01(\tBp\xe0\x41\x02\xbaHjr\x03\x18\x80\x02\xba\x01_\n\tobject.id\x12\x38\x63\x61nnot contain any spaces or other whitespace characters\x1a\x18this.matches(\'^[\\\\S]+$\')\xc8\x01\x01R\x02id\x12&\n\x0c\x64isplay_name\x18\x03 \x01(\tB\x03\xe0\x41\x01R\x0b\x64isplayName\x12<\n\nproperties\x18\x04 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01R\nproperties\x12>\n\ncreated_at\x18\x14 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03R\tcreatedAt\x12>\n\nupdated_at\x18\x15 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03R\tupdatedAt\x12\x17\n\x04\x65tag\x18\x17 \x01(\tB\x03\xe0\x41\x01R\x04\x65tag\"\x9e\x0c\n\x08Relation\x12\x8c\x02\n\x0bobject_type\x18\x01 \x01(\tB\xea\x01\xe0\x41\x02\xbaH\xe3\x01r\x02\x18@\xba\x01\xd8\x01\n\x14relation.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\x96\x01\n\tobject_id\x18\x02 \x01(\tBy\xe0\x41\x02\xbaHsr\x03\x18\x80\x02\xba\x01h\n\x12relation.object_id\x12\x38\x63\x61nnot contain any spaces or other whitespace characters\x1a\x18this.matches(\'^[\\\\S]+$\')\xc8\x01\x01R\x08objectId\x12\x84\x02\n\x08relation\x18\x03 \x01(\tB\xe7\x01\xe0\x41\x02\xbaH\xe0\x01r\x02\x18@\xba\x01\xd5\x01\n\x11relation.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\x8f\x02\n\x0csubject_type\x18\x04 \x01(\tB\xeb\x01\xe0\x41\x02\xbaH\xe4\x01r\x02\x18@\xba\x01\xd9\x01\n\x15relation.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\x99\x01\n\nsubject_id\x18\x05 \x01(\tBz\xe0\x41\x02\xbaHtr\x03\x18\x80\x02\xba\x01i\n\x13relation.subject_id\x12\x38\x63\x61nnot contain any spaces or other whitespace characters\x1a\x18this.matches(\'^[\\\\S]+$\')\xc8\x01\x01R\tsubjectId\x12\x9b\x02\n\x10subject_relation\x18\x06 \x01(\tB\xef\x01\xe0\x41\x01\xbaH\xe8\x01r\x02\x18@\xba\x01\xdd\x01\n\x19relation.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\ncreated_at\x18\x14 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03R\tcreatedAt\x12>\n\nupdated_at\x18\x15 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03R\tupdatedAt\x12\x17\n\x04\x65tag\x18\x17 \x01(\tB\x03\xe0\x41\x01R\x04\x65tag\"\xcd\x03\n\x10ObjectIdentifier\x12\x95\x02\n\x0bobject_type\x18\x01 \x01(\tB\xf3\x01\xe0\x41\x02\xbaH\xec\x01r\x02\x18@\xba\x01\xe1\x01\n\x1dobject_identifier.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\xa0\x01\n\tobject_id\x18\x02 \x01(\tB\x82\x01\xe0\x41\x02\xbaH|r\x03\x18\x80\x02\xba\x01q\n\x1bobject_identifier.object_id\x12\x38\x63\x61nnot contain any spaces or other whitespace characters\x1a\x18this.matches(\'^[\\\\S]+$\')\xc8\x01\x01R\x08objectId\"\xd3\x0b\n\x12RelationIdentifier\x12\x97\x02\n\x0bobject_type\x18\x01 \x01(\tB\xf5\x01\xe0\x41\x02\xbaH\xee\x01r\x02\x18@\xba\x01\xe3\x01\n\x1frelation_identifier.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\xa2\x01\n\tobject_id\x18\x02 \x01(\tB\x84\x01\xe0\x41\x02\xbaH~r\x03\x18\x80\x02\xba\x01s\n\x1drelation_identifier.object_id\x12\x38\x63\x61nnot contain any spaces or other whitespace characters\x1a\x18this.matches(\'^[\\\\S]+$\')\xd0\x01\x01R\x08objectId\x12\x8f\x02\n\x08relation\x18\x03 \x01(\tB\xf2\x01\xe0\x41\x02\xbaH\xeb\x01r\x02\x18@\xba\x01\xe0\x01\n\x1crelation_identifier.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\x9a\x02\n\x0csubject_type\x18\x04 \x01(\tB\xf6\x01\xe0\x41\x02\xbaH\xef\x01r\x02\x18@\xba\x01\xe4\x01\n relation_identifier.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\xa5\x01\n\nsubject_id\x18\x05 \x01(\tB\x85\x01\xe0\x41\x02\xbaH\x7fr\x03\x18\x80\x02\xba\x01t\n\x1erelation_identifier.subject_id\x12\x38\x63\x61nnot contain any spaces or other whitespace characters\x1a\x18this.matches(\'^[\\\\S]+$\')\xd0\x01\x01R\tsubjectId\x12\xa6\x02\n\x10subject_relation\x18\x06 \x01(\tB\xfa\x01\xe0\x41\x01\xbaH\xf3\x01r\x02\x18@\xba\x01\xe8\x01\n$relation_identifier.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\"P\n\x11PaginationRequest\x12 \n\x04size\x18\x01 \x01(\x05\x42\x0c\xe0\x41\x01\xbaH\x06\x1a\x04\x18\x64(\x01R\x04size\x12\x19\n\x05token\x18\x02 \x01(\tB\x03\xe0\x41\x01R\x05token\"8\n\x12PaginationResponse\x12\"\n\nnext_token\x18\x01 \x01(\tB\x03\xe0\x41\x03R\tnextTokenB\x80\x02\n\x1e\x63om.aserto.directory.common.v3B\x0b\x43ommonProtoP\x01ZDgithub.com/aserto-dev/go-directory/aserto/directory/common/v3;common\xa2\x02\x03\x41\x44\x43\xaa\x02\x1a\x41serto.Directory.Common.V3\xca\x02\x1b\x41serto\\Directory_\\Common\\V3\xe2\x02\'Aserto\\Directory_\\Common\\V3\\GPBMetadata\xea\x02\x1d\x41serto::Directory::Common::V3b\x06proto3"
14
14
 
15
15
  pool = Google::Protobuf::DescriptorPool.generated_pool
16
-
17
- begin
18
- pool.add_serialized_file(descriptor_data)
19
- rescue TypeError
20
- # Compatibility code: will be removed in the next major version.
21
- require 'google/protobuf/descriptor_pb'
22
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
23
- parsed.clear_dependency
24
- serialized = parsed.class.encode(parsed)
25
- file = pool.add_serialized_file(serialized)
26
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
27
- imports = [
28
- ["google.protobuf.Struct", "google/protobuf/struct.proto"],
29
- ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
30
- ]
31
- imports.each do |type_name, expected_filename|
32
- import_file = pool.lookup(type_name).file_descriptor
33
- if import_file.name != expected_filename
34
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
35
- end
36
- end
37
- warn "Each proto file must use a consistent fully-qualified name."
38
- warn "This will become an error in the next major version."
39
- end
16
+ pool.add_serialized_file(descriptor_data)
40
17
 
41
18
  module Aserto
42
19
  module Directory
@@ -11,30 +11,7 @@ require 'google/protobuf/timestamp_pb'
11
11
  descriptor_data = "\n+aserto/directory/exporter/v2/exporter.proto\x12\x1c\x61serto.directory.exporter.v2\x1a\'aserto/directory/common/v2/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"d\n\rExportRequest\x12\x18\n\x07options\x18\x01 \x01(\rR\x07options\x12\x39\n\nstart_from\x18\x14 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tstartFrom\"\xff\x02\n\x0e\x45xportResponse\x12<\n\x06object\x18\x02 \x01(\x0b\x32\".aserto.directory.common.v2.ObjectH\x00R\x06object\x12I\n\x0bobject_type\x18\x03 \x01(\x0b\x32&.aserto.directory.common.v2.ObjectTypeH\x00R\nobjectType\x12\x42\n\x08relation\x18\x04 \x01(\x0b\x32$.aserto.directory.common.v2.RelationH\x00R\x08relation\x12O\n\rrelation_type\x18\x05 \x01(\x0b\x32(.aserto.directory.common.v2.RelationTypeH\x00R\x0crelationType\x12H\n\npermission\x18\x06 \x01(\x0b\x32&.aserto.directory.common.v2.PermissionH\x00R\npermissionB\x05\n\x03msg*\xc7\x02\n\x06Option\x12\x12\n\x0eOPTION_UNKNOWN\x10\x00\x12 \n\x1cOPTION_METADATA_OBJECT_TYPES\x10\x01\x12\"\n\x1eOPTION_METADATA_RELATION_TYPES\x10\x02\x12\x1f\n\x1bOPTION_METADATA_PERMISSIONS\x10\x04\x12\x13\n\x0fOPTION_METADATA\x10\x07\x12\x17\n\x13OPTION_DATA_OBJECTS\x10\x08\x12\x19\n\x15OPTION_DATA_RELATIONS\x10\x10\x12#\n\x1fOPTION_DATA_RELATIONS_WITH_KEYS\x10 \x12\x0f\n\x0bOPTION_DATA\x10\x18\x12\x19\n\x15OPTION_DATA_WITH_KEYS\x10(\x12\x0e\n\nOPTION_ALL\x10\x1f\x12\x18\n\x14OPTION_ALL_WITH_KEYS\x10/2s\n\x08\x45xporter\x12g\n\x06\x45xport\x12+.aserto.directory.exporter.v2.ExportRequest\x1a,.aserto.directory.exporter.v2.ExportResponse\"\x00\x30\x01\x42\x90\x02\n com.aserto.directory.exporter.v2B\rExporterProtoP\x01ZHgithub.com/aserto-dev/go-directory/aserto/directory/exporter/v2;exporter\xa2\x02\x03\x41\x44\x45\xaa\x02\x1c\x41serto.Directory.Exporter.V2\xca\x02\x1d\x41serto\\Directory_\\Exporter\\V2\xe2\x02)Aserto\\Directory_\\Exporter\\V2\\GPBMetadata\xea\x02\x1f\x41serto::Directory::Exporter::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
- ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
27
- ["aserto.directory.common.v2.Object", "aserto/directory/common/v2/common.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
@@ -12,31 +12,7 @@ require 'google/protobuf/timestamp_pb'
12
12
  descriptor_data = "\n+aserto/directory/exporter/v3/exporter.proto\x12\x1c\x61serto.directory.exporter.v3\x1a\'aserto/directory/common/v3/common.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"d\n\rExportRequest\x12\x18\n\x07options\x18\x01 \x01(\rR\x07options\x12\x39\n\nstart_from\x18\x14 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tstartFrom\"\xca\x01\n\x0e\x45xportResponse\x12<\n\x06object\x18\x02 \x01(\x0b\x32\".aserto.directory.common.v3.ObjectH\x00R\x06object\x12\x42\n\x08relation\x18\x04 \x01(\x0b\x32$.aserto.directory.common.v3.RelationH\x00R\x08relation\x12/\n\x05stats\x18\x08 \x01(\x0b\x32\x17.google.protobuf.StructH\x00R\x05statsB\x05\n\x03msg*s\n\x06Option\x12\x12\n\x0eOPTION_UNKNOWN\x10\x00\x12\x17\n\x13OPTION_DATA_OBJECTS\x10\x08\x12\x19\n\x15OPTION_DATA_RELATIONS\x10\x10\x12\x0f\n\x0bOPTION_DATA\x10\x18\x12\x10\n\x0cOPTION_STATS\x10@2s\n\x08\x45xporter\x12g\n\x06\x45xport\x12+.aserto.directory.exporter.v3.ExportRequest\x1a,.aserto.directory.exporter.v3.ExportResponse\"\x00\x30\x01\x42\x90\x02\n com.aserto.directory.exporter.v3B\rExporterProtoP\x01ZHgithub.com/aserto-dev/go-directory/aserto/directory/exporter/v3;exporter\xa2\x02\x03\x41\x44\x45\xaa\x02\x1c\x41serto.Directory.Exporter.V3\xca\x02\x1d\x41serto\\Directory_\\Exporter\\V3\xe2\x02)Aserto\\Directory_\\Exporter\\V3\\GPBMetadata\xea\x02\x1f\x41serto::Directory::Exporter::V3b\x06proto3"
13
13
 
14
14
  pool = Google::Protobuf::DescriptorPool.generated_pool
15
-
16
- begin
17
- pool.add_serialized_file(descriptor_data)
18
- rescue TypeError
19
- # Compatibility code: will be removed in the next major version.
20
- require 'google/protobuf/descriptor_pb'
21
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
- parsed.clear_dependency
23
- serialized = parsed.class.encode(parsed)
24
- file = pool.add_serialized_file(serialized)
25
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
- imports = [
27
- ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
28
- ["aserto.directory.common.v3.Object", "aserto/directory/common/v3/common.proto"],
29
- ["google.protobuf.Struct", "google/protobuf/struct.proto"],
30
- ]
31
- imports.each do |type_name, expected_filename|
32
- import_file = pool.lookup(type_name).file_descriptor
33
- if import_file.name != expected_filename
34
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
35
- end
36
- end
37
- warn "Each proto file must use a consistent fully-qualified name."
38
- warn "This will become an error in the next major version."
39
- end
15
+ pool.add_serialized_file(descriptor_data)
40
16
 
41
17
  module Aserto
42
18
  module Directory
@@ -10,29 +10,7 @@ require 'aserto/directory/common/v2/common_pb'
10
10
  descriptor_data = "\n+aserto/directory/importer/v2/importer.proto\x12\x1c\x61serto.directory.importer.v2\x1a\'aserto/directory/common/v2/common.proto\"\xbd\x03\n\rImportRequest\x12=\n\x07op_code\x18\x01 \x01(\x0e\x32$.aserto.directory.importer.v2.OpcodeR\x06opCode\x12I\n\x0bobject_type\x18\x02 \x01(\x0b\x32&.aserto.directory.common.v2.ObjectTypeH\x00R\nobjectType\x12H\n\npermission\x18\x03 \x01(\x0b\x32&.aserto.directory.common.v2.PermissionH\x00R\npermission\x12O\n\rrelation_type\x18\x04 \x01(\x0b\x32(.aserto.directory.common.v2.RelationTypeH\x00R\x0crelationType\x12<\n\x06object\x18\x05 \x01(\x0b\x32\".aserto.directory.common.v2.ObjectH\x00R\x06object\x12\x42\n\x08relation\x18\x06 \x01(\x0b\x32$.aserto.directory.common.v2.RelationH\x00R\x08relationB\x05\n\x03msg\"\x8b\x03\n\x0eImportResponse\x12L\n\x0bobject_type\x18\x01 \x01(\x0b\x32+.aserto.directory.importer.v2.ImportCounterR\nobjectType\x12K\n\npermission\x18\x02 \x01(\x0b\x32+.aserto.directory.importer.v2.ImportCounterR\npermission\x12P\n\rrelation_type\x18\x03 \x01(\x0b\x32+.aserto.directory.importer.v2.ImportCounterR\x0crelationType\x12\x43\n\x06object\x18\x04 \x01(\x0b\x32+.aserto.directory.importer.v2.ImportCounterR\x06object\x12G\n\x08relation\x18\x05 \x01(\x0b\x32+.aserto.directory.importer.v2.ImportCounterR\x08relation\"c\n\rImportCounter\x12\x12\n\x04recv\x18\x01 \x01(\x04R\x04recv\x12\x10\n\x03set\x18\x02 \x01(\x04R\x03set\x12\x16\n\x06\x64\x65lete\x18\x03 \x01(\x04R\x06\x64\x65lete\x12\x14\n\x05\x65rror\x18\x04 \x01(\x04R\x05\x65rror*?\n\x06Opcode\x12\x12\n\x0eOPCODE_UNKNOWN\x10\x00\x12\x0e\n\nOPCODE_SET\x10\x01\x12\x11\n\rOPCODE_DELETE\x10\x02\x32u\n\x08Importer\x12i\n\x06Import\x12+.aserto.directory.importer.v2.ImportRequest\x1a,.aserto.directory.importer.v2.ImportResponse\"\x00(\x01\x30\x01\x42\x90\x02\n com.aserto.directory.importer.v2B\rImporterProtoP\x01ZHgithub.com/aserto-dev/go-directory/aserto/directory/importer/v2;importer\xa2\x02\x03\x41\x44I\xaa\x02\x1c\x41serto.Directory.Importer.V2\xca\x02\x1d\x41serto\\Directory_\\Importer\\V2\xe2\x02)Aserto\\Directory_\\Importer\\V2\\GPBMetadata\xea\x02\x1f\x41serto::Directory::Importer::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
- ["aserto.directory.common.v2.ObjectType", "aserto/directory/common/v2/common.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
@@ -10,29 +10,7 @@ require 'aserto/directory/common/v3/common_pb'
10
10
  descriptor_data = "\n+aserto/directory/importer/v3/importer.proto\x12\x1c\x61serto.directory.importer.v3\x1a\'aserto/directory/common/v3/common.proto\"\xd7\x01\n\rImportRequest\x12=\n\x07op_code\x18\x01 \x01(\x0e\x32$.aserto.directory.importer.v3.OpcodeR\x06opCode\x12<\n\x06object\x18\x05 \x01(\x0b\x32\".aserto.directory.common.v3.ObjectH\x00R\x06object\x12\x42\n\x08relation\x18\x06 \x01(\x0b\x32$.aserto.directory.common.v3.RelationH\x00R\x08relationB\x05\n\x03msg\"\x9e\x01\n\x0eImportResponse\x12\x43\n\x06object\x18\x01 \x01(\x0b\x32+.aserto.directory.importer.v3.ImportCounterR\x06object\x12G\n\x08relation\x18\x02 \x01(\x0b\x32+.aserto.directory.importer.v3.ImportCounterR\x08relation\"c\n\rImportCounter\x12\x12\n\x04recv\x18\x01 \x01(\x04R\x04recv\x12\x10\n\x03set\x18\x02 \x01(\x04R\x03set\x12\x16\n\x06\x64\x65lete\x18\x03 \x01(\x04R\x06\x64\x65lete\x12\x14\n\x05\x65rror\x18\x04 \x01(\x04R\x05\x65rror*?\n\x06Opcode\x12\x12\n\x0eOPCODE_UNKNOWN\x10\x00\x12\x0e\n\nOPCODE_SET\x10\x01\x12\x11\n\rOPCODE_DELETE\x10\x02\x32u\n\x08Importer\x12i\n\x06Import\x12+.aserto.directory.importer.v3.ImportRequest\x1a,.aserto.directory.importer.v3.ImportResponse\"\x00(\x01\x30\x01\x42\x90\x02\n com.aserto.directory.importer.v3B\rImporterProtoP\x01ZHgithub.com/aserto-dev/go-directory/aserto/directory/importer/v3;importer\xa2\x02\x03\x41\x44I\xaa\x02\x1c\x41serto.Directory.Importer.V3\xca\x02\x1d\x41serto\\Directory_\\Importer\\V3\xe2\x02)Aserto\\Directory_\\Importer\\V3\\GPBMetadata\xea\x02\x1f\x41serto::Directory::Importer::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
- ["aserto.directory.common.v3.Object", "aserto/directory/common/v3/common.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
@@ -16,31 +16,7 @@ require 'buf/validate/validate_pb'
16
16
  descriptor_data = "\n%aserto/directory/model/v3/model.proto\x12\x19\x61serto.directory.model.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\x1a\x1b\x62uf/validate/validate.proto\"B\n\x12GetManifestRequest\x12,\n\x05\x65mpty\x18\x01 \x01(\x0b\x32\x16.google.protobuf.EmptyR\x05\x65mpty\"\xc7\x01\n\x13GetManifestResponse\x12\x41\n\x08metadata\x18\x01 \x01(\x0b\x32#.aserto.directory.model.v3.MetadataH\x00R\x08metadata\x12\x35\n\x04\x62ody\x18\x02 \x01(\x0b\x32\x1f.aserto.directory.model.v3.BodyH\x00R\x04\x62ody\x12/\n\x05model\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructH\x00R\x05modelB\x05\n\x03msg\"R\n\x12SetManifestRequest\x12\x35\n\x04\x62ody\x18\x01 \x01(\x0b\x32\x1f.aserto.directory.model.v3.BodyH\x00R\x04\x62odyB\x05\n\x03msg\"E\n\x13SetManifestResponse\x12.\n\x06result\x18\x01 \x01(\x0b\x32\x16.google.protobuf.EmptyR\x06result\"E\n\x15\x44\x65leteManifestRequest\x12,\n\x05\x65mpty\x18\x01 \x01(\x0b\x32\x16.google.protobuf.EmptyR\x05\x65mpty\"H\n\x16\x44\x65leteManifestResponse\x12.\n\x06result\x18\x01 \x01(\x0b\x32\x16.google.protobuf.EmptyR\x06result\"c\n\x08Metadata\x12>\n\nupdated_at\x18\x15 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03R\tupdatedAt\x12\x17\n\x04\x65tag\x18\x17 \x01(\tB\x03\xe0\x41\x01R\x04\x65tag\"%\n\x04\x42ody\x12\x1d\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x42\t\xbaH\x06z\x04\x18\x80\x80\x04R\x04\x64\x61ta2\x88\x04\n\x05Model\x12v\n\x0bGetManifest\x12-.aserto.directory.model.v3.GetManifestRequest\x1a..aserto.directory.model.v3.GetManifestResponse\"\x06\x82\xd3\xe4\x93\x02\x00\x30\x01\x12v\n\x0bSetManifest\x12-.aserto.directory.model.v3.SetManifestRequest\x1a..aserto.directory.model.v3.SetManifestResponse\"\x06\x82\xd3\xe4\x93\x02\x00(\x01\x12\x8e\x02\n\x0e\x44\x65leteManifest\x12\x30.aserto.directory.model.v3.DeleteManifestRequest\x1a\x31.aserto.directory.model.v3.DeleteManifestResponse\"\x96\x01\x92\x41q\n\tdirectory\x12\x0f\x44\x65lete manifest\x1a\x10\x44\x65lete manifest.*\x1c\x64irectory.v3.manifest.deleteb#\n\x13\n\x0f\x44irectoryAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x82\xd3\xe4\x93\x02\x1c*\x1a/api/v3/directory/manifestB\xf8\x01\n\x1d\x63om.aserto.directory.model.v3B\nModelProtoP\x01ZBgithub.com/aserto-dev/go-directory/aserto/directory/model/v3;model\xa2\x02\x03\x41\x44M\xaa\x02\x19\x41serto.Directory.Model.V3\xca\x02\x1a\x41serto\\Directory_\\Model\\V3\xe2\x02&Aserto\\Directory_\\Model\\V3\\GPBMetadata\xea\x02\x1c\x41serto::Directory::Model::V3b\x06proto3"
17
17
 
18
18
  pool = Google::Protobuf::DescriptorPool.generated_pool
19
-
20
- begin
21
- pool.add_serialized_file(descriptor_data)
22
- rescue TypeError
23
- # Compatibility code: will be removed in the next major version.
24
- require 'google/protobuf/descriptor_pb'
25
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
26
- parsed.clear_dependency
27
- serialized = parsed.class.encode(parsed)
28
- file = pool.add_serialized_file(serialized)
29
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
30
- imports = [
31
- ["google.protobuf.Empty", "google/protobuf/empty.proto"],
32
- ["google.protobuf.Struct", "google/protobuf/struct.proto"],
33
- ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
34
- ]
35
- imports.each do |type_name, expected_filename|
36
- import_file = pool.lookup(type_name).file_descriptor
37
- if import_file.name != expected_filename
38
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
39
- end
40
- end
41
- warn "Each proto file must use a consistent fully-qualified name."
42
- warn "This will become an error in the next major version."
43
- end
19
+ pool.add_serialized_file(descriptor_data)
44
20
 
45
21
  module Aserto
46
22
  module Directory
@@ -10,28 +10,7 @@ require 'protoc-gen-openapiv2/options/annotations_pb'
10
10
  descriptor_data = "\n)aserto/directory/openapi/v3/openapi.proto\x12\x13\x61serto.directory.v3\x1a.protoc-gen-openapiv2/options/annotations.protoB\xea\x04\n\x17\x63om.aserto.directory.v3B\x0cOpenapiProtoP\x01Z@github.com/aserto-dev/go-directory/aserto/directory/v3;directory\xa2\x02\x03\x41\x44X\xaa\x02\x13\x41serto.Directory.V3\xca\x02\x14\x41serto\\Directory_\\V3\xe2\x02 Aserto\\Directory_\\V3\\GPBMetadata\xea\x02\x15\x41serto::Directory::V3\x92\x41\x8d\x03\x12\xbc\x01\n\x11\x44irectory Service\"N\n\x0c\x41serto, Inc.\x12*https://github.com/aserto-dev/pb-directory\x1a\x12support@aserto.com*R\n\x12\x41pache 2.0 License\x12<https://github.com/aserto-dev/pb-directory/blob/main/LICENSE2\x03\x33.1*\x03\x01\x02\x04\x32\x10\x61pplication/json:\x10\x61pplication/jsonZL\n&\n\x0f\x44irectoryAPIKey\x12\x13\x08\x02\x1a\rauthorization \x02\n\"\n\x08TenantID\x12\x16\x08\x02\x1a\x10\x61serto-tenant-id \x02\x62#\n\x13\n\x0f\x44irectoryAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00r0\n\x15\x41serto API Reference.\x12\x17https://docs.aserto.comb\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
- ]
26
- imports.each do |type_name, expected_filename|
27
- import_file = pool.lookup(type_name).file_descriptor
28
- if import_file.name != expected_filename
29
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
30
- end
31
- end
32
- warn "Each proto file must use a consistent fully-qualified name."
33
- warn "This will become an error in the next major version."
34
- end
13
+ pool.add_serialized_file(descriptor_data)
35
14
 
36
15
  module Aserto
37
16
  module Directory
@@ -10,29 +10,7 @@ require 'aserto/directory/common/v2/common_pb'
10
10
  descriptor_data = "\n\'aserto/directory/reader/v2/reader.proto\x12\x1a\x61serto.directory.reader.v2\x1a\'aserto/directory/common/v2/common.proto\"^\n\x14GetObjectTypeRequest\x12\x46\n\x05param\x18\x01 \x01(\x0b\x32\x30.aserto.directory.common.v2.ObjectTypeIdentifierR\x05param\"W\n\x15GetObjectTypeResponse\x12>\n\x06result\x18\x01 \x01(\x0b\x32&.aserto.directory.common.v2.ObjectTypeR\x06result\"Z\n\x15GetObjectTypesRequest\x12\x41\n\x04page\x18\t \x01(\x0b\x32-.aserto.directory.common.v2.PaginationRequestR\x04page\"\x9e\x01\n\x16GetObjectTypesResponse\x12@\n\x07results\x18\x01 \x03(\x0b\x32&.aserto.directory.common.v2.ObjectTypeR\x07results\x12\x42\n\x04page\x18\t \x01(\x0b\x32..aserto.directory.common.v2.PaginationResponseR\x04page\"b\n\x16GetRelationTypeRequest\x12H\n\x05param\x18\x01 \x01(\x0b\x32\x32.aserto.directory.common.v2.RelationTypeIdentifierR\x05param\"[\n\x17GetRelationTypeResponse\x12@\n\x06result\x18\x01 \x01(\x0b\x32(.aserto.directory.common.v2.RelationTypeR\x06result\"\xa4\x01\n\x17GetRelationTypesRequest\x12\x46\n\x05param\x18\x01 \x01(\x0b\x32\x30.aserto.directory.common.v2.ObjectTypeIdentifierR\x05param\x12\x41\n\x04page\x18\t \x01(\x0b\x32-.aserto.directory.common.v2.PaginationRequestR\x04page\"\xa2\x01\n\x18GetRelationTypesResponse\x12\x42\n\x07results\x18\x01 \x03(\x0b\x32(.aserto.directory.common.v2.RelationTypeR\x07results\x12\x42\n\x04page\x18\t \x01(\x0b\x32..aserto.directory.common.v2.PaginationResponseR\x04page\"\xd8\x01\n\x10GetObjectRequest\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\x12\x41\n\x04page\x18\t \x01(\x0b\x32-.aserto.directory.common.v2.PaginationRequestR\x04pageB\x11\n\x0f_with_relations\"\xf7\x01\n\x11GetObjectResponse\x12:\n\x06result\x18\x01 \x01(\x0b\x32\".aserto.directory.common.v2.ObjectR\x06result\x12\x42\n\trelations\x18\x04 \x03(\x0b\x32$.aserto.directory.common.v2.RelationR\trelations\x12\x42\n\x04page\x18\t \x01(\x0b\x32..aserto.directory.common.v2.PaginationResponseR\x04pageJ\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04R\x08incomingR\x08outgoing\"Z\n\x14GetObjectManyRequest\x12\x42\n\x05param\x18\x01 \x03(\x0b\x32,.aserto.directory.common.v2.ObjectIdentifierR\x05param\"U\n\x15GetObjectManyResponse\x12<\n\x07results\x18\x01 \x03(\x0b\x32\".aserto.directory.common.v2.ObjectR\x07results\"\x9e\x01\n\x11GetObjectsRequest\x12\x46\n\x05param\x18\x01 \x01(\x0b\x32\x30.aserto.directory.common.v2.ObjectTypeIdentifierR\x05param\x12\x41\n\x04page\x18\t \x01(\x0b\x32-.aserto.directory.common.v2.PaginationRequestR\x04page\"\x96\x01\n\x12GetObjectsResponse\x12<\n\x07results\x18\x01 \x03(\x0b\x32\".aserto.directory.common.v2.ObjectR\x07results\x12\x42\n\x04page\x18\t \x01(\x0b\x32..aserto.directory.common.v2.PaginationResponseR\x04page\"\x93\x01\n\x12GetRelationRequest\x12\x44\n\x05param\x18\x01 \x01(\x0b\x32..aserto.directory.common.v2.RelationIdentifierR\x05param\x12&\n\x0cwith_objects\x18\x02 \x01(\x08H\x00R\x0bwithObjects\x88\x01\x01\x42\x0f\n\r_with_objects\"\x8d\x02\n\x13GetRelationResponse\x12>\n\x07results\x18\x01 \x03(\x0b\x32$.aserto.directory.common.v2.RelationR\x07results\x12V\n\x07objects\x18\x02 \x03(\x0b\x32<.aserto.directory.reader.v2.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.v2.ObjectR\x05value:\x02\x38\x01\"\x9e\x01\n\x13GetRelationsRequest\x12\x44\n\x05param\x18\x01 \x01(\x0b\x32..aserto.directory.common.v2.RelationIdentifierR\x05param\x12\x41\n\x04page\x18\t \x01(\x0b\x32-.aserto.directory.common.v2.PaginationRequestR\x04page\"\x9a\x01\n\x14GetRelationsResponse\x12>\n\x07results\x18\x01 \x03(\x0b\x32$.aserto.directory.common.v2.RelationR\x07results\x12\x42\n\x04page\x18\t \x01(\x0b\x32..aserto.directory.common.v2.PaginationResponseR\x04page\"^\n\x14GetPermissionRequest\x12\x46\n\x05param\x18\x01 \x01(\x0b\x32\x30.aserto.directory.common.v2.PermissionIdentifierR\x05param\"W\n\x15GetPermissionResponse\x12>\n\x06result\x18\x01 \x01(\x0b\x32&.aserto.directory.common.v2.PermissionR\x06result\"Z\n\x15GetPermissionsRequest\x12\x41\n\x04page\x18\t \x01(\x0b\x32-.aserto.directory.common.v2.PaginationRequestR\x04page\"\x9e\x01\n\x16GetPermissionsResponse\x12@\n\x07results\x18\x01 \x03(\x0b\x32&.aserto.directory.common.v2.PermissionR\x07results\x12\x42\n\x04page\x18\t \x01(\x0b\x32..aserto.directory.common.v2.PaginationResponseR\x04page\"\x8e\x02\n\x16\x43heckPermissionRequest\x12\x46\n\x07subject\x18\x01 \x01(\x0b\x32,.aserto.directory.common.v2.ObjectIdentifierR\x07subject\x12P\n\npermission\x18\x02 \x01(\x0b\x32\x30.aserto.directory.common.v2.PermissionIdentifierR\npermission\x12\x44\n\x06object\x18\x03 \x01(\x0b\x32,.aserto.directory.common.v2.ObjectIdentifierR\x06object\x12\x14\n\x05trace\x18\x07 \x01(\x08R\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\"\x8a\x02\n\x14\x43heckRelationRequest\x12\x46\n\x07subject\x18\x01 \x01(\x0b\x32,.aserto.directory.common.v2.ObjectIdentifierR\x07subject\x12N\n\x08relation\x18\x02 \x01(\x0b\x32\x32.aserto.directory.common.v2.RelationTypeIdentifierR\x08relation\x12\x44\n\x06object\x18\x03 \x01(\x0b\x32,.aserto.directory.common.v2.ObjectIdentifierR\x06object\x12\x14\n\x05trace\x18\x07 \x01(\x08R\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\";\n\rCheckResponse\x12\x14\n\x05\x63heck\x18\x01 \x01(\x08R\x05\x63heck\x12\x14\n\x05trace\x18\x02 \x03(\tR\x05trace\"\xb5\x02\n\x0fGetGraphRequest\x12\x44\n\x06\x61nchor\x18\x01 \x01(\x0b\x32,.aserto.directory.common.v2.ObjectIdentifierR\x06\x61nchor\x12\x46\n\x07subject\x18\x02 \x01(\x0b\x32,.aserto.directory.common.v2.ObjectIdentifierR\x07subject\x12N\n\x08relation\x18\x03 \x01(\x0b\x32\x32.aserto.directory.common.v2.RelationTypeIdentifierR\x08relation\x12\x44\n\x06object\x18\x04 \x01(\x0b\x32,.aserto.directory.common.v2.ObjectIdentifierR\x06object\"Z\n\x10GetGraphResponse\x12\x46\n\x07results\x18\x01 \x03(\x0b\x32,.aserto.directory.common.v2.ObjectDependencyR\x07results2\x86\r\n\x06Reader\x12v\n\rGetObjectType\x12\x30.aserto.directory.reader.v2.GetObjectTypeRequest\x1a\x31.aserto.directory.reader.v2.GetObjectTypeResponse\"\x00\x12y\n\x0eGetObjectTypes\x12\x31.aserto.directory.reader.v2.GetObjectTypesRequest\x1a\x32.aserto.directory.reader.v2.GetObjectTypesResponse\"\x00\x12|\n\x0fGetRelationType\x12\x32.aserto.directory.reader.v2.GetRelationTypeRequest\x1a\x33.aserto.directory.reader.v2.GetRelationTypeResponse\"\x00\x12\x7f\n\x10GetRelationTypes\x12\x33.aserto.directory.reader.v2.GetRelationTypesRequest\x1a\x34.aserto.directory.reader.v2.GetRelationTypesResponse\"\x00\x12v\n\rGetPermission\x12\x30.aserto.directory.reader.v2.GetPermissionRequest\x1a\x31.aserto.directory.reader.v2.GetPermissionResponse\"\x00\x12y\n\x0eGetPermissions\x12\x31.aserto.directory.reader.v2.GetPermissionsRequest\x1a\x32.aserto.directory.reader.v2.GetPermissionsResponse\"\x00\x12j\n\tGetObject\x12,.aserto.directory.reader.v2.GetObjectRequest\x1a-.aserto.directory.reader.v2.GetObjectResponse\"\x00\x12v\n\rGetObjectMany\x12\x30.aserto.directory.reader.v2.GetObjectManyRequest\x1a\x31.aserto.directory.reader.v2.GetObjectManyResponse\"\x00\x12m\n\nGetObjects\x12-.aserto.directory.reader.v2.GetObjectsRequest\x1a..aserto.directory.reader.v2.GetObjectsResponse\"\x00\x12p\n\x0bGetRelation\x12..aserto.directory.reader.v2.GetRelationRequest\x1a/.aserto.directory.reader.v2.GetRelationResponse\"\x00\x12s\n\x0cGetRelations\x12/.aserto.directory.reader.v2.GetRelationsRequest\x1a\x30.aserto.directory.reader.v2.GetRelationsResponse\"\x00\x12|\n\x0f\x43heckPermission\x12\x32.aserto.directory.reader.v2.CheckPermissionRequest\x1a\x33.aserto.directory.reader.v2.CheckPermissionResponse\"\x00\x12v\n\rCheckRelation\x12\x30.aserto.directory.reader.v2.CheckRelationRequest\x1a\x31.aserto.directory.reader.v2.CheckRelationResponse\"\x00\x12g\n\x08GetGraph\x12+.aserto.directory.reader.v2.GetGraphRequest\x1a,.aserto.directory.reader.v2.GetGraphResponse\"\x00\x42\x80\x02\n\x1e\x63om.aserto.directory.reader.v2B\x0bReaderProtoP\x01ZDgithub.com/aserto-dev/go-directory/aserto/directory/reader/v2;reader\xa2\x02\x03\x41\x44R\xaa\x02\x1a\x41serto.Directory.Reader.V2\xca\x02\x1b\x41serto\\Directory_\\Reader\\V2\xe2\x02\'Aserto\\Directory_\\Reader\\V2\\GPBMetadata\xea\x02\x1d\x41serto::Directory::Reader::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
- ["aserto.directory.common.v2.ObjectTypeIdentifier", "aserto/directory/common/v2/common.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
@@ -15,30 +15,7 @@ require 'aserto/directory/common/v3/common_pb'
15
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"
16
16
 
17
17
  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
18
+ pool.add_serialized_file(descriptor_data)
42
19
 
43
20
  module Aserto
44
21
  module Directory
@@ -8,28 +8,7 @@ require 'google/protobuf'
8
8
  descriptor_data = "\n&aserto/directory/schema/v2/group.proto\x12\x1a\x61serto.directory.schema.v2\"6\n\x0fGroupProperties\x12#\n\rconnection_id\x18\x01 \x01(\tR\x0c\x63onnectionIdB\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
@@ -8,28 +8,7 @@ require 'google/protobuf'
8
8
  descriptor_data = "\n)aserto/directory/schema/v2/identity.proto\x12\x1a\x61serto.directory.schema.v2\"\xc6\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\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.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
@@ -10,29 +10,7 @@ require 'google/protobuf/struct_pb'
10
10
  descriptor_data = "\n\'aserto/directory/schema/v2/tenant.proto\x12\x1a\x61serto.directory.schema.v2\x1a\x1cgoogle/protobuf/struct.proto\"\xf7\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\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.v2.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.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
@@ -8,28 +8,7 @@ require 'google/protobuf'
8
8
  descriptor_data = "\n%aserto/directory/schema/v2/user.proto\x12\x1a\x61serto.directory.schema.v2\"\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.v2.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.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
@@ -11,30 +11,7 @@ require 'aserto/directory/common/v2/common_pb'
11
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\"_\n\x14SetObjectTypeRequest\x12G\n\x0bobject_type\x18\x01 \x01(\x0b\x32&.aserto.directory.common.v2.ObjectTypeR\nobjectType\"W\n\x15SetObjectTypeResponse\x12>\n\x06result\x18\x01 \x01(\x0b\x32&.aserto.directory.common.v2.ObjectTypeR\x06result\"a\n\x17\x44\x65leteObjectTypeRequest\x12\x46\n\x05param\x18\x01 \x01(\x0b\x32\x30.aserto.directory.common.v2.ObjectTypeIdentifierR\x05param\"J\n\x18\x44\x65leteObjectTypeResponse\x12.\n\x06result\x18\x01 \x01(\x0b\x32\x16.google.protobuf.EmptyR\x06result\"g\n\x16SetRelationTypeRequest\x12M\n\rrelation_type\x18\x01 \x01(\x0b\x32(.aserto.directory.common.v2.RelationTypeR\x0crelationType\"[\n\x17SetRelationTypeResponse\x12@\n\x06result\x18\x01 \x01(\x0b\x32(.aserto.directory.common.v2.RelationTypeR\x06result\"e\n\x19\x44\x65leteRelationTypeRequest\x12H\n\x05param\x18\x01 \x01(\x0b\x32\x32.aserto.directory.common.v2.RelationTypeIdentifierR\x05param\"L\n\x1a\x44\x65leteRelationTypeResponse\x12.\n\x06result\x18\x01 \x01(\x0b\x32\x16.google.protobuf.EmptyR\x06result\"^\n\x14SetPermissionRequest\x12\x46\n\npermission\x18\x01 \x01(\x0b\x32&.aserto.directory.common.v2.PermissionR\npermission\"W\n\x15SetPermissionResponse\x12>\n\x06result\x18\x01 \x01(\x0b\x32&.aserto.directory.common.v2.PermissionR\x06result\"a\n\x17\x44\x65letePermissionRequest\x12\x46\n\x05param\x18\x01 \x01(\x0b\x32\x30.aserto.directory.common.v2.PermissionIdentifierR\x05param\"J\n\x18\x44\x65letePermissionResponse\x12.\n\x06result\x18\x01 \x01(\x0b\x32\x16.google.protobuf.EmptyR\x06result\"N\n\x10SetObjectRequest\x12:\n\x06object\x18\x01 \x01(\x0b\x32\".aserto.directory.common.v2.ObjectR\x06object\"O\n\x11SetObjectResponse\x12:\n\x06result\x18\x01 \x01(\x0b\x32\".aserto.directory.common.v2.ObjectR\x06result\"\x98\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\x42\x11\n\x0f_with_relations\"F\n\x14\x44\x65leteObjectResponse\x12.\n\x06result\x18\x01 \x01(\x0b\x32\x16.google.protobuf.EmptyR\x06result\"V\n\x12SetRelationRequest\x12@\n\x08relation\x18\x01 \x01(\x0b\x32$.aserto.directory.common.v2.RelationR\x08relation\"S\n\x13SetRelationResponse\x12<\n\x06result\x18\x01 \x01(\x0b\x32$.aserto.directory.common.v2.RelationR\x06result\"]\n\x15\x44\x65leteRelationRequest\x12\x44\n\x05param\x18\x01 \x01(\x0b\x32..aserto.directory.common.v2.RelationIdentifierR\x05param\"H\n\x16\x44\x65leteRelationResponse\x12.\n\x06result\x18\x01 \x01(\x0b\x32\x16.google.protobuf.EmptyR\x06result2\xce\t\n\x06Writer\x12v\n\rSetObjectType\x12\x30.aserto.directory.writer.v2.SetObjectTypeRequest\x1a\x31.aserto.directory.writer.v2.SetObjectTypeResponse\"\x00\x12\x7f\n\x10\x44\x65leteObjectType\x12\x33.aserto.directory.writer.v2.DeleteObjectTypeRequest\x1a\x34.aserto.directory.writer.v2.DeleteObjectTypeResponse\"\x00\x12|\n\x0fSetRelationType\x12\x32.aserto.directory.writer.v2.SetRelationTypeRequest\x1a\x33.aserto.directory.writer.v2.SetRelationTypeResponse\"\x00\x12\x85\x01\n\x12\x44\x65leteRelationType\x12\x35.aserto.directory.writer.v2.DeleteRelationTypeRequest\x1a\x36.aserto.directory.writer.v2.DeleteRelationTypeResponse\"\x00\x12v\n\rSetPermission\x12\x30.aserto.directory.writer.v2.SetPermissionRequest\x1a\x31.aserto.directory.writer.v2.SetPermissionResponse\"\x00\x12\x7f\n\x10\x44\x65letePermission\x12\x33.aserto.directory.writer.v2.DeletePermissionRequest\x1a\x34.aserto.directory.writer.v2.DeletePermissionResponse\"\x00\x12j\n\tSetObject\x12,.aserto.directory.writer.v2.SetObjectRequest\x1a-.aserto.directory.writer.v2.SetObjectResponse\"\x00\x12s\n\x0c\x44\x65leteObject\x12/.aserto.directory.writer.v2.DeleteObjectRequest\x1a\x30.aserto.directory.writer.v2.DeleteObjectResponse\"\x00\x12p\n\x0bSetRelation\x12..aserto.directory.writer.v2.SetRelationRequest\x1a/.aserto.directory.writer.v2.SetRelationResponse\"\x00\x12y\n\x0e\x44\x65leteRelation\x12\x31.aserto.directory.writer.v2.DeleteRelationRequest\x1a\x32.aserto.directory.writer.v2.DeleteRelationResponse\"\x00\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
@@ -15,30 +15,7 @@ require 'aserto/directory/common/v3/common_pb'
15
15
  descriptor_data = "\n\'aserto/directory/writer/v3/writer.proto\x12\x1a\x61serto.directory.writer.v3\x1a.protoc-gen-openapiv2/options/annotations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1b\x62uf/validate/validate.proto\x1a\'aserto/directory/common/v3/common.proto\"Y\n\x10SetObjectRequest\x12\x45\n\x06object\x18\x01 \x01(\x0b\x32\".aserto.directory.common.v3.ObjectB\t\xe0\x41\x02\xbaH\x03\xc8\x01\x01R\x06object\"O\n\x11SetObjectResponse\x12:\n\x06result\x18\x01 \x01(\x0b\x32\".aserto.directory.common.v3.ObjectR\x06result\"\xf3\x03\n\x13\x44\x65leteObjectRequest\x12\x91\x02\n\x0bobject_type\x18\x01 \x01(\tB\xef\x01\xe0\x41\x02\xbaH\xe8\x01r\x02\x18@\xba\x01\xdd\x01\n\x19\x64\x65lete_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\x9b\x01\n\tobject_id\x18\x02 \x01(\tB~\xe0\x41\x02\xbaHxr\x03\x18\x80\x02\xba\x01m\n\x17\x64\x65lete_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\"F\n\x14\x44\x65leteObjectResponse\x12.\n\x06result\x18\x01 \x01(\x0b\x32\x16.google.protobuf.EmptyR\x06result\"a\n\x12SetRelationRequest\x12K\n\x08relation\x18\x01 \x01(\x0b\x32$.aserto.directory.common.v3.RelationB\t\xe0\x41\x02\xbaH\x03\xc8\x01\x01R\x08relation\"S\n\x13SetRelationResponse\x12<\n\x06result\x18\x01 \x01(\x0b\x32$.aserto.directory.common.v3.RelationR\x06result\"\xbb\x0b\n\x15\x44\x65leteRelationRequest\x12\x90\x02\n\x0bobject_type\x18\x01 \x01(\tB\xee\x01\xe0\x41\x02\xbaH\xe7\x01r\x02\x18@\xba\x01\xdf\x01\n\x1b\x64\x65lete_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]$\')R\nobjectType\x12\x9e\x01\n\tobject_id\x18\x02 \x01(\tB\x80\x01\xe0\x41\x02\xbaHzr\x03\x18\x80\x02\xba\x01o\n\x19\x64\x65lete_relation.object_id\x12\x38\x63\x61nnot contain any spaces or other whitespace characters\x1a\x18this.matches(\'^[\\\\S]+$\')\xc8\x01\x01R\x08objectId\x12\x8b\x02\n\x08relation\x18\x03 \x01(\tB\xee\x01\xe0\x41\x02\xbaH\xe7\x01r\x02\x18@\xba\x01\xdc\x01\n\x18\x64\x65lete_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\x96\x02\n\x0csubject_type\x18\x04 \x01(\tB\xf2\x01\xe0\x41\x02\xbaH\xeb\x01r\x02\x18@\xba\x01\xe0\x01\n\x1c\x64\x65lete_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\xa1\x01\n\nsubject_id\x18\x05 \x01(\tB\x81\x01\xe0\x41\x02\xbaH{r\x03\x18\x80\x02\xba\x01p\n\x1a\x64\x65lete_relation.subject_id\x12\x38\x63\x61nnot contain any spaces or other whitespace characters\x1a\x18this.matches(\'^[\\\\S]+$\')\xc8\x01\x01R\tsubjectId\x12\xa2\x02\n\x10subject_relation\x18\x06 \x01(\tB\xf6\x01\xe0\x41\x01\xbaH\xef\x01r\x02\x18@\xba\x01\xe4\x01\n delete_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\"H\n\x16\x44\x65leteRelationResponse\x12.\n\x06result\x18\x01 \x01(\x0b\x32\x16.google.protobuf.EmptyR\x06result2\xb4\x08\n\x06Writer\x12\xf3\x01\n\tSetObject\x12,.aserto.directory.writer.v3.SetObjectRequest\x1a-.aserto.directory.writer.v3.SetObjectResponse\"\x88\x01\x92\x41\x62\n\tdirectory\x12\nSet object\x1a\x0bSet object.*\x17\x64irectory.v3.object.setb#\n\x13\n\x0f\x44irectoryAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x82\xd3\xe4\x93\x02\x1d\"\x18/api/v3/directory/object:\x01*\x12\x9c\x02\n\x0c\x44\x65leteObject\x12/.aserto.directory.writer.v3.DeleteObjectRequest\x1a\x30.aserto.directory.writer.v3.DeleteObjectResponse\"\xa8\x01\x92\x41k\n\tdirectory\x12\rDelete object\x1a\x0e\x44\x65lete object.*\x1a\x64irectory.v3.object.deleteb#\n\x13\n\x0f\x44irectoryAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x82\xd3\xe4\x93\x02\x34*2/api/v3/directory/object/{object_type}/{object_id}\x12\x81\x02\n\x0bSetRelation\x12..aserto.directory.writer.v3.SetRelationRequest\x1a/.aserto.directory.writer.v3.SetRelationResponse\"\x90\x01\x92\x41h\n\tdirectory\x12\x0cSet relation\x1a\rSet relation.*\x19\x64irectory.v3.relation.setb#\n\x13\n\x0f\x44irectoryAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x82\xd3\xe4\x93\x02\x1f\"\x1a/api/v3/directory/relation:\x01*\x12\x90\x02\n\x0e\x44\x65leteRelation\x12\x31.aserto.directory.writer.v3.DeleteRelationRequest\x1a\x32.aserto.directory.writer.v3.DeleteRelationResponse\"\x96\x01\x92\x41q\n\tdirectory\x12\x0f\x44\x65lete relation\x1a\x10\x44\x65lete relation.*\x1c\x64irectory.v3.relation.deleteb#\n\x13\n\x0f\x44irectoryAPIKey\x12\x00\n\x0c\n\x08TenantID\x12\x00\x82\xd3\xe4\x93\x02\x1c*\x1a/api/v3/directory/relationB\x80\x02\n\x1e\x63om.aserto.directory.writer.v3B\x0bWriterProtoP\x01ZDgithub.com/aserto-dev/go-directory/aserto/directory/writer/v3;writer\xa2\x02\x03\x41\x44W\xaa\x02\x1a\x41serto.Directory.Writer.V3\xca\x02\x1b\x41serto\\Directory_\\Writer\\V3\xe2\x02\'Aserto\\Directory_\\Writer\\V3\\GPBMetadata\xea\x02\x1d\x41serto::Directory::Writer::V3b\x06proto3"
16
16
 
17
17
  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.Object", "aserto/directory/common/v3/common.proto"],
31
- ["google.protobuf.Empty", "google/protobuf/empty.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
18
+ pool.add_serialized_file(descriptor_data)
42
19
 
43
20
  module Aserto
44
21
  module Directory
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aserto-directory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.31.3
4
+ version: 0.31.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aserto
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-04 00:00:00.000000000 Z
11
+ date: 2024-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc
@@ -81,7 +81,7 @@ metadata:
81
81
  source_code_uri: https://github.com/aserto-dev/ruby-directory
82
82
  changelog_uri: https://github.com/aserto-dev/ruby-directory
83
83
  rubygems_mfa_required: 'true'
84
- post_install_message:
84
+ post_install_message:
85
85
  rdoc_options: []
86
86
  require_paths:
87
87
  - lib
@@ -97,8 +97,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
97
97
  - !ruby/object:Gem::Version
98
98
  version: '0'
99
99
  requirements: []
100
- rubygems_version: 3.3.27
101
- signing_key:
100
+ rubygems_version: 3.3.7
101
+ signing_key:
102
102
  specification_version: 4
103
103
  summary: Aserto Directory GRPC Client
104
104
  test_files: []