{
  "version": 2,
  "outputCapture": "direct-nodejs",
  "$schema": "https://json-schema.org/schema",
  "type": "object",
  "title": "Deploy executor",
  "description": "Deploy",
  "properties": {
    "region": {
      "type": "string",
      "description": "Region to deploy to"
    },
    "project": {
      "type": "string",
      "description": "Project id to deploy to"
    },
    "concurrency": {
      "type": "number",
      "default": 250
    },
    "maxInstances": {
      "type": "number",
      "default": 10
    },
    "minInstances": {
      "type": "number",
      "default": 0
    },
    "timeout": {
      "type": "number"
    },
    "executionEnvironment": {
      "type": "string",
      "enum": [
        "gen1",
        "gen2"
      ]
    },
    "vpcConnector": {
      "type": "string"
    },
    "vpcEgress": {
      "type": "string",
      "enum": [
        "all-traffic",
        "private-ranges-only"
      ]
    },
    "ingress": {
      "type": "string",
      "default": "all",
      "enum": [
        "all",
        "internal",
        "internal-and-cloud-load-balancing"
      ]
    },
    "volumeName": {
      "type": "string",
      "description": "Should be in format 'VOLUME_NAME,type=VOLUME_TYPE,<specific type options>'"
    },
    "volumeMount": {
      "type": "string",
      "description": "Should be in format 'VOLUME_NAME,mount-path=MOUNT_PATH'"
    }
  }
}
