Skip to content
Nokku LogoNokku
API Referencev1.0.0 · 174 endpoints

nokku.v1.UpdateDaemonRequest

object
nokku.v1.UpdateDaemonRequest
id?
string <uuid>
status?
string
Enum:"DAEMON_STATUS_UNSPECIFIED""DAEMON_STATUS_PENDING""DAEMON_STATUS_ACCEPTED""DAEMON_STATUS_REJECTED"
config?
object
recordSessions?
boolean
allowForwarding?
boolean
allowAgentForwarding?
boolean
gatewayPorts?
boolean
ephemeral?
boolean
idleTimeout?
string

idle_timeout closes an interactive session nobody typed into for that long. It is the workspace's session_idle_timeout, filled in by the core on sync and ignored when sent.

updateMask
stringRequired

update_mask names the fields to change, the rest stay as they are. A named list may be empty, which clears it. field_mask.in = ["status", "config.record_sessions", "config.allow_forwarding", "config.allow_agent_forwarding", "config.gateway_ports"]

Example

{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "status": "DAEMON_STATUS_UNSPECIFIED",
  "config": {
    "recordSessions": true,
    "allowForwarding": true,
    "allowAgentForwarding": true,
    "gatewayPorts": true,
    "ephemeral": true,
    "idleTimeout": "string"
  },
  "updateMask": "string"
}