Google Cloud Batch · Schema

Google Cloud Batch Job

Represents a Batch job resource, including its task groups, allocation policy, status, and scheduling configuration.

Batch ProcessingComputeGoogle CloudHPCJob

Properties

Name Type Description
name string The resource name of the job.
uid string A system generated unique ID for the job.
priority string Priority of the job. Higher values indicate higher priority.
taskGroups array Required. TaskGroups in the job.
allocationPolicy object Compute resource allocation for the job.
status object Current status of the job.
createTime string When the job was created.
updateTime string The last time the job was updated.
View JSON Schema on GitHub

JSON Schema

batch-job.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-search/google-cloud-batch/refs/heads/main/json-schema/batch-job.json",
  "title": "Google Cloud Batch Job",
  "description": "Represents a Batch job resource, including its task groups, allocation policy, status, and scheduling configuration.",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The resource name of the job."
    },
    "uid": {
      "type": "string",
      "description": "A system generated unique ID for the job."
    },
    "priority": {
      "type": "string",
      "description": "Priority of the job. Higher values indicate higher priority."
    },
    "taskGroups": {
      "type": "array",
      "description": "Required. TaskGroups in the job.",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "taskSpec": {
            "type": "object",
            "properties": {
              "runnables": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "script": {
                      "type": "object",
                      "properties": {
                        "text": {
                          "type": "string"
                        }
                      }
                    },
                    "container": {
                      "type": "object",
                      "properties": {
                        "imageUri": {
                          "type": "string"
                        },
                        "commands": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              },
              "maxRunDuration": {
                "type": "string"
              }
            }
          },
          "taskCount": {
            "type": "string"
          },
          "parallelism": {
            "type": "string"
          }
        }
      }
    },
    "allocationPolicy": {
      "type": "object",
      "description": "Compute resource allocation for the job.",
      "properties": {
        "location": {
          "type": "object",
          "properties": {
            "allowedLocations": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        },
        "instances": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "policy": {
                "type": "object",
                "properties": {
                  "machineType": {
                    "type": "string"
                  },
                  "provisioningModel": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    },
    "status": {
      "type": "object",
      "description": "Current status of the job.",
      "properties": {
        "state": {
          "type": "string",
          "enum": [
            "STATE_UNSPECIFIED",
            "QUEUED",
            "SCHEDULED",
            "RUNNING",
            "SUCCEEDED",
            "FAILED",
            "DELETION_IN_PROGRESS"
          ]
        },
        "runDuration": {
          "type": "string"
        }
      }
    },
    "createTime": {
      "type": "string",
      "format": "date-time",
      "description": "When the job was created."
    },
    "updateTime": {
      "type": "string",
      "format": "date-time",
      "description": "The last time the job was updated."
    }
  },
  "required": ["taskGroups"]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/batch-job"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.