defmodule LivebookProto.DeploymentGroup do
  use Protobuf, protoc_gen_elixir_version: "0.14.1", syntax: :proto3

  field :id, 1, type: :string
  field :name, 2, type: :string
  field :mode, 3, type: :string
  field :secrets, 4, repeated: true, type: LivebookProto.DeploymentGroupSecret
  field :clustering, 5, type: :string
  field :zta_provider, 6, type: :string, json_name: "ztaProvider", deprecated: true
  field :zta_key, 7, type: :string, json_name: "ztaKey", deprecated: true
  field :agent_keys, 8, repeated: true, type: LivebookProto.AgentKey, json_name: "agentKeys"
  field :url, 9, type: :string

  field :environment_variables, 10,
    repeated: true,
    type: LivebookProto.EnvironmentVariable,
    json_name: "environmentVariables"

  field :teams_auth, 11, type: :bool, json_name: "teamsAuth"

  field :authorization_groups, 12,
    repeated: true,
    type: LivebookProto.AuthorizationGroup,
    json_name: "authorizationGroups"

  field :groups_auth, 13, type: :bool, json_name: "groupsAuth"
end
