{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-dataflow/json-schema/google-cloud-dataflow-google-cloud-datapipelines-v1-run-pipeline-response-schema.json",
  "title": "GoogleCloudDatapipelinesV1RunPipelineResponse",
  "description": "Response message for RunPipeline",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-dataflow-datapipelines-projects-api-openapi.yml#/components/schemas/GoogleCloudDatapipelinesV1RunPipelineResponse",
  "properties": {
    "job": {
      "$ref": "#/$defs/GoogleCloudDatapipelinesV1Job",
      "description": "Job that was created as part of RunPipeline operation."
    }
  },
  "type": "object",
  "$defs": {
    "GoogleCloudDatapipelinesV1DataflowJobDetails": {
      "type": "object",
      "description": "Pipeline job details specific to the Dataflow API. This is encapsulated here to allow for more executors to store their specific details separately.",
      "properties": {
        "sdkVersion": {
          "$ref": "#/$defs/GoogleCloudDatapipelinesV1SdkVersion",
          "description": "Output only. The SDK version used to run the job."
        },
        "resourceInfo": {
          "description": "Cached version of all the metrics of interest for the job. This value gets stored here when the job is terminated. As long as the job is running, this field is populated from the Dataflow API.",
          "type": "object",
          "additionalProperties": {
            "format": "double",
            "type": "number"
          }
        },
        "currentWorkers": {
          "readOnly": true,
          "type": "integer",
          "format": "int32",
          "description": "Output only. The current number of workers used to run the jobs. Only set to a value if the job is still running."
        }
      }
    },
    "GoogleCloudDatapipelinesV1Job": {
      "properties": {
        "name": {
          "type": "string",
          "description": "Required. The fully qualified resource name for the job."
        },
        "endTime": {
          "description": "Output only. The time of job termination. This is absent if the job is still running.",
          "format": "google-datetime",
          "type": "string",
          "readOnly": true
        },
        "state": {
          "enum": [
            "STATE_UNSPECIFIED",
            "STATE_PENDING",
            "STATE_RUNNING",
            "STATE_DONE",
            "STATE_FAILED",
            "STATE_CANCELLED"
          ],
          "description": "The current state of the job.",
          "type": "string"
        },
        "id": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. The internal ID for the job."
        },
        "createTime": {
          "readOnly": true,
          "description": "Output only. The time of job creation.",
          "format": "google-datetime",
          "type": "string"
        },
        "dataflowJobDetails": {
          "$ref": "#/$defs/GoogleCloudDatapipelinesV1DataflowJobDetails",
          "description": "All the details that are specific to a Dataflow job."
        },
        "status": {
          "$ref": "#/$defs/GoogleRpcStatus",
          "description": "Status capturing any error code or message related to job creation or execution."
        }
      },
      "description": "Definition of the job information maintained by the pipeline. Fields in this entity are retrieved from the executor API (e.g. Dataflow API).",
      "type": "object"
    },
    "GoogleCloudDatapipelinesV1SdkVersion": {
      "type": "object",
      "properties": {
        "sdkSupportStatus": {
          "description": "The support status for this SDK version.",
          "enum": [
            "UNKNOWN",
            "SUPPORTED",
            "STALE",
            "DEPRECATED",
            "UNSUPPORTED"
          ],
          "type": "string"
        },
        "version": {
          "type": "string",
          "description": "The version of the SDK used to run the job."
        },
        "versionDisplayName": {
          "type": "string",
          "description": "A readable string describing the version of the SDK."
        }
      },
      "description": "The version of the SDK used to run the job."
    },
    "GoogleRpcStatus": {
      "properties": {
        "message": {
          "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.",
          "type": "string"
        },
        "details": {
          "items": {
            "type": "object",
            "additionalProperties": {
              "description": "Properties of the object. Contains field @type with type URL."
            }
          },
          "type": "array",
          "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use."
        },
        "code": {
          "type": "integer",
          "description": "The status code, which should be an enum value of google.rpc.Code.",
          "format": "int32"
        }
      },
      "type": "object",
      "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors)."
    }
  }
}