Skip to content

Commit f6e9868

Browse files
committed
chore(guard): refresh protos
1 parent 4356393 commit f6e9868

File tree

1 file changed

+29
-2
lines changed

1 file changed

+29
-2
lines changed

guard/lib/internal_api/service_account.pb.ex

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,15 @@ defmodule InternalApi.ServiceAccount.UpdateRequest do
9393
@type t :: %__MODULE__{
9494
service_account_id: String.t(),
9595
name: String.t(),
96-
description: String.t()
96+
description: String.t(),
97+
role_id: String.t()
9798
}
9899

99-
defstruct [:service_account_id, :name, :description]
100+
defstruct [:service_account_id, :name, :description, :role_id]
100101
field(:service_account_id, 1, type: :string)
101102
field(:name, 2, type: :string)
102103
field(:description, 3, type: :string)
104+
field(:role_id, 4, type: :string)
103105
end
104106

105107
defmodule InternalApi.ServiceAccount.UpdateResponse do
@@ -114,6 +116,25 @@ defmodule InternalApi.ServiceAccount.UpdateResponse do
114116
field(:service_account, 1, type: InternalApi.ServiceAccount.ServiceAccount)
115117
end
116118

119+
defmodule InternalApi.ServiceAccount.DeactivateRequest do
120+
@moduledoc false
121+
use Protobuf, syntax: :proto3
122+
123+
@type t :: %__MODULE__{
124+
service_account_id: String.t()
125+
}
126+
127+
defstruct [:service_account_id]
128+
field(:service_account_id, 1, type: :string)
129+
end
130+
131+
defmodule InternalApi.ServiceAccount.DeactivateResponse do
132+
@moduledoc false
133+
use Protobuf, syntax: :proto3
134+
135+
defstruct []
136+
end
137+
117138
defmodule InternalApi.ServiceAccount.DeleteRequest do
118139
@moduledoc false
119140
use Protobuf, syntax: :proto3
@@ -217,6 +238,12 @@ defmodule InternalApi.ServiceAccount.ServiceAccountService.Service do
217238
InternalApi.ServiceAccount.UpdateResponse
218239
)
219240

241+
rpc(
242+
:Deactivate,
243+
InternalApi.ServiceAccount.DeactivateRequest,
244+
InternalApi.ServiceAccount.DeactivateResponse
245+
)
246+
220247
rpc(
221248
:Delete,
222249
InternalApi.ServiceAccount.DeleteRequest,

0 commit comments

Comments
 (0)