Skip to content

Commit e52ed86

Browse files
authored
Add AppDeploymentUpdated protobuf message (#2971)
1 parent edabdf9 commit e52ed86

File tree

4 files changed

+17
-0
lines changed

4 files changed

+17
-0
lines changed

proto/lib/livebook_proto/app_deployment.pb.ex

+1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ defmodule LivebookProto.AppDeployment do
1212
field :multi_session, 9, type: :bool, json_name: "multiSession"
1313
field :access_type, 10, type: :string, json_name: "accessType"
1414
field :version, 11, type: :string
15+
field :identity_groups, 12, repeated: true, type: :string, json_name: "identityGroups"
1516
end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
defmodule LivebookProto.AppDeploymentUpdated do
2+
use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.13.0"
3+
4+
field :app_deployment, 1, type: LivebookProto.AppDeployment, json_name: "appDeployment"
5+
end

proto/lib/livebook_proto/event.pb.ex

+5
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,9 @@ defmodule LivebookProto.Event do
7373
oneof: 0
7474

7575
field :org_updated, 17, type: LivebookProto.OrgUpdated, json_name: "orgUpdated", oneof: 0
76+
77+
field :app_deployment_updated, 18,
78+
type: LivebookProto.AppDeploymentUpdated,
79+
json_name: "appDeploymentUpdated",
80+
oneof: 0
7681
end

proto/messages.proto

+6
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ message AppDeployment {
137137
bool multi_session = 9;
138138
string access_type = 10;
139139
string version = 11;
140+
repeated string identity_groups = 12;
140141
}
141142

142143
message AppDeploymentStarted {
@@ -147,6 +148,10 @@ message AppDeploymentStopped {
147148
string id = 1;
148149
}
149150

151+
message AppDeploymentUpdated {
152+
AppDeployment app_deployment = 1;
153+
}
154+
150155
message UserDeleted {
151156
string id = 1;
152157
}
@@ -218,6 +223,7 @@ message Event {
218223
AgentLeft agent_left = 15;
219224
AppDeploymentStopped app_deployment_stopped = 16;
220225
OrgUpdated org_updated = 17;
226+
AppDeploymentUpdated app_deployment_updated = 18;
221227
}
222228
}
223229

0 commit comments

Comments
 (0)