Skip to content

Commit 8b1d24f

Browse files
committed
chore: refresh protos
1 parent c15da28 commit 8b1d24f

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

guard/lib/internal_api/service_account.pb.ex

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,30 @@ defmodule InternalApi.ServiceAccount.DescribeResponse do
8484
field(:service_account, 1, type: InternalApi.ServiceAccount.ServiceAccount)
8585
end
8686

87+
defmodule InternalApi.ServiceAccount.DescribeManyRequest do
88+
@moduledoc false
89+
use Protobuf, syntax: :proto3
90+
91+
@type t :: %__MODULE__{
92+
sa_ids: [String.t()]
93+
}
94+
95+
defstruct [:sa_ids]
96+
field(:sa_ids, 1, repeated: true, type: :string)
97+
end
98+
99+
defmodule InternalApi.ServiceAccount.DescribeManyResponse do
100+
@moduledoc false
101+
use Protobuf, syntax: :proto3
102+
103+
@type t :: %__MODULE__{
104+
service_accounts: [InternalApi.ServiceAccount.ServiceAccount.t()]
105+
}
106+
107+
defstruct [:service_accounts]
108+
field(:service_accounts, 1, repeated: true, type: InternalApi.ServiceAccount.ServiceAccount)
109+
end
110+
87111
defmodule InternalApi.ServiceAccount.UpdateRequest do
88112
@moduledoc false
89113
use Protobuf, syntax: :proto3
@@ -247,6 +271,12 @@ defmodule InternalApi.ServiceAccount.ServiceAccountService.Service do
247271
InternalApi.ServiceAccount.DescribeResponse
248272
)
249273

274+
rpc(
275+
:DescribeMany,
276+
InternalApi.ServiceAccount.DescribeManyRequest,
277+
InternalApi.ServiceAccount.DescribeManyResponse
278+
)
279+
250280
rpc(
251281
:Update,
252282
InternalApi.ServiceAccount.UpdateRequest,

0 commit comments

Comments
 (0)