aserto-directory 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 37021d4105b4f800b9fb64d2cbb444eeb6e155c0594b6323eff87761020afba3
4
- data.tar.gz: b9711bcfa3cd8b1d6b11196deccb8f5f037401fe58bf6c2645d59214a8ddd7aa
3
+ metadata.gz: 9936f4804f9a1da3f8fd97d2573858373cabda0b4694e57b35e44ae73d27596e
4
+ data.tar.gz: d74309666b92efb1e400f60ab4c3c8d46cb463d3538de986045fbd9dea7df8e1
5
5
  SHA512:
6
- metadata.gz: 03ccb761560706cf2d3871c3f1603b54613de25d9c5fcfb1d82b551542caa67f9e7e2d52bbe3995833329025b785836e0ffa46c07e6a0d739a09ea1569a524ec
7
- data.tar.gz: 7730c2e5f1320329703ddbacf69f4e80f82f465d79b5302a6493a8714340daaaa7fe39f1d62d85cdf3979dd7fd9553178201f287bc4d674f462271aced1428bf
6
+ metadata.gz: 9505730807279f9562a439ba990c604d0293a6749b062e2d8d99af8134cdd12f6fa957f4c69f92965a752f58e23d53e0265da5c40d0fa465c3c53fe3424867e9
7
+ data.tar.gz: '011393bf3180b7c5bd62d71b2c90a93842f81711797b7d1603e5354693037fe76cb43e162f8b55d992b84f9d7d38cd6f7cdc01039d584584c835d9d5f0f4397b'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.0.2
@@ -9,7 +9,6 @@ require 'google/protobuf/timestamp_pb'
9
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
10
  add_file("aserto/directory/common/v2/common.proto", :syntax => :proto3) do
11
11
  add_message "aserto.directory.common.v2.ObjectType" do
12
- optional :id, :int32, 1, json_name: "id"
13
12
  optional :name, :string, 2, json_name: "name"
14
13
  optional :display_name, :string, 3, json_name: "displayName"
15
14
  optional :is_subject, :bool, 4, json_name: "isSubject"
@@ -18,20 +17,16 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
18
17
  optional :schema, :message, 10, "google.protobuf.Struct", json_name: "schema"
19
18
  optional :created_at, :message, 20, "google.protobuf.Timestamp", json_name: "createdAt"
20
19
  optional :updated_at, :message, 21, "google.protobuf.Timestamp", json_name: "updatedAt"
21
- optional :deleted_at, :message, 22, "google.protobuf.Timestamp", json_name: "deletedAt"
22
20
  optional :hash, :string, 23, json_name: "hash"
23
21
  end
24
22
  add_message "aserto.directory.common.v2.Permission" do
25
- optional :id, :string, 1, json_name: "id"
26
23
  optional :name, :string, 2, json_name: "name"
27
24
  optional :display_name, :string, 3, json_name: "displayName"
28
25
  optional :created_at, :message, 20, "google.protobuf.Timestamp", json_name: "createdAt"
29
26
  optional :updated_at, :message, 21, "google.protobuf.Timestamp", json_name: "updatedAt"
30
- optional :deleted_at, :message, 22, "google.protobuf.Timestamp", json_name: "deletedAt"
31
27
  optional :hash, :string, 23, json_name: "hash"
32
28
  end
33
29
  add_message "aserto.directory.common.v2.RelationType" do
34
- optional :id, :int32, 1, json_name: "id"
35
30
  optional :name, :string, 2, json_name: "name"
36
31
  optional :object_type, :string, 3, json_name: "objectType"
37
32
  optional :display_name, :string, 4, json_name: "displayName"
@@ -41,18 +36,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
41
36
  repeated :permissions, :string, 8, json_name: "permissions"
42
37
  optional :created_at, :message, 20, "google.protobuf.Timestamp", json_name: "createdAt"
43
38
  optional :updated_at, :message, 21, "google.protobuf.Timestamp", json_name: "updatedAt"
44
- optional :deleted_at, :message, 22, "google.protobuf.Timestamp", json_name: "deletedAt"
45
39
  optional :hash, :string, 23, json_name: "hash"
46
40
  end
47
41
  add_message "aserto.directory.common.v2.Object" do
48
- optional :id, :string, 1, json_name: "id"
49
42
  optional :key, :string, 2, json_name: "key"
50
43
  optional :type, :string, 3, json_name: "type"
51
44
  optional :display_name, :string, 4, json_name: "displayName"
52
45
  optional :properties, :message, 5, "google.protobuf.Struct", json_name: "properties"
53
46
  optional :created_at, :message, 20, "google.protobuf.Timestamp", json_name: "createdAt"
54
47
  optional :updated_at, :message, 21, "google.protobuf.Timestamp", json_name: "updatedAt"
55
- optional :deleted_at, :message, 22, "google.protobuf.Timestamp", json_name: "deletedAt"
56
48
  optional :hash, :string, 23, json_name: "hash"
57
49
  end
58
50
  add_message "aserto.directory.common.v2.Relation" do
@@ -61,37 +53,30 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
61
53
  optional :object, :message, 3, "aserto.directory.common.v2.ObjectIdentifier", json_name: "object"
62
54
  optional :created_at, :message, 20, "google.protobuf.Timestamp", json_name: "createdAt"
63
55
  optional :updated_at, :message, 21, "google.protobuf.Timestamp", json_name: "updatedAt"
64
- optional :deleted_at, :message, 22, "google.protobuf.Timestamp", json_name: "deletedAt"
65
56
  optional :hash, :string, 23, json_name: "hash"
66
57
  end
67
58
  add_message "aserto.directory.common.v2.ObjectDependency" do
68
59
  optional :object_type, :string, 1, json_name: "objectType"
69
- optional :object_id, :string, 3, json_name: "objectId"
70
60
  optional :object_key, :string, 4, json_name: "objectKey"
71
61
  optional :relation, :string, 5, json_name: "relation"
72
62
  optional :subject_type, :string, 7, json_name: "subjectType"
73
- optional :subject_id, :string, 9, json_name: "subjectId"
74
63
  optional :subject_key, :string, 10, json_name: "subjectKey"
75
64
  optional :depth, :int32, 11, json_name: "depth"
76
65
  optional :is_cycle, :bool, 12, json_name: "isCycle"
77
66
  repeated :path, :string, 13, json_name: "path"
78
67
  end
79
68
  add_message "aserto.directory.common.v2.ObjectTypeIdentifier" do
80
- proto3_optional :id, :int32, 1, json_name: "id"
81
69
  proto3_optional :name, :string, 2, json_name: "name"
82
70
  end
83
71
  add_message "aserto.directory.common.v2.PermissionIdentifier" do
84
- proto3_optional :id, :string, 1, json_name: "id"
85
72
  proto3_optional :name, :string, 2, json_name: "name"
86
73
  end
87
74
  add_message "aserto.directory.common.v2.RelationTypeIdentifier" do
88
- proto3_optional :id, :int32, 1, json_name: "id"
89
75
  proto3_optional :name, :string, 2, json_name: "name"
90
76
  proto3_optional :object_type, :string, 3, json_name: "objectType"
91
77
  end
92
78
  add_message "aserto.directory.common.v2.ObjectIdentifier" do
93
79
  proto3_optional :type, :string, 1, json_name: "type"
94
- proto3_optional :id, :string, 2, json_name: "id"
95
80
  proto3_optional :key, :string, 3, json_name: "key"
96
81
  end
97
82
  add_message "aserto.directory.common.v2.RelationIdentifier" do
@@ -56,9 +56,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
56
56
  end
57
57
  add_message "aserto.directory.reader.v2.GetRelationRequest" do
58
58
  optional :param, :message, 1, "aserto.directory.common.v2.RelationIdentifier", json_name: "param"
59
+ proto3_optional :with_objects, :bool, 2, json_name: "withObjects"
59
60
  end
60
61
  add_message "aserto.directory.reader.v2.GetRelationResponse" do
61
62
  repeated :results, :message, 1, "aserto.directory.common.v2.Relation", json_name: "results"
63
+ map :objects, :string, :message, 2, "aserto.directory.common.v2.Object"
62
64
  end
63
65
  add_message "aserto.directory.reader.v2.GetRelationsRequest" do
64
66
  optional :param, :message, 1, "aserto.directory.common.v2.RelationIdentifier", json_name: "param"
@@ -0,0 +1,22 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: aserto/directory/schema/v2/group.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("aserto/directory/schema/v2/group.proto", :syntax => :proto3) do
8
+ add_message "aserto.directory.schema.v2.GroupProperties" do
9
+ optional :connection_id, :string, 1, json_name: "connectionId"
10
+ end
11
+ end
12
+ end
13
+
14
+ module Aserto
15
+ module Directory
16
+ module Schema
17
+ module V2
18
+ GroupProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.directory.schema.v2.GroupProperties").msgclass
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,35 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: aserto/directory/schema/v2/identity.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("aserto/directory/schema/v2/identity.proto", :syntax => :proto3) do
8
+ add_message "aserto.directory.schema.v2.IdentityProperties" do
9
+ optional :kind, :enum, 1, "aserto.directory.schema.v2.IdentityKind", json_name: "kind"
10
+ optional :provider, :string, 2, json_name: "provider"
11
+ optional :verified, :bool, 3, json_name: "verified"
12
+ proto3_optional :connection_id, :string, 4, json_name: "connectionId"
13
+ end
14
+ add_enum "aserto.directory.schema.v2.IdentityKind" do
15
+ value :IDENTITY_KIND_UNKNOWN, 0
16
+ value :IDENTITY_KIND_PID, 1
17
+ value :IDENTITY_KIND_EMAIL, 2
18
+ value :IDENTITY_KIND_USERNAME, 3
19
+ value :IDENTITY_KIND_DN, 4
20
+ value :IDENTITY_KIND_PHONE, 5
21
+ value :IDENTITY_KIND_EMPID, 6
22
+ end
23
+ end
24
+ end
25
+
26
+ module Aserto
27
+ module Directory
28
+ module Schema
29
+ module V2
30
+ IdentityProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.directory.schema.v2.IdentityProperties").msgclass
31
+ IdentityKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.directory.schema.v2.IdentityKind").enummodule
32
+ end
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,38 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: aserto/directory/schema/v2/user.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("aserto/directory/schema/v2/user.proto", :syntax => :proto3) do
8
+ add_message "aserto.directory.schema.v2.UserProperties" do
9
+ optional :email, :string, 1, json_name: "email"
10
+ optional :picture, :string, 2, json_name: "picture"
11
+ optional :status, :enum, 3, "aserto.directory.schema.v2.UserStatus", json_name: "status"
12
+ optional :enabled, :bool, 4, json_name: "enabled"
13
+ optional :connection_id, :string, 5, json_name: "connectionId"
14
+ end
15
+ add_enum "aserto.directory.schema.v2.UserStatus" do
16
+ value :USER_STATUS_UNKNOWN, 0
17
+ value :USER_STATUS_STAGED, 1
18
+ value :USER_STATUS_PROVISIONED, 2
19
+ value :USER_STATUS_ACTIVE, 3
20
+ value :USER_STATUS_RECOVERY, 4
21
+ value :USER_STATUS_PASSWORD_EXPIRED, 5
22
+ value :USER_STATUS_LOCKED_OUT, 6
23
+ value :USER_STATUS_SUSPENDED, 7
24
+ value :USER_STATUS_DEPROVISIONED, 8
25
+ end
26
+ end
27
+ end
28
+
29
+ module Aserto
30
+ module Directory
31
+ module Schema
32
+ module V2
33
+ UserProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.directory.schema.v2.UserProperties").msgclass
34
+ UserStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("aserto.directory.schema.v2.UserStatus").enummodule
35
+ end
36
+ end
37
+ end
38
+ end
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.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aserto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-21 00:00:00.000000000 Z
11
+ date: 2023-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc
@@ -103,6 +103,9 @@ files:
103
103
  - generated/aserto/directory/importer/v2/importer_services_pb.rb
104
104
  - generated/aserto/directory/reader/v2/reader_pb.rb
105
105
  - generated/aserto/directory/reader/v2/reader_services_pb.rb
106
+ - generated/aserto/directory/schema/v2/group_pb.rb
107
+ - generated/aserto/directory/schema/v2/identity_pb.rb
108
+ - generated/aserto/directory/schema/v2/user_pb.rb
106
109
  - generated/aserto/directory/writer/v2/writer_pb.rb
107
110
  - generated/aserto/directory/writer/v2/writer_services_pb.rb
108
111
  - lib/aserto/directory.rb
@@ -132,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
132
135
  - !ruby/object:Gem::Version
133
136
  version: '0'
134
137
  requirements: []
135
- rubygems_version: 3.3.7
138
+ rubygems_version: 3.4.10
136
139
  signing_key:
137
140
  specification_version: 4
138
141
  summary: Aserto Directory GRPC Client