{
  "ownerDomain": "google.com",
  "parameters": {
    "access_token": {
      "description": "OAuth access token.",
      "type": "string",
      "location": "query"
    },
    "callback": {
      "description": "JSONP",
      "type": "string",
      "location": "query"
    },
    "quotaUser": {
      "type": "string",
      "location": "query",
      "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters."
    },
    "key": {
      "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
      "type": "string",
      "location": "query"
    },
    "$.xgafv": {
      "description": "V1 error format.",
      "type": "string",
      "enum": [
        "1",
        "2"
      ],
      "enumDescriptions": [
        "v1 error format",
        "v2 error format"
      ],
      "location": "query"
    },
    "prettyPrint": {
      "type": "boolean",
      "default": "true",
      "location": "query",
      "description": "Returns response with indentations and line breaks."
    },
    "fields": {
      "description": "Selector specifying which fields to include in a partial response.",
      "type": "string",
      "location": "query"
    },
    "oauth_token": {
      "description": "OAuth 2.0 token for the current user.",
      "type": "string",
      "location": "query"
    },
    "upload_protocol": {
      "type": "string",
      "location": "query",
      "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")."
    },
    "uploadType": {
      "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
      "type": "string",
      "location": "query"
    },
    "alt": {
      "description": "Data format for response.",
      "type": "string",
      "default": "json",
      "enum": [
        "json",
        "media",
        "proto"
      ],
      "enumDescriptions": [
        "Responses with Content-Type of application/json",
        "Media download with context-dependent Content-Type",
        "Responses with Content-Type of application/x-protobuf"
      ],
      "location": "query"
    }
  },
  "fullyEncodeReservedExpansion": true,
  "baseUrl": "https://dataflow.googleapis.com/",
  "canonicalName": "Dataflow",
  "title": "Dataflow API",
  "basePath": "",
  "rootUrl": "https://dataflow.googleapis.com/",
  "id": "dataflow:v1b3",
  "icons": {
    "x16": "http://www.google.com/images/icons/product/search-16.gif",
    "x32": "http://www.google.com/images/icons/product/search-32.gif"
  },
  "protocol": "rest",
  "documentationLink": "https://cloud.google.com/dataflow",
  "resources": {
    "projects": {
      "resources": {
        "snapshots": {
          "methods": {
            "list": {
              "flatPath": "v1b3/projects/{projectId}/snapshots",
              "httpMethod": "GET",
              "description": "Lists snapshots.",
              "id": "dataflow.projects.snapshots.list",
              "path": "v1b3/projects/{projectId}/snapshots",
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform",
                "https://www.googleapis.com/auth/compute"
              ],
              "parameters": {
                "projectId": {
                  "description": "The project ID to list snapshots for.",
                  "required": true,
                  "location": "path",
                  "type": "string"
                },
                "jobId": {
                  "location": "query",
                  "type": "string",
                  "description": "If specified, list snapshots created from this job."
                },
                "location": {
                  "location": "query",
                  "type": "string",
                  "description": "The location to list snapshots in."
                }
              },
              "parameterOrder": [
                "projectId"
              ],
              "response": {
                "$ref": "ListSnapshotsResponse"
              }
            },
            "get": {
              "id": "dataflow.projects.snapshots.get",
              "path": "v1b3/projects/{projectId}/snapshots/{snapshotId}",
              "description": "Gets information about a snapshot.",
              "httpMethod": "GET",
              "response": {
                "$ref": "Snapshot"
              },
              "parameters": {
                "location": {
                  "description": "The location that contains this snapshot.",
                  "location": "query",
                  "type": "string"
                },
                "projectId": {
                  "description": "The ID of the Cloud Platform project that the snapshot belongs to.",
                  "required": true,
                  "location": "path",
                  "type": "string"
                },
                "snapshotId": {
                  "description": "The ID of the snapshot.",
                  "required": true,
                  "location": "path",
                  "type": "string"
                }
              },
              "parameterOrder": [
                "projectId",
                "snapshotId"
              ],
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform",
                "https://www.googleapis.com/auth/compute"
              ],
              "flatPath": "v1b3/projects/{projectId}/snapshots/{snapshotId}"
            }
          }
        },
        "jobs": {
          "methods": {
            "snapshot": {
              "flatPath": "v1b3/projects/{projectId}/jobs/{jobId}:snapshot",
              "parameters": {
                "jobId": {
                  "description": "The job to be snapshotted.",
                  "required": true,
                  "location": "path",
                  "type": "string"
                },
                "projectId": {
                  "description": "The project which owns the job to be snapshotted.",
                  "required": true,
                  "location": "path",
                  "type": "string"
                }
              },
              "parameterOrder": [
                "projectId",
                "jobId"
              ],
              "response": {
                "$ref": "Snapshot"
              },
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform",
                "https://www.googleapis.com/auth/compute"
              ],
              "description": "Snapshot the state of a streaming job.",
              "id": "dataflow.projects.jobs.snapshot",
              "path": "v1b3/projects/{projectId}/jobs/{jobId}:snapshot",
              "httpMethod": "POST",
              "request": {
                "$ref": "SnapshotJobRequest"
              }
            },
            "getMetrics": {
              "flatPath": "v1b3/projects/{projectId}/jobs/{jobId}/metrics",
              "httpMethod": "GET",
              "description": "Request the job status. To request the status of a job, we recommend using `projects.locations.jobs.getMetrics` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.getMetrics` is not recommended, as you can only request the status of jobs that are running in `us-central1`.",
              "id": "dataflow.projects.jobs.getMetrics",
              "path": "v1b3/projects/{projectId}/jobs/{jobId}/metrics",
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform",
                "https://www.googleapis.com/auth/compute"
              ],
              "parameters": {
                "projectId": {
                  "description": "A project id.",
                  "required": true,
                  "location": "path",
                  "type": "string"
                },
                "jobId": {
                  "location": "path",
                  "type": "string",
                  "description": "The job to get metrics for.",
                  "required": true
                },
                "startTime": {
                  "location": "query",
                  "type": "string",
                  "format": "google-datetime",
                  "description": "Return only metric data that has changed since this time. Default is to return all information about all metrics for the job."
                },
                "location": {
                  "description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.",
                  "location": "query",
                  "type": "string"
                }
              },
              "parameterOrder": [
                "projectId",
                "jobId"
              ],
              "response": {
                "$ref": "JobMetrics"
              }
            },
            "aggregated": {
              "flatPath": "v1b3/projects/{projectId}/jobs:aggregated",
              "response": {
                "$ref": "ListJobsResponse"
              },
              "parameters": {
                "filter": {
                  "location": "query",
                  "type": "string",
                  "enumDescriptions": [
                    "The filter isn't specified, or is unknown. This returns all jobs ordered on descending `JobUuid`.",
                    "Returns all running jobs first ordered on creation timestamp, then returns all terminated jobs ordered on the termination timestamp.",
                    "Filters the jobs that have a terminated state, ordered on the termination timestamp. Example terminated states: `JOB_STATE_STOPPED`, `JOB_STATE_UPDATED`, `JOB_STATE_DRAINED`, etc.",
                    "Filters the jobs that are running ordered on the creation timestamp."
                  ],
                  "enum": [
                    "UNKNOWN",
                    "ALL",
                    "TERMINATED",
                    "ACTIVE"
                  ],
                  "description": "The kind of filter to use."
                },
                "pageToken": {
                  "location": "query",
                  "type": "string",
                  "description": "Set this to the 'next_page_token' field of a previous response to request additional results in a long list."
                },
                "projectId": {
                  "description": "The project which owns the jobs.",
                  "required": true,
                  "location": "path",
                  "type": "string"
                },
                "view": {
                  "location": "query",
                  "type": "string",
                  "enumDescriptions": [
                    "The job view to return isn't specified, or is unknown. Responses will contain at least the `JOB_VIEW_SUMMARY` information, and may contain additional information.",
                    "Request summary information only: Project ID, Job ID, job name, job type, job status, start/end time, and Cloud SDK version details.",
                    "Request all information available for this job. When the job is in `JOB_STATE_PENDING`, the job has been created but is not yet running, and not all job information is available. For complete job information, wait until the job in is `JOB_STATE_RUNNING`. For more information, see [JobState](https://cloud.google.com/dataflow/docs/reference/rest/v1b3/projects.jobs#jobstate).",
                    "Request summary info and limited job description data for steps, labels and environment."
                  ],
                  "enum": [
                    "JOB_VIEW_UNKNOWN",
                    "JOB_VIEW_SUMMARY",
                    "JOB_VIEW_ALL",
                    "JOB_VIEW_DESCRIPTION"
                  ],
                  "deprecated": true,
                  "description": "Deprecated. ListJobs always returns summaries now. Use GetJob for other JobViews."
                },
                "name": {
                  "location": "query",
                  "type": "string",
                  "description": "Optional. The job name."
                },
                "pageSize": {
                  "description": "If there are many jobs, limit response to at most this many. The actual number of jobs returned will be the lesser of max_responses and an unspecified server-defined limit.",
                  "location": "query",
                  "type": "integer",
                  "format": "int32"
                },
                "location": {
                  "location": "query",
                  "type": "string",
                  "description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job."
                }
              },
              "parameterOrder": [
                "projectId"
              ],
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform",
                "https://www.googleapis.com/auth/compute"
              ],
              "id": "dataflow.projects.jobs.aggregated",
              "path": "v1b3/projects/{projectId}/jobs:aggregated",
              "description": "List the jobs of a project across all regions. **Note:** This method doesn't support filtering the list of jobs by name.",
              "httpMethod": "GET"
            },
            "create": {
              "description": "Creates a Dataflow job. To create a job, we recommend using `projects.locations.jobs.create` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.create` is not recommended, as your job will always start in `us-central1`. Do not enter confidential information when you supply string values using the API.",
              "id": "dataflow.projects.jobs.create",
              "path": "v1b3/projects/{projectId}/jobs",
              "httpMethod": "POST",
              "request": {
                "$ref": "Job"
              },
              "parameters": {
                "projectId": {
                  "location": "path",
                  "type": "string",
                  "description": "The ID of the Cloud Platform project that the job belongs to.",
                  "required": true
                },
                "view": {
                  "description": "The level of information requested in response.",
                  "location": "query",
                  "type": "string",
                  "enumDescriptions": [
                    "The job view to return isn't specified, or is unknown. Responses will contain at least the `JOB_VIEW_SUMMARY` information, and may contain additional information.",
                    "Request summary information only: Project ID, Job ID, job name, job type, job status, start/end time, and Cloud SDK version details.",
                    "Request all information available for this job. When the job is in `JOB_STATE_PENDING`, the job has been created but is not yet running, and not all job information is available. For complete job information, wait until the job in is `JOB_STATE_RUNNING`. For more information, see [JobState](https://cloud.google.com/dataflow/docs/reference/rest/v1b3/projects.jobs#jobstate).",
                    "Request summary info and limited job description data for steps, labels and environment."
                  ],
                  "enum": [
                    "JOB_VIEW_UNKNOWN",
                    "JOB_VIEW_SUMMARY",
                    "JOB_VIEW_ALL",
                    "JOB_VIEW_DESCRIPTION"
                  ]
                },
                "replaceJobId": {
                  "description": "Deprecated. This field is now in the Job message.",
                  "location": "query",
                  "type": "string"
                },
                "location": {
                  "location": "query",
                  "type": "string",
                  "description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job."
                }
              },
              "parameterOrder": [
                "projectId"
              ],
              "response": {
                "$ref": "Job"
              },
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform",
                "https://www.googleapis.com/auth/compute"
              ],
              "flatPath": "v1b3/projects/{projectId}/jobs"
            },
            "update": {
              "flatPath": "v1b3/projects/{projectId}/jobs/{jobId}",
              "parameters": {
                "projectId": {
                  "description": "The ID of the Cloud Platform project that the job belongs to.",
                  "required": true,
                  "location": "path",
                  "type": "string"
                },
                "jobId": {
                  "location": "path",
                  "type": "string",
                  "description": "The job ID.",
                  "required": true
                },
                "location": {
                  "location": "query",
                  "type": "string",
                  "description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job."
                },
                "updateMask": {
                  "location": "query",
                  "type": "string",
                  "format": "google-fieldmask",
                  "description": "The list of fields to update relative to Job. If empty, only RequestedJobState will be considered for update. If the FieldMask is not empty and RequestedJobState is none/empty, The fields specified in the update mask will be the only ones considered for update. If both RequestedJobState and update_mask are specified, an error will be returned as we cannot update both state and mask."
                }
              },
              "parameterOrder": [
                "projectId",
                "jobId"
              ],
              "response": {
                "$ref": "Job"
              },
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform",
                "https://www.googleapis.com/auth/compute"
              ],
              "description": "Updates the state of an existing Cloud Dataflow job. To update the state of an existing job, we recommend using `projects.locations.jobs.update` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.update` is not recommended, as you can only update the state of jobs that are running in `us-central1`.",
              "id": "dataflow.projects.jobs.update",
              "path": "v1b3/projects/{projectId}/jobs/{jobId}",
              "httpMethod": "PUT",
              "request": {
                "$ref": "Job"
              }
            },
            "list": {
              "parameters": {
                "pageSize": {
                  "description": "If there are many jobs, limit response to at most this many. The actual number of jobs returned will be the lesser of max_responses and an unspecified server-defined limit.",
                  "location": "query",
                  "type": "integer",
                  "format": "int32"
                },
                "location": {
                  "description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.",
                  "location": "query",
                  "type": "string"
                },
                "filter": {
                  "description": "The kind of filter to use.",
                  "location": "query",
                  "type": "string",
                  "enumDescriptions": [
                    "The filter isn't specified, or is unknown. This returns all jobs ordered on descending `JobUuid`.",
                    "Returns all running jobs first ordered on creation timestamp, then returns all terminated jobs ordered on the termination timestamp.",
                    "Filters the jobs that have a terminated state, ordered on the termination timestamp. Example terminated states: `JOB_STATE_STOPPED`, `JOB_STATE_UPDATED`, `JOB_STATE_DRAINED`, etc.",
                    "Filters the jobs that are running ordered on the creation timestamp."
                  ],
                  "enum": [
                    "UNKNOWN",
                    "ALL",
                    "TERMINATED",
                    "ACTIVE"
                  ]
                },
                "pageToken": {
                  "description": "Set this to the 'next_page_token' field of a previous response to request additional results in a long list.",
                  "location": "query",
                  "type": "string"
                },
                "name": {
                  "location": "query",
                  "type": "string",
                  "description": "Optional. The job name."
                },
                "projectId": {
                  "description": "The project which owns the jobs.",
                  "required": true,
                  "location": "path",
                  "type": "string"
                },
                "view": {
                  "description": "Deprecated. ListJobs always returns summaries now. Use GetJob for other JobViews.",
                  "location": "query",
                  "type": "string",
                  "enumDescriptions": [
                    "The job view to return isn't specified, or is unknown. Responses will contain at least the `JOB_VIEW_SUMMARY` information, and may contain additional information.",
                    "Request summary information only: Project ID, Job ID, job name, job type, job status, start/end time, and Cloud SDK version details.",
                    "Request all information available for this job. When the job is in `JOB_STATE_PENDING`, the job has been created but is not yet running, and not all job information is available. For complete job information, wait until the job in is `JOB_STATE_RUNNING`. For more information, see [JobState](https://cloud.google.com/dataflow/docs/reference/rest/v1b3/projects.jobs#jobstate).",
                    "Request summary info and limited job description data for steps, labels and environment."
                  ],
                  "enum": [
                    "JOB_VIEW_UNKNOWN",
                    "JOB_VIEW_SUMMARY",
                    "JOB_VIEW_ALL",
                    "JOB_VIEW_DESCRIPTION"
                  ],
                  "deprecated": true
                }
              },
              "parameterOrder": [
                "projectId"
              ],
              "response": {
                "$ref": "ListJobsResponse"
              },
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform",
                "https://www.googleapis.com/auth/compute"
              ],
              "description": "List the jobs of a project. To list the jobs of a project in a region, we recommend using `projects.locations.jobs.list` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). To list the all jobs across all regions, use `projects.jobs.aggregated`. Using `projects.jobs.list` is not recommended, because you can only get the list of jobs that are running in `us-central1`. `projects.locations.jobs.list` and `projects.jobs.list` support filtering the list of jobs by name. Filtering by name isn't supported by `projects.jobs.aggregated`.",
              "id": "dataflow.projects.jobs.list",
              "path": "v1b3/projects/{projectId}/jobs",
              "httpMethod": "GET",
              "flatPath": "v1b3/projects/{projectId}/jobs"
            },
            "get": {
              "flatPath": "v1b3/projects/{projectId}/jobs/{jobId}",
              "response": {
                "$ref": "Job"
              },
              "parameters": {
                "jobId": {
                  "location": "path",
                  "type": "string",
                  "description": "The job ID.",
                  "required": true
                },
                "location": {
                  "description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.",
                  "location": "query",
                  "type": "string"
                },
                "projectId": {
                  "description": "The ID of the Cloud Platform project that the job belongs to.",
                  "required": true,
                  "location": "path",
                  "type": "string"
                },
                "view": {
                  "location": "query",
                  "type": "string",
                  "enumDescriptions": [
                    "The job view to return isn't specified, or is unknown. Responses will contain at least the `JOB_VIEW_SUMMARY` information, and may contain additional information.",
                    "Request summary information only: Project ID, Job ID, job name, job type, job status, start/end time, and Cloud SDK version details.",
                    "Request all information available for this job. When the job is in `JOB_STATE_PENDING`, the job has been created but is not yet running, and not all job information is available. For complete job information, wait until the job in is `JOB_STATE_RUNNING`. For more information, see [JobState](https://cloud.google.com/dataflow/docs/reference/rest/v1b3/projects.jobs#jobstate).",
                    "Request summary info and limited job description data for steps, labels and environment."
                  ],
                  "enum": [
                    "JOB_VIEW_UNKNOWN",
                    "JOB_VIEW_SUMMARY",
                    "JOB_VIEW_ALL",
                    "JOB_VIEW_DESCRIPTION"
                  ],
                  "description": "The level of information requested in response."
                }
              },
              "parameterOrder": [
                "projectId",
                "jobId"
              ],
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform",
                "https://www.googleapis.com/auth/compute"
              ],
              "id": "dataflow.projects.jobs.get",
              "path": "v1b3/projects/{projectId}/jobs/{jobId}",
              "description": "Gets the state of the specified Cloud Dataflow job. To get the state of a job, we recommend using `projects.locations.jobs.get` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.get` is not recommended, as you can only get the state of jobs that are running in `us-central1`.",
              "httpMethod": "GET"
            }
          },
          "resources": {
            "debug": {
              "methods": {
                "getConfig": {
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/compute"
                  ],
                  "response": {
                    "$ref": "GetDebugConfigResponse"
                  },
                  "parameters": {
                    "jobId": {
                      "location": "path",
                      "type": "string",
                      "description": "The job id.",
                      "required": true
                    },
                    "projectId": {
                      "description": "The project id.",
                      "required": true,
                      "location": "path",
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "projectId",
                    "jobId"
                  ],
                  "httpMethod": "POST",
                  "request": {
                    "$ref": "GetDebugConfigRequest"
                  },
                  "id": "dataflow.projects.jobs.debug.getConfig",
                  "path": "v1b3/projects/{projectId}/jobs/{jobId}/debug/getConfig",
                  "description": "Get encoded debug configuration for component. Not cacheable.",
                  "flatPath": "v1b3/projects/{projectId}/jobs/{jobId}/debug/getConfig"
                },
                "sendCapture": {
                  "id": "dataflow.projects.jobs.debug.sendCapture",
                  "path": "v1b3/projects/{projectId}/jobs/{jobId}/debug/sendCapture",
                  "description": "Send encoded debug capture data for component.",
                  "httpMethod": "POST",
                  "request": {
                    "$ref": "SendDebugCaptureRequest"
                  },
                  "response": {
                    "$ref": "SendDebugCaptureResponse"
                  },
                  "parameters": {
                    "projectId": {
                      "location": "path",
                      "type": "string",
                      "description": "The project id.",
                      "required": true
                    },
                    "jobId": {
                      "location": "path",
                      "type": "string",
                      "description": "The job id.",
                      "required": true
                    }
                  },
                  "parameterOrder": [
                    "projectId",
                    "jobId"
                  ],
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/compute"
                  ],
                  "flatPath": "v1b3/projects/{projectId}/jobs/{jobId}/debug/sendCapture"
                }
              }
            },
            "messages": {
              "methods": {
                "list": {
                  "httpMethod": "GET",
                  "description": "Request the job status. To request the status of a job, we recommend using `projects.locations.jobs.messages.list` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.messages.list` is not recommended, as you can only request the status of jobs that are running in `us-central1`.",
                  "id": "dataflow.projects.jobs.messages.list",
                  "path": "v1b3/projects/{projectId}/jobs/{jobId}/messages",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/compute"
                  ],
                  "parameters": {
                    "minimumImportance": {
                      "location": "query",
                      "type": "string",
                      "enumDescriptions": [
                        "The message importance isn't specified, or is unknown.",
                        "The message is at the 'debug' level: typically only useful for software engineers working on the code the job is running. Typically, Dataflow pipeline runners do not display log messages at this level by default.",
                        "The message is at the 'detailed' level: somewhat verbose, but potentially useful to users. Typically, Dataflow pipeline runners do not display log messages at this level by default. These messages are displayed by default in the Dataflow monitoring UI.",
                        "The message is at the 'basic' level: useful for keeping track of the execution of a Dataflow pipeline. Typically, Dataflow pipeline runners display log messages at this level by default, and these messages are displayed by default in the Dataflow monitoring UI.",
                        "The message is at the 'warning' level: indicating a condition pertaining to a job which may require human intervention. Typically, Dataflow pipeline runners display log messages at this level by default, and these messages are displayed by default in the Dataflow monitoring UI.",
                        "The message is at the 'error' level: indicating a condition preventing a job from succeeding. Typically, Dataflow pipeline runners display log messages at this level by default, and these messages are displayed by default in the Dataflow monitoring UI."
                      ],
                      "enum": [
                        "JOB_MESSAGE_IMPORTANCE_UNKNOWN",
                        "JOB_MESSAGE_DEBUG",
                        "JOB_MESSAGE_DETAILED",
                        "JOB_MESSAGE_BASIC",
                        "JOB_MESSAGE_WARNING",
                        "JOB_MESSAGE_ERROR"
                      ],
                      "description": "Filter to only get messages with importance \u003e= level"
                    },
                    "pageSize": {
                      "description": "If specified, determines the maximum number of messages to return. If unspecified, the service may choose an appropriate default, or may return an arbitrarily large number of results.",
                      "location": "query",
                      "type": "integer",
                      "format": "int32"
                    },
                    "jobId": {
                      "location": "path",
                      "type": "string",
                      "description": "The job to get messages about.",
                      "required": true
                    },
                    "endTime": {
                      "location": "query",
                      "type": "string",
                      "format": "google-datetime",
                      "description": "Return only messages with timestamps \u003c end_time. The default is now (i.e. return up to the latest messages available)."
                    },
                    "location": {
                      "description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.",
                      "location": "query",
                      "type": "string"
                    },
                    "pageToken": {
                      "description": "If supplied, this should be the value of next_page_token returned by an earlier call. This will cause the next page of results to be returned.",
                      "location": "query",
                      "type": "string"
                    },
                    "startTime": {
                      "location": "query",
                      "type": "string",
                      "format": "google-datetime",
                      "description": "If specified, return only messages with timestamps \u003e= start_time. The default is the job creation time (i.e. beginning of messages)."
                    },
                    "projectId": {
                      "location": "path",
                      "type": "string",
                      "description": "A project id.",
                      "required": true
                    }
                  },
                  "parameterOrder": [
                    "projectId",
                    "jobId"
                  ],
                  "response": {
                    "$ref": "ListJobMessagesResponse"
                  },
                  "flatPath": "v1b3/projects/{projectId}/jobs/{jobId}/messages"
                }
              }
            },
            "workItems": {
              "methods": {
                "lease": {
                  "flatPath": "v1b3/projects/{projectId}/jobs/{jobId}/workItems:lease",
                  "parameters": {
                    "jobId": {
                      "description": "Identifies the workflow job this worker belongs to.",
                      "required": true,
                      "location": "path",
                      "type": "string"
                    },
                    "projectId": {
                      "description": "Identifies the project this worker belongs to.",
                      "required": true,
                      "location": "path",
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "projectId",
                    "jobId"
                  ],
                  "response": {
                    "$ref": "LeaseWorkItemResponse"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/compute"
                  ],
                  "description": "Leases a dataflow WorkItem to run.",
                  "id": "dataflow.projects.jobs.workItems.lease",
                  "path": "v1b3/projects/{projectId}/jobs/{jobId}/workItems:lease",
                  "httpMethod": "POST",
                  "request": {
                    "$ref": "LeaseWorkItemRequest"
                  }
                },
                "reportStatus": {
                  "parameters": {
                    "projectId": {
                      "location": "path",
                      "type": "string",
                      "description": "The project which owns the WorkItem's job.",
                      "required": true
                    },
                    "jobId": {
                      "location": "path",
                      "type": "string",
                      "description": "The job which the WorkItem is part of.",
                      "required": true
                    }
                  },
                  "parameterOrder": [
                    "projectId",
                    "jobId"
                  ],
                  "response": {
                    "$ref": "ReportWorkItemStatusResponse"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/compute"
                  ],
                  "description": "Reports the status of dataflow WorkItems leased by a worker.",
                  "id": "dataflow.projects.jobs.workItems.reportStatus",
                  "path": "v1b3/projects/{projectId}/jobs/{jobId}/workItems:reportStatus",
                  "httpMethod": "POST",
                  "request": {
                    "$ref": "ReportWorkItemStatusRequest"
                  },
                  "flatPath": "v1b3/projects/{projectId}/jobs/{jobId}/workItems:reportStatus"
                }
              }
            }
          }
        },
        "templates": {
          "methods": {
            "create": {
              "description": "Creates a Cloud Dataflow job from a template. Do not enter confidential information when you supply string values using the API. To create a job, we recommend using `projects.locations.templates.create` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.templates.create` is not recommended, because your job will always start in `us-central1`.",
              "id": "dataflow.projects.templates.create",
              "path": "v1b3/projects/{projectId}/templates",
              "httpMethod": "POST",
              "request": {
                "$ref": "CreateJobFromTemplateRequest"
              },
              "parameters": {
                "projectId": {
                  "description": "Required. The ID of the Cloud Platform project that the job belongs to.",
                  "required": true,
                  "location": "path",
                  "type": "string"
                }
              },
              "parameterOrder": [
                "projectId"
              ],
              "response": {
                "$ref": "Job"
              },
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform",
                "https://www.googleapis.com/auth/compute"
              ],
              "flatPath": "v1b3/projects/{projectId}/templates"
            },
            "launch": {
              "flatPath": "v1b3/projects/{projectId}/templates:launch",
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform",
                "https://www.googleapis.com/auth/compute"
              ],
              "response": {
                "$ref": "LaunchTemplateResponse"
              },
              "parameters": {
                "validateOnly": {
                  "location": "query",
                  "type": "boolean",
                  "description": "If true, the request is validated but not actually executed. Defaults to false."
                },
                "location": {
                  "description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.",
                  "location": "query",
                  "type": "string"
                },
                "dynamicTemplate.gcsPath": {
                  "description": "Path to the dynamic template specification file on Cloud Storage. The file must be a JSON serialized `DynamicTemplateFileSpec` object.",
                  "location": "query",
                  "type": "string"
                },
                "dynamicTemplate.stagingLocation": {
                  "location": "query",
                  "type": "string",
                  "description": "Cloud Storage path for staging dependencies. Must be a valid Cloud Storage URL, beginning with `gs://`."
                },
                "gcsPath": {
                  "location": "query",
                  "type": "string",
                  "description": "A Cloud Storage path to the template to use to create the job. Must be valid Cloud Storage URL, beginning with `gs://`."
                },
                "projectId": {
                  "location": "path",
                  "type": "string",
                  "description": "Required. The ID of the Cloud Platform project that the job belongs to.",
                  "required": true
                }
              },
              "parameterOrder": [
                "projectId"
              ],
              "httpMethod": "POST",
              "request": {
                "$ref": "LaunchTemplateParameters"
              },
              "id": "dataflow.projects.templates.launch",
              "path": "v1b3/projects/{projectId}/templates:launch",
              "description": "Launches a template. To launch a template, we recommend using `projects.locations.templates.launch` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.templates.launch` is not recommended, because jobs launched from the template will always start in `us-central1`."
            },
            "get": {
              "flatPath": "v1b3/projects/{projectId}/templates:get",
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform",
                "https://www.googleapis.com/auth/compute"
              ],
              "parameters": {
                "projectId": {
                  "description": "Required. The ID of the Cloud Platform project that the job belongs to.",
                  "required": true,
                  "location": "path",
                  "type": "string"
                },
                "view": {
                  "description": "The view to retrieve. Defaults to METADATA_ONLY.",
                  "location": "query",
                  "type": "string",
                  "enumDescriptions": [
                    "Template view that retrieves only the metadata associated with the template."
                  ],
                  "enum": [
                    "METADATA_ONLY"
                  ]
                },
                "gcsPath": {
                  "location": "query",
                  "type": "string",
                  "description": "Required. A Cloud Storage path to the template from which to create the job. Must be valid Cloud Storage URL, beginning with 'gs://'."
                },
                "location": {
                  "location": "query",
                  "type": "string",
                  "description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request."
                }
              },
              "parameterOrder": [
                "projectId"
              ],
              "response": {
                "$ref": "GetTemplateResponse"
              },
              "httpMethod": "GET",
              "description": "Get the template associated with a template. To get the template, we recommend using `projects.locations.templates.get` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.templates.get` is not recommended, because only templates that are running in `us-central1` are retrieved.",
              "id": "dataflow.projects.templates.get",
              "path": "v1b3/projects/{projectId}/templates:get"
            }
          }
        },
        "locations": {
          "resources": {
            "snapshots": {
              "methods": {
                "get": {
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/compute"
                  ],
                  "parameters": {
                    "location": {
                      "description": "The location that contains this snapshot.",
                      "required": true,
                      "location": "path",
                      "type": "string"
                    },
                    "projectId": {
                      "location": "path",
                      "type": "string",
                      "description": "The ID of the Cloud Platform project that the snapshot belongs to.",
                      "required": true
                    },
                    "snapshotId": {
                      "description": "The ID of the snapshot.",
                      "required": true,
                      "location": "path",
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "projectId",
                    "location",
                    "snapshotId"
                  ],
                  "response": {
                    "$ref": "Snapshot"
                  },
                  "httpMethod": "GET",
                  "description": "Gets information about a snapshot.",
                  "id": "dataflow.projects.locations.snapshots.get",
                  "path": "v1b3/projects/{projectId}/locations/{location}/snapshots/{snapshotId}",
                  "flatPath": "v1b3/projects/{projectId}/locations/{location}/snapshots/{snapshotId}"
                },
                "delete": {
                  "flatPath": "v1b3/projects/{projectId}/locations/{location}/snapshots/{snapshotId}",
                  "parameters": {
                    "location": {
                      "description": "The location that contains this snapshot.",
                      "required": true,
                      "location": "path",
                      "type": "string"
                    },
                    "projectId": {
                      "description": "The ID of the Cloud Platform project that the snapshot belongs to.",
                      "required": true,
                      "location": "path",
                      "type": "string"
                    },
                    "snapshotId": {
                      "description": "The ID of the snapshot.",
                      "required": true,
                      "location": "path",
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "projectId",
                    "location",
                    "snapshotId"
                  ],
                  "response": {
                    "$ref": "DeleteSnapshotResponse"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/compute"
                  ],
                  "description": "Deletes a snapshot.",
                  "id": "dataflow.projects.locations.snapshots.delete",
                  "path": "v1b3/projects/{projectId}/locations/{location}/snapshots/{snapshotId}",
                  "httpMethod": "DELETE"
                },
                "list": {
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/compute"
                  ],
                  "response": {
                    "$ref": "ListSnapshotsResponse"
                  },
                  "parameters": {
                    "location": {
                      "location": "path",
                      "type": "string",
                      "description": "The location to list snapshots in.",
                      "required": true
                    },
                    "jobId": {
                      "description": "If specified, list snapshots created from this job.",
                      "location": "query",
                      "type": "string"
                    },
                    "projectId": {
                      "description": "The project ID to list snapshots for.",
                      "required": true,
                      "location": "path",
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "projectId",
                    "location"
                  ],
                  "httpMethod": "GET",
                  "id": "dataflow.projects.locations.snapshots.list",
                  "path": "v1b3/projects/{projectId}/locations/{location}/snapshots",
                  "description": "Lists snapshots.",
                  "flatPath": "v1b3/projects/{projectId}/locations/{location}/snapshots"
                }
              }
            },
            "jobs": {
              "resources": {
                "snapshots": {
                  "methods": {
                    "list": {
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/compute"
                      ],
                      "parameters": {
                        "projectId": {
                          "description": "The project ID to list snapshots for.",
                          "required": true,
                          "location": "path",
                          "type": "string"
                        },
                        "location": {
                          "description": "The location to list snapshots in.",
                          "required": true,
                          "location": "path",
                          "type": "string"
                        },
                        "jobId": {
                          "location": "path",
                          "type": "string",
                          "description": "If specified, list snapshots created from this job.",
                          "required": true
                        }
                      },
                      "parameterOrder": [
                        "projectId",
                        "location",
                        "jobId"
                      ],
                      "response": {
                        "$ref": "ListSnapshotsResponse"
                      },
                      "httpMethod": "GET",
                      "description": "Lists snapshots.",
                      "id": "dataflow.projects.locations.jobs.snapshots.list",
                      "path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/snapshots",
                      "flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/snapshots"
                    }
                  }
                },
                "debug": {
                  "methods": {
                    "getConfig": {
                      "id": "dataflow.projects.locations.jobs.debug.getConfig",
                      "path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/debug/getConfig",
                      "description": "Get encoded debug configuration for component. Not cacheable.",
                      "httpMethod": "POST",
                      "request": {
                        "$ref": "GetDebugConfigRequest"
                      },
                      "response": {
                        "$ref": "GetDebugConfigResponse"
                      },
                      "parameters": {
                        "projectId": {
                          "location": "path",
                          "type": "string",
                          "description": "The project id.",
                          "required": true
                        },
                        "location": {
                          "location": "path",
                          "type": "string",
                          "description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.",
                          "required": true
                        },
                        "jobId": {
                          "location": "path",
                          "type": "string",
                          "description": "The job id.",
                          "required": true
                        }
                      },
                      "parameterOrder": [
                        "projectId",
                        "location",
                        "jobId"
                      ],
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/compute"
                      ],
                      "flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/debug/getConfig"
                    },
                    "sendCapture": {
                      "id": "dataflow.projects.locations.jobs.debug.sendCapture",
                      "path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/debug/sendCapture",
                      "description": "Send encoded debug capture data for component.",
                      "httpMethod": "POST",
                      "request": {
                        "$ref": "SendDebugCaptureRequest"
                      },
                      "response": {
                        "$ref": "SendDebugCaptureResponse"
                      },
                      "parameters": {
                        "location": {
                          "description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.",
                          "required": true,
                          "location": "path",
                          "type": "string"
                        },
                        "jobId": {
                          "description": "The job id.",
                          "required": true,
                          "location": "path",
                          "type": "string"
                        },
                        "projectId": {
                          "description": "The project id.",
                          "required": true,
                          "location": "path",
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "projectId",
                        "location",
                        "jobId"
                      ],
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/compute"
                      ],
                      "flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/debug/sendCapture"
                    },
                    "getWorkerStacktraces": {
                      "description": "Get worker stacktraces from debug capture.",
                      "id": "dataflow.projects.locations.jobs.debug.getWorkerStacktraces",
                      "path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/debug/getWorkerStacktraces",
                      "httpMethod": "POST",
                      "request": {
                        "$ref": "GetWorkerStacktracesRequest"
                      },
                      "parameters": {
                        "projectId": {
                          "location": "path",
                          "type": "string",
                          "description": "The project id.",
                          "required": true
                        },
                        "location": {
                          "description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.",
                          "required": true,
                          "location": "path",
                          "type": "string"
                        },
                        "jobId": {
                          "location": "path",
                          "type": "string",
                          "description": "The job for which to get stacktraces.",
                          "required": true
                        }
                      },
                      "parameterOrder": [
                        "projectId",
                        "location",
                        "jobId"
                      ],
                      "response": {
                        "$ref": "GetWorkerStacktracesResponse"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/compute"
                      ],
                      "flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/debug/getWorkerStacktraces"
                    }
                  }
                },
                "workItems": {
                  "methods": {
                    "lease": {
                      "flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:lease",
                      "description": "Leases a dataflow WorkItem to run.",
                      "id": "dataflow.projects.locations.jobs.workItems.lease",
                      "path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:lease",
                      "httpMethod": "POST",
                      "request": {
                        "$ref": "LeaseWorkItemRequest"
                      },
                      "parameters": {
                        "projectId": {
                          "location": "path",
                          "type": "string",
                          "description": "Identifies the project this worker belongs to.",
                          "required": true
                        },
                        "location": {
                          "location": "path",
                          "type": "string",
                          "description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the WorkItem's job.",
                          "required": true
                        },
                        "jobId": {
                          "description": "Identifies the workflow job this worker belongs to.",
                          "required": true,
                          "location": "path",
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "projectId",
                        "location",
                        "jobId"
                      ],
                      "response": {
                        "$ref": "LeaseWorkItemResponse"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/compute"
                      ]
                    },
                    "reportStatus": {
                      "flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:reportStatus",
                      "parameters": {
                        "location": {
                          "location": "path",
                          "type": "string",
                          "description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the WorkItem's job.",
                          "required": true
                        },
                        "jobId": {
                          "location": "path",
                          "type": "string",
                          "description": "The job which the WorkItem is part of.",
                          "required": true
                        },
                        "projectId": {
                          "description": "The project which owns the WorkItem's job.",
                          "required": true,
                          "location": "path",
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "projectId",
                        "location",
                        "jobId"
                      ],
                      "response": {
                        "$ref": "ReportWorkItemStatusResponse"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/compute"
                      ],
                      "description": "Reports the status of dataflow WorkItems leased by a worker.",
                      "id": "dataflow.projects.locations.jobs.workItems.reportStatus",
                      "path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:reportStatus",
                      "httpMethod": "POST",
                      "request": {
                        "$ref": "ReportWorkItemStatusRequest"
                      }
                    }
                  }
                },
                "messages": {
                  "methods": {
                    "list": {
                      "flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/messages",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/compute"
                      ],
                      "parameters": {
                        "pageToken": {
                          "location": "query",
                          "type": "string",
                          "description": "If supplied, this should be the value of next_page_token returned by an earlier call. This will cause the next page of results to be returned."
                        },
                        "startTime": {
                          "description": "If specified, return only messages with timestamps \u003e= start_time. The default is the job creation time (i.e. beginning of messages).",
                          "location": "query",
                          "type": "string",
                          "format": "google-datetime"
                        },
                        "projectId": {
                          "location": "path",
                          "type": "string",
                          "description": "A project id.",
                          "required": true
                        },
                        "minimumImportance": {
                          "description": "Filter to only get messages with importance \u003e= level",
                          "location": "query",
                          "type": "string",
                          "enumDescriptions": [
                            "The message importance isn't specified, or is unknown.",
                            "The message is at the 'debug' level: typically only useful for software engineers working on the code the job is running. Typically, Dataflow pipeline runners do not display log messages at this level by default.",
                            "The message is at the 'detailed' level: somewhat verbose, but potentially useful to users. Typically, Dataflow pipeline runners do not display log messages at this level by default. These messages are displayed by default in the Dataflow monitoring UI.",
                            "The message is at the 'basic' level: useful for keeping track of the execution of a Dataflow pipeline. Typically, Dataflow pipeline runners display log messages at this level by default, and these messages are displayed by default in the Dataflow monitoring UI.",
                            "The message is at the 'warning' level: indicating a condition pertaining to a job which may require human intervention. Typically, Dataflow pipeline runners display log messages at this level by default, and these messages are displayed by default in the Dataflow monitoring UI.",
                            "The message is at the 'error' level: indicating a condition preventing a job from succeeding. Typically, Dataflow pipeline runners display log messages at this level by default, and these messages are displayed by default in the Dataflow monitoring UI."
                          ],
                          "enum": [
                            "JOB_MESSAGE_IMPORTANCE_UNKNOWN",
                            "JOB_MESSAGE_DEBUG",
                            "JOB_MESSAGE_DETAILED",
                            "JOB_MESSAGE_BASIC",
                            "JOB_MESSAGE_WARNING",
                            "JOB_MESSAGE_ERROR"
                          ]
                        },
                        "pageSize": {
                          "description": "If specified, determines the maximum number of messages to return. If unspecified, the service may choose an appropriate default, or may return an arbitrarily large number of results.",
                          "location": "query",
                          "type": "integer",
                          "format": "int32"
                        },
                        "location": {
                          "description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.",
                          "required": true,
                          "location": "path",
                          "type": "string"
                        },
                        "jobId": {
                          "description": "The job to get messages about.",
                          "required": true,
                          "location": "path",
                          "type": "string"
                        },
                        "endTime": {
                          "description": "Return only messages with timestamps \u003c end_time. The default is now (i.e. return up to the latest messages available).",
                          "location": "query",
                          "type": "string",
                          "format": "google-datetime"
                        }
                      },
                      "parameterOrder": [
                        "projectId",
                        "location",
                        "jobId"
                      ],
                      "response": {
                        "$ref": "ListJobMessagesResponse"
                      },
                      "httpMethod": "GET",
                      "description": "Request the job status. To request the status of a job, we recommend using `projects.locations.jobs.messages.list` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.messages.list` is not recommended, as you can only request the status of jobs that are running in `us-central1`.",
                      "id": "dataflow.projects.locations.jobs.messages.list",
                      "path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/messages"
                    }
                  }
                },
                "stages": {
                  "methods": {
                    "getExecutionDetails": {
                      "flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/stages/{stageId}/executionDetails",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/compute"
                      ],
                      "parameters": {
                        "location": {
                          "description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.",
                          "required": true,
                          "location": "path",
                          "type": "string"
                        },
                        "jobId": {
                          "description": "The job to get execution details for.",
                          "required": true,
                          "location": "path",
                          "type": "string"
                        },
                        "endTime": {
                          "location": "query",
                          "type": "string",
                          "format": "google-datetime",
                          "description": "Upper time bound of work items to include, by start time."
                        },
                        "stageId": {
                          "description": "The stage for which to fetch information.",
                          "required": true,
                          "location": "path",
                          "type": "string"
                        },
                        "pageSize": {
                          "location": "query",
                          "type": "integer",
                          "format": "int32",
                          "description": "If specified, determines the maximum number of work items to return. If unspecified, the service may choose an appropriate default, or may return an arbitrarily large number of results."
                        },
                        "projectId": {
                          "description": "A project id.",
                          "required": true,
                          "location": "path",
                          "type": "string"
                        },
                        "startTime": {
                          "location": "query",
                          "type": "string",
                          "format": "google-datetime",
                          "description": "Lower time bound of work items to include, by start time."
                        },
                        "pageToken": {
                          "description": "If supplied, this should be the value of next_page_token returned by an earlier call. This will cause the next page of results to be returned.",
                          "location": "query",
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "projectId",
                        "location",
                        "jobId",
                        "stageId"
                      ],
                      "response": {
                        "$ref": "StageExecutionDetails"
                      },
                      "httpMethod": "GET",
                      "description": "Request detailed information about the execution status of a stage of the job. EXPERIMENTAL. This API is subject to change or removal without notice.",
                      "id": "dataflow.projects.locations.jobs.stages.getExecutionDetails",
                      "path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/stages/{stageId}/executionDetails"
                    }
                  }
                }
              },
              "methods": {
                "getMetrics": {
                  "parameters": {
                    "location": {
                      "location": "path",
                      "type": "string",
                      "description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.",
                      "required": true
                    },
                    "jobId": {
                      "description": "The job to get metrics for.",
                      "required": true,
                      "location": "path",
                      "type": "string"
                    },
                    "startTime": {
                      "description": "Return only metric data that has changed since this time. Default is to return all information about all metrics for the job.",
                      "location": "query",
                      "type": "string",
                      "format": "google-datetime"
                    },
                    "projectId": {
                      "location": "path",
                      "type": "string",
                      "description": "A project id.",
                      "required": true
                    }
                  },
                  "parameterOrder": [
                    "projectId",
                    "location",
                    "jobId"
                  ],
                  "response": {
                    "$ref": "JobMetrics"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/compute"
                  ],
                  "description": "Request the job status. To request the status of a job, we recommend using `projects.locations.jobs.getMetrics` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.getMetrics` is not recommended, as you can only request the status of jobs that are running in `us-central1`.",
                  "id": "dataflow.projects.locations.jobs.getMetrics",
                  "path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/metrics",
                  "httpMethod": "GET",
                  "flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/metrics"
                },
                "snapshot": {
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/compute"
                  ],
                  "parameters": {
                    "projectId": {
                      "location": "path",
                      "type": "string",
                      "description": "The project which owns the job to be snapshotted.",
                      "required": true
                    },
                    "location": {
                      "description": "The location that contains this job.",
                      "required": true,
                      "location": "path",
                      "type": "string"
                    },
                    "jobId": {
                      "description": "The job to be snapshotted.",
                      "required": true,
                      "location": "path",
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "projectId",
                    "location",
                    "jobId"
                  ],
                  "response": {
                    "$ref": "Snapshot"
                  },
                  "httpMethod": "POST",
                  "request": {
                    "$ref": "SnapshotJobRequest"
                  },
                  "description": "Snapshot the state of a streaming job.",
                  "id": "dataflow.projects.locations.jobs.snapshot",
                  "path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}:snapshot",
                  "flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}:snapshot"
                },
                "create": {
                  "description": "Creates a Dataflow job. To create a job, we recommend using `projects.locations.jobs.create` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.create` is not recommended, as your job will always start in `us-central1`. Do not enter confidential information when you supply string values using the API.",
                  "id": "dataflow.projects.locations.jobs.create",
                  "path": "v1b3/projects/{projectId}/locations/{location}/jobs",
                  "httpMethod": "POST",
                  "request": {
                    "$ref": "Job"
                  },
                  "parameters": {
                    "location": {
                      "location": "path",
                      "type": "string",
                      "description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.",
                      "required": true
                    },
                    "projectId": {
                      "description": "The ID of the Cloud Platform project that the job belongs to.",
                      "required": true,
                      "location": "path",
                      "type": "string"
                    },
                    "view": {
                      "description": "The level of information requested in response.",
                      "location": "query",
                      "type": "string",
                      "enumDescriptions": [
                        "The job view to return isn't specified, or is unknown. Responses will contain at least the `JOB_VIEW_SUMMARY` information, and may contain additional information.",
                        "Request summary information only: Project ID, Job ID, job name, job type, job status, start/end time, and Cloud SDK version details.",
                        "Request all information available for this job. When the job is in `JOB_STATE_PENDING`, the job has been created but is not yet running, and not all job information is available. For complete job information, wait until the job in is `JOB_STATE_RUNNING`. For more information, see [JobState](https://cloud.google.com/dataflow/docs/reference/rest/v1b3/projects.jobs#jobstate).",
                        "Request summary info and limited job description data for steps, labels and environment."
                      ],
                      "enum": [
                        "JOB_VIEW_UNKNOWN",
                        "JOB_VIEW_SUMMARY",
                        "JOB_VIEW_ALL",
                        "JOB_VIEW_DESCRIPTION"
                      ]
                    },
                    "replaceJobId": {
                      "description": "Deprecated. This field is now in the Job message.",
                      "location": "query",
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "projectId",
                    "location"
                  ],
                  "response": {
                    "$ref": "Job"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/compute"
                  ],
                  "flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs"
                },
                "update": {
                  "flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}",
                  "parameters": {
                    "projectId": {
                      "description": "The ID of the Cloud Platform project that the job belongs to.",
                      "required": true,
                      "location": "path",
                      "type": "string"
                    },
                    "location": {
                      "location": "path",
                      "type": "string",
                      "description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.",
                      "required": true
                    },
                    "jobId": {
                      "location": "path",
                      "type": "string",
                      "description": "The job ID.",
                      "required": true
                    },
                    "updateMask": {
                      "location": "query",
                      "type": "string",
                      "format": "google-fieldmask",
                      "description": "The list of fields to update relative to Job. If empty, only RequestedJobState will be considered for update. If the FieldMask is not empty and RequestedJobState is none/empty, The fields specified in the update mask will be the only ones considered for update. If both RequestedJobState and update_mask are specified, an error will be returned as we cannot update both state and mask."
                    }
                  },
                  "parameterOrder": [
                    "projectId",
                    "location",
                    "jobId"
                  ],
                  "response": {
                    "$ref": "Job"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/compute"
                  ],
                  "description": "Updates the state of an existing Cloud Dataflow job. To update the state of an existing job, we recommend using `projects.locations.jobs.update` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.update` is not recommended, as you can only update the state of jobs that are running in `us-central1`.",
                  "id": "dataflow.projects.locations.jobs.update",
                  "path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}",
                  "httpMethod": "PUT",
                  "request": {
                    "$ref": "Job"
                  }
                },
                "list": {
                  "flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs",
                  "id": "dataflow.projects.locations.jobs.list",
                  "path": "v1b3/projects/{projectId}/locations/{location}/jobs",
                  "description": "List the jobs of a project. To list the jobs of a project in a region, we recommend using `projects.locations.jobs.list` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). To list the all jobs across all regions, use `projects.jobs.aggregated`. Using `projects.jobs.list` is not recommended, because you can only get the list of jobs that are running in `us-central1`. `projects.locations.jobs.list` and `projects.jobs.list` support filtering the list of jobs by name. Filtering by name isn't supported by `projects.jobs.aggregated`.",
                  "httpMethod": "GET",
                  "response": {
                    "$ref": "ListJobsResponse"
                  },
                  "parameters": {
                    "name": {
                      "description": "Optional. The job name.",
                      "location": "query",
                      "type": "string"
                    },
                    "projectId": {
                      "description": "The project which owns the jobs.",
                      "required": true,
                      "location": "path",
                      "type": "string"
                    },
                    "view": {
                      "description": "Deprecated. ListJobs always returns summaries now. Use GetJob for other JobViews.",
                      "deprecated": true,
                      "location": "query",
                      "type": "string",
                      "enumDescriptions": [
                        "The job view to return isn't specified, or is unknown. Responses will contain at least the `JOB_VIEW_SUMMARY` information, and may contain additional information.",
                        "Request summary information only: Project ID, Job ID, job name, job type, job status, start/end time, and Cloud SDK version details.",
                        "Request all information available for this job. When the job is in `JOB_STATE_PENDING`, the job has been created but is not yet running, and not all job information is available. For complete job information, wait until the job in is `JOB_STATE_RUNNING`. For more information, see [JobState](https://cloud.google.com/dataflow/docs/reference/rest/v1b3/projects.jobs#jobstate).",
                        "Request summary info and limited job description data for steps, labels and environment."
                      ],
                      "enum": [
                        "JOB_VIEW_UNKNOWN",
                        "JOB_VIEW_SUMMARY",
                        "JOB_VIEW_ALL",
                        "JOB_VIEW_DESCRIPTION"
                      ]
                    },
                    "filter": {
                      "description": "The kind of filter to use.",
                      "location": "query",
                      "type": "string",
                      "enumDescriptions": [
                        "The filter isn't specified, or is unknown. This returns all jobs ordered on descending `JobUuid`.",
                        "Returns all running jobs first ordered on creation timestamp, then returns all terminated jobs ordered on the termination timestamp.",
                        "Filters the jobs that have a terminated state, ordered on the termination timestamp. Example terminated states: `JOB_STATE_STOPPED`, `JOB_STATE_UPDATED`, `JOB_STATE_DRAINED`, etc.",
                        "Filters the jobs that are running ordered on the creation timestamp."
                      ],
                      "enum": [
                        "UNKNOWN",
                        "ALL",
                        "TERMINATED",
                        "ACTIVE"
                      ]
                    },
                    "pageToken": {
                      "description": "Set this to the 'next_page_token' field of a previous response to request additional results in a long list.",
                      "location": "query",
                      "type": "string"
                    },
                    "location": {
                      "location": "path",
                      "type": "string",
                      "description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.",
                      "required": true
                    },
                    "pageSize": {
                      "description": "If there are many jobs, limit response to at most this many. The actual number of jobs returned will be the lesser of max_responses and an unspecified server-defined limit.",
                      "location": "query",
                      "type": "integer",
                      "format": "int32"
                    }
                  },
                  "parameterOrder": [
                    "projectId",
                    "location"
                  ],
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/compute"
                  ]
                },
                "get": {
                  "parameters": {
                    "projectId": {
                      "description": "The ID of the Cloud Platform project that the job belongs to.",
                      "required": true,
                      "location": "path",
                      "type": "string"
                    },
                    "view": {
                      "description": "The level of information requested in response.",
                      "location": "query",
                      "type": "string",
                      "enumDescriptions": [
                        "The job view to return isn't specified, or is unknown. Responses will contain at least the `JOB_VIEW_SUMMARY` information, and may contain additional information.",
                        "Request summary information only: Project ID, Job ID, job name, job type, job status, start/end time, and Cloud SDK version details.",
                        "Request all information available for this job. When the job is in `JOB_STATE_PENDING`, the job has been created but is not yet running, and not all job information is available. For complete job information, wait until the job in is `JOB_STATE_RUNNING`. For more information, see [JobState](https://cloud.google.com/dataflow/docs/reference/rest/v1b3/projects.jobs#jobstate).",
                        "Request summary info and limited job description data for steps, labels and environment."
                      ],
                      "enum": [
                        "JOB_VIEW_UNKNOWN",
                        "JOB_VIEW_SUMMARY",
                        "JOB_VIEW_ALL",
                        "JOB_VIEW_DESCRIPTION"
                      ]
                    },
                    "location": {
                      "description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.",
                      "required": true,
                      "location": "path",
                      "type": "string"
                    },
                    "jobId": {
                      "description": "The job ID.",
                      "required": true,
                      "location": "path",
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "projectId",
                    "location",
                    "jobId"
                  ],
                  "response": {
                    "$ref": "Job"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/compute"
                  ],
                  "description": "Gets the state of the specified Cloud Dataflow job. To get the state of a job, we recommend using `projects.locations.jobs.get` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.jobs.get` is not recommended, as you can only get the state of jobs that are running in `us-central1`.",
                  "id": "dataflow.projects.locations.jobs.get",
                  "path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}",
                  "httpMethod": "GET",
                  "flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}"
                },
                "getExecutionDetails": {
                  "httpMethod": "GET",
                  "description": "Request detailed information about the execution status of the job. EXPERIMENTAL. This API is subject to change or removal without notice.",
                  "id": "dataflow.projects.locations.jobs.getExecutionDetails",
                  "path": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/executionDetails",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/compute"
                  ],
                  "parameters": {
                    "pageToken": {
                      "location": "query",
                      "type": "string",
                      "description": "If supplied, this should be the value of next_page_token returned by an earlier call. This will cause the next page of results to be returned."
                    },
                    "projectId": {
                      "description": "A project id.",
                      "required": true,
                      "location": "path",
                      "type": "string"
                    },
                    "pageSize": {
                      "location": "query",
                      "type": "integer",
                      "format": "int32",
                      "description": "If specified, determines the maximum number of stages to return. If unspecified, the service may choose an appropriate default, or may return an arbitrarily large number of results."
                    },
                    "location": {
                      "description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id.",
                      "required": true,
                      "location": "path",
                      "type": "string"
                    },
                    "jobId": {
                      "location": "path",
                      "type": "string",
                      "description": "The job to get execution details for.",
                      "required": true
                    }
                  },
                  "parameterOrder": [
                    "projectId",
                    "location",
                    "jobId"
                  ],
                  "response": {
                    "$ref": "JobExecutionDetails"
                  },
                  "flatPath": "v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/executionDetails"
                }
              }
            },
            "templates": {
              "methods": {
                "get": {
                  "parameters": {
                    "projectId": {
                      "location": "path",
                      "type": "string",
                      "description": "Required. The ID of the Cloud Platform project that the job belongs to.",
                      "required": true
                    },
                    "view": {
                      "description": "The view to retrieve. Defaults to METADATA_ONLY.",
                      "location": "query",
                      "type": "string",
                      "enumDescriptions": [
                        "Template view that retrieves only the metadata associated with the template."
                      ],
                      "enum": [
                        "METADATA_ONLY"
                      ]
                    },
                    "location": {
                      "description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.",
                      "required": true,
                      "location": "path",
                      "type": "string"
                    },
                    "gcsPath": {
                      "location": "query",
                      "type": "string",
                      "description": "Required. A Cloud Storage path to the template from which to create the job. Must be valid Cloud Storage URL, beginning with 'gs://'."
                    }
                  },
                  "parameterOrder": [
                    "projectId",
                    "location"
                  ],
                  "response": {
                    "$ref": "GetTemplateResponse"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/compute"
                  ],
                  "description": "Get the template associated with a template. To get the template, we recommend using `projects.locations.templates.get` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.templates.get` is not recommended, because only templates that are running in `us-central1` are retrieved.",
                  "id": "dataflow.projects.locations.templates.get",
                  "path": "v1b3/projects/{projectId}/locations/{location}/templates:get",
                  "httpMethod": "GET",
                  "flatPath": "v1b3/projects/{projectId}/locations/{location}/templates:get"
                },
                "create": {
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/compute"
                  ],
                  "response": {
                    "$ref": "Job"
                  },
                  "parameters": {
                    "location": {
                      "location": "path",
                      "type": "string",
                      "description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.",
                      "required": true
                    },
                    "projectId": {
                      "description": "Required. The ID of the Cloud Platform project that the job belongs to.",
                      "required": true,
                      "location": "path",
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "projectId",
                    "location"
                  ],
                  "httpMethod": "POST",
                  "request": {
                    "$ref": "CreateJobFromTemplateRequest"
                  },
                  "id": "dataflow.projects.locations.templates.create",
                  "path": "v1b3/projects/{projectId}/locations/{location}/templates",
                  "description": "Creates a Cloud Dataflow job from a template. Do not enter confidential information when you supply string values using the API. To create a job, we recommend using `projects.locations.templates.create` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.templates.create` is not recommended, because your job will always start in `us-central1`.",
                  "flatPath": "v1b3/projects/{projectId}/locations/{location}/templates"
                },
                "launch": {
                  "flatPath": "v1b3/projects/{projectId}/locations/{location}/templates:launch",
                  "description": "Launches a template. To launch a template, we recommend using `projects.locations.templates.launch` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.templates.launch` is not recommended, because jobs launched from the template will always start in `us-central1`.",
                  "id": "dataflow.projects.locations.templates.launch",
                  "path": "v1b3/projects/{projectId}/locations/{location}/templates:launch",
                  "httpMethod": "POST",
                  "request": {
                    "$ref": "LaunchTemplateParameters"
                  },
                  "parameters": {
                    "location": {
                      "location": "path",
                      "type": "string",
                      "description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.",
                      "required": true
                    },
                    "validateOnly": {
                      "description": "If true, the request is validated but not actually executed. Defaults to false.",
                      "location": "query",
                      "type": "boolean"
                    },
                    "dynamicTemplate.gcsPath": {
                      "description": "Path to the dynamic template specification file on Cloud Storage. The file must be a JSON serialized `DynamicTemplateFileSpec` object.",
                      "location": "query",
                      "type": "string"
                    },
                    "dynamicTemplate.stagingLocation": {
                      "description": "Cloud Storage path for staging dependencies. Must be a valid Cloud Storage URL, beginning with `gs://`.",
                      "location": "query",
                      "type": "string"
                    },
                    "gcsPath": {
                      "description": "A Cloud Storage path to the template to use to create the job. Must be valid Cloud Storage URL, beginning with `gs://`.",
                      "location": "query",
                      "type": "string"
                    },
                    "projectId": {
                      "location": "path",
                      "type": "string",
                      "description": "Required. The ID of the Cloud Platform project that the job belongs to.",
                      "required": true
                    }
                  },
                  "parameterOrder": [
                    "projectId",
                    "location"
                  ],
                  "response": {
                    "$ref": "LaunchTemplateResponse"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/compute"
                  ]
                }
              }
            },
            "flexTemplates": {
              "methods": {
                "launch": {
                  "flatPath": "v1b3/projects/{projectId}/locations/{location}/flexTemplates:launch",
                  "parameters": {
                    "location": {
                      "description": "Required. The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request. E.g., us-central1, us-west1.",
                      "required": true,
                      "location": "path",
                      "type": "string"
                    },
                    "projectId": {
                      "description": "Required. The ID of the Cloud Platform project that the job belongs to.",
                      "required": true,
                      "location": "path",
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "projectId",
                    "location"
                  ],
                  "response": {
                    "$ref": "LaunchFlexTemplateResponse"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/compute"
                  ],
                  "description": "Launch a job with a FlexTemplate.",
                  "id": "dataflow.projects.locations.flexTemplates.launch",
                  "path": "v1b3/projects/{projectId}/locations/{location}/flexTemplates:launch",
                  "httpMethod": "POST",
                  "request": {
                    "$ref": "LaunchFlexTemplateRequest"
                  }
                }
              }
            }
          },
          "methods": {
            "workerMessages": {
              "httpMethod": "POST",
              "request": {
                "$ref": "SendWorkerMessagesRequest"
              },
              "description": "Send a worker_message to the service.",
              "id": "dataflow.projects.locations.workerMessages",
              "path": "v1b3/projects/{projectId}/locations/{location}/WorkerMessages",
              "scopes": [
                "https://www.googleapis.com/auth/cloud-platform",
                "https://www.googleapis.com/auth/compute"
              ],
              "parameters": {
                "location": {
                  "description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job.",
                  "required": true,
                  "location": "path",
                  "type": "string"
                },
                "projectId": {
                  "description": "The project to send the WorkerMessages to.",
                  "required": true,
                  "location": "path",
                  "type": "string"
                }
              },
              "parameterOrder": [
                "projectId",
                "location"
              ],
              "response": {
                "$ref": "SendWorkerMessagesResponse"
              },
              "flatPath": "v1b3/projects/{projectId}/locations/{location}/WorkerMessages"
            }
          }
        }
      },
      "methods": {
        "deleteSnapshots": {
          "scopes": [
            "https://www.googleapis.com/auth/cloud-platform",
            "https://www.googleapis.com/auth/compute"
          ],
          "response": {
            "$ref": "DeleteSnapshotResponse"
          },
          "parameters": {
            "location": {
              "description": "The location that contains this snapshot.",
              "location": "query",
              "type": "string"
            },
            "projectId": {
              "description": "The ID of the Cloud Platform project that the snapshot belongs to.",
              "required": true,
              "location": "path",
              "type": "string"
            },
            "snapshotId": {
              "description": "The ID of the snapshot.",
              "location": "query",
              "type": "string"
            }
          },
          "parameterOrder": [
            "projectId"
          ],
          "httpMethod": "DELETE",
          "id": "dataflow.projects.deleteSnapshots",
          "path": "v1b3/projects/{projectId}/snapshots",
          "description": "Deletes a snapshot.",
          "flatPath": "v1b3/projects/{projectId}/snapshots"
        },
        "workerMessages": {
          "flatPath": "v1b3/projects/{projectId}/WorkerMessages",
          "parameters": {
            "projectId": {
              "description": "The project to send the WorkerMessages to.",
              "required": true,
              "location": "path",
              "type": "string"
            }
          },
          "parameterOrder": [
            "projectId"
          ],
          "response": {
            "$ref": "SendWorkerMessagesResponse"
          },
          "scopes": [
            "https://www.googleapis.com/auth/cloud-platform",
            "https://www.googleapis.com/auth/compute"
          ],
          "description": "Send a worker_message to the service.",
          "id": "dataflow.projects.workerMessages",
          "path": "v1b3/projects/{projectId}/WorkerMessages",
          "httpMethod": "POST",
          "request": {
            "$ref": "SendWorkerMessagesRequest"
          }
        }
      }
    }
  },
  "description": "Manages Google Cloud Dataflow projects on Google Cloud Platform.",
  "batchPath": "batch",
  "name": "dataflow",
  "discoveryVersion": "v1",
  "schemas": {
    "ListJobsResponse": {
      "properties": {
        "nextPageToken": {
          "description": "Set if there may be more results than fit in this response.",
          "type": "string"
        },
        "jobs": {
          "type": "array",
          "description": "A subset of the requested job information.",
          "items": {
            "$ref": "Job"
          }
        },
        "failedLocation": {
          "description": "Zero or more messages describing the [regional endpoints] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that failed to respond.",
          "type": "array",
          "items": {
            "$ref": "FailedLocation"
          }
        }
      },
      "description": "Response to a request to list Cloud Dataflow jobs in a project. This might be a partial response, depending on the page size in the ListJobsRequest. However, if the project does not have any jobs, an instance of ListJobsResponse is not returned and the requests's response body is empty {}.",
      "id": "ListJobsResponse",
      "type": "object"
    },
    "ApproximateProgress": {
      "properties": {
        "position": {
          "deprecated": true,
          "$ref": "Position",
          "description": "Obsolete."
        },
        "remainingTime": {
          "deprecated": true,
          "type": "string",
          "format": "google-duration",
          "description": "Obsolete."
        },
        "percentComplete": {
          "type": "number",
          "format": "float",
          "description": "Obsolete.",
          "deprecated": true
        }
      },
      "id": "ApproximateProgress",
      "type": "object",
      "description": "Obsolete in favor of ApproximateReportedProgress and ApproximateSplitRequest."
    },
    "DataflowGaugeValue": {
      "id": "DataflowGaugeValue",
      "type": "object",
      "description": "The gauge value of a metric.",
      "properties": {
        "value": {
          "type": "string",
          "format": "int64",
          "description": "The value of the gauge."
        },
        "measuredTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "The timestamp when the gauge was recorded."
        }
      }
    },
    "RuntimeMetadata": {
      "description": "RuntimeMetadata describing a runtime environment.",
      "id": "RuntimeMetadata",
      "type": "object",
      "properties": {
        "parameters": {
          "items": {
            "$ref": "ParameterMetadata"
          },
          "type": "array",
          "description": "The parameters for the template."
        },
        "sdkInfo": {
          "$ref": "SDKInfo",
          "description": "SDK Info for the template."
        }
      }
    },
    "ParameterMetadata": {
      "properties": {
        "label": {
          "description": "Required. The label to display for the parameter.",
          "type": "string"
        },
        "customMetadata": {
          "description": "Optional. Additional metadata for describing this parameter.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "regexes": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Optional. Regexes that the parameter must match."
        },
        "parentTriggerValues": {
          "type": "array",
          "description": "Optional. The value(s) of the 'parent_name' parameter which will trigger this parameter to be shown. If left empty, ANY non-empty value in parent_name will trigger this parameter to be shown. Only considered when this parameter is conditional (when 'parent_name' has been provided).",
          "items": {
            "type": "string"
          }
        },
        "groupName": {
          "description": "Optional. Specifies a group name for this parameter to be rendered under. Group header text will be rendered exactly as specified in this field. Only considered when parent_name is NOT provided.",
          "type": "string"
        },
        "enumOptions": {
          "description": "Optional. The options shown when ENUM ParameterType is specified.",
          "type": "array",
          "items": {
            "$ref": "ParameterMetadataEnumOption"
          }
        },
        "isOptional": {
          "description": "Optional. Whether the parameter is optional. Defaults to false.",
          "type": "boolean"
        },
        "parentName": {
          "description": "Optional. Specifies the name of the parent parameter. Used in conjunction with 'parent_trigger_values' to make this parameter conditional (will only be rendered conditionally). Should be mappable to a ParameterMetadata.name field.",
          "type": "string"
        },
        "hiddenUi": {
          "type": "boolean",
          "description": "Optional. Whether the parameter should be hidden in the UI."
        },
        "defaultValue": {
          "type": "string",
          "description": "Optional. The default values will pre-populate the parameter with the given value from the proto. If default_value is left empty, the parameter will be populated with a default of the relevant type, e.g. false for a boolean."
        },
        "name": {
          "type": "string",
          "description": "Required. The name of the parameter."
        },
        "paramType": {
          "type": "string",
          "enumDescriptions": [
            "Default input type.",
            "The parameter specifies generic text input.",
            "The parameter specifies a Cloud Storage Bucket to read from.",
            "The parameter specifies a Cloud Storage Bucket to write to.",
            "The parameter specifies a Cloud Storage file path to read from.",
            "The parameter specifies a Cloud Storage file path to write to.",
            "The parameter specifies a Cloud Storage folder path to read from.",
            "The parameter specifies a Cloud Storage folder to write to.",
            "The parameter specifies a Pub/Sub Topic.",
            "The parameter specifies a Pub/Sub Subscription.",
            "The parameter specifies a BigQuery table.",
            "The parameter specifies a JavaScript UDF in Cloud Storage.",
            "The parameter specifies a Service Account email.",
            "The parameter specifies a Machine Type.",
            "The parameter specifies a KMS Key name.",
            "The parameter specifies a Worker Region.",
            "The parameter specifies a Worker Zone.",
            "The parameter specifies a boolean input.",
            "The parameter specifies an enum input.",
            "The parameter specifies a number input.",
            "Deprecated. Please use KAFKA_READ_TOPIC instead.",
            "The parameter specifies the fully-qualified name of an Apache Kafka topic. This can be either a Google Managed Kafka topic or a non-managed Kafka topic.",
            "The parameter specifies the fully-qualified name of an Apache Kafka topic. This can be an existing Google Managed Kafka topic, the name for a new Google Managed Kafka topic, or an existing non-managed Kafka topic."
          ],
          "enum": [
            "DEFAULT",
            "TEXT",
            "GCS_READ_BUCKET",
            "GCS_WRITE_BUCKET",
            "GCS_READ_FILE",
            "GCS_WRITE_FILE",
            "GCS_READ_FOLDER",
            "GCS_WRITE_FOLDER",
            "PUBSUB_TOPIC",
            "PUBSUB_SUBSCRIPTION",
            "BIGQUERY_TABLE",
            "JAVASCRIPT_UDF_FILE",
            "SERVICE_ACCOUNT",
            "MACHINE_TYPE",
            "KMS_KEY_NAME",
            "WORKER_REGION",
            "WORKER_ZONE",
            "BOOLEAN",
            "ENUM",
            "NUMBER",
            "KAFKA_TOPIC",
            "KAFKA_READ_TOPIC",
            "KAFKA_WRITE_TOPIC"
          ],
          "enumDeprecated": [
            false,
            false,
            false,
            false,
            false,
            false,
            false,
            false,
            false,
            false,
            false,
            false,
            false,
            false,
            false,
            false,
            false,
            false,
            false,
            false,
            true,
            false,
            false
          ],
          "description": "Optional. The type of the parameter. Used for selecting input picker."
        },
        "helpText": {
          "type": "string",
          "description": "Required. The help text to display for the parameter."
        }
      },
      "id": "ParameterMetadata",
      "type": "object",
      "description": "Metadata for a specific parameter."
    },
    "StreamingSetupTask": {
      "properties": {
        "streamingComputationTopology": {
          "$ref": "TopologyConfig",
          "description": "The global topology of the streaming Dataflow job."
        },
        "snapshotConfig": {
          "$ref": "StreamingApplianceSnapshotConfig",
          "description": "Configures streaming appliance snapshot."
        },
        "receiveWorkPort": {
          "type": "integer",
          "format": "int32",
          "description": "The TCP port on which the worker should listen for messages from other streaming computation workers."
        },
        "drain": {
          "description": "The user has requested drain.",
          "type": "boolean"
        },
        "workerHarnessPort": {
          "description": "The TCP port used by the worker to communicate with the Dataflow worker harness.",
          "type": "integer",
          "format": "int32"
        }
      },
      "id": "StreamingSetupTask",
      "type": "object",
      "description": "A task which initializes part of a streaming Dataflow job."
    },
    "StreamingStragglerInfo": {
      "id": "StreamingStragglerInfo",
      "type": "object",
      "description": "Information useful for streaming straggler identification and debugging.",
      "properties": {
        "dataWatermarkLag": {
          "type": "string",
          "format": "google-duration",
          "description": "The event-time watermark lag at the time of the straggler detection."
        },
        "endTime": {
          "description": "End time of this straggler.",
          "type": "string",
          "format": "google-datetime"
        },
        "systemWatermarkLag": {
          "description": "The system watermark lag at the time of the straggler detection.",
          "type": "string",
          "format": "google-duration"
        },
        "workerName": {
          "type": "string",
          "description": "Name of the worker where the straggler was detected."
        },
        "startTime": {
          "description": "Start time of this straggler.",
          "type": "string",
          "format": "google-datetime"
        }
      }
    },
    "WorkItemDetails": {
      "id": "WorkItemDetails",
      "type": "object",
      "description": "Information about an individual work item execution.",
      "properties": {
        "taskId": {
          "type": "string",
          "description": "Name of this work item."
        },
        "state": {
          "description": "State of this work item.",
          "type": "string",
          "enumDescriptions": [
            "The component state is unknown or unspecified.",
            "The component is not yet running.",
            "The component is currently running.",
            "The component succeeded.",
            "The component failed.",
            "Execution of the component was cancelled."
          ],
          "enum": [
            "EXECUTION_STATE_UNKNOWN",
            "EXECUTION_STATE_NOT_STARTED",
            "EXECUTION_STATE_RUNNING",
            "EXECUTION_STATE_SUCCEEDED",
            "EXECUTION_STATE_FAILED",
            "EXECUTION_STATE_CANCELLED"
          ]
        },
        "progress": {
          "description": "Progress of this work item.",
          "$ref": "ProgressTimeseries"
        },
        "attemptId": {
          "description": "Attempt ID of this work item",
          "type": "string"
        },
        "startTime": {
          "description": "Start time of this work item attempt.",
          "type": "string",
          "format": "google-datetime"
        },
        "stragglerInfo": {
          "description": "Information about straggler detections for this work item.",
          "$ref": "StragglerInfo"
        },
        "endTime": {
          "description": "End time of this work item attempt. If the work item is completed, this is the actual end time of the work item. Otherwise, it is the predicted end time.",
          "type": "string",
          "format": "google-datetime"
        },
        "metrics": {
          "items": {
            "$ref": "MetricUpdate"
          },
          "description": "Metrics for this work item.",
          "type": "array"
        }
      }
    },
    "LeaseWorkItemResponse": {
      "description": "Response to a request to lease WorkItems.",
      "id": "LeaseWorkItemResponse",
      "type": "object",
      "properties": {
        "workItems": {
          "description": "A list of the leased WorkItems.",
          "type": "array",
          "items": {
            "$ref": "WorkItem"
          }
        },
        "unifiedWorkerResponse": {
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object. Contains field @type with type URL."
          },
          "description": "Untranslated bag-of-bytes WorkResponse for UnifiedWorker."
        }
      }
    },
    "ShellTask": {
      "properties": {
        "command": {
          "type": "string",
          "description": "The shell command to run."
        },
        "exitCode": {
          "description": "Exit code for the task.",
          "type": "integer",
          "format": "int32"
        }
      },
      "id": "ShellTask",
      "type": "object",
      "description": "A task which consists of a shell command for the worker to execute."
    },
    "WorkItemServiceState": {
      "id": "WorkItemServiceState",
      "type": "object",
      "description": "The Dataflow service's idea of the current state of a WorkItem being processed by a worker.",
      "properties": {
        "nextReportIndex": {
          "description": "The index value to use for the next report sent by the worker. Note: If the report call fails for whatever reason, the worker should reuse this index for subsequent report attempts.",
          "type": "string",
          "format": "int64"
        },
        "suggestedStopPoint": {
          "deprecated": true,
          "$ref": "ApproximateProgress",
          "description": "DEPRECATED in favor of split_request."
        },
        "leaseExpireTime": {
          "description": "Time at which the current lease will expire.",
          "type": "string",
          "format": "google-datetime"
        },
        "completeWorkStatus": {
          "$ref": "Status",
          "description": "If set, a request to complete the work item with the given status. This will not be set to OK, unless supported by the specific kind of WorkItem. It can be used for the backend to indicate a WorkItem must terminate, e.g., for aborting work."
        },
        "suggestedStopPosition": {
          "description": "Obsolete, always empty.",
          "$ref": "Position",
          "deprecated": true
        },
        "reportStatusInterval": {
          "description": "New recommended reporting interval.",
          "type": "string",
          "format": "google-duration"
        },
        "metricShortId": {
          "description": "The short ids that workers should use in subsequent metric updates. Workers should strive to use short ids whenever possible, but it is ok to request the short_id again if a worker lost track of it (e.g. if the worker is recovering from a crash). NOTE: it is possible that the response may have short ids for a subset of the metrics.",
          "type": "array",
          "items": {
            "$ref": "MetricShortId"
          }
        },
        "hotKeyDetection": {
          "$ref": "HotKeyDetection",
          "description": "A hot key is a symptom of poor data distribution in which there are enough elements mapped to a single key to impact pipeline performance. When present, this field includes metadata associated with any hot key."
        },
        "splitRequest": {
          "$ref": "ApproximateSplitRequest",
          "description": "The progress point in the WorkItem where the Dataflow service suggests that the worker truncate the task."
        },
        "harnessData": {
          "description": "Other data returned by the service, specific to the particular worker harness.",
          "type": "object",
          "additionalProperties": {
            "description": "Properties of the object.",
            "type": "any"
          }
        }
      }
    },
    "CounterStructuredNameAndMetadata": {
      "description": "A single message which encapsulates structured name and metadata for a given counter.",
      "id": "CounterStructuredNameAndMetadata",
      "type": "object",
      "properties": {
        "name": {
          "$ref": "CounterStructuredName",
          "description": "Structured name of the counter."
        },
        "metadata": {
          "$ref": "CounterMetadata",
          "description": "Metadata associated with a counter"
        }
      }
    },
    "SendDebugCaptureResponse": {
      "properties": {},
      "description": "Response to a send capture request. nothing",
      "id": "SendDebugCaptureResponse",
      "type": "object"
    },
    "SourceGetMetadataResponse": {
      "description": "The result of a SourceGetMetadataOperation.",
      "id": "SourceGetMetadataResponse",
      "type": "object",
      "properties": {
        "metadata": {
          "$ref": "SourceMetadata",
          "description": "The computed metadata."
        }
      }
    },
    "SeqMapTaskOutputInfo": {
      "properties": {
        "tag": {
          "description": "The id of the TupleTag the user code will tag the output value by.",
          "type": "string"
        },
        "sink": {
          "description": "The sink to write the output value to.",
          "$ref": "Sink"
        }
      },
      "id": "SeqMapTaskOutputInfo",
      "type": "object",
      "description": "Information about an output of a SeqMapTask."
    },
    "LaunchTemplateParameters": {
      "properties": {
        "parameters": {
          "description": "The runtime parameters to pass to the job.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "update": {
          "description": "If set, replace the existing pipeline with the name specified by jobName with this pipeline, preserving state.",
          "type": "boolean"
        },
        "environment": {
          "$ref": "RuntimeEnvironment",
          "description": "The runtime environment for the job."
        },
        "jobName": {
          "description": "Required. The job name to use for the created job. The name must match the regular expression `[a-z]([-a-z0-9]{0,1022}[a-z0-9])?`",
          "type": "string"
        },
        "transformNameMapping": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Only applicable when updating a pipeline. Map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job."
        }
      },
      "id": "LaunchTemplateParameters",
      "type": "object",
      "description": "Parameters to provide to the template being launched. Note that the [metadata in the pipeline code] (https://cloud.google.com/dataflow/docs/guides/templates/creating-templates#metadata) determines which runtime parameters are valid."
    },
    "SeqMapTask": {
      "properties": {
        "outputInfos": {
          "items": {
            "$ref": "SeqMapTaskOutputInfo"
          },
          "description": "Information about each of the outputs.",
          "type": "array"
        },
        "name": {
          "description": "The user-provided name of the SeqDo operation.",
          "type": "string"
        },
        "inputs": {
          "items": {
            "$ref": "SideInputInfo"
          },
          "description": "Information about each of the inputs.",
          "type": "array"
        },
        "userFn": {
          "description": "The user function to invoke.",
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        },
        "stageName": {
          "type": "string",
          "description": "System-defined name of the stage containing the SeqDo operation. Unique across the workflow."
        },
        "systemName": {
          "description": "System-defined name of the SeqDo operation. Unique across the workflow.",
          "type": "string"
        }
      },
      "description": "Describes a particular function to invoke.",
      "id": "SeqMapTask",
      "type": "object"
    },
    "LaunchFlexTemplateRequest": {
      "id": "LaunchFlexTemplateRequest",
      "type": "object",
      "description": "A request to launch a Cloud Dataflow job from a FlexTemplate.",
      "properties": {
        "validateOnly": {
          "type": "boolean",
          "description": "If true, the request is validated but not actually executed. Defaults to false."
        },
        "launchParameter": {
          "description": "Required. Parameter to launch a job form Flex Template.",
          "$ref": "LaunchFlexTemplateParameter"
        }
      }
    },
    "ListJobMessagesResponse": {
      "properties": {
        "jobMessages": {
          "items": {
            "$ref": "JobMessage"
          },
          "type": "array",
          "description": "Messages in ascending timestamp order."
        },
        "autoscalingEvents": {
          "items": {
            "$ref": "AutoscalingEvent"
          },
          "type": "array",
          "description": "Autoscaling events in ascending timestamp order."
        },
        "nextPageToken": {
          "description": "The token to obtain the next page of results if there are more.",
          "type": "string"
        }
      },
      "id": "ListJobMessagesResponse",
      "type": "object",
      "description": "Response to a request to list job messages."
    },
    "JobExecutionInfo": {
      "properties": {
        "stages": {
          "description": "A mapping from each stage to the information about that stage.",
          "type": "object",
          "additionalProperties": {
            "$ref": "JobExecutionStageInfo"
          }
        }
      },
      "id": "JobExecutionInfo",
      "type": "object",
      "description": "Additional information about how a Cloud Dataflow job will be executed that isn't contained in the submitted job."
    },
    "SourceFork": {
      "properties": {
        "primary": {
          "description": "DEPRECATED",
          "$ref": "SourceSplitShard"
        },
        "residualSource": {
          "$ref": "DerivedSource",
          "description": "DEPRECATED"
        },
        "residual": {
          "$ref": "SourceSplitShard",
          "description": "DEPRECATED"
        },
        "primarySource": {
          "$ref": "DerivedSource",
          "description": "DEPRECATED"
        }
      },
      "id": "SourceFork",
      "type": "object",
      "description": "DEPRECATED in favor of DynamicSourceSplit."
    },
    "ConcatPosition": {
      "description": "A position that encapsulates an inner position and an index for the inner position. A ConcatPosition can be used by a reader of a source that encapsulates a set of other sources.",
      "id": "ConcatPosition",
      "type": "object",
      "properties": {
        "index": {
          "type": "integer",
          "format": "int32",
          "description": "Index of the inner source."
        },
        "position": {
          "description": "Position within the inner source.",
          "$ref": "Position"
        }
      }
    },
    "LeaseWorkItemRequest": {
      "id": "LeaseWorkItemRequest",
      "type": "object",
      "description": "Request to lease WorkItems.",
      "properties": {
        "currentWorkerTime": {
          "description": "The current timestamp at the worker.",
          "type": "string",
          "format": "google-datetime"
        },
        "requestedLeaseDuration": {
          "description": "The initial lease period.",
          "type": "string",
          "format": "google-duration"
        },
        "location": {
          "description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the WorkItem's job.",
          "type": "string"
        },
        "workerId": {
          "description": "Identifies the worker leasing work -- typically the ID of the virtual machine running the worker.",
          "type": "string"
        },
        "projectNumber": {
          "description": "Optional. The project number of the project this worker belongs to.",
          "type": "string",
          "format": "int64"
        },
        "workItemTypes": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Filter for WorkItem type."
        },
        "workerCapabilities": {
          "description": "Worker capabilities. WorkItems might be limited to workers with specific capabilities.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "unifiedWorkerRequest": {
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object. Contains field @type with type URL."
          },
          "description": "Untranslated bag-of-bytes WorkRequest from UnifiedWorker."
        }
      }
    },
    "RuntimeEnvironment": {
      "id": "RuntimeEnvironment",
      "type": "object",
      "description": "The environment values to set at runtime.",
      "properties": {
        "subnetwork": {
          "description": "Optional. Subnetwork to which VMs will be assigned, if desired. You can specify a subnetwork using either a complete URL or an abbreviated path. Expected to be of the form \"https://www.googleapis.com/compute/v1/projects/HOST_PROJECT_ID/regions/REGION/subnetworks/SUBNETWORK\" or \"regions/REGION/subnetworks/SUBNETWORK\". If the subnetwork is located in a Shared VPC network, you must use the complete URL.",
          "type": "string"
        },
        "additionalPipelineOptions": {
          "description": "Optional. Additional pipeline option flags for the job.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "zone": {
          "type": "string",
          "description": "Optional. The Compute Engine [availability zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones) for launching worker instances to run your pipeline. In the future, worker_zone will take precedence."
        },
        "workerZone": {
          "description": "Optional. The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. \"us-west1-a\". Mutually exclusive with worker_region. If neither worker_region nor worker_zone is specified, a zone in the control plane's region is chosen based on available capacity. If both `worker_zone` and `zone` are set, `worker_zone` takes precedence.",
          "type": "string"
        },
        "network": {
          "type": "string",
          "description": "Optional. Network to which VMs will be assigned. If empty or unspecified, the service will use the network \"default\"."
        },
        "ipConfiguration": {
          "type": "string",
          "enumDescriptions": [
            "The configuration is unknown, or unspecified.",
            "Workers should have public IP addresses.",
            "Workers should have private IP addresses."
          ],
          "enum": [
            "WORKER_IP_UNSPECIFIED",
            "WORKER_IP_PUBLIC",
            "WORKER_IP_PRIVATE"
          ],
          "description": "Optional. Configuration for VM IPs."
        },
        "streamingMode": {
          "type": "string",
          "enumDescriptions": [
            "Run in the default mode.",
            "In this mode, message deduplication is performed against persistent state to make sure each message is processed and committed to storage exactly once.",
            "Message deduplication is not performed. Messages might be processed multiple times, and the results are applied multiple times. Note: Setting this value also enables Streaming Engine and Streaming Engine resource-based billing."
          ],
          "enum": [
            "STREAMING_MODE_UNSPECIFIED",
            "STREAMING_MODE_EXACTLY_ONCE",
            "STREAMING_MODE_AT_LEAST_ONCE"
          ],
          "description": "Optional. Specifies the Streaming Engine message processing guarantees. Reduces cost and latency but might result in duplicate messages committed to storage. Designed to run simple mapping streaming ETL jobs at the lowest cost. For example, Change Data Capture (CDC) to BigQuery is a canonical use case. For more information, see [Set the pipeline streaming mode](https://cloud.google.com/dataflow/docs/guides/streaming-modes)."
        },
        "serviceAccountEmail": {
          "description": "Optional. The email address of the service account to run the job as.",
          "type": "string"
        },
        "diskSizeGb": {
          "type": "integer",
          "format": "int32",
          "description": "Optional. The disk size, in gigabytes, to use on each remote Compute Engine worker instance."
        },
        "kmsKeyName": {
          "description": "Optional. Name for the Cloud KMS key for the job. Key format is: projects//locations//keyRings//cryptoKeys/",
          "type": "string"
        },
        "additionalExperiments": {
          "description": "Optional. Additional experiment flags for the job, specified with the `--experiments` option.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "maxWorkers": {
          "type": "integer",
          "format": "int32",
          "description": "Optional. The maximum number of Google Compute Engine instances to be made available to your pipeline during execution, from 1 to 1000. The default value is 1."
        },
        "tempLocation": {
          "description": "Required. The Cloud Storage path to use for temporary files. Must be a valid Cloud Storage URL, beginning with `gs://`.",
          "type": "string"
        },
        "bypassTempDirValidation": {
          "type": "boolean",
          "description": "Optional. Whether to bypass the safety checks for the job's temporary directory. Use with caution."
        },
        "machineType": {
          "type": "string",
          "description": "Optional. The machine type to use for the job. Defaults to the value from the template if not specified."
        },
        "additionalUserLabels": {
          "description": "Optional. Additional user labels to be specified for the job. Keys and values should follow the restrictions specified in the [labeling restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) page. An object containing a list of \"key\": value pairs. Example: { \"name\": \"wrench\", \"mass\": \"1kg\", \"count\": \"3\" }.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "workerRegion": {
          "type": "string",
          "description": "Required. The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. \"us-west1\". Mutually exclusive with worker_zone. If neither worker_region nor worker_zone is specified, default to the control plane's region."
        },
        "enableStreamingEngine": {
          "type": "boolean",
          "description": "Optional. Whether to enable Streaming Engine for the job."
        },
        "numWorkers": {
          "description": "Optional. The initial number of Google Compute Engine instances for the job. The default value is 11.",
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "Package": {
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the package."
        },
        "location": {
          "type": "string",
          "description": "The resource to read the package from. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket} bucket.storage.googleapis.com/"
        }
      },
      "id": "Package",
      "type": "object",
      "description": "The packages that must be installed in order for a worker to run the steps of the Cloud Dataflow job that will be assigned to its worker pool. This is the mechanism by which the Cloud Dataflow SDK causes code to be loaded onto the workers. For example, the Cloud Dataflow Java SDK might use this to install jars containing the user's code and all of the various dependencies (libraries, data files, etc.) required in order for that code to run."
    },
    "RuntimeUpdatableParams": {
      "properties": {
        "acceptableBacklogDuration": {
          "type": "string",
          "format": "google-duration",
          "description": "Optional. Deprecated: Use `latency_tier` instead. The backlog threshold duration in seconds for autoscaling. Value must be non-negative.",
          "deprecated": true
        },
        "latencyTier": {
          "type": "string",
          "description": "Optional. The backlog threshold tier for autoscaling. Value must be one of \"low-latency\", \"medium-latency\", or \"high-latency\"."
        },
        "minNumWorkers": {
          "description": "The minimum number of workers to scale down to. This field is currently only supported for Streaming Engine jobs.",
          "type": "integer",
          "format": "int32"
        },
        "maxNumWorkers": {
          "type": "integer",
          "format": "int32",
          "description": "The maximum number of workers to cap autoscaling at. This field is currently only supported for Streaming Engine jobs."
        },
        "workerUtilizationHint": {
          "description": "Target worker utilization, compared against the aggregate utilization of the worker pool by autoscaler, to determine upscaling and downscaling when absent other constraints such as backlog. For more information, see [Update an existing pipeline](https://cloud.google.com/dataflow/docs/guides/updating-a-pipeline).",
          "type": "number",
          "format": "double"
        },
        "autoscalingTier": {
          "deprecated": true,
          "description": "Optional. Deprecated: Use `latency_tier` instead. The backlog threshold tier for autoscaling. Value must be one of \"low-latency\", \"medium-latency\", or \"high-latency\".",
          "type": "string"
        }
      },
      "id": "RuntimeUpdatableParams",
      "type": "object",
      "description": "Additional job parameters that can only be updated during runtime using the projects.jobs.update method. These fields have no effect when specified during job creation."
    },
    "LaunchTemplateResponse": {
      "id": "LaunchTemplateResponse",
      "type": "object",
      "description": "Response to the request to launch a template.",
      "properties": {
        "job": {
          "$ref": "Job",
          "description": "The job that was launched, if the request was not a dry run and the job was successfully launched."
        }
      }
    },
    "WorkerHealthReportResponse": {
      "description": "WorkerHealthReportResponse contains information returned to the worker in response to a health ping.",
      "id": "WorkerHealthReportResponse",
      "type": "object",
      "properties": {
        "reportInterval": {
          "description": "A positive value indicates the worker should change its reporting interval to the specified value. The default value of zero means no change in report rate is requested by the server.",
          "type": "string",
          "format": "google-duration"
        }
      }
    },
    "IntegerGauge": {
      "id": "IntegerGauge",
      "type": "object",
      "description": "A metric value representing temporal values of a variable.",
      "properties": {
        "value": {
          "$ref": "SplitInt64",
          "description": "The value of the variable represented by this gauge."
        },
        "timestamp": {
          "description": "The time at which this value was measured. Measured as msecs from epoch.",
          "type": "string",
          "format": "google-datetime"
        }
      }
    },
    "BoundedTrieNode": {
      "properties": {
        "children": {
          "type": "object",
          "additionalProperties": {
            "$ref": "BoundedTrieNode"
          },
          "description": "Children of this node. Must be empty if truncated is true."
        },
        "truncated": {
          "type": "boolean",
          "description": "Whether this node has been truncated. A truncated leaf represents possibly many children with the same prefix."
        }
      },
      "id": "BoundedTrieNode",
      "type": "object",
      "description": "A single node in a BoundedTrie."
    },
    "BoundedTrie": {
      "properties": {
        "root": {
          "$ref": "BoundedTrieNode",
          "description": "A compact representation of all the elements in this trie."
        },
        "bound": {
          "description": "The maximum number of elements to store before truncation.",
          "type": "integer",
          "format": "int32"
        },
        "singleton": {
          "description": "A more efficient representation for metrics consisting of a single value.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "id": "BoundedTrie",
      "type": "object",
      "description": "The message type used for encoding metrics of type bounded trie."
    },
    "StageSource": {
      "id": "StageSource",
      "type": "object",
      "description": "Description of an input or output of an execution stage.",
      "properties": {
        "originalTransformOrCollection": {
          "type": "string",
          "description": "User name for the original user transform or collection with which this source is most closely associated."
        },
        "name": {
          "type": "string",
          "description": "Dataflow service generated name for this source."
        },
        "sizeBytes": {
          "description": "Size of the source, if measurable.",
          "type": "string",
          "format": "int64"
        },
        "userName": {
          "description": "Human-readable name for this source; may be user or system generated.",
          "type": "string"
        }
      }
    },
    "WorkerShutdownNotice": {
      "properties": {
        "reason": {
          "description": "The reason for the worker shutdown. Current possible values are: \"UNKNOWN\": shutdown reason is unknown. \"PREEMPTION\": shutdown reason is preemption. Other possible reasons may be added in the future.",
          "type": "string"
        }
      },
      "id": "WorkerShutdownNotice",
      "type": "object",
      "description": "Shutdown notification from workers. This is to be sent by the shutdown script of the worker VM so that the backend knows that the VM is being shut down."
    },
    "NameAndKind": {
      "properties": {
        "kind": {
          "type": "string",
          "enumDescriptions": [
            "Counter aggregation kind was not set.",
            "Aggregated value is the sum of all contributed values.",
            "Aggregated value is the max of all contributed values.",
            "Aggregated value is the min of all contributed values.",
            "Aggregated value is the mean of all contributed values.",
            "Aggregated value represents the logical 'or' of all contributed values.",
            "Aggregated value represents the logical 'and' of all contributed values.",
            "Aggregated value is a set of unique contributed values.",
            "Aggregated value captures statistics about a distribution.",
            "Aggregated value tracks the latest value of a variable."
          ],
          "enum": [
            "INVALID",
            "SUM",
            "MAX",
            "MIN",
            "MEAN",
            "OR",
            "AND",
            "SET",
            "DISTRIBUTION",
            "LATEST_VALUE"
          ],
          "description": "Counter aggregation kind."
        },
        "name": {
          "type": "string",
          "description": "Name of the counter."
        }
      },
      "description": "Basic metadata about a counter.",
      "id": "NameAndKind",
      "type": "object"
    },
    "WorkerSettings": {
      "description": "Provides data to pass through to the worker harness.",
      "id": "WorkerSettings",
      "type": "object",
      "properties": {
        "workerId": {
          "description": "The ID of the worker running this pipeline.",
          "type": "string"
        },
        "reportingEnabled": {
          "type": "boolean",
          "description": "Whether to send work progress updates to the service."
        },
        "shuffleServicePath": {
          "description": "The Shuffle service path relative to the root URL, for example, \"shuffle/v1beta1\".",
          "type": "string"
        },
        "tempStoragePrefix": {
          "description": "The prefix of the resources the system should use for temporary storage. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}",
          "type": "string"
        },
        "servicePath": {
          "description": "The Cloud Dataflow service path relative to the root URL, for example, \"dataflow/v1b3/projects\".",
          "type": "string"
        },
        "baseUrl": {
          "description": "The base URL for accessing Google Cloud APIs. When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, \"Relative Uniform Resource Locators\". If not specified, the default value is \"http://www.googleapis.com/\"",
          "type": "string"
        }
      }
    },
    "MetricStructuredName": {
      "properties": {
        "name": {
          "description": "Worker-defined metric name.",
          "type": "string"
        },
        "context": {
          "description": "Zero or more labeled fields which identify the part of the job this metric is associated with, such as the name of a step or collection. For example, built-in counters associated with steps will have context['step'] = . Counters associated with PCollections in the SDK will have context['pcollection'] = .",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "origin": {
          "type": "string",
          "description": "Origin (namespace) of metric name. May be blank for user-define metrics; will be \"dataflow\" for metrics defined by the Dataflow service or SDK."
        }
      },
      "description": "Identifies a metric, by describing the source which generated the metric.",
      "id": "MetricStructuredName",
      "type": "object"
    },
    "StreamingOperationalLimits": {
      "properties": {
        "maxKeyBytes": {
          "type": "string",
          "format": "int64",
          "description": "The maximum size allowed for a key."
        },
        "maxSortedListElementBytes": {
          "type": "string",
          "format": "int64",
          "description": "The maximum size for an element in sorted list state."
        },
        "maxTagBytes": {
          "type": "string",
          "format": "int64",
          "description": "The maximum size for a state tag."
        },
        "maxValueBytes": {
          "type": "string",
          "format": "int64",
          "description": "The maximum size for a value state field."
        },
        "maxGlobalDataBytes": {
          "type": "string",
          "format": "int64",
          "description": "The maximum size for an element in global data."
        },
        "maxSourceStateBytes": {
          "type": "string",
          "format": "int64",
          "description": "The maximum size for a source state update."
        },
        "maxProductionOutputBytes": {
          "description": "The maximum size for a single output element.",
          "type": "string",
          "format": "int64"
        },
        "maxBagElementBytes": {
          "type": "string",
          "format": "int64",
          "description": "The maximum size for an element in bag state."
        }
      },
      "id": "StreamingOperationalLimits",
      "type": "object",
      "description": "Operational limits imposed on streaming jobs by the backend."
    },
    "WorkerDetails": {
      "properties": {
        "workerName": {
          "description": "Name of this worker",
          "type": "string"
        },
        "workItems": {
          "items": {
            "$ref": "WorkItemDetails"
          },
          "description": "Work items processed by this worker, sorted by time.",
          "type": "array"
        }
      },
      "description": "Information about a worker",
      "id": "WorkerDetails",
      "type": "object"
    },
    "MountedDataDisk": {
      "properties": {
        "dataDisk": {
          "type": "string",
          "description": "The name of the data disk. This name is local to the Google Cloud Platform project and uniquely identifies the disk within that project, for example \"myproject-1014-104817-4c2-harness-0-disk-1\"."
        }
      },
      "description": "Describes mounted data disk.",
      "id": "MountedDataDisk",
      "type": "object"
    },
    "DeleteSnapshotResponse": {
      "properties": {},
      "id": "DeleteSnapshotResponse",
      "type": "object",
      "description": "Response from deleting a snapshot."
    },
    "ComponentTransform": {
      "properties": {
        "userName": {
          "type": "string",
          "description": "Human-readable name for this transform; may be user or system generated."
        },
        "originalTransform": {
          "description": "User name for the original user transform with which this transform is most closely associated.",
          "type": "string"
        },
        "name": {
          "type": "string",
          "description": "Dataflow service generated name for this source."
        }
      },
      "description": "Description of a transform executed as part of an execution stage.",
      "id": "ComponentTransform",
      "type": "object"
    },
    "GPUUtilization": {
      "properties": {
        "rate": {
          "description": "Required. GPU utilization rate of any kernel over the last sample period in the range of [0, 1].",
          "type": "number",
          "format": "double"
        }
      },
      "description": "Utilization details about the GPU.",
      "id": "GPUUtilization",
      "type": "object"
    },
    "WorkerThreadScalingReport": {
      "description": "Contains information about the thread scaling information of a worker.",
      "id": "WorkerThreadScalingReport",
      "type": "object",
      "properties": {
        "currentThreadCount": {
          "description": "Current number of active threads in a worker.",
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "ReportedParallelism": {
      "properties": {
        "isInfinite": {
          "description": "Specifies whether the parallelism is infinite. If true, \"value\" is ignored. Infinite parallelism means the service will assume that the work item can always be split into more non-empty work items by dynamic splitting. This is a work-around for lack of support for infinity by the current JSON-based Java RPC stack.",
          "type": "boolean"
        },
        "value": {
          "type": "number",
          "format": "double",
          "description": "Specifies the level of parallelism in case it is finite."
        }
      },
      "id": "ReportedParallelism",
      "type": "object",
      "description": "Represents the level of parallelism in a WorkItem's input, reported by the worker."
    },
    "SourceOperationRequest": {
      "description": "A work item that represents the different operations that can be performed on a user-defined Source specification.",
      "id": "SourceOperationRequest",
      "type": "object",
      "properties": {
        "getMetadata": {
          "description": "Information about a request to get metadata about a source.",
          "$ref": "SourceGetMetadataRequest"
        },
        "name": {
          "type": "string",
          "description": "User-provided name of the Read instruction for this source."
        },
        "stageName": {
          "type": "string",
          "description": "System-defined name of the stage containing the source operation. Unique across the workflow."
        },
        "systemName": {
          "type": "string",
          "description": "System-defined name of the Read instruction for this source. Unique across the workflow."
        },
        "originalName": {
          "description": "System-defined name for the Read instruction for this source in the original workflow graph.",
          "type": "string"
        },
        "split": {
          "$ref": "SourceSplitRequest",
          "description": "Information about a request to split a source."
        }
      }
    },
    "SourceMetadata": {
      "description": "Metadata about a Source useful for automatically optimizing and tuning the pipeline, etc.",
      "id": "SourceMetadata",
      "type": "object",
      "properties": {
        "producesSortedKeys": {
          "description": "Whether this source is known to produce key/value pairs with the (encoded) keys in lexicographically sorted order.",
          "type": "boolean"
        },
        "infinite": {
          "description": "Specifies that the size of this source is known to be infinite (this is a streaming source).",
          "type": "boolean"
        },
        "estimatedSizeBytes": {
          "type": "string",
          "format": "int64",
          "description": "An estimate of the total size (in bytes) of the data that would be read from this source. This estimate is in terms of external storage size, before any decompression or other processing done by the reader."
        }
      }
    },
    "Sdk": {
      "properties": {
        "sdkId": {
          "type": "string",
          "description": "The SDK harness id."
        },
        "stacks": {
          "items": {
            "$ref": "Stack"
          },
          "type": "array",
          "description": "The stacktraces for the processes running on the SDK harness."
        }
      },
      "id": "Sdk",
      "type": "object",
      "description": "A structured representation of an SDK."
    },
    "WorkerHealthReport": {
      "properties": {
        "vmBrokenCode": {
          "description": "Code to describe a specific reason, if known, that a VM has reported broken state.",
          "type": "string"
        },
        "pods": {
          "description": "The pods running on the worker. See: http://kubernetes.io/v1.1/docs/api-reference/v1/definitions.html#_v1_pod This field is used by the worker to send the status of the indvidual containers running on each worker.",
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": {
              "type": "any",
              "description": "Properties of the object."
            }
          }
        },
        "vmIsBroken": {
          "type": "boolean",
          "description": "Whether the VM is in a permanently broken state. Broken VMs should be abandoned or deleted ASAP to avoid assigning or completing any work."
        },
        "msg": {
          "type": "string",
          "description": "Message describing any unusual health reports."
        },
        "vmIsHealthy": {
          "type": "boolean",
          "description": "Whether the VM is currently healthy."
        },
        "reportInterval": {
          "type": "string",
          "format": "google-duration",
          "description": "The interval at which the worker is sending health reports. The default value of 0 should be interpreted as the field is not being explicitly set by the worker."
        },
        "vmStartupTime": {
          "description": "The time the VM was booted.",
          "type": "string",
          "format": "google-datetime"
        }
      },
      "description": "WorkerHealthReport contains information about the health of a worker. The VM should be identified by the labels attached to the WorkerMessage that this health ping belongs to.",
      "id": "WorkerHealthReport",
      "type": "object"
    },
    "StreamingApplianceSnapshotConfig": {
      "properties": {
        "snapshotId": {
          "description": "If set, indicates the snapshot id for the snapshot being performed.",
          "type": "string"
        },
        "importStateEndpoint": {
          "type": "string",
          "description": "Indicates which endpoint is used to import appliance state."
        }
      },
      "description": "Streaming appliance snapshot configuration.",
      "id": "StreamingApplianceSnapshotConfig",
      "type": "object"
    },
    "DerivedSource": {
      "description": "Specification of one of the bundles produced as a result of splitting a Source (e.g. when executing a SourceSplitRequest, or when splitting an active task using WorkItemStatus.dynamic_source_split), relative to the source being split.",
      "id": "DerivedSource",
      "type": "object",
      "properties": {
        "source": {
          "description": "Specification of the source.",
          "$ref": "Source"
        },
        "derivationMode": {
          "type": "string",
          "enumDescriptions": [
            "The source derivation is unknown, or unspecified.",
            "Produce a completely independent Source with no base.",
            "Produce a Source based on the Source being split.",
            "Produce a Source based on the base of the Source being split."
          ],
          "enum": [
            "SOURCE_DERIVATION_MODE_UNKNOWN",
            "SOURCE_DERIVATION_MODE_INDEPENDENT",
            "SOURCE_DERIVATION_MODE_CHILD_OF_CURRENT",
            "SOURCE_DERIVATION_MODE_SIBLING_OF_CURRENT"
          ],
          "description": "What source to base the produced source on (if any)."
        }
      }
    },
    "SourceOperationResponse": {
      "id": "SourceOperationResponse",
      "type": "object",
      "description": "The result of a SourceOperationRequest, specified in ReportWorkItemStatusRequest.source_operation when the work item is completed.",
      "properties": {
        "getMetadata": {
          "$ref": "SourceGetMetadataResponse",
          "description": "A response to a request to get metadata about a source."
        },
        "split": {
          "$ref": "SourceSplitResponse",
          "description": "A response to a request to split a source."
        }
      }
    },
    "PubsubLocation": {
      "description": "Identifies a pubsub location to use for transferring data into or out of a streaming Dataflow job.",
      "id": "PubsubLocation",
      "type": "object",
      "properties": {
        "subscription": {
          "type": "string",
          "description": "A pubsub subscription, in the form of \"pubsub.googleapis.com/subscriptions//\""
        },
        "dropLateData": {
          "type": "boolean",
          "description": "Indicates whether the pipeline allows late-arriving data."
        },
        "withAttributes": {
          "type": "boolean",
          "description": "If true, then the client has requested to get pubsub attributes."
        },
        "topic": {
          "type": "string",
          "description": "A pubsub topic, in the form of \"pubsub.googleapis.com/topics//\""
        },
        "timestampLabel": {
          "type": "string",
          "description": "If set, contains a pubsub label from which to extract record timestamps. If left empty, record timestamps will be generated upon arrival."
        },
        "trackingSubscription": {
          "description": "If set, specifies the pubsub subscription that will be used for tracking custom time timestamps for watermark estimation.",
          "type": "string"
        },
        "dynamicDestinations": {
          "type": "boolean",
          "description": "If true, then this location represents dynamic topics."
        },
        "idLabel": {
          "type": "string",
          "description": "If set, contains a pubsub label from which to extract record ids. If left empty, record deduplication will be strictly best effort."
        }
      }
    },
    "GetWorkerStacktracesResponse": {
      "properties": {
        "sdks": {
          "description": "Repeated as unified worker may have multiple SDK processes.",
          "type": "array",
          "items": {
            "$ref": "Sdk"
          }
        }
      },
      "description": "Response to get worker stacktraces from debug capture.",
      "id": "GetWorkerStacktracesResponse",
      "type": "object"
    },
    "DataDiskAssignment": {
      "description": "Data disk assignment for a given VM instance.",
      "id": "DataDiskAssignment",
      "type": "object",
      "properties": {
        "vmInstance": {
          "type": "string",
          "description": "VM instance name the data disks mounted to, for example \"myproject-1014-104817-4c2-harness-0\"."
        },
        "dataDisks": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Mounted data disks. The order is important a data disk's 0-based index in this list defines which persistent directory the disk is mounted to, for example the list of { \"myproject-1014-104817-4c2-harness-0-disk-0\" }, { \"myproject-1014-104817-4c2-harness-0-disk-1\" }."
        }
      }
    },
    "TopologyConfig": {
      "properties": {
        "userStageToComputationNameMap": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Maps user stage names to stable computation names."
        },
        "dataDiskAssignments": {
          "type": "array",
          "description": "The disks assigned to a streaming Dataflow job.",
          "items": {
            "$ref": "DataDiskAssignment"
          }
        },
        "computations": {
          "description": "The computations associated with a streaming Dataflow job.",
          "type": "array",
          "items": {
            "$ref": "ComputationTopology"
          }
        },
        "persistentStateVersion": {
          "description": "Version number for persistent state.",
          "type": "integer",
          "format": "int32"
        },
        "forwardingKeyBits": {
          "type": "integer",
          "format": "int32",
          "description": "The size (in bits) of keys that will be assigned to source messages."
        }
      },
      "description": "Global topology of the streaming Dataflow job, including all computations and their sharded locations.",
      "id": "TopologyConfig",
      "type": "object"
    },
    "Status": {
      "properties": {
        "code": {
          "type": "integer",
          "format": "int32",
          "description": "The status code, which should be an enum value of google.rpc.Code."
        },
        "message": {
          "type": "string",
          "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."
        },
        "details": {
          "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.",
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": {
              "type": "any",
              "description": "Properties of the object. Contains field @type with type URL."
            }
          }
        }
      },
      "id": "Status",
      "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)."
    },
    "StreamLocation": {
      "properties": {
        "sideInputLocation": {
          "description": "The stream is a streaming side input.",
          "$ref": "StreamingSideInputLocation"
        },
        "customSourceLocation": {
          "$ref": "CustomSourceLocation",
          "description": "The stream is a custom source."
        },
        "streamingStageLocation": {
          "$ref": "StreamingStageLocation",
          "description": "The stream is part of another computation within the current streaming Dataflow job."
        },
        "pubsubLocation": {
          "description": "The stream is a pubsub stream.",
          "$ref": "PubsubLocation"
        }
      },
      "id": "StreamLocation",
      "type": "object",
      "description": "Describes a stream of data, either as input to be processed or as output of a streaming Dataflow job."
    },
    "StreamingConfigTask": {
      "properties": {
        "windmillServiceEndpoint": {
          "type": "string",
          "description": "If present, the worker must use this endpoint to communicate with Windmill Service dispatchers, otherwise the worker must continue to use whatever endpoint it had been using."
        },
        "getDataStreamChunkSizeBytes": {
          "type": "string",
          "format": "int64",
          "description": "Chunk size for get data streams from the harness to windmill."
        },
        "operationalLimits": {
          "$ref": "StreamingOperationalLimits",
          "description": "Operational limits for the streaming job. Can be used by the worker to validate outputs sent to the backend."
        },
        "userWorkerRunnerV1Settings": {
          "type": "string",
          "format": "byte",
          "description": "Binary encoded proto to control runtime behavior of the java runner v1 user worker."
        },
        "userStepToStateFamilyNameMap": {
          "description": "Map from user step names to state families.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "streamingComputationConfigs": {
          "type": "array",
          "description": "Set of computation configuration information.",
          "items": {
            "$ref": "StreamingComputationConfig"
          }
        },
        "maxWorkItemCommitBytes": {
          "description": "Maximum size for work item commit supported windmill storage layer.",
          "type": "string",
          "format": "int64"
        },
        "streamingEngineStateTagEncodingVersion": {
          "description": "Optional. The state tag encoding format version for streaming engine jobs.",
          "type": "integer",
          "format": "int32"
        },
        "commitStreamChunkSizeBytes": {
          "type": "string",
          "format": "int64",
          "description": "Chunk size for commit streams from the harness to windmill."
        },
        "userWorkerRunnerV2Settings": {
          "type": "string",
          "format": "byte",
          "description": "Binary encoded proto to control runtime behavior of the runner v2 user worker."
        },
        "windmillServicePort": {
          "type": "string",
          "format": "int64",
          "description": "If present, the worker must use this port to communicate with Windmill Service dispatchers. Only applicable when windmill_service_endpoint is specified."
        }
      },
      "description": "A task that carries configuration information for streaming computations.",
      "id": "StreamingConfigTask",
      "type": "object"
    },
    "ParDoInstruction": {
      "properties": {
        "sideInputs": {
          "type": "array",
          "description": "Zero or more side inputs.",
          "items": {
            "$ref": "SideInputInfo"
          }
        },
        "input": {
          "description": "The input.",
          "$ref": "InstructionInput"
        },
        "userFn": {
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          },
          "description": "The user function to invoke."
        },
        "numOutputs": {
          "type": "integer",
          "format": "int32",
          "description": "The number of outputs."
        },
        "multiOutputInfos": {
          "items": {
            "$ref": "MultiOutputInfo"
          },
          "type": "array",
          "description": "Information about each of the outputs, if user_fn is a MultiDoFn."
        }
      },
      "description": "An instruction that does a ParDo operation. Takes one main input and zero or more side inputs, and produces zero or more outputs. Runs user code.",
      "id": "ParDoInstruction",
      "type": "object"
    },
    "ParameterMetadataEnumOption": {
      "properties": {
        "value": {
          "description": "Required. The value of the enum option.",
          "type": "string"
        },
        "label": {
          "description": "Optional. The label to display for the enum option.",
          "type": "string"
        },
        "description": {
          "type": "string",
          "description": "Optional. The description to display for the enum option."
        }
      },
      "description": "ParameterMetadataEnumOption specifies the option shown in the enum form.",
      "id": "ParameterMetadataEnumOption",
      "type": "object"
    },
    "ApproximateSplitRequest": {
      "properties": {
        "position": {
          "description": "A Position at which to split the work item.",
          "$ref": "Position"
        },
        "fractionConsumed": {
          "type": "number",
          "format": "double",
          "description": "A fraction at which to split the work item, from 0.0 (beginning of the input) to 1.0 (end of the input)."
        },
        "fractionOfRemainder": {
          "description": "The fraction of the remainder of work to split the work item at, from 0.0 (split at the current position) to 1.0 (end of the input).",
          "type": "number",
          "format": "double"
        }
      },
      "description": "A suggestion by the service to the worker to dynamically split the WorkItem.",
      "id": "ApproximateSplitRequest",
      "type": "object"
    },
    "WorkerThreadScalingReportResponse": {
      "properties": {
        "recommendedThreadCount": {
          "type": "integer",
          "format": "int32",
          "description": "Recommended number of threads for a worker."
        }
      },
      "description": "Contains the thread scaling recommendation for a worker from the backend.",
      "id": "WorkerThreadScalingReportResponse",
      "type": "object"
    },
    "TaskRunnerSettings": {
      "properties": {
        "parallelWorkerSettings": {
          "description": "The settings to pass to the parallel worker harness.",
          "$ref": "WorkerSettings"
        },
        "alsologtostderr": {
          "description": "Whether to also send taskrunner log info to stderr.",
          "type": "boolean"
        },
        "continueOnException": {
          "description": "Whether to continue taskrunner if an exception is hit.",
          "type": "boolean"
        },
        "baseTaskDir": {
          "description": "The location on the worker for task-specific subdirectories.",
          "type": "string"
        },
        "workflowFileName": {
          "description": "The file to store the workflow in.",
          "type": "string"
        },
        "taskGroup": {
          "description": "The UNIX group ID on the worker VM to use for tasks launched by taskrunner; e.g. \"wheel\".",
          "type": "string"
        },
        "oauthScopes": {
          "items": {
            "type": "string"
          },
          "description": "The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.",
          "type": "array"
        },
        "logUploadLocation": {
          "type": "string",
          "description": "Indicates where to put logs. If this is not specified, the logs will not be uploaded. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}"
        },
        "streamingWorkerMainClass": {
          "type": "string",
          "description": "The streaming worker main class name."
        },
        "taskUser": {
          "type": "string",
          "description": "The UNIX user ID on the worker VM to use for tasks launched by taskrunner; e.g. \"root\"."
        },
        "languageHint": {
          "description": "The suggested backend language.",
          "type": "string"
        },
        "baseUrl": {
          "description": "The base URL for the taskrunner to use when accessing Google Cloud APIs. When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, \"Relative Uniform Resource Locators\". If not specified, the default value is \"http://www.googleapis.com/\"",
          "type": "string"
        },
        "dataflowApiVersion": {
          "description": "The API version of endpoint, e.g. \"v1b3\"",
          "type": "string"
        },
        "vmId": {
          "type": "string",
          "description": "The ID string of the VM."
        },
        "logToSerialconsole": {
          "description": "Whether to send taskrunner log info to Google Compute Engine VM serial console.",
          "type": "boolean"
        },
        "harnessCommand": {
          "type": "string",
          "description": "The command to launch the worker harness."
        },
        "tempStoragePrefix": {
          "type": "string",
          "description": "The prefix of the resources the taskrunner should use for temporary storage. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}"
        },
        "logDir": {
          "description": "The directory on the VM to store logs.",
          "type": "string"
        },
        "commandlinesFileName": {
          "type": "string",
          "description": "The file to store preprocessing commands in."
        }
      },
      "id": "TaskRunnerSettings",
      "type": "object",
      "description": "Taskrunner configuration settings."
    },
    "DebugOptions": {
      "properties": {
        "enableHotKeyLogging": {
          "description": "Optional. When true, enables the logging of the literal hot key to the user's Cloud Logging.",
          "type": "boolean"
        },
        "dataSampling": {
          "$ref": "DataSamplingConfig",
          "description": "Configuration options for sampling elements from a running pipeline."
        }
      },
      "description": "Describes any options that have an effect on the debugging of pipelines.",
      "id": "DebugOptions",
      "type": "object"
    },
    "SourceGetMetadataRequest": {
      "properties": {
        "source": {
          "description": "Specification of the source whose metadata should be computed.",
          "$ref": "Source"
        }
      },
      "id": "SourceGetMetadataRequest",
      "type": "object",
      "description": "A request to compute the SourceMetadata of a Source."
    },
    "MultiOutputInfo": {
      "description": "Information about an output of a multi-output DoFn.",
      "id": "MultiOutputInfo",
      "type": "object",
      "properties": {
        "tag": {
          "type": "string",
          "description": "The id of the tag the user code will emit to this output by; this should correspond to the tag of some SideInputInfo."
        }
      }
    },
    "BigTableIODetails": {
      "id": "BigTableIODetails",
      "type": "object",
      "description": "Metadata for a Cloud Bigtable connector used by the job.",
      "properties": {
        "projectId": {
          "type": "string",
          "description": "ProjectId accessed in the connection."
        },
        "instanceId": {
          "description": "InstanceId accessed in the connection.",
          "type": "string"
        },
        "tableId": {
          "description": "TableId accessed in the connection.",
          "type": "string"
        }
      }
    },
    "PubsubSnapshotMetadata": {
      "properties": {
        "snapshotName": {
          "type": "string",
          "description": "The name of the Pubsub snapshot."
        },
        "expireTime": {
          "description": "The expire time of the Pubsub snapshot.",
          "type": "string",
          "format": "google-datetime"
        },
        "topicName": {
          "type": "string",
          "description": "The name of the Pubsub topic."
        }
      },
      "description": "Represents a Pubsub snapshot.",
      "id": "PubsubSnapshotMetadata",
      "type": "object"
    },
    "StreamingScalingReportResponse": {
      "properties": {
        "maximumThreadCount": {
          "description": "Maximum thread count limit;",
          "type": "integer",
          "format": "int32"
        }
      },
      "id": "StreamingScalingReportResponse",
      "type": "object",
      "description": "Contains per-user-worker streaming scaling recommendation from the backend."
    },
    "KeyRangeDataDiskAssignment": {
      "description": "Data disk assignment information for a specific key-range of a sharded computation. Currently we only support UTF-8 character splits to simplify encoding into JSON.",
      "id": "KeyRangeDataDiskAssignment",
      "type": "object",
      "properties": {
        "dataDisk": {
          "description": "The name of the data disk where data for this range is stored. This name is local to the Google Cloud Platform project and uniquely identifies the disk within that project, for example \"myproject-1014-104817-4c2-harness-0-disk-1\".",
          "type": "string"
        },
        "start": {
          "type": "string",
          "description": "The start (inclusive) of the key range."
        },
        "end": {
          "type": "string",
          "description": "The end (exclusive) of the key range."
        }
      }
    },
    "Job": {
      "description": "Defines a job to be run by the Cloud Dataflow service. Do not enter confidential information when you supply string values using the API.",
      "id": "Job",
      "type": "object",
      "properties": {
        "type": {
          "description": "Optional. The type of Dataflow job.",
          "type": "string",
          "enumDescriptions": [
            "The type of the job is unspecified, or unknown.",
            "A batch job with a well-defined end point: data is read, data is processed, data is written, and the job is done.",
            "A continuously streaming job with no end: data is read, processed, and written continuously."
          ],
          "enum": [
            "JOB_TYPE_UNKNOWN",
            "JOB_TYPE_BATCH",
            "JOB_TYPE_STREAMING"
          ]
        },
        "stepsLocation": {
          "type": "string",
          "description": "The Cloud Storage location where the steps are stored."
        },
        "runtimeUpdatableParams": {
          "$ref": "RuntimeUpdatableParams",
          "description": "This field may ONLY be modified at runtime using the projects.jobs.update method to adjust job behavior. This field has no effect when specified at job creation."
        },
        "name": {
          "description": "Optional. The user-specified Dataflow job name. Only one active job with a given name can exist in a project within one region at any given time. Jobs in different regions can have the same name. If a caller attempts to create a job with the same name as an active job that already exists, the attempt returns the existing job. The name must match the regular expression `[a-z]([-a-z0-9]{0,1022}[a-z0-9])?`",
          "type": "string"
        },
        "clientRequestId": {
          "description": "The client's unique identifier of the job, re-used across retried attempts. If this field is set, the service will ensure its uniqueness. The request to create a job will fail if the service has knowledge of a previously submitted job with the same client's ID and job name. The caller may use this field to ensure idempotence of job creation across retried attempts to create a job. By default, the field is empty and, in that case, the service ignores it.",
          "type": "string"
        },
        "tempFiles": {
          "description": "A set of files the system should be aware of that are used for temporary storage. These temporary files will be removed on job completion. No duplicates are allowed. No file patterns are supported. The supported files are: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "currentStateTime": {
          "description": "The timestamp associated with the current state.",
          "type": "string",
          "format": "google-datetime"
        },
        "pausable": {
          "readOnly": true,
          "type": "boolean",
          "description": "Output only. Indicates whether the job can be paused."
        },
        "replacedByJobId": {
          "type": "string",
          "description": "If another job is an update of this job (and thus, this job is in `JOB_STATE_UPDATED`), this field contains the ID of that job."
        },
        "satisfiesPzs": {
          "type": "boolean",
          "description": "Reserved for future use. This field is set only in responses from the server; it is ignored if it is set in any requests."
        },
        "jobMetadata": {
          "$ref": "JobMetadata",
          "description": "This field is populated by the Dataflow service to support filtering jobs by the metadata values provided here. Populated for ListJobs and all GetJob views SUMMARY and higher."
        },
        "location": {
          "description": "Optional. The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.",
          "type": "string"
        },
        "satisfiesPzi": {
          "description": "Output only. Reserved for future use. This field is set only in responses from the server; it is ignored if it is set in any requests.",
          "readOnly": true,
          "type": "boolean"
        },
        "executionInfo": {
          "description": "Deprecated.",
          "$ref": "JobExecutionInfo"
        },
        "labels": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "User-defined labels for this job. The labels map can contain no more than 64 entries. Entries of the labels map are UTF8 strings that comply with the following restrictions: * Keys must conform to regexp: \\p{Ll}\\p{Lo}{0,62} * Values must conform to regexp: [\\p{Ll}\\p{Lo}\\p{N}_-]{0,63} * Both keys and values are additionally constrained to be \u003c= 128 bytes in size."
        },
        "createdFromSnapshotId": {
          "type": "string",
          "description": "If this is specified, the job's initial state is populated from the given snapshot."
        },
        "stageStates": {
          "description": "This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.",
          "type": "array",
          "items": {
            "$ref": "ExecutionStageState"
          }
        },
        "replaceJobId": {
          "description": "If this job is an update of an existing job, this field is the job ID of the job it replaced. When sending a `CreateJobRequest`, you can update a job by specifying it here. The job named here is stopped, and its intermediate state is transferred to this job.",
          "type": "string"
        },
        "projectId": {
          "description": "The ID of the Google Cloud project that the job belongs to.",
          "type": "string"
        },
        "currentState": {
          "type": "string",
          "enumDescriptions": [
            "The job's run state isn't specified.",
            "`JOB_STATE_STOPPED` indicates that the job has not yet started to run.",
            "`JOB_STATE_RUNNING` indicates that the job is currently running.",
            "`JOB_STATE_DONE` indicates that the job has successfully completed. This is a terminal job state. This state may be set by the Cloud Dataflow service, as a transition from `JOB_STATE_RUNNING`. It may also be set via a Cloud Dataflow `UpdateJob` call, if the job has not yet reached a terminal state.",
            "`JOB_STATE_FAILED` indicates that the job has failed. This is a terminal job state. This state may only be set by the Cloud Dataflow service, and only as a transition from `JOB_STATE_RUNNING`.",
            "`JOB_STATE_CANCELLED` indicates that the job has been explicitly cancelled. This is a terminal job state. This state may only be set via a Cloud Dataflow `UpdateJob` call, and only if the job has not yet reached another terminal state.",
            "`JOB_STATE_UPDATED` indicates that the job was successfully updated, meaning that this job was stopped and another job was started, inheriting state from this one. This is a terminal job state. This state may only be set by the Cloud Dataflow service, and only as a transition from `JOB_STATE_RUNNING`.",
            "`JOB_STATE_DRAINING` indicates that the job is in the process of draining. A draining job has stopped pulling from its input sources and is processing any data that remains in-flight. This state may be set via a Cloud Dataflow `UpdateJob` call, but only as a transition from `JOB_STATE_RUNNING`. Jobs that are draining may only transition to `JOB_STATE_DRAINED`, `JOB_STATE_CANCELLED`, or `JOB_STATE_FAILED`.",
            "`JOB_STATE_DRAINED` indicates that the job has been drained. A drained job terminated by stopping pulling from its input sources and processing any data that remained in-flight when draining was requested. This state is a terminal state, may only be set by the Cloud Dataflow service, and only as a transition from `JOB_STATE_DRAINING`.",
            "`JOB_STATE_PENDING` indicates that the job has been created but is not yet running. Jobs that are pending may only transition to `JOB_STATE_RUNNING`, or `JOB_STATE_FAILED`.",
            "`JOB_STATE_CANCELLING` indicates that the job has been explicitly cancelled and is in the process of stopping. Jobs that are cancelling may only transition to `JOB_STATE_CANCELLED` or `JOB_STATE_FAILED`.",
            "`JOB_STATE_QUEUED` indicates that the job has been created but is being delayed until launch. Jobs that are queued may only transition to `JOB_STATE_PENDING` or `JOB_STATE_CANCELLED`.",
            "`JOB_STATE_RESOURCE_CLEANING_UP` indicates that the batch job's associated resources are currently being cleaned up after a successful run. Currently, this is an opt-in feature, please reach out to Cloud support team if you are interested.",
            "`JOB_STATE_PAUSING` is not implemented yet.",
            "`JOB_STATE_PAUSED` is not implemented yet."
          ],
          "enum": [
            "JOB_STATE_UNKNOWN",
            "JOB_STATE_STOPPED",
            "JOB_STATE_RUNNING",
            "JOB_STATE_DONE",
            "JOB_STATE_FAILED",
            "JOB_STATE_CANCELLED",
            "JOB_STATE_UPDATED",
            "JOB_STATE_DRAINING",
            "JOB_STATE_DRAINED",
            "JOB_STATE_PENDING",
            "JOB_STATE_CANCELLING",
            "JOB_STATE_QUEUED",
            "JOB_STATE_RESOURCE_CLEANING_UP",
            "JOB_STATE_PAUSING",
            "JOB_STATE_PAUSED"
          ],
          "description": "The current state of the job. Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise specified. A job in the `JOB_STATE_RUNNING` state may asynchronously enter a terminal state. After a job has reached a terminal state, no further state updates may be made. This field might be mutated by the Dataflow service; callers cannot mutate it."
        },
        "transformNameMapping": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Optional. The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job."
        },
        "serviceResources": {
          "readOnly": true,
          "$ref": "ServiceResources",
          "description": "Output only. Resources used by the Dataflow Service to run the job."
        },
        "pipelineDescription": {
          "$ref": "PipelineDescription",
          "description": "Preliminary field: The format of this data may change at any time. A description of the user pipeline and stages through which it is executed. Created by Cloud Dataflow service. Only retrieved with JOB_VIEW_DESCRIPTION or JOB_VIEW_ALL."
        },
        "id": {
          "description": "The unique ID of this job. This field is set by the Dataflow service when the job is created, and is immutable for the life of the job.",
          "type": "string"
        },
        "environment": {
          "description": "Optional. The environment for the job.",
          "$ref": "Environment"
        },
        "createTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service."
        },
        "requestedState": {
          "type": "string",
          "enumDescriptions": [
            "The job's run state isn't specified.",
            "`JOB_STATE_STOPPED` indicates that the job has not yet started to run.",
            "`JOB_STATE_RUNNING` indicates that the job is currently running.",
            "`JOB_STATE_DONE` indicates that the job has successfully completed. This is a terminal job state. This state may be set by the Cloud Dataflow service, as a transition from `JOB_STATE_RUNNING`. It may also be set via a Cloud Dataflow `UpdateJob` call, if the job has not yet reached a terminal state.",
            "`JOB_STATE_FAILED` indicates that the job has failed. This is a terminal job state. This state may only be set by the Cloud Dataflow service, and only as a transition from `JOB_STATE_RUNNING`.",
            "`JOB_STATE_CANCELLED` indicates that the job has been explicitly cancelled. This is a terminal job state. This state may only be set via a Cloud Dataflow `UpdateJob` call, and only if the job has not yet reached another terminal state.",
            "`JOB_STATE_UPDATED` indicates that the job was successfully updated, meaning that this job was stopped and another job was started, inheriting state from this one. This is a terminal job state. This state may only be set by the Cloud Dataflow service, and only as a transition from `JOB_STATE_RUNNING`.",
            "`JOB_STATE_DRAINING` indicates that the job is in the process of draining. A draining job has stopped pulling from its input sources and is processing any data that remains in-flight. This state may be set via a Cloud Dataflow `UpdateJob` call, but only as a transition from `JOB_STATE_RUNNING`. Jobs that are draining may only transition to `JOB_STATE_DRAINED`, `JOB_STATE_CANCELLED`, or `JOB_STATE_FAILED`.",
            "`JOB_STATE_DRAINED` indicates that the job has been drained. A drained job terminated by stopping pulling from its input sources and processing any data that remained in-flight when draining was requested. This state is a terminal state, may only be set by the Cloud Dataflow service, and only as a transition from `JOB_STATE_DRAINING`.",
            "`JOB_STATE_PENDING` indicates that the job has been created but is not yet running. Jobs that are pending may only transition to `JOB_STATE_RUNNING`, or `JOB_STATE_FAILED`.",
            "`JOB_STATE_CANCELLING` indicates that the job has been explicitly cancelled and is in the process of stopping. Jobs that are cancelling may only transition to `JOB_STATE_CANCELLED` or `JOB_STATE_FAILED`.",
            "`JOB_STATE_QUEUED` indicates that the job has been created but is being delayed until launch. Jobs that are queued may only transition to `JOB_STATE_PENDING` or `JOB_STATE_CANCELLED`.",
            "`JOB_STATE_RESOURCE_CLEANING_UP` indicates that the batch job's associated resources are currently being cleaned up after a successful run. Currently, this is an opt-in feature, please reach out to Cloud support team if you are interested.",
            "`JOB_STATE_PAUSING` is not implemented yet.",
            "`JOB_STATE_PAUSED` is not implemented yet."
          ],
          "enum": [
            "JOB_STATE_UNKNOWN",
            "JOB_STATE_STOPPED",
            "JOB_STATE_RUNNING",
            "JOB_STATE_DONE",
            "JOB_STATE_FAILED",
            "JOB_STATE_CANCELLED",
            "JOB_STATE_UPDATED",
            "JOB_STATE_DRAINING",
            "JOB_STATE_DRAINED",
            "JOB_STATE_PENDING",
            "JOB_STATE_CANCELLING",
            "JOB_STATE_QUEUED",
            "JOB_STATE_RESOURCE_CLEANING_UP",
            "JOB_STATE_PAUSING",
            "JOB_STATE_PAUSED"
          ],
          "description": "The job's requested state. Applies to `UpdateJob` requests. Set `requested_state` with `UpdateJob` requests to switch between the states `JOB_STATE_STOPPED` and `JOB_STATE_RUNNING`. You can also use `UpdateJob` requests to change a job's state from `JOB_STATE_RUNNING` to `JOB_STATE_CANCELLED`, `JOB_STATE_DONE`, or `JOB_STATE_DRAINED`. These states irrevocably terminate the job if it hasn't already reached a terminal state. This field has no effect on `CreateJob` requests."
        },
        "startTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "The timestamp when the job was started (transitioned to JOB_STATE_PENDING). Flexible resource scheduling jobs are started with some delay after job creation, so start_time is unset before start and is updated when the job is started by the Cloud Dataflow service. For other jobs, start_time always equals to create_time and is immutable and set by the Cloud Dataflow service."
        },
        "steps": {
          "description": "Exactly one of step or steps_location should be specified. The top-level steps that constitute the entire job. Only retrieved with JOB_VIEW_ALL.",
          "type": "array",
          "items": {
            "$ref": "Step"
          }
        }
      }
    },
    "PartialGroupByKeyInstruction": {
      "properties": {
        "input": {
          "$ref": "InstructionInput",
          "description": "Describes the input to the partial group-by-key instruction."
        },
        "originalCombineValuesStepName": {
          "type": "string",
          "description": "If this instruction includes a combining function, this is the name of the CombineValues instruction lifted into this instruction."
        },
        "originalCombineValuesInputStoreName": {
          "type": "string",
          "description": "If this instruction includes a combining function this is the name of the intermediate store between the GBK and the CombineValues."
        },
        "inputElementCodec": {
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          },
          "description": "The codec to use for interpreting an element in the input PTable."
        },
        "valueCombiningFn": {
          "type": "object",
          "additionalProperties": {
            "description": "Properties of the object.",
            "type": "any"
          },
          "description": "The value combining function to invoke."
        },
        "sideInputs": {
          "items": {
            "$ref": "SideInputInfo"
          },
          "description": "Zero or more side inputs.",
          "type": "array"
        }
      },
      "description": "An instruction that does a partial group-by-key. One input and one output.",
      "id": "PartialGroupByKeyInstruction",
      "type": "object"
    },
    "JobMetrics": {
      "description": "JobMetrics contains a collection of metrics describing the detailed progress of a Dataflow job. Metrics correspond to user-defined and system-defined metrics in the job. For more information, see [Dataflow job metrics] (https://cloud.google.com/dataflow/docs/guides/using-monitoring-intf). This resource captures only the most recent values of each metric; time-series data can be queried for them (under the same metric names) from Cloud Monitoring.",
      "id": "JobMetrics",
      "type": "object",
      "properties": {
        "metrics": {
          "description": "All metrics for this job.",
          "type": "array",
          "items": {
            "$ref": "MetricUpdate"
          }
        },
        "metricTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Timestamp as of which metric values are current."
        }
      }
    },
    "CPUTime": {
      "description": "Modeled after information exposed by /proc/stat.",
      "id": "CPUTime",
      "type": "object",
      "properties": {
        "rate": {
          "type": "number",
          "format": "double",
          "description": "Average CPU utilization rate (% non-idle cpu / second) since previous sample."
        },
        "timestamp": {
          "description": "Timestamp of the measurement.",
          "type": "string",
          "format": "google-datetime"
        },
        "totalMs": {
          "description": "Total active CPU time across all cores (ie., non-idle) in milliseconds since start-up.",
          "type": "string",
          "format": "uint64"
        }
      }
    },
    "SourceSplitResponse": {
      "id": "SourceSplitResponse",
      "type": "object",
      "description": "The response to a SourceSplitRequest.",
      "properties": {
        "shards": {
          "deprecated": true,
          "items": {
            "$ref": "SourceSplitShard"
          },
          "description": "DEPRECATED in favor of bundles.",
          "type": "array"
        },
        "outcome": {
          "description": "Indicates whether splitting happened and produced a list of bundles. If this is USE_CURRENT_SOURCE_AS_IS, the current source should be processed \"as is\" without splitting. \"bundles\" is ignored in this case. If this is SPLITTING_HAPPENED, then \"bundles\" contains a list of bundles into which the source was split.",
          "type": "string",
          "enumDescriptions": [
            "The source split outcome is unknown, or unspecified.",
            "The current source should be processed \"as is\" without splitting.",
            "Splitting produced a list of bundles."
          ],
          "enum": [
            "SOURCE_SPLIT_OUTCOME_UNKNOWN",
            "SOURCE_SPLIT_OUTCOME_USE_CURRENT",
            "SOURCE_SPLIT_OUTCOME_SPLITTING_HAPPENED"
          ]
        },
        "bundles": {
          "type": "array",
          "description": "If outcome is SPLITTING_HAPPENED, then this is a list of bundles into which the source was split. Otherwise this field is ignored. This list can be empty, which means the source represents an empty input.",
          "items": {
            "$ref": "DerivedSource"
          }
        }
      }
    },
    "DataflowHistogramValue": {
      "id": "DataflowHistogramValue",
      "type": "object",
      "description": "Summary statistics for a population of values. HistogramValue contains a sequence of buckets and gives a count of values that fall into each bucket. Bucket boundares are defined by a formula and bucket widths are either fixed or exponentially increasing.",
      "properties": {
        "bucketCounts": {
          "description": "Optional. The number of values in each bucket of the histogram, as described in `bucket_options`. `bucket_counts` should contain N values, where N is the number of buckets specified in `bucket_options`. If `bucket_counts` has fewer than N values, the remaining values are assumed to be 0.",
          "type": "array",
          "items": {
            "type": "string",
            "format": "int64"
          }
        },
        "outlierStats": {
          "$ref": "OutlierStats",
          "description": "Statistics on the values recorded in the histogram that fall out of the bucket boundaries."
        },
        "count": {
          "description": "Number of values recorded in this histogram.",
          "type": "string",
          "format": "int64"
        },
        "bucketOptions": {
          "$ref": "BucketOptions",
          "description": "Describes the bucket boundaries used in the histogram."
        }
      }
    },
    "ResourceUtilizationReportResponse": {
      "properties": {},
      "description": "Service-side response to WorkerMessage reporting resource utilization.",
      "id": "ResourceUtilizationReportResponse",
      "type": "object"
    },
    "SplitInt64": {
      "properties": {
        "highBits": {
          "description": "The high order bits, including the sign: n \u003e\u003e 32.",
          "type": "integer",
          "format": "int32"
        },
        "lowBits": {
          "type": "integer",
          "format": "uint32",
          "description": "The low order bits: n & 0xffffffff."
        }
      },
      "id": "SplitInt64",
      "type": "object",
      "description": "A representation of an int64, n, that is immune to precision loss when encoded in JSON."
    },
    "JobExecutionStageInfo": {
      "properties": {
        "stepName": {
          "items": {
            "type": "string"
          },
          "description": "The steps associated with the execution stage. Note that stages may have several steps, and that a given step might be run by more than one stage.",
          "type": "array"
        }
      },
      "description": "Contains information about how a particular google.dataflow.v1beta3.Step will be executed.",
      "id": "JobExecutionStageInfo",
      "type": "object"
    },
    "StreamingSideInputLocation": {
      "properties": {
        "tag": {
          "type": "string",
          "description": "Identifies the particular side input within the streaming Dataflow job."
        },
        "stateFamily": {
          "description": "Identifies the state family where this side input is stored.",
          "type": "string"
        }
      },
      "id": "StreamingSideInputLocation",
      "type": "object",
      "description": "Identifies the location of a streaming side input."
    },
    "StateFamilyConfig": {
      "id": "StateFamilyConfig",
      "type": "object",
      "description": "State family configuration.",
      "properties": {
        "isRead": {
          "description": "If true, this family corresponds to a read operation.",
          "type": "boolean"
        },
        "stateFamily": {
          "type": "string",
          "description": "The state family value."
        }
      }
    },
    "DataSamplingConfig": {
      "id": "DataSamplingConfig",
      "type": "object",
      "description": "Configuration options for sampling elements.",
      "properties": {
        "behaviors": {
          "description": "List of given sampling behaviors to enable. For example, specifying behaviors = [ALWAYS_ON] samples in-flight elements but does not sample exceptions. Can be used to specify multiple behaviors like, behaviors = [ALWAYS_ON, EXCEPTIONS] for specifying periodic sampling and exception sampling. If DISABLED is in the list, then sampling will be disabled and ignore the other given behaviors. Ordering does not matter.",
          "type": "array",
          "items": {
            "type": "string",
            "enumDescriptions": [
              "If given, has no effect on sampling behavior. Used as an unknown or unset sentinel value.",
              "When given, disables element sampling. Has same behavior as not setting the behavior.",
              "When given, enables sampling in-flight from all PCollections.",
              "When given, enables sampling input elements when a user-defined DoFn causes an exception."
            ],
            "enum": [
              "DATA_SAMPLING_BEHAVIOR_UNSPECIFIED",
              "DISABLED",
              "ALWAYS_ON",
              "EXCEPTIONS"
            ]
          }
        }
      }
    },
    "InstructionInput": {
      "properties": {
        "outputNum": {
          "description": "The output index (origin zero) within the producer.",
          "type": "integer",
          "format": "int32"
        },
        "producerInstructionIndex": {
          "type": "integer",
          "format": "int32",
          "description": "The index (origin zero) of the parallel instruction that produces the output to be consumed by this input. This index is relative to the list of instructions in this input's instruction's containing MapTask."
        }
      },
      "description": "An input of an instruction, as a reference to an output of a producer instruction.",
      "id": "InstructionInput",
      "type": "object"
    },
    "SendWorkerMessagesRequest": {
      "id": "SendWorkerMessagesRequest",
      "type": "object",
      "description": "A request for sending worker messages to the service.",
      "properties": {
        "workerMessages": {
          "type": "array",
          "description": "The WorkerMessages to send.",
          "items": {
            "$ref": "WorkerMessage"
          }
        },
        "location": {
          "description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job.",
          "type": "string"
        }
      }
    },
    "WorkerMessage": {
      "properties": {
        "workerThreadScalingReport": {
          "$ref": "WorkerThreadScalingReport",
          "description": "Thread scaling information reported by workers."
        },
        "workerMetrics": {
          "description": "Resource metrics reported by workers.",
          "$ref": "ResourceUtilizationReport"
        },
        "workerMessageCode": {
          "description": "A worker message code.",
          "$ref": "WorkerMessageCode"
        },
        "workerLifecycleEvent": {
          "description": "Record of worker lifecycle events.",
          "$ref": "WorkerLifecycleEvent"
        },
        "time": {
          "type": "string",
          "format": "google-datetime",
          "description": "The timestamp of the worker_message."
        },
        "streamingScalingReport": {
          "$ref": "StreamingScalingReport",
          "description": "Contains per-user worker telemetry used in streaming autoscaling."
        },
        "workerHealthReport": {
          "description": "The health of a worker.",
          "$ref": "WorkerHealthReport"
        },
        "dataSamplingReport": {
          "description": "Optional. Contains metrics related to go/dataflow-data-sampling-telemetry.",
          "$ref": "DataSamplingReport"
        },
        "perWorkerMetrics": {
          "$ref": "PerWorkerMetrics",
          "description": "System defined metrics for this worker."
        },
        "workerShutdownNotice": {
          "description": "Shutdown notice by workers.",
          "$ref": "WorkerShutdownNotice"
        },
        "labels": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Labels are used to group WorkerMessages. For example, a worker_message about a particular container might have the labels: { \"JOB_ID\": \"2015-04-22\", \"WORKER_ID\": \"wordcount-vm-2015…\" \"CONTAINER_TYPE\": \"worker\", \"CONTAINER_ID\": \"ac1234def\"} Label tags typically correspond to Label enum values. However, for ease of development other strings can be used as tags. LABEL_UNSPECIFIED should not be used here."
        }
      },
      "id": "WorkerMessage",
      "type": "object",
      "description": "WorkerMessage provides information to the backend about a worker."
    },
    "SendWorkerMessagesResponse": {
      "properties": {
        "workerMessageResponses": {
          "type": "array",
          "description": "The servers response to the worker messages.",
          "items": {
            "$ref": "WorkerMessageResponse"
          }
        }
      },
      "id": "SendWorkerMessagesResponse",
      "type": "object",
      "description": "The response to the worker messages."
    },
    "WorkerPool": {
      "description": "Describes one particular pool of Cloud Dataflow workers to be instantiated by the Cloud Dataflow service in order to perform the computations required by a job. Note that a workflow job may use multiple pools, in order to match the various computational requirements of the various stages of the job.",
      "id": "WorkerPool",
      "type": "object",
      "properties": {
        "poolArgs": {
          "description": "Extra arguments for this worker pool.",
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object. Contains field @type with type URL."
          }
        },
        "defaultPackageSet": {
          "type": "string",
          "enumDescriptions": [
            "The default set of packages to stage is unknown, or unspecified.",
            "Indicates that no packages should be staged at the worker unless explicitly specified by the job.",
            "Stage packages typically useful to workers written in Java.",
            "Stage packages typically useful to workers written in Python."
          ],
          "enum": [
            "DEFAULT_PACKAGE_SET_UNKNOWN",
            "DEFAULT_PACKAGE_SET_NONE",
            "DEFAULT_PACKAGE_SET_JAVA",
            "DEFAULT_PACKAGE_SET_PYTHON"
          ],
          "description": "The default package set to install. This allows the service to select a default set of packages which are useful to worker harnesses written in a particular language."
        },
        "diskProvisionedIops": {
          "description": "Optional. IOPS provisioned for the root disk for VMs.",
          "type": "string",
          "format": "int64"
        },
        "diskProvisionedThroughputMibps": {
          "type": "string",
          "format": "int64",
          "description": "Optional. Throughput provisioned for the root disk for VMs."
        },
        "kind": {
          "description": "The kind of the worker pool; currently only `harness` and `shuffle` are supported.",
          "type": "string"
        },
        "diskSizeGb": {
          "type": "integer",
          "format": "int32",
          "description": "Size of root disk for VMs, in GB. If zero or unspecified, the service will attempt to choose a reasonable default."
        },
        "sdkHarnessContainerImages": {
          "items": {
            "$ref": "SdkHarnessContainerImage"
          },
          "type": "array",
          "description": "Set of SDK harness containers needed to execute this pipeline. This will only be set in the Fn API path. For non-cross-language pipelines this should have only one entry. Cross-language pipelines will have two or more entries."
        },
        "subnetwork": {
          "type": "string",
          "description": "Subnetwork to which VMs will be assigned, if desired. Expected to be of the form \"regions/REGION/subnetworks/SUBNETWORK\"."
        },
        "zone": {
          "type": "string",
          "description": "Zone to run the worker pools in. If empty or unspecified, the service will attempt to choose a reasonable default."
        },
        "workerHarnessContainerImage": {
          "description": "Required. Docker container image that executes the Cloud Dataflow worker harness, residing in Google Container Registry. Deprecated for the Fn API path. Use sdk_harness_container_images instead.",
          "type": "string"
        },
        "network": {
          "description": "Network to which VMs will be assigned. If empty or unspecified, the service will use the network \"default\".",
          "type": "string"
        },
        "ipConfiguration": {
          "type": "string",
          "enumDescriptions": [
            "The configuration is unknown, or unspecified.",
            "Workers should have public IP addresses.",
            "Workers should have private IP addresses."
          ],
          "enum": [
            "WORKER_IP_UNSPECIFIED",
            "WORKER_IP_PUBLIC",
            "WORKER_IP_PRIVATE"
          ],
          "description": "Configuration for VM IPs."
        },
        "metadata": {
          "description": "Metadata to set on the Google Compute Engine VMs.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "autoscalingSettings": {
          "$ref": "AutoscalingSettings",
          "description": "Settings for autoscaling of this WorkerPool."
        },
        "onHostMaintenance": {
          "description": "The action to take on host maintenance, as defined by the Google Compute Engine API.",
          "type": "string"
        },
        "diskType": {
          "description": "Type of root disk for VMs. If empty or unspecified, the service will attempt to choose a reasonable default.",
          "type": "string"
        },
        "machineType": {
          "type": "string",
          "description": "Machine type (e.g. \"n1-standard-1\"). If empty or unspecified, the service will attempt to choose a reasonable default."
        },
        "teardownPolicy": {
          "type": "string",
          "enumDescriptions": [
            "The teardown policy isn't specified, or is unknown.",
            "Always teardown the resource.",
            "Teardown the resource on success. This is useful for debugging failures.",
            "Never teardown the resource. This is useful for debugging and development."
          ],
          "enum": [
            "TEARDOWN_POLICY_UNKNOWN",
            "TEARDOWN_ALWAYS",
            "TEARDOWN_ON_SUCCESS",
            "TEARDOWN_NEVER"
          ],
          "description": "Sets the policy for determining when to turndown worker pool. Allowed values are: `TEARDOWN_ALWAYS`, `TEARDOWN_ON_SUCCESS`, and `TEARDOWN_NEVER`. `TEARDOWN_ALWAYS` means workers are always torn down regardless of whether the job succeeds. `TEARDOWN_ON_SUCCESS` means workers are torn down if the job succeeds. `TEARDOWN_NEVER` means the workers are never torn down. If the workers are not torn down by the service, they will continue to run and use Google Compute Engine VM resources in the user's project until they are explicitly terminated by the user. Because of this, Google recommends using the `TEARDOWN_ALWAYS` policy except for small, manually supervised test jobs. If unknown or unspecified, the service will attempt to choose a reasonable default."
        },
        "dataDisks": {
          "items": {
            "$ref": "Disk"
          },
          "description": "Data disks that are used by a VM in this workflow.",
          "type": "array"
        },
        "numWorkers": {
          "description": "Number of Google Compute Engine workers in this pool needed to execute the job. If zero or unspecified, the service will attempt to choose a reasonable default.",
          "type": "integer",
          "format": "int32"
        },
        "taskrunnerSettings": {
          "description": "Settings passed through to Google Compute Engine workers when using the standard Dataflow task runner. Users should ignore this field.",
          "$ref": "TaskRunnerSettings"
        },
        "numThreadsPerWorker": {
          "description": "The number of threads per worker harness. If empty or unspecified, the service will choose a number of threads (according to the number of cores on the selected machine type for batch, or 1 by convention for streaming).",
          "type": "integer",
          "format": "int32"
        },
        "packages": {
          "items": {
            "$ref": "Package"
          },
          "description": "Packages to be installed on workers.",
          "type": "array"
        },
        "diskSourceImage": {
          "type": "string",
          "description": "Fully qualified source image for disks."
        }
      }
    },
    "ComponentSource": {
      "properties": {
        "userName": {
          "description": "Human-readable name for this transform; may be user or system generated.",
          "type": "string"
        },
        "originalTransformOrCollection": {
          "description": "User name for the original user transform or collection with which this source is most closely associated.",
          "type": "string"
        },
        "name": {
          "description": "Dataflow service generated name for this source.",
          "type": "string"
        }
      },
      "id": "ComponentSource",
      "type": "object",
      "description": "Description of an interstitial value between transforms in an execution stage."
    },
    "StreamingComputationTask": {
      "id": "StreamingComputationTask",
      "type": "object",
      "description": "A task which describes what action should be performed for the specified streaming computation ranges.",
      "properties": {
        "taskType": {
          "description": "A type of streaming computation task.",
          "type": "string",
          "enumDescriptions": [
            "The streaming computation task is unknown, or unspecified.",
            "Stop processing specified streaming computation range(s).",
            "Start processing specified streaming computation range(s)."
          ],
          "enum": [
            "STREAMING_COMPUTATION_TASK_UNKNOWN",
            "STREAMING_COMPUTATION_TASK_STOP",
            "STREAMING_COMPUTATION_TASK_START"
          ]
        },
        "dataDisks": {
          "type": "array",
          "description": "Describes the set of data disks this task should apply to.",
          "items": {
            "$ref": "MountedDataDisk"
          }
        },
        "computationRanges": {
          "items": {
            "$ref": "StreamingComputationRanges"
          },
          "type": "array",
          "description": "Contains ranges of a streaming computation this task should apply to."
        }
      }
    },
    "SpannerIODetails": {
      "description": "Metadata for a Spanner connector used by the job.",
      "id": "SpannerIODetails",
      "type": "object",
      "properties": {
        "projectId": {
          "type": "string",
          "description": "ProjectId accessed in the connection."
        },
        "instanceId": {
          "type": "string",
          "description": "InstanceId accessed in the connection."
        },
        "databaseId": {
          "description": "DatabaseId accessed in the connection.",
          "type": "string"
        }
      }
    },
    "CustomSourceLocation": {
      "properties": {
        "stateful": {
          "description": "Whether this source is stateful.",
          "type": "boolean"
        }
      },
      "id": "CustomSourceLocation",
      "type": "object",
      "description": "Identifies the location of a custom souce."
    },
    "StreamingComputationRanges": {
      "description": "Describes full or partial data disk assignment information of the computation ranges.",
      "id": "StreamingComputationRanges",
      "type": "object",
      "properties": {
        "computationId": {
          "type": "string",
          "description": "The ID of the computation."
        },
        "rangeAssignments": {
          "type": "array",
          "description": "Data disk assignments for ranges from this computation.",
          "items": {
            "$ref": "KeyRangeDataDiskAssignment"
          }
        }
      }
    },
    "FailedLocation": {
      "description": "Indicates which [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) failed to respond to a request for data.",
      "id": "FailedLocation",
      "type": "object",
      "properties": {
        "name": {
          "description": "The name of the [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that failed to respond.",
          "type": "string"
        }
      }
    },
    "Sink": {
      "properties": {
        "spec": {
          "description": "The sink to write to, plus its parameters.",
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        },
        "codec": {
          "type": "object",
          "additionalProperties": {
            "description": "Properties of the object.",
            "type": "any"
          },
          "description": "The codec to use to encode data written to the sink."
        }
      },
      "description": "A sink that records can be encoded and written to.",
      "id": "Sink",
      "type": "object"
    },
    "FloatingPointMean": {
      "properties": {
        "sum": {
          "description": "The sum of all values being aggregated.",
          "type": "number",
          "format": "double"
        },
        "count": {
          "$ref": "SplitInt64",
          "description": "The number of values being aggregated."
        }
      },
      "description": "A representation of a floating point mean metric contribution.",
      "id": "FloatingPointMean",
      "type": "object"
    },
    "WorkItem": {
      "properties": {
        "jobId": {
          "type": "string",
          "description": "Identifies the workflow job this WorkItem belongs to."
        },
        "mapTask": {
          "description": "Additional information for MapTask WorkItems.",
          "$ref": "MapTask"
        },
        "id": {
          "description": "Identifies this WorkItem.",
          "type": "string",
          "format": "int64"
        },
        "shellTask": {
          "$ref": "ShellTask",
          "description": "Additional information for ShellTask WorkItems."
        },
        "streamingConfigTask": {
          "description": "Additional information for StreamingConfigTask WorkItems.",
          "$ref": "StreamingConfigTask"
        },
        "leaseExpireTime": {
          "description": "Time when the lease on this Work will expire.",
          "type": "string",
          "format": "google-datetime"
        },
        "initialReportIndex": {
          "description": "The initial index to use when reporting the status of the WorkItem.",
          "type": "string",
          "format": "int64"
        },
        "sourceOperationTask": {
          "$ref": "SourceOperationRequest",
          "description": "Additional information for source operation WorkItems."
        },
        "streamingSetupTask": {
          "$ref": "StreamingSetupTask",
          "description": "Additional information for StreamingSetupTask WorkItems."
        },
        "projectId": {
          "description": "Identifies the cloud project this WorkItem belongs to.",
          "type": "string"
        },
        "packages": {
          "type": "array",
          "description": "Any required packages that need to be fetched in order to execute this WorkItem.",
          "items": {
            "$ref": "Package"
          }
        },
        "configuration": {
          "description": "Work item-specific configuration as an opaque blob.",
          "type": "string"
        },
        "seqMapTask": {
          "$ref": "SeqMapTask",
          "description": "Additional information for SeqMapTask WorkItems."
        },
        "streamingComputationTask": {
          "$ref": "StreamingComputationTask",
          "description": "Additional information for StreamingComputationTask WorkItems."
        },
        "reportStatusInterval": {
          "description": "Recommended reporting interval.",
          "type": "string",
          "format": "google-duration"
        }
      },
      "id": "WorkItem",
      "type": "object",
      "description": "WorkItem represents basic information about a WorkItem to be executed in the cloud."
    },
    "StragglerSummary": {
      "description": "Summarized straggler identification details.",
      "id": "StragglerSummary",
      "type": "object",
      "properties": {
        "totalStragglerCount": {
          "description": "The total count of stragglers.",
          "type": "string",
          "format": "int64"
        },
        "stragglerCauseCount": {
          "description": "Aggregated counts of straggler causes, keyed by the string representation of the StragglerCause enum.",
          "type": "object",
          "additionalProperties": {
            "type": "string",
            "format": "int64"
          }
        },
        "recentStragglers": {
          "type": "array",
          "description": "The most recent stragglers.",
          "items": {
            "$ref": "Straggler"
          }
        }
      }
    },
    "SdkVersion": {
      "description": "The version of the SDK used to run the job.",
      "id": "SdkVersion",
      "type": "object",
      "properties": {
        "bugs": {
          "items": {
            "$ref": "SdkBug"
          },
          "description": "Output only. Known bugs found in this SDK version.",
          "readOnly": true,
          "type": "array"
        },
        "version": {
          "type": "string",
          "description": "The version of the SDK used to run the job."
        },
        "sdkSupportStatus": {
          "description": "The support status for this SDK version.",
          "type": "string",
          "enumDescriptions": [
            "Cloud Dataflow is unaware of this version.",
            "This is a known version of an SDK, and is supported.",
            "A newer version of the SDK family exists, and an update is recommended.",
            "This version of the SDK is deprecated and will eventually be unsupported.",
            "Support for this SDK version has ended and it should no longer be used."
          ],
          "enum": [
            "UNKNOWN",
            "SUPPORTED",
            "STALE",
            "DEPRECATED",
            "UNSUPPORTED"
          ]
        },
        "versionDisplayName": {
          "description": "A readable string describing the version of the SDK.",
          "type": "string"
        }
      }
    },
    "WriteInstruction": {
      "properties": {
        "input": {
          "description": "The input.",
          "$ref": "InstructionInput"
        },
        "sink": {
          "description": "The sink to write to.",
          "$ref": "Sink"
        }
      },
      "description": "An instruction that writes records. Takes one input, produces no outputs.",
      "id": "WriteInstruction",
      "type": "object"
    },
    "WorkerMessageResponse": {
      "id": "WorkerMessageResponse",
      "type": "object",
      "description": "A worker_message response allows the server to pass information to the sender.",
      "properties": {
        "workerHealthReportResponse": {
          "$ref": "WorkerHealthReportResponse",
          "description": "The service's response to a worker's health report."
        },
        "workerShutdownNoticeResponse": {
          "description": "Service's response to shutdown notice (currently empty).",
          "$ref": "WorkerShutdownNoticeResponse"
        },
        "workerThreadScalingReportResponse": {
          "description": "Service's thread scaling recommendation for workers.",
          "$ref": "WorkerThreadScalingReportResponse"
        },
        "streamingScalingReportResponse": {
          "$ref": "StreamingScalingReportResponse",
          "description": "Service's streaming scaling response for workers."
        },
        "workerMetricsResponse": {
          "description": "Service's response to reporting worker metrics (currently empty).",
          "$ref": "ResourceUtilizationReportResponse"
        }
      }
    },
    "BigQueryIODetails": {
      "properties": {
        "projectId": {
          "type": "string",
          "description": "Project accessed in the connection."
        },
        "table": {
          "type": "string",
          "description": "Table accessed in the connection."
        },
        "dataset": {
          "type": "string",
          "description": "Dataset accessed in the connection."
        },
        "query": {
          "description": "Query used to access data in the connection.",
          "type": "string"
        }
      },
      "id": "BigQueryIODetails",
      "type": "object",
      "description": "Metadata for a BigQuery connector used by the job."
    },
    "ReportWorkItemStatusResponse": {
      "description": "Response from a request to report the status of WorkItems.",
      "id": "ReportWorkItemStatusResponse",
      "type": "object",
      "properties": {
        "workItemServiceStates": {
          "type": "array",
          "description": "A set of messages indicating the service-side state for each WorkItem whose status was reported, in the same order as the WorkItemStatus messages in the ReportWorkItemStatusRequest which resulting in this response.",
          "items": {
            "$ref": "WorkItemServiceState"
          }
        },
        "unifiedWorkerResponse": {
          "description": "Untranslated bag-of-bytes WorkProgressUpdateResponse for UnifiedWorker.",
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object. Contains field @type with type URL."
          }
        }
      }
    },
    "AutoscalingEvent": {
      "properties": {
        "eventType": {
          "description": "The type of autoscaling event to report.",
          "type": "string",
          "enumDescriptions": [
            "Default type for the enum. Value should never be returned.",
            "The TARGET_NUM_WORKERS_CHANGED type should be used when the target worker pool size has changed at the start of an actuation. An event should always be specified as TARGET_NUM_WORKERS_CHANGED if it reflects a change in the target_num_workers.",
            "The CURRENT_NUM_WORKERS_CHANGED type should be used when actual worker pool size has been changed, but the target_num_workers has not changed.",
            "The ACTUATION_FAILURE type should be used when we want to report an error to the user indicating why the current number of workers in the pool could not be changed. Displayed in the current status and history widgets.",
            "Used when we want to report to the user a reason why we are not currently adjusting the number of workers. Should specify both target_num_workers, current_num_workers and a decision_message."
          ],
          "enum": [
            "TYPE_UNKNOWN",
            "TARGET_NUM_WORKERS_CHANGED",
            "CURRENT_NUM_WORKERS_CHANGED",
            "ACTUATION_FAILURE",
            "NO_CHANGE"
          ]
        },
        "workerPool": {
          "type": "string",
          "description": "A short and friendly name for the worker pool this event refers to."
        },
        "description": {
          "description": "A message describing why the system decided to adjust the current number of workers, why it failed, or why the system decided to not make any changes to the number of workers.",
          "$ref": "StructuredMessage"
        },
        "targetNumWorkers": {
          "description": "The target number of workers the worker pool wants to resize to use.",
          "type": "string",
          "format": "int64"
        },
        "time": {
          "description": "The time this event was emitted to indicate a new target or current num_workers value.",
          "type": "string",
          "format": "google-datetime"
        },
        "currentNumWorkers": {
          "type": "string",
          "format": "int64",
          "description": "The current number of workers the job has."
        }
      },
      "description": "A structured message reporting an autoscaling decision made by the Dataflow service.",
      "id": "AutoscalingEvent",
      "type": "object"
    },
    "ServiceResources": {
      "description": "Resources used by the Dataflow Service to run the job.",
      "id": "ServiceResources",
      "type": "object",
      "properties": {
        "zones": {
          "description": "Output only. List of Cloud Zones being used by the Dataflow Service for this job. Example: us-central1-c",
          "readOnly": true,
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "SourceSplitShard": {
      "id": "SourceSplitShard",
      "type": "object",
      "description": "DEPRECATED in favor of DerivedSource.",
      "properties": {
        "source": {
          "$ref": "Source",
          "description": "DEPRECATED"
        },
        "derivationMode": {
          "description": "DEPRECATED",
          "type": "string",
          "enumDescriptions": [
            "The source derivation is unknown, or unspecified.",
            "Produce a completely independent Source with no base.",
            "Produce a Source based on the Source being split.",
            "Produce a Source based on the base of the Source being split."
          ],
          "enum": [
            "SOURCE_DERIVATION_MODE_UNKNOWN",
            "SOURCE_DERIVATION_MODE_INDEPENDENT",
            "SOURCE_DERIVATION_MODE_CHILD_OF_CURRENT",
            "SOURCE_DERIVATION_MODE_SIBLING_OF_CURRENT"
          ]
        }
      }
    },
    "GetDebugConfigResponse": {
      "properties": {
        "config": {
          "type": "string",
          "description": "The encoded debug configuration for the requested component."
        }
      },
      "description": "Response to a get debug configuration request.",
      "id": "GetDebugConfigResponse",
      "type": "object"
    },
    "StructuredMessage": {
      "properties": {
        "messageKey": {
          "description": "Identifier for this message type. Used by external systems to internationalize or personalize message.",
          "type": "string"
        },
        "parameters": {
          "type": "array",
          "description": "The structured data associated with this message.",
          "items": {
            "$ref": "Parameter"
          }
        },
        "messageText": {
          "description": "Human-readable version of message.",
          "type": "string"
        }
      },
      "id": "StructuredMessage",
      "type": "object",
      "description": "A rich message format, including a human readable string, a key for identifying the message, and structured data associated with the message for programmatic consumption."
    },
    "MapTask": {
      "properties": {
        "systemName": {
          "description": "System-defined name of this MapTask. Unique across the workflow.",
          "type": "string"
        },
        "instructions": {
          "type": "array",
          "description": "The instructions in the MapTask.",
          "items": {
            "$ref": "ParallelInstruction"
          }
        },
        "stageName": {
          "type": "string",
          "description": "System-defined name of the stage containing this MapTask. Unique across the workflow."
        },
        "counterPrefix": {
          "type": "string",
          "description": "Counter prefix that can be used to prefix counters. Not currently used in Dataflow."
        }
      },
      "id": "MapTask",
      "type": "object",
      "description": "MapTask consists of an ordered set of instructions, each of which describes one particular low-level operation for the worker to perform in order to accomplish the MapTask's WorkItem. Each instruction must appear in the list before any instructions which depends on its output."
    },
    "Point": {
      "properties": {
        "time": {
          "description": "The timestamp of the point.",
          "type": "string",
          "format": "google-datetime"
        },
        "value": {
          "type": "number",
          "format": "double",
          "description": "The value of the point."
        }
      },
      "id": "Point",
      "type": "object",
      "description": "A point in the timeseries."
    },
    "Step": {
      "description": "Defines a particular step within a Cloud Dataflow job. A job consists of multiple steps, each of which performs some specific operation as part of the overall job. Data is typically passed from one step to another as part of the job. **Note:** The properties of this object are not stable and might change. Here's an example of a sequence of steps which together implement a Map-Reduce job: * Read a collection of data from some source, parsing the collection's elements. * Validate the elements. * Apply a user-defined function to map each element to some value and extract an element-specific key value. * Group elements with the same key into a single element with that key, transforming a multiply-keyed collection into a uniquely-keyed collection. * Write the elements out to some data sink. Note that the Cloud Dataflow service may be used to run many different types of jobs, not just Map-Reduce.",
      "id": "Step",
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name that identifies the step. This must be unique for each step with respect to all other steps in the Cloud Dataflow job."
        },
        "properties": {
          "description": "Named properties associated with the step. Each kind of predefined step has its own required set of properties. Must be provided on Create. Only retrieved with JOB_VIEW_ALL.",
          "type": "object",
          "additionalProperties": {
            "description": "Properties of the object.",
            "type": "any"
          }
        },
        "kind": {
          "description": "The kind of step in the Cloud Dataflow job.",
          "type": "string"
        }
      }
    },
    "LaunchFlexTemplateParameter": {
      "properties": {
        "containerSpecGcsPath": {
          "type": "string",
          "description": "Cloud Storage path to a file with json serialized ContainerSpec as content."
        },
        "launchOptions": {
          "description": "Launch options for this flex template job. This is a common set of options across languages and templates. This should not be used to pass job parameters.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "jobName": {
          "type": "string",
          "description": "Required. The job name to use for the created job. For update job request, job name should be same as the existing running job."
        },
        "environment": {
          "$ref": "FlexTemplateRuntimeEnvironment",
          "description": "The runtime environment for the FlexTemplate job"
        },
        "transformNameMappings": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Use this to pass transform_name_mappings for streaming update jobs. Ex:{\"oldTransformName\":\"newTransformName\",...}'"
        },
        "containerSpec": {
          "$ref": "ContainerSpec",
          "description": "Spec about the container image to launch."
        },
        "parameters": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "The parameters for FlexTemplate. Ex. {\"num_workers\":\"5\"}"
        },
        "update": {
          "description": "Set this to true if you are sending a request to update a running streaming job. When set, the job name should be the same as the running job.",
          "type": "boolean"
        }
      },
      "id": "LaunchFlexTemplateParameter",
      "type": "object",
      "description": "Launch FlexTemplate Parameter."
    },
    "SourceSplitRequest": {
      "description": "Represents the operation to split a high-level Source specification into bundles (parts for parallel processing). At a high level, splitting of a source into bundles happens as follows: SourceSplitRequest is applied to the source. If it returns SOURCE_SPLIT_OUTCOME_USE_CURRENT, no further splitting happens and the source is used \"as is\". Otherwise, splitting is applied recursively to each produced DerivedSource. As an optimization, for any Source, if its does_not_need_splitting is true, the framework assumes that splitting this source would return SOURCE_SPLIT_OUTCOME_USE_CURRENT, and doesn't initiate a SourceSplitRequest. This applies both to the initial source being split and to bundles produced from it.",
      "id": "SourceSplitRequest",
      "type": "object",
      "properties": {
        "source": {
          "$ref": "Source",
          "description": "Specification of the source to be split."
        },
        "options": {
          "$ref": "SourceSplitOptions",
          "description": "Hints for tuning the splitting process."
        }
      }
    },
    "SDKInfo": {
      "properties": {
        "language": {
          "description": "Required. The SDK Language.",
          "type": "string",
          "enumDescriptions": [
            "UNKNOWN Language.",
            "Java.",
            "Python.",
            "Go.",
            "YAML."
          ],
          "enum": [
            "UNKNOWN",
            "JAVA",
            "PYTHON",
            "GO",
            "YAML"
          ]
        },
        "version": {
          "type": "string",
          "description": "Optional. The SDK version."
        }
      },
      "description": "SDK Information.",
      "id": "SDKInfo",
      "type": "object"
    },
    "Snapshot": {
      "properties": {
        "projectId": {
          "type": "string",
          "description": "The project this snapshot belongs to."
        },
        "ttl": {
          "type": "string",
          "format": "google-duration",
          "description": "The time after which this snapshot will be automatically deleted."
        },
        "creationTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "The time this snapshot was created."
        },
        "state": {
          "type": "string",
          "enumDescriptions": [
            "Unknown state.",
            "Snapshot intent to create has been persisted, snapshotting of state has not yet started.",
            "Snapshotting is being performed.",
            "Snapshot has been created and is ready to be used.",
            "Snapshot failed to be created.",
            "Snapshot has been deleted."
          ],
          "enum": [
            "UNKNOWN_SNAPSHOT_STATE",
            "PENDING",
            "RUNNING",
            "READY",
            "FAILED",
            "DELETED"
          ],
          "description": "State of the snapshot."
        },
        "pubsubMetadata": {
          "type": "array",
          "description": "Pub/Sub snapshot metadata.",
          "items": {
            "$ref": "PubsubSnapshotMetadata"
          }
        },
        "diskSizeBytes": {
          "type": "string",
          "format": "int64",
          "description": "The disk byte size of the snapshot. Only available for snapshots in READY state."
        },
        "region": {
          "description": "Cloud region where this snapshot lives in, e.g., \"us-central1\".",
          "type": "string"
        },
        "description": {
          "type": "string",
          "description": "User specified description of the snapshot. Maybe empty."
        },
        "id": {
          "type": "string",
          "description": "The unique ID of this snapshot."
        },
        "sourceJobId": {
          "type": "string",
          "description": "The job this snapshot was created from."
        }
      },
      "description": "Represents a snapshot of a job.",
      "id": "Snapshot",
      "type": "object"
    },
    "GPUUsage": {
      "id": "GPUUsage",
      "type": "object",
      "description": "Information about the GPU usage on the worker.",
      "properties": {
        "timestamp": {
          "type": "string",
          "format": "google-datetime",
          "description": "Required. Timestamp of the measurement."
        },
        "utilization": {
          "description": "Required. Utilization info about the GPU.",
          "$ref": "GPUUtilization"
        }
      }
    },
    "Linear": {
      "id": "Linear",
      "type": "object",
      "description": "Linear buckets with the following boundaries for indices in 0 to n-1. - i in [0, n-1]: [start + (i)*width, start + (i+1)*width)",
      "properties": {
        "width": {
          "description": "Distance between bucket boundaries. Must be greater than 0.",
          "type": "number",
          "format": "double"
        },
        "start": {
          "description": "Lower bound of the first bucket.",
          "type": "number",
          "format": "double"
        },
        "numberOfBuckets": {
          "type": "integer",
          "format": "int32",
          "description": "Must be greater than 0."
        }
      }
    },
    "Environment": {
      "description": "Describes the environment in which a Dataflow Job runs.",
      "id": "Environment",
      "type": "object",
      "properties": {
        "serviceAccountEmail": {
          "type": "string",
          "description": "Optional. Identity to run virtual machines as. Defaults to the default account."
        },
        "experiments": {
          "items": {
            "type": "string"
          },
          "description": "The list of experiments to enable. This field should be used for SDK related experiments and not for service related experiments. The proper field for service related experiments is service_options.",
          "type": "array"
        },
        "flexResourceSchedulingGoal": {
          "description": "Optional. Which Flexible Resource Scheduling mode to run in.",
          "type": "string",
          "enumDescriptions": [
            "Run in the default mode.",
            "Optimize for lower execution time.",
            "Optimize for lower cost."
          ],
          "enum": [
            "FLEXRS_UNSPECIFIED",
            "FLEXRS_SPEED_OPTIMIZED",
            "FLEXRS_COST_OPTIMIZED"
          ]
        },
        "serviceOptions": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Optional. The list of service options to enable. This field should be used for service related experiments only. These experiments, when graduating to GA, should be replaced by dedicated fields or become default (i.e. always on)."
        },
        "tempStoragePrefix": {
          "description": "The prefix of the resources the system should use for temporary storage. The system will append the suffix \"/temp-{JOBNAME} to this resource prefix, where {JOBNAME} is the value of the job_name field. The resulting bucket and object prefix is used as the prefix of the resources used to store temporary data needed during the job execution. NOTE: This will override the value in taskrunner_settings. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}",
          "type": "string"
        },
        "sdkPipelineOptions": {
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          },
          "description": "The Cloud Dataflow SDK pipeline options specified by the user. These options are passed through the service and are used to recreate the SDK pipeline options on the worker in a language agnostic and platform independent way."
        },
        "useStreamingEngineResourceBasedBilling": {
          "description": "Output only. Whether the job uses the Streaming Engine resource-based billing model.",
          "readOnly": true,
          "type": "boolean"
        },
        "workerZone": {
          "description": "Optional. The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. \"us-west1-a\". Mutually exclusive with worker_region. If neither worker_region nor worker_zone is specified, a zone in the control plane's region is chosen based on available capacity.",
          "type": "string"
        },
        "dataset": {
          "description": "Optional. The dataset for the current project where various workflow related tables are stored. The supported resource type is: Google BigQuery: bigquery.googleapis.com/{dataset}",
          "type": "string"
        },
        "streamingMode": {
          "description": "Optional. Specifies the Streaming Engine message processing guarantees. Reduces cost and latency but might result in duplicate messages committed to storage. Designed to run simple mapping streaming ETL jobs at the lowest cost. For example, Change Data Capture (CDC) to BigQuery is a canonical use case. For more information, see [Set the pipeline streaming mode](https://cloud.google.com/dataflow/docs/guides/streaming-modes).",
          "type": "string",
          "enumDescriptions": [
            "Run in the default mode.",
            "In this mode, message deduplication is performed against persistent state to make sure each message is processed and committed to storage exactly once.",
            "Message deduplication is not performed. Messages might be processed multiple times, and the results are applied multiple times. Note: Setting this value also enables Streaming Engine and Streaming Engine resource-based billing."
          ],
          "enum": [
            "STREAMING_MODE_UNSPECIFIED",
            "STREAMING_MODE_EXACTLY_ONCE",
            "STREAMING_MODE_AT_LEAST_ONCE"
          ]
        },
        "userAgent": {
          "description": "Optional. A description of the process that generated the request.",
          "type": "object",
          "additionalProperties": {
            "description": "Properties of the object.",
            "type": "any"
          }
        },
        "version": {
          "type": "object",
          "additionalProperties": {
            "description": "Properties of the object.",
            "type": "any"
          },
          "description": "A structure describing which components and their versions of the service are required in order to run the job."
        },
        "clusterManagerApiService": {
          "description": "The type of cluster manager API to use. If unknown or unspecified, the service will attempt to choose a reasonable default. This should be in the form of the API service name, e.g. \"compute.googleapis.com\".",
          "type": "string"
        },
        "workerRegion": {
          "type": "string",
          "description": "Optional. The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. \"us-west1\". Mutually exclusive with worker_zone. If neither worker_region nor worker_zone is specified, default to the control plane's region."
        },
        "usePublicIps": {
          "description": "Optional. True when any worker pool that uses public IPs is present.",
          "type": "boolean"
        },
        "debugOptions": {
          "$ref": "DebugOptions",
          "description": "Optional. Any debugging options to be supplied to the job."
        },
        "workerPools": {
          "type": "array",
          "description": "The worker pools. At least one \"harness\" worker pool must be specified in order for the job to have workers.",
          "items": {
            "$ref": "WorkerPool"
          }
        },
        "serviceKmsKeyName": {
          "type": "string",
          "description": "Optional. If set, contains the Cloud KMS key identifier used to encrypt data at rest, AKA a Customer Managed Encryption Key (CMEK). Format: projects/PROJECT_ID/locations/LOCATION/keyRings/KEY_RING/cryptoKeys/KEY"
        },
        "shuffleMode": {
          "type": "string",
          "enumDescriptions": [
            "Shuffle mode information is not available.",
            "Shuffle is done on the worker VMs.",
            "Shuffle is done on the service side."
          ],
          "enum": [
            "SHUFFLE_MODE_UNSPECIFIED",
            "VM_BASED",
            "SERVICE_BASED"
          ],
          "readOnly": true,
          "description": "Output only. The shuffle mode used for the job."
        },
        "internalExperiments": {
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object. Contains field @type with type URL."
          },
          "description": "Experimental settings."
        }
      }
    },
    "BucketOptions": {
      "description": "`BucketOptions` describes the bucket boundaries used in the histogram.",
      "id": "BucketOptions",
      "type": "object",
      "properties": {
        "exponential": {
          "$ref": "Base2Exponent",
          "description": "Bucket boundaries grow exponentially."
        },
        "linear": {
          "$ref": "Linear",
          "description": "Bucket boundaries grow linearly."
        }
      }
    },
    "DataSamplingReport": {
      "properties": {
        "elementsSampledBytes": {
          "description": "Optional. Delta of bytes sampled from previous report.",
          "type": "string",
          "format": "int64"
        },
        "bytesWrittenDelta": {
          "description": "Optional. Delta of bytes written to file from previous report.",
          "type": "string",
          "format": "int64"
        },
        "pcollectionsSampledCount": {
          "description": "Optional. Delta of number of PCollections sampled from previous report.",
          "type": "string",
          "format": "int64"
        },
        "exceptionsSampledCount": {
          "type": "string",
          "format": "int64",
          "description": "Optional. Delta of number of samples taken from user code exceptions from previous report."
        },
        "translationErrorsCount": {
          "type": "string",
          "format": "int64",
          "description": "Optional. Delta of errors counts from retrieving, or translating the samples from previous report."
        },
        "persistenceErrorsCount": {
          "type": "string",
          "format": "int64",
          "description": "Optional. Delta of errors counts from persisting the samples from previous report."
        },
        "elementsSampledCount": {
          "type": "string",
          "format": "int64",
          "description": "Optional. Delta of number of elements sampled from previous report."
        }
      },
      "id": "DataSamplingReport",
      "type": "object",
      "description": "Contains per-worker telemetry about the data sampling feature."
    },
    "MemInfo": {
      "description": "Information about the memory usage of a worker or a container within a worker.",
      "id": "MemInfo",
      "type": "object",
      "properties": {
        "currentLimitBytes": {
          "description": "Instantenous memory limit in bytes.",
          "type": "string",
          "format": "uint64"
        },
        "currentOoms": {
          "description": "Number of Out of Memory (OOM) events recorded since the previous measurement.",
          "type": "string",
          "format": "int64"
        },
        "timestamp": {
          "type": "string",
          "format": "google-datetime",
          "description": "Timestamp of the measurement."
        },
        "totalGbMs": {
          "type": "string",
          "format": "uint64",
          "description": "Total memory (RSS) usage since start up in GB * ms."
        },
        "currentRssBytes": {
          "description": "Instantenous memory (RSS) size in bytes.",
          "type": "string",
          "format": "uint64"
        }
      }
    },
    "MetricValue": {
      "description": "The value of a metric along with its name and labels.",
      "id": "MetricValue",
      "type": "object",
      "properties": {
        "valueInt64": {
          "type": "string",
          "format": "int64",
          "description": "Integer value of this metric."
        },
        "valueGauge64": {
          "description": "Non-cumulative int64 value of this metric.",
          "$ref": "DataflowGaugeValue"
        },
        "metric": {
          "description": "Base name for this metric.",
          "type": "string"
        },
        "valueHistogram": {
          "description": "Histogram value of this metric.",
          "$ref": "DataflowHistogramValue"
        },
        "metricLabels": {
          "description": "Optional. Set of metric labels for this metric.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    },
    "DisplayData": {
      "description": "Data provided with a pipeline or transform to provide descriptive info.",
      "id": "DisplayData",
      "type": "object",
      "properties": {
        "timestampValue": {
          "description": "Contains value if the data is of timestamp type.",
          "type": "string",
          "format": "google-datetime"
        },
        "strValue": {
          "description": "Contains value if the data is of string type.",
          "type": "string"
        },
        "key": {
          "description": "The key identifying the display data. This is intended to be used as a label for the display data when viewed in a dax monitoring system.",
          "type": "string"
        },
        "namespace": {
          "description": "The namespace for the key. This is usually a class name or programming language namespace (i.e. python module) which defines the display data. This allows a dax monitoring system to specially handle the data and perform custom rendering.",
          "type": "string"
        },
        "durationValue": {
          "description": "Contains value if the data is of duration type.",
          "type": "string",
          "format": "google-duration"
        },
        "shortStrValue": {
          "description": "A possible additional shorter value to display. For example a java_class_name_value of com.mypackage.MyDoFn will be stored with MyDoFn as the short_str_value and com.mypackage.MyDoFn as the java_class_name value. short_str_value can be displayed and java_class_name_value will be displayed as a tooltip.",
          "type": "string"
        },
        "url": {
          "type": "string",
          "description": "An optional full URL."
        },
        "label": {
          "description": "An optional label to display in a dax UI for the element.",
          "type": "string"
        },
        "boolValue": {
          "description": "Contains value if the data is of a boolean type.",
          "type": "boolean"
        },
        "int64Value": {
          "description": "Contains value if the data is of int64 type.",
          "type": "string",
          "format": "int64"
        },
        "floatValue": {
          "type": "number",
          "format": "float",
          "description": "Contains value if the data is of float type."
        },
        "javaClassValue": {
          "type": "string",
          "description": "Contains value if the data is of java class type."
        }
      }
    },
    "IntegerMean": {
      "description": "A representation of an integer mean metric contribution.",
      "id": "IntegerMean",
      "type": "object",
      "properties": {
        "sum": {
          "$ref": "SplitInt64",
          "description": "The sum of all values being aggregated."
        },
        "count": {
          "$ref": "SplitInt64",
          "description": "The number of values being aggregated."
        }
      }
    },
    "StageExecutionDetails": {
      "description": "Information about the workers and work items within a stage.",
      "id": "StageExecutionDetails",
      "type": "object",
      "properties": {
        "workers": {
          "type": "array",
          "description": "Workers that have done work on the stage.",
          "items": {
            "$ref": "WorkerDetails"
          }
        },
        "nextPageToken": {
          "description": "If present, this response does not contain all requested tasks. To obtain the next page of results, repeat the request with page_token set to this value.",
          "type": "string"
        }
      }
    },
    "JobMetadata": {
      "properties": {
        "spannerDetails": {
          "type": "array",
          "description": "Identification of a Spanner source used in the Dataflow job.",
          "items": {
            "$ref": "SpannerIODetails"
          }
        },
        "bigqueryDetails": {
          "description": "Identification of a BigQuery source used in the Dataflow job.",
          "type": "array",
          "items": {
            "$ref": "BigQueryIODetails"
          }
        },
        "bigTableDetails": {
          "items": {
            "$ref": "BigTableIODetails"
          },
          "description": "Identification of a Cloud Bigtable source used in the Dataflow job.",
          "type": "array"
        },
        "datastoreDetails": {
          "type": "array",
          "description": "Identification of a Datastore source used in the Dataflow job.",
          "items": {
            "$ref": "DatastoreIODetails"
          }
        },
        "pubsubDetails": {
          "items": {
            "$ref": "PubSubIODetails"
          },
          "description": "Identification of a Pub/Sub source used in the Dataflow job.",
          "type": "array"
        },
        "fileDetails": {
          "items": {
            "$ref": "FileIODetails"
          },
          "type": "array",
          "description": "Identification of a File source used in the Dataflow job."
        },
        "userDisplayProperties": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "List of display properties to help UI filter jobs."
        },
        "sdkVersion": {
          "$ref": "SdkVersion",
          "description": "The SDK version used to run the job."
        }
      },
      "id": "JobMetadata",
      "type": "object",
      "description": "Metadata available primarily for filtering jobs. Will be included in the ListJob response and Job SUMMARY view."
    },
    "Base2Exponent": {
      "properties": {
        "numberOfBuckets": {
          "type": "integer",
          "format": "int32",
          "description": "Must be greater than 0."
        },
        "scale": {
          "description": "Must be between -3 and 3. This forces the growth factor of the bucket boundaries to be between `2^(1/8)` and `256`.",
          "type": "integer",
          "format": "int32"
        }
      },
      "id": "Base2Exponent",
      "type": "object",
      "description": "Exponential buckets where the growth factor between buckets is `2**(2**-scale)`. e.g. for `scale=1` growth factor is `2**(2**(-1))=sqrt(2)`. `n` buckets will have the following boundaries. - 0th: [0, gf) - i in [1, n-1]: [gf^(i), gf^(i+1))"
    },
    "SendDebugCaptureRequest": {
      "id": "SendDebugCaptureRequest",
      "type": "object",
      "description": "Request to send encoded debug information. Next ID: 8",
      "properties": {
        "dataFormat": {
          "description": "Format for the data field above (id=5).",
          "type": "string",
          "enumDescriptions": [
            "Format unspecified, parsing is determined based upon page type and legacy encoding. (go/protodosdonts#do-include-an-unspecified-value-in-an-enum)",
            "Raw HTML string.",
            "JSON-encoded string.",
            "Websafe encoded zlib-compressed string.",
            "Websafe encoded brotli-compressed string."
          ],
          "enum": [
            "DATA_FORMAT_UNSPECIFIED",
            "RAW",
            "JSON",
            "ZLIB",
            "BROTLI"
          ]
        },
        "componentId": {
          "type": "string",
          "description": "The internal component id for which debug information is sent."
        },
        "workerId": {
          "description": "The worker id, i.e., VM hostname.",
          "type": "string"
        },
        "data": {
          "type": "string",
          "description": "The encoded debug information."
        },
        "location": {
          "type": "string",
          "description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id."
        }
      }
    },
    "PubSubIODetails": {
      "properties": {
        "topic": {
          "description": "Topic accessed in the connection.",
          "type": "string"
        },
        "subscription": {
          "type": "string",
          "description": "Subscription used in the connection."
        }
      },
      "description": "Metadata for a Pub/Sub connector used by the job.",
      "id": "PubSubIODetails",
      "type": "object"
    },
    "CounterMetadata": {
      "id": "CounterMetadata",
      "type": "object",
      "description": "CounterMetadata includes all static non-name non-value counter attributes.",
      "properties": {
        "description": {
          "description": "Human-readable description of the counter semantics.",
          "type": "string"
        },
        "otherUnits": {
          "description": "A string referring to the unit type.",
          "type": "string"
        },
        "kind": {
          "description": "Counter aggregation kind.",
          "type": "string",
          "enumDescriptions": [
            "Counter aggregation kind was not set.",
            "Aggregated value is the sum of all contributed values.",
            "Aggregated value is the max of all contributed values.",
            "Aggregated value is the min of all contributed values.",
            "Aggregated value is the mean of all contributed values.",
            "Aggregated value represents the logical 'or' of all contributed values.",
            "Aggregated value represents the logical 'and' of all contributed values.",
            "Aggregated value is a set of unique contributed values.",
            "Aggregated value captures statistics about a distribution.",
            "Aggregated value tracks the latest value of a variable."
          ],
          "enum": [
            "INVALID",
            "SUM",
            "MAX",
            "MIN",
            "MEAN",
            "OR",
            "AND",
            "SET",
            "DISTRIBUTION",
            "LATEST_VALUE"
          ]
        },
        "standardUnits": {
          "description": "System defined Units, see above enum.",
          "type": "string",
          "enumDescriptions": [
            "Counter returns a value in bytes.",
            "Counter returns a value in bytes per second.",
            "Counter returns a value in milliseconds.",
            "Counter returns a value in microseconds.",
            "Counter returns a value in nanoseconds.",
            "Counter returns a timestamp in milliseconds.",
            "Counter returns a timestamp in microseconds.",
            "Counter returns a timestamp in nanoseconds."
          ],
          "enum": [
            "BYTES",
            "BYTES_PER_SEC",
            "MILLISECONDS",
            "MICROSECONDS",
            "NANOSECONDS",
            "TIMESTAMP_MSEC",
            "TIMESTAMP_USEC",
            "TIMESTAMP_NSEC"
          ]
        }
      }
    },
    "FlattenInstruction": {
      "id": "FlattenInstruction",
      "type": "object",
      "description": "An instruction that copies its inputs (zero or more) to its (single) output.",
      "properties": {
        "inputs": {
          "type": "array",
          "description": "Describes the inputs to the flatten instruction.",
          "items": {
            "$ref": "InstructionInput"
          }
        }
      }
    },
    "StreamingComputationConfig": {
      "id": "StreamingComputationConfig",
      "type": "object",
      "description": "Configuration information for a single streaming computation.",
      "properties": {
        "instructions": {
          "type": "array",
          "description": "Instructions that comprise the computation.",
          "items": {
            "$ref": "ParallelInstruction"
          }
        },
        "systemName": {
          "description": "System defined name for this computation.",
          "type": "string"
        },
        "computationId": {
          "description": "Unique identifier for this computation.",
          "type": "string"
        },
        "stageName": {
          "description": "Stage name of this computation.",
          "type": "string"
        },
        "transformUserNameToStateFamily": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Map from user name of stateful transforms in this stage to their state family."
        }
      }
    },
    "GetDebugConfigRequest": {
      "properties": {
        "workerId": {
          "description": "The worker id, i.e., VM hostname.",
          "type": "string"
        },
        "componentId": {
          "description": "The internal component id for which debug configuration is requested.",
          "type": "string"
        },
        "location": {
          "type": "string",
          "description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id."
        }
      },
      "description": "Request to get updated debug configuration for component.",
      "id": "GetDebugConfigRequest",
      "type": "object"
    },
    "SdkHarnessContainerImage": {
      "properties": {
        "useSingleCorePerContainer": {
          "type": "boolean",
          "description": "If true, recommends the Dataflow service to use only one core per SDK container instance with this image. If false (or unset) recommends using more than one core per SDK container instance with this image for efficiency. Note that Dataflow service may choose to override this property if needed."
        },
        "capabilities": {
          "type": "array",
          "description": "The set of capabilities enumerated in the above Environment proto. See also [beam_runner_api.proto](https://github.com/apache/beam/blob/master/model/pipeline/src/main/proto/org/apache/beam/model/pipeline/v1/beam_runner_api.proto)",
          "items": {
            "type": "string"
          }
        },
        "environmentId": {
          "type": "string",
          "description": "Environment ID for the Beam runner API proto Environment that corresponds to the current SDK Harness."
        },
        "containerImage": {
          "description": "A docker container image that resides in Google Container Registry.",
          "type": "string"
        }
      },
      "id": "SdkHarnessContainerImage",
      "type": "object",
      "description": "Defines an SDK harness container for executing Dataflow pipelines."
    },
    "ExecutionStageSummary": {
      "properties": {
        "name": {
          "type": "string",
          "description": "Dataflow service generated name for this stage."
        },
        "id": {
          "type": "string",
          "description": "Dataflow service generated id for this stage."
        },
        "componentTransform": {
          "type": "array",
          "description": "Transforms that comprise this execution stage.",
          "items": {
            "$ref": "ComponentTransform"
          }
        },
        "outputSource": {
          "type": "array",
          "description": "Output sources for this stage.",
          "items": {
            "$ref": "StageSource"
          }
        },
        "prerequisiteStage": {
          "description": "Other stages that must complete before this stage can run.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "componentSource": {
          "items": {
            "$ref": "ComponentSource"
          },
          "description": "Collections produced and consumed by component transforms of this stage.",
          "type": "array"
        },
        "kind": {
          "description": "Type of transform this stage is executing.",
          "type": "string",
          "enumDescriptions": [
            "Unrecognized transform type.",
            "ParDo transform.",
            "Group By Key transform.",
            "Flatten transform.",
            "Read transform.",
            "Write transform.",
            "Constructs from a constant value, such as with Create.of.",
            "Creates a Singleton view of a collection.",
            "Opening or closing a shuffle session, often as part of a GroupByKey."
          ],
          "enum": [
            "UNKNOWN_KIND",
            "PAR_DO_KIND",
            "GROUP_BY_KEY_KIND",
            "FLATTEN_KIND",
            "READ_KIND",
            "WRITE_KIND",
            "CONSTANT_KIND",
            "SINGLETON_KIND",
            "SHUFFLE_KIND"
          ]
        },
        "inputSource": {
          "items": {
            "$ref": "StageSource"
          },
          "description": "Input sources for this stage.",
          "type": "array"
        }
      },
      "id": "ExecutionStageSummary",
      "type": "object",
      "description": "Description of the composing transforms, names/ids, and input/outputs of a stage of execution. Some composing transforms and sources may have been generated by the Dataflow service during execution planning."
    },
    "ProgressTimeseries": {
      "id": "ProgressTimeseries",
      "type": "object",
      "description": "Information about the progress of some component of job execution.",
      "properties": {
        "dataPoints": {
          "type": "array",
          "description": "History of progress for the component. Points are sorted by time.",
          "items": {
            "$ref": "Point"
          }
        },
        "currentProgress": {
          "type": "number",
          "format": "double",
          "description": "The current progress of the component, in the range [0,1]."
        }
      }
    },
    "ReportWorkItemStatusRequest": {
      "properties": {
        "projectNumber": {
          "description": "Optional. The project number of the project which owns the WorkItem's job.",
          "type": "string",
          "format": "int64"
        },
        "unifiedWorkerRequest": {
          "description": "Untranslated bag-of-bytes WorkProgressUpdateRequest from UnifiedWorker.",
          "type": "object",
          "additionalProperties": {
            "description": "Properties of the object. Contains field @type with type URL.",
            "type": "any"
          }
        },
        "workItemStatuses": {
          "items": {
            "$ref": "WorkItemStatus"
          },
          "description": "The order is unimportant, except that the order of the WorkItemServiceState messages in the ReportWorkItemStatusResponse corresponds to the order of WorkItemStatus messages here.",
          "type": "array"
        },
        "currentWorkerTime": {
          "description": "The current timestamp at the worker.",
          "type": "string",
          "format": "google-datetime"
        },
        "workerId": {
          "description": "The ID of the worker reporting the WorkItem status. If this does not match the ID of the worker which the Dataflow service believes currently has the lease on the WorkItem, the report will be dropped (with an error response).",
          "type": "string"
        },
        "location": {
          "description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the WorkItem's job.",
          "type": "string"
        }
      },
      "id": "ReportWorkItemStatusRequest",
      "type": "object",
      "description": "Request to report the status of WorkItems."
    },
    "PipelineDescription": {
      "properties": {
        "stepNamesHash": {
          "type": "string",
          "description": "A hash value of the submitted pipeline portable graph step names if exists."
        },
        "executionPipelineStage": {
          "type": "array",
          "description": "Description of each stage of execution of the pipeline.",
          "items": {
            "$ref": "ExecutionStageSummary"
          }
        },
        "displayData": {
          "type": "array",
          "description": "Pipeline level display data.",
          "items": {
            "$ref": "DisplayData"
          }
        },
        "originalPipelineTransform": {
          "description": "Description of each transform in the pipeline and collections between them.",
          "type": "array",
          "items": {
            "$ref": "TransformSummary"
          }
        }
      },
      "id": "PipelineDescription",
      "type": "object",
      "description": "A descriptive representation of submitted pipeline as well as the executed form. This data is provided by the Dataflow service for ease of visualizing the pipeline and interpreting Dataflow provided metrics."
    },
    "DatastoreIODetails": {
      "properties": {
        "namespace": {
          "type": "string",
          "description": "Namespace used in the connection."
        },
        "projectId": {
          "description": "ProjectId accessed in the connection.",
          "type": "string"
        }
      },
      "description": "Metadata for a Datastore connector used by the job.",
      "id": "DatastoreIODetails",
      "type": "object"
    },
    "GetTemplateResponse": {
      "properties": {
        "status": {
          "description": "The status of the get template request. Any problems with the request will be indicated in the error_details.",
          "$ref": "Status"
        },
        "runtimeMetadata": {
          "description": "Describes the runtime metadata with SDKInfo and available parameters.",
          "$ref": "RuntimeMetadata"
        },
        "templateType": {
          "type": "string",
          "enumDescriptions": [
            "Unknown Template Type.",
            "Legacy Template.",
            "Flex Template."
          ],
          "enum": [
            "UNKNOWN",
            "LEGACY",
            "FLEX"
          ],
          "description": "Template Type."
        },
        "metadata": {
          "$ref": "TemplateMetadata",
          "description": "The template metadata describing the template name, available parameters, etc."
        }
      },
      "id": "GetTemplateResponse",
      "type": "object",
      "description": "The response to a GetTemplate request."
    },
    "FlexTemplateRuntimeEnvironment": {
      "properties": {
        "launcherMachineType": {
          "type": "string",
          "description": "The machine type to use for launching the job. If not set, Dataflow will select a default machine type."
        },
        "dumpHeapOnOom": {
          "type": "boolean",
          "description": "If true, when processing time is spent almost entirely on garbage collection (GC), saves a heap dump before ending the thread or process. If false, ends the thread or process without saving a heap dump. Does not save a heap dump when the Java Virtual Machine (JVM) has an out of memory error during processing. The location of the heap file is either echoed back to the user, or the user is given the opportunity to download the heap file."
        },
        "serviceAccountEmail": {
          "description": "The email address of the service account to run the job as.",
          "type": "string"
        },
        "saveHeapDumpsToGcsPath": {
          "description": "Cloud Storage bucket (directory) to upload heap dumps to. Enabling this field implies that `dump_heap_on_oom` is set to true.",
          "type": "string"
        },
        "workerZone": {
          "description": "The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. \"us-west1-a\". Mutually exclusive with worker_region. If neither worker_region nor worker_zone is specified, a zone in the control plane's region is chosen based on available capacity. If both `worker_zone` and `zone` are set, `worker_zone` takes precedence.",
          "type": "string"
        },
        "additionalPipelineOptions": {
          "type": "array",
          "description": "Optional. Additional pipeline option flags for the job.",
          "items": {
            "type": "string"
          }
        },
        "subnetwork": {
          "type": "string",
          "description": "Subnetwork to which VMs will be assigned, if desired. You can specify a subnetwork using either a complete URL or an abbreviated path. Expected to be of the form \"https://www.googleapis.com/compute/v1/projects/HOST_PROJECT_ID/regions/REGION/subnetworks/SUBNETWORK\" or \"regions/REGION/subnetworks/SUBNETWORK\". If the subnetwork is located in a Shared VPC network, you must use the complete URL."
        },
        "numWorkers": {
          "type": "integer",
          "format": "int32",
          "description": "The initial number of Google Compute Engine instances for the job."
        },
        "additionalUserLabels": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Additional user labels to be specified for the job. Keys and values must follow the restrictions specified in the [labeling restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) page. An object containing a list of \"key\": value pairs. Example: { \"name\": \"wrench\", \"mass\": \"1kg\", \"count\": \"3\" }."
        },
        "autoscalingAlgorithm": {
          "description": "The algorithm to use for autoscaling",
          "type": "string",
          "enumDescriptions": [
            "The algorithm is unknown, or unspecified.",
            "Disable autoscaling.",
            "Increase worker count over time to reduce job execution time."
          ],
          "enum": [
            "AUTOSCALING_ALGORITHM_UNKNOWN",
            "AUTOSCALING_ALGORITHM_NONE",
            "AUTOSCALING_ALGORITHM_BASIC"
          ]
        },
        "enableLauncherVmSerialPortLogging": {
          "description": "If true serial port logging will be enabled for the launcher VM.",
          "type": "boolean"
        },
        "diskSizeGb": {
          "description": "Worker disk size, in gigabytes.",
          "type": "integer",
          "format": "int32"
        },
        "zone": {
          "description": "The Compute Engine [availability zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones) for launching worker instances to run your pipeline. In the future, worker_zone will take precedence.",
          "type": "string"
        },
        "flexrsGoal": {
          "type": "string",
          "enumDescriptions": [
            "Run in the default mode.",
            "Optimize for lower execution time.",
            "Optimize for lower cost."
          ],
          "enum": [
            "FLEXRS_UNSPECIFIED",
            "FLEXRS_SPEED_OPTIMIZED",
            "FLEXRS_COST_OPTIMIZED"
          ],
          "description": "Set FlexRS goal for the job. https://cloud.google.com/dataflow/docs/guides/flexrs"
        },
        "network": {
          "type": "string",
          "description": "Network to which VMs will be assigned. If empty or unspecified, the service will use the network \"default\"."
        },
        "ipConfiguration": {
          "type": "string",
          "enumDescriptions": [
            "The configuration is unknown, or unspecified.",
            "Workers should have public IP addresses.",
            "Workers should have private IP addresses."
          ],
          "enum": [
            "WORKER_IP_UNSPECIFIED",
            "WORKER_IP_PUBLIC",
            "WORKER_IP_PRIVATE"
          ],
          "description": "Configuration for VM IPs."
        },
        "streamingMode": {
          "description": "Optional. Specifies the Streaming Engine message processing guarantees. Reduces cost and latency but might result in duplicate messages committed to storage. Designed to run simple mapping streaming ETL jobs at the lowest cost. For example, Change Data Capture (CDC) to BigQuery is a canonical use case. For more information, see [Set the pipeline streaming mode](https://cloud.google.com/dataflow/docs/guides/streaming-modes).",
          "type": "string",
          "enumDescriptions": [
            "Run in the default mode.",
            "In this mode, message deduplication is performed against persistent state to make sure each message is processed and committed to storage exactly once.",
            "Message deduplication is not performed. Messages might be processed multiple times, and the results are applied multiple times. Note: Setting this value also enables Streaming Engine and Streaming Engine resource-based billing."
          ],
          "enum": [
            "STREAMING_MODE_UNSPECIFIED",
            "STREAMING_MODE_EXACTLY_ONCE",
            "STREAMING_MODE_AT_LEAST_ONCE"
          ]
        },
        "machineType": {
          "description": "The machine type to use for the job. Defaults to the value from the template if not specified.",
          "type": "string"
        },
        "workerRegion": {
          "description": "The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. \"us-west1\". Mutually exclusive with worker_zone. If neither worker_region nor worker_zone is specified, default to the control plane's region.",
          "type": "string"
        },
        "enableStreamingEngine": {
          "type": "boolean",
          "description": "Whether to enable Streaming Engine for the job."
        },
        "kmsKeyName": {
          "type": "string",
          "description": "Name for the Cloud KMS key for the job. Key format is: projects//locations//keyRings//cryptoKeys/"
        },
        "stagingLocation": {
          "description": "The Cloud Storage path for staging local files. Must be a valid Cloud Storage URL, beginning with `gs://`.",
          "type": "string"
        },
        "tempLocation": {
          "type": "string",
          "description": "The Cloud Storage path to use for temporary files. Must be a valid Cloud Storage URL, beginning with `gs://`."
        },
        "maxWorkers": {
          "description": "The maximum number of Google Compute Engine instances to be made available to your pipeline during execution, from 1 to 1000.",
          "type": "integer",
          "format": "int32"
        },
        "additionalExperiments": {
          "items": {
            "type": "string"
          },
          "description": "Additional experiment flags for the job.",
          "type": "array"
        },
        "sdkContainerImage": {
          "type": "string",
          "description": "Docker registry location of container image to use for the 'worker harness. Default is the container for the version of the SDK. Note this field is only valid for portable pipelines."
        }
      },
      "description": "The environment values to be set at runtime for flex template.",
      "id": "FlexTemplateRuntimeEnvironment",
      "type": "object"
    },
    "IntegerList": {
      "description": "A metric value representing a list of integers.",
      "id": "IntegerList",
      "type": "object",
      "properties": {
        "elements": {
          "items": {
            "$ref": "SplitInt64"
          },
          "type": "array",
          "description": "Elements of the list."
        }
      }
    },
    "TransformSummary": {
      "properties": {
        "outputCollectionName": {
          "items": {
            "type": "string"
          },
          "description": "User names for all collection outputs to this transform.",
          "type": "array"
        },
        "id": {
          "type": "string",
          "description": "SDK generated id of this transform instance."
        },
        "name": {
          "type": "string",
          "description": "User provided name for this transform instance."
        },
        "kind": {
          "type": "string",
          "enumDescriptions": [
            "Unrecognized transform type.",
            "ParDo transform.",
            "Group By Key transform.",
            "Flatten transform.",
            "Read transform.",
            "Write transform.",
            "Constructs from a constant value, such as with Create.of.",
            "Creates a Singleton view of a collection.",
            "Opening or closing a shuffle session, often as part of a GroupByKey."
          ],
          "enum": [
            "UNKNOWN_KIND",
            "PAR_DO_KIND",
            "GROUP_BY_KEY_KIND",
            "FLATTEN_KIND",
            "READ_KIND",
            "WRITE_KIND",
            "CONSTANT_KIND",
            "SINGLETON_KIND",
            "SHUFFLE_KIND"
          ],
          "description": "Type of transform."
        },
        "inputCollectionName": {
          "description": "User names for all collection inputs to this transform.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "displayData": {
          "description": "Transform-specific display data.",
          "type": "array",
          "items": {
            "$ref": "DisplayData"
          }
        }
      },
      "id": "TransformSummary",
      "type": "object",
      "description": "Description of the type, names/ids, and input/outputs for a transform."
    },
    "Disk": {
      "properties": {
        "sizeGb": {
          "type": "integer",
          "format": "int32",
          "description": "Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default."
        },
        "diskType": {
          "type": "string",
          "description": "Disk storage type, as defined by Google Compute Engine. This must be a disk type appropriate to the project and zone in which the workers will run. If unknown or unspecified, the service will attempt to choose a reasonable default. For example, the standard persistent disk type is a resource name typically ending in \"pd-standard\". If SSD persistent disks are available, the resource name typically ends with \"pd-ssd\". The actual valid values are defined the Google Compute Engine API, not by the Cloud Dataflow API; consult the Google Compute Engine documentation for more information about determining the set of available disk types for a particular project and zone. Google Compute Engine Disk types are local to a particular project in a particular zone, and so the resource name will typically look something like this: compute.googleapis.com/projects/project-id/zones/zone/diskTypes/pd-standard"
        },
        "mountPoint": {
          "description": "Directory in a VM where disk is mounted.",
          "type": "string"
        }
      },
      "id": "Disk",
      "type": "object",
      "description": "Describes the data disk used by a workflow job."
    },
    "StreamingStageLocation": {
      "properties": {
        "streamId": {
          "description": "Identifies the particular stream within the streaming Dataflow job.",
          "type": "string"
        }
      },
      "id": "StreamingStageLocation",
      "type": "object",
      "description": "Identifies the location of a streaming computation stage, for stage-to-stage communication."
    },
    "MetricShortId": {
      "id": "MetricShortId",
      "type": "object",
      "description": "The metric short id is returned to the user alongside an offset into ReportWorkItemStatusRequest",
      "properties": {
        "metricIndex": {
          "type": "integer",
          "format": "int32",
          "description": "The index of the corresponding metric in the ReportWorkItemStatusRequest. Required."
        },
        "shortId": {
          "type": "string",
          "format": "int64",
          "description": "The service-generated short identifier for the metric."
        }
      }
    },
    "DistributionUpdate": {
      "properties": {
        "sum": {
          "$ref": "SplitInt64",
          "description": "Use an int64 since we'd prefer the added precision. If overflow is a common problem we can detect it and use an additional int64 or a double."
        },
        "histogram": {
          "$ref": "Histogram",
          "description": "(Optional) Histogram of value counts for the distribution."
        },
        "count": {
          "$ref": "SplitInt64",
          "description": "The count of the number of elements present in the distribution."
        },
        "sumOfSquares": {
          "description": "Use a double since the sum of squares is likely to overflow int64.",
          "type": "number",
          "format": "double"
        },
        "min": {
          "description": "The minimum value present in the distribution.",
          "$ref": "SplitInt64"
        },
        "max": {
          "description": "The maximum value present in the distribution.",
          "$ref": "SplitInt64"
        }
      },
      "id": "DistributionUpdate",
      "type": "object",
      "description": "A metric value representing a distribution."
    },
    "PerWorkerMetrics": {
      "properties": {
        "perStepNamespaceMetrics": {
          "description": "Optional. Metrics for a particular unfused step and namespace.",
          "type": "array",
          "items": {
            "$ref": "PerStepNamespaceMetrics"
          }
        }
      },
      "description": "Per worker metrics.",
      "id": "PerWorkerMetrics",
      "type": "object"
    },
    "SideInputInfo": {
      "id": "SideInputInfo",
      "type": "object",
      "description": "Information about a side input of a DoFn or an input of a SeqDoFn.",
      "properties": {
        "sources": {
          "type": "array",
          "description": "The source(s) to read element(s) from to get the value of this side input. If more than one source, then the elements are taken from the sources, in the specified order if order matters. At least one source is required.",
          "items": {
            "$ref": "Source"
          }
        },
        "kind": {
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          },
          "description": "How to interpret the source element(s) as a side input value."
        },
        "tag": {
          "description": "The id of the tag the user code will access this side input by; this should correspond to the tag of some MultiOutputInfo.",
          "type": "string"
        }
      }
    },
    "ReadInstruction": {
      "properties": {
        "source": {
          "description": "The source to read from.",
          "$ref": "Source"
        }
      },
      "id": "ReadInstruction",
      "type": "object",
      "description": "An instruction that reads records. Takes no inputs, produces one output."
    },
    "WorkerShutdownNoticeResponse": {
      "description": "Service-side response to WorkerMessage issuing shutdown notice.",
      "id": "WorkerShutdownNoticeResponse",
      "type": "object",
      "properties": {}
    },
    "StragglerInfo": {
      "id": "StragglerInfo",
      "type": "object",
      "description": "Information useful for straggler identification and debugging.",
      "properties": {
        "startTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "The time when the work item attempt became a straggler."
        },
        "causes": {
          "description": "The straggler causes, keyed by the string representation of the StragglerCause enum and contains specialized debugging information for each straggler cause.",
          "type": "object",
          "additionalProperties": {
            "$ref": "StragglerDebuggingInfo"
          }
        }
      }
    },
    "AutoscalingSettings": {
      "properties": {
        "algorithm": {
          "type": "string",
          "enumDescriptions": [
            "The algorithm is unknown, or unspecified.",
            "Disable autoscaling.",
            "Increase worker count over time to reduce job execution time."
          ],
          "enum": [
            "AUTOSCALING_ALGORITHM_UNKNOWN",
            "AUTOSCALING_ALGORITHM_NONE",
            "AUTOSCALING_ALGORITHM_BASIC"
          ],
          "description": "The algorithm to use for autoscaling."
        },
        "maxNumWorkers": {
          "type": "integer",
          "format": "int32",
          "description": "The maximum number of workers to cap scaling at."
        }
      },
      "id": "AutoscalingSettings",
      "type": "object",
      "description": "Settings for WorkerPool autoscaling."
    },
    "HotKeyDetection": {
      "description": "Proto describing a hot key detected on a given WorkItem.",
      "id": "HotKeyDetection",
      "type": "object",
      "properties": {
        "hotKeyAge": {
          "description": "The age of the hot key measured from when it was first detected.",
          "type": "string",
          "format": "google-duration"
        },
        "userStepName": {
          "description": "User-provided name of the step that contains this hot key.",
          "type": "string"
        },
        "systemName": {
          "type": "string",
          "description": "System-defined name of the step containing this hot key. Unique across the workflow."
        }
      }
    },
    "ComputationTopology": {
      "properties": {
        "computationId": {
          "description": "The ID of the computation.",
          "type": "string"
        },
        "systemStageName": {
          "description": "The system stage name.",
          "type": "string"
        },
        "keyRanges": {
          "description": "The key ranges processed by the computation.",
          "type": "array",
          "items": {
            "$ref": "KeyRangeLocation"
          }
        },
        "outputs": {
          "items": {
            "$ref": "StreamLocation"
          },
          "description": "The outputs from the computation.",
          "type": "array"
        },
        "stateFamilies": {
          "items": {
            "$ref": "StateFamilyConfig"
          },
          "description": "The state family values.",
          "type": "array"
        },
        "inputs": {
          "items": {
            "$ref": "StreamLocation"
          },
          "type": "array",
          "description": "The inputs to the computation."
        }
      },
      "description": "All configuration data for a particular Computation.",
      "id": "ComputationTopology",
      "type": "object"
    },
    "Stack": {
      "properties": {
        "timestamp": {
          "description": "Timestamp at which the stack was captured.",
          "type": "string",
          "format": "google-datetime"
        },
        "threadState": {
          "type": "string",
          "description": "The state of the thread. For example, \"WAITING\"."
        },
        "threadCount": {
          "description": "With java thread dumps we may get collapsed stacks e.g., N threads in stack \"\". Instead of having to copy over the same stack trace N times, this int field captures this.",
          "type": "integer",
          "format": "int32"
        },
        "threadName": {
          "description": "Thread name. For example, \"CommitThread-0,10,main\"",
          "type": "string"
        },
        "stackContent": {
          "type": "string",
          "description": "The raw stack trace."
        }
      },
      "description": "A structuredstacktrace for a process running on the worker.",
      "id": "Stack",
      "type": "object"
    },
    "MetricUpdate": {
      "description": "Describes the state of a metric.",
      "id": "MetricUpdate",
      "type": "object",
      "properties": {
        "set": {
          "description": "Worker-computed aggregate value for the \"Set\" aggregation kind. The only possible value type is a list of Values whose type can be Long, Double, String, or BoundedTrie according to the metric's type. All Values in the list must be of the same type.",
          "type": "any"
        },
        "boundedTrie": {
          "type": "any",
          "description": "Worker-computed aggregate value for the \"Trie\" aggregation kind. The only possible value type is a BoundedTrieNode. Introduced this field to avoid breaking older SDKs when Dataflow service starts to populate the `bounded_trie` field."
        },
        "kind": {
          "description": "Metric aggregation kind. The possible metric aggregation kinds are \"Sum\", \"Max\", \"Min\", \"Mean\", \"Set\", \"And\", \"Or\", and \"Distribution\". The specified aggregation kind is case-insensitive. If omitted, this is not an aggregated value but instead a single metric sample value.",
          "type": "string"
        },
        "gauge": {
          "description": "A struct value describing properties of a Gauge. Metrics of gauge type show the value of a metric across time, and is aggregated based on the newest value.",
          "type": "any"
        },
        "internal": {
          "type": "any",
          "description": "Worker-computed aggregate value for internal use by the Dataflow service."
        },
        "meanCount": {
          "type": "any",
          "description": "Worker-computed aggregate value for the \"Mean\" aggregation kind. This holds the count of the aggregated values and is used in combination with mean_sum above to obtain the actual mean aggregate value. The only possible value type is Long."
        },
        "scalar": {
          "description": "Worker-computed aggregate value for aggregation kinds \"Sum\", \"Max\", \"Min\", \"And\", and \"Or\". The possible value types are Long, Double, and Boolean.",
          "type": "any"
        },
        "meanSum": {
          "type": "any",
          "description": "Worker-computed aggregate value for the \"Mean\" aggregation kind. This holds the sum of the aggregated values and is used in combination with mean_count below to obtain the actual mean aggregate value. The only possible value types are Long and Double."
        },
        "trie": {
          "type": "any",
          "description": "Worker-computed aggregate value for the \"Trie\" aggregation kind. The only possible value type is a BoundedTrieNode."
        },
        "distribution": {
          "description": "A struct value describing properties of a distribution of numeric values.",
          "type": "any"
        },
        "cumulative": {
          "type": "boolean",
          "description": "True if this metric is reported as the total cumulative aggregate value accumulated since the worker started working on this WorkItem. By default this is false, indicating that this metric is reported as a delta that is not associated with any WorkItem."
        },
        "name": {
          "description": "Name of the metric.",
          "$ref": "MetricStructuredName"
        },
        "updateTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Timestamp associated with the metric value. Optional when workers are reporting work progress; it will be filled in responses from the metrics API."
        }
      }
    },
    "StragglerDebuggingInfo": {
      "id": "StragglerDebuggingInfo",
      "type": "object",
      "description": "Information useful for debugging a straggler. Each type will provide specialized debugging information relevant for a particular cause. The StragglerDebuggingInfo will be 1:1 mapping to the StragglerCause enum.",
      "properties": {
        "hotKey": {
          "description": "Hot key debugging details.",
          "$ref": "HotKeyDebuggingInfo"
        }
      }
    },
    "Histogram": {
      "properties": {
        "firstBucketOffset": {
          "description": "Starting index of first stored bucket. The non-inclusive upper-bound of the ith bucket is given by: pow(10,(i-first_bucket_offset)/3) * (1,2,5)[(i-first_bucket_offset)%3]",
          "type": "integer",
          "format": "int32"
        },
        "bucketCounts": {
          "description": "Counts of values in each bucket. For efficiency, prefix and trailing buckets with count = 0 are elided. Buckets can store the full range of values of an unsigned long, with ULLONG_MAX falling into the 59th bucket with range [1e19, 2e19).",
          "type": "array",
          "items": {
            "type": "string",
            "format": "int64"
          }
        }
      },
      "id": "Histogram",
      "type": "object",
      "description": "Histogram of value counts for a distribution. Buckets have an inclusive lower bound and exclusive upper bound and use \"1,2,5 bucketing\": The first bucket range is from [0,1) and all subsequent bucket boundaries are powers of ten multiplied by 1, 2, or 5. Thus, bucket boundaries are 0, 1, 2, 5, 10, 20, 50, 100, 200, 500, 1000, ... Negative values are not supported."
    },
    "SourceSplitOptions": {
      "properties": {
        "desiredBundleSizeBytes": {
          "description": "The source should be split into a set of bundles where the estimated size of each is approximately this many bytes.",
          "type": "string",
          "format": "int64"
        },
        "desiredShardSizeBytes": {
          "deprecated": true,
          "type": "string",
          "format": "int64",
          "description": "DEPRECATED in favor of desired_bundle_size_bytes."
        }
      },
      "description": "Hints for splitting a Source into bundles (parts for parallel processing) using SourceSplitRequest.",
      "id": "SourceSplitOptions",
      "type": "object"
    },
    "ListSnapshotsResponse": {
      "properties": {
        "snapshots": {
          "items": {
            "$ref": "Snapshot"
          },
          "type": "array",
          "description": "Returned snapshots."
        }
      },
      "description": "List of snapshots.",
      "id": "ListSnapshotsResponse",
      "type": "object"
    },
    "ContainerSpec": {
      "properties": {
        "metadata": {
          "$ref": "TemplateMetadata",
          "description": "Metadata describing a template including description and validation rules."
        },
        "image": {
          "description": "Name of the docker container image. E.g., gcr.io/project/some-image",
          "type": "string"
        },
        "defaultEnvironment": {
          "description": "Default runtime environment for the job.",
          "$ref": "FlexTemplateRuntimeEnvironment"
        },
        "imageRepositoryUsernameSecretId": {
          "type": "string",
          "description": "Secret Manager secret id for username to authenticate to private registry."
        },
        "imageRepositoryPasswordSecretId": {
          "type": "string",
          "description": "Secret Manager secret id for password to authenticate to private registry."
        },
        "imageRepositoryCertPath": {
          "type": "string",
          "description": "Cloud Storage path to self-signed certificate of private registry."
        },
        "sdkInfo": {
          "description": "Required. SDK info of the Flex Template.",
          "$ref": "SDKInfo"
        }
      },
      "id": "ContainerSpec",
      "type": "object",
      "description": "Container Spec."
    },
    "Parameter": {
      "id": "Parameter",
      "type": "object",
      "description": "Structured data associated with this message.",
      "properties": {
        "key": {
          "description": "Key or name for this parameter.",
          "type": "string"
        },
        "value": {
          "description": "Value for this parameter.",
          "type": "any"
        }
      }
    },
    "KeyRangeLocation": {
      "id": "KeyRangeLocation",
      "type": "object",
      "description": "Location information for a specific key-range of a sharded computation. Currently we only support UTF-8 character splits to simplify encoding into JSON.",
      "properties": {
        "dataDisk": {
          "description": "The name of the data disk where data for this range is stored. This name is local to the Google Cloud Platform project and uniquely identifies the disk within that project, for example \"myproject-1014-104817-4c2-harness-0-disk-1\".",
          "type": "string"
        },
        "deprecatedPersistentDirectory": {
          "type": "string",
          "description": "DEPRECATED. The location of the persistent state for this range, as a persistent directory in the worker local filesystem.",
          "deprecated": true
        },
        "start": {
          "type": "string",
          "description": "The start (inclusive) of the key range."
        },
        "end": {
          "description": "The end (exclusive) of the key range.",
          "type": "string"
        },
        "deliveryEndpoint": {
          "description": "The physical location of this range assignment to be used for streaming computation cross-worker message delivery.",
          "type": "string"
        }
      }
    },
    "SnapshotJobRequest": {
      "description": "Request to create a snapshot of a job.",
      "id": "SnapshotJobRequest",
      "type": "object",
      "properties": {
        "location": {
          "type": "string",
          "description": "The location that contains this job."
        },
        "description": {
          "description": "User specified description of the snapshot. Maybe empty.",
          "type": "string"
        },
        "snapshotSources": {
          "description": "If true, perform snapshots for sources which support this.",
          "type": "boolean"
        },
        "ttl": {
          "description": "TTL for the snapshot.",
          "type": "string",
          "format": "google-duration"
        }
      }
    },
    "StreamingScalingReport": {
      "properties": {
        "maximumBytes": {
          "description": "Maximum bytes.",
          "type": "string",
          "format": "int64"
        },
        "outstandingBytes": {
          "type": "string",
          "format": "int64",
          "description": "Current outstanding bytes."
        },
        "maximumBundleCount": {
          "description": "Maximum bundle count.",
          "type": "integer",
          "format": "int32"
        },
        "maximumThreadCount": {
          "type": "integer",
          "format": "int32",
          "description": "Maximum thread count limit."
        },
        "activeBundleCount": {
          "deprecated": true,
          "type": "integer",
          "format": "int32"
        },
        "outstandingBytesCount": {
          "type": "integer",
          "format": "int32",
          "deprecated": true
        },
        "maximumBytesCount": {
          "type": "integer",
          "format": "int32",
          "deprecated": true
        },
        "activeThreadCount": {
          "description": "Current acive thread count.",
          "type": "integer",
          "format": "int32"
        },
        "outstandingBundleCount": {
          "description": "Current outstanding bundle count.",
          "type": "integer",
          "format": "int32"
        }
      },
      "description": "Contains per-user worker telemetry used in streaming autoscaling.",
      "id": "StreamingScalingReport",
      "type": "object"
    },
    "InstructionOutput": {
      "id": "InstructionOutput",
      "type": "object",
      "description": "An output of an instruction.",
      "properties": {
        "onlyCountValueBytes": {
          "type": "boolean",
          "description": "For system-generated byte and mean byte metrics, certain instructions should only report the value size."
        },
        "name": {
          "type": "string",
          "description": "The user-provided name of this output."
        },
        "originalName": {
          "type": "string",
          "description": "System-defined name for this output in the original workflow graph. Outputs that do not contribute to an original instruction do not set this."
        },
        "systemName": {
          "description": "System-defined name of this output. Unique across the workflow.",
          "type": "string"
        },
        "codec": {
          "description": "The codec to use to encode data being written via this output.",
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        },
        "onlyCountKeyBytes": {
          "type": "boolean",
          "description": "For system-generated byte and mean byte metrics, certain instructions should only report the key size."
        }
      }
    },
    "FileIODetails": {
      "id": "FileIODetails",
      "type": "object",
      "description": "Metadata for a File connector used by the job.",
      "properties": {
        "filePattern": {
          "description": "File Pattern used to access files by the connector.",
          "type": "string"
        }
      }
    },
    "DynamicSourceSplit": {
      "properties": {
        "primary": {
          "description": "Primary part (continued to be processed by worker). Specified relative to the previously-current source. Becomes current.",
          "$ref": "DerivedSource"
        },
        "residual": {
          "$ref": "DerivedSource",
          "description": "Residual part (returned to the pool of work). Specified relative to the previously-current source."
        }
      },
      "description": "When a task splits using WorkItemStatus.dynamic_source_split, this message describes the two parts of the split relative to the description of the current task's input.",
      "id": "DynamicSourceSplit",
      "type": "object"
    },
    "JobMessage": {
      "properties": {
        "time": {
          "type": "string",
          "format": "google-datetime",
          "description": "The timestamp of the message."
        },
        "id": {
          "type": "string",
          "description": "Deprecated."
        },
        "messageText": {
          "description": "The text of the message.",
          "type": "string"
        },
        "messageImportance": {
          "type": "string",
          "enumDescriptions": [
            "The message importance isn't specified, or is unknown.",
            "The message is at the 'debug' level: typically only useful for software engineers working on the code the job is running. Typically, Dataflow pipeline runners do not display log messages at this level by default.",
            "The message is at the 'detailed' level: somewhat verbose, but potentially useful to users. Typically, Dataflow pipeline runners do not display log messages at this level by default. These messages are displayed by default in the Dataflow monitoring UI.",
            "The message is at the 'basic' level: useful for keeping track of the execution of a Dataflow pipeline. Typically, Dataflow pipeline runners display log messages at this level by default, and these messages are displayed by default in the Dataflow monitoring UI.",
            "The message is at the 'warning' level: indicating a condition pertaining to a job which may require human intervention. Typically, Dataflow pipeline runners display log messages at this level by default, and these messages are displayed by default in the Dataflow monitoring UI.",
            "The message is at the 'error' level: indicating a condition preventing a job from succeeding. Typically, Dataflow pipeline runners display log messages at this level by default, and these messages are displayed by default in the Dataflow monitoring UI."
          ],
          "enum": [
            "JOB_MESSAGE_IMPORTANCE_UNKNOWN",
            "JOB_MESSAGE_DEBUG",
            "JOB_MESSAGE_DETAILED",
            "JOB_MESSAGE_BASIC",
            "JOB_MESSAGE_WARNING",
            "JOB_MESSAGE_ERROR"
          ],
          "description": "Importance level of the message."
        }
      },
      "description": "A particular message pertaining to a Dataflow job.",
      "id": "JobMessage",
      "type": "object"
    },
    "ParallelInstruction": {
      "id": "ParallelInstruction",
      "type": "object",
      "description": "Describes a particular operation comprising a MapTask.",
      "properties": {
        "partialGroupByKey": {
          "description": "Additional information for PartialGroupByKey instructions.",
          "$ref": "PartialGroupByKeyInstruction"
        },
        "outputs": {
          "description": "Describes the outputs of the instruction.",
          "type": "array",
          "items": {
            "$ref": "InstructionOutput"
          }
        },
        "name": {
          "type": "string",
          "description": "User-provided name of this operation."
        },
        "parDo": {
          "description": "Additional information for ParDo instructions.",
          "$ref": "ParDoInstruction"
        },
        "write": {
          "description": "Additional information for Write instructions.",
          "$ref": "WriteInstruction"
        },
        "flatten": {
          "$ref": "FlattenInstruction",
          "description": "Additional information for Flatten instructions."
        },
        "originalName": {
          "type": "string",
          "description": "System-defined name for the operation in the original workflow graph."
        },
        "systemName": {
          "description": "System-defined name of this operation. Unique across the workflow.",
          "type": "string"
        },
        "read": {
          "$ref": "ReadInstruction",
          "description": "Additional information for Read instructions."
        }
      }
    },
    "WorkerLifecycleEvent": {
      "id": "WorkerLifecycleEvent",
      "type": "object",
      "description": "A report of an event in a worker's lifecycle. The proto contains one event, because the worker is expected to asynchronously send each message immediately after the event. Due to this asynchrony, messages may arrive out of order (or missing), and it is up to the consumer to interpret. The timestamp of the event is in the enclosing WorkerMessage proto.",
      "properties": {
        "metadata": {
          "description": "Other stats that can accompany an event. E.g. { \"downloaded_bytes\" : \"123456\" }",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "event": {
          "description": "The event being reported.",
          "type": "string",
          "enumDescriptions": [
            "Invalid event.",
            "The time the VM started.",
            "Our container code starts running. Multiple containers could be distinguished with WorkerMessage.labels if desired.",
            "The worker has a functional external network connection.",
            "Started downloading staging files.",
            "Finished downloading all staging files.",
            "For applicable SDKs, started installation of SDK and worker packages.",
            "Finished installing SDK."
          ],
          "enum": [
            "UNKNOWN_EVENT",
            "OS_START",
            "CONTAINER_START",
            "NETWORK_UP",
            "STAGING_FILES_DOWNLOAD_START",
            "STAGING_FILES_DOWNLOAD_FINISH",
            "SDK_INSTALL_START",
            "SDK_INSTALL_FINISH"
          ]
        },
        "containerStartTime": {
          "description": "The start time of this container. All events will report this so that events can be grouped together across container/VM restarts.",
          "type": "string",
          "format": "google-datetime"
        }
      }
    },
    "OutlierStats": {
      "description": "Statistics for the underflow and overflow bucket.",
      "id": "OutlierStats",
      "type": "object",
      "properties": {
        "underflowCount": {
          "type": "string",
          "format": "int64",
          "description": "Number of values that are smaller than the lower bound of the smallest bucket."
        },
        "underflowMean": {
          "description": "Mean of values in the undeflow bucket.",
          "type": "number",
          "format": "double"
        },
        "overflowMean": {
          "type": "number",
          "format": "double",
          "description": "Mean of values in the overflow bucket."
        },
        "overflowCount": {
          "type": "string",
          "format": "int64",
          "description": "Number of values that are larger than the upper bound of the largest bucket."
        }
      }
    },
    "StringList": {
      "properties": {
        "elements": {
          "type": "array",
          "description": "Elements of the list.",
          "items": {
            "type": "string"
          }
        }
      },
      "description": "A metric value representing a list of strings.",
      "id": "StringList",
      "type": "object"
    },
    "CreateJobFromTemplateRequest": {
      "id": "CreateJobFromTemplateRequest",
      "type": "object",
      "description": "A request to create a Cloud Dataflow job from a template.",
      "properties": {
        "gcsPath": {
          "type": "string",
          "description": "Required. A Cloud Storage path to the template from which to create the job. Must be a valid Cloud Storage URL, beginning with `gs://`."
        },
        "jobName": {
          "description": "Required. The job name to use for the created job.",
          "type": "string"
        },
        "environment": {
          "description": "The runtime environment for the job.",
          "$ref": "RuntimeEnvironment"
        },
        "location": {
          "type": "string",
          "description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request."
        },
        "parameters": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "The runtime parameters to pass to the job."
        }
      }
    },
    "WorkItemStatus": {
      "properties": {
        "dynamicSourceSplit": {
          "description": "See documentation of stop_position.",
          "$ref": "DynamicSourceSplit"
        },
        "reportedProgress": {
          "description": "The worker's progress through this WorkItem.",
          "$ref": "ApproximateReportedProgress"
        },
        "counterUpdates": {
          "items": {
            "$ref": "CounterUpdate"
          },
          "description": "Worker output counters for this WorkItem.",
          "type": "array"
        },
        "completed": {
          "description": "True if the WorkItem was completed (successfully or unsuccessfully).",
          "type": "boolean"
        },
        "totalThrottlerWaitTimeSeconds": {
          "type": "number",
          "format": "double",
          "description": "Total time the worker spent being throttled by external systems."
        },
        "reportIndex": {
          "type": "string",
          "format": "int64",
          "description": "The report index. When a WorkItem is leased, the lease will contain an initial report index. When a WorkItem's status is reported to the system, the report should be sent with that report index, and the response will contain the index the worker should use for the next report. Reports received with unexpected index values will be rejected by the service. In order to preserve idempotency, the worker should not alter the contents of a report, even if the worker must submit the same report multiple times before getting back a response. The worker should not submit a subsequent report until the response for the previous report had been received from the service."
        },
        "sourceOperationResponse": {
          "description": "If the work item represented a SourceOperationRequest, and the work is completed, contains the result of the operation.",
          "$ref": "SourceOperationResponse"
        },
        "progress": {
          "$ref": "ApproximateProgress",
          "description": "DEPRECATED in favor of reported_progress.",
          "deprecated": true
        },
        "workItemId": {
          "type": "string",
          "description": "Identifies the WorkItem."
        },
        "errors": {
          "type": "array",
          "description": "Specifies errors which occurred during processing. If errors are provided, and completed = true, then the WorkItem is considered to have failed.",
          "items": {
            "$ref": "Status"
          }
        },
        "stopPosition": {
          "description": "A worker may split an active map task in two parts, \"primary\" and \"residual\", continuing to process the primary part and returning the residual part into the pool of available work. This event is called a \"dynamic split\" and is critical to the dynamic work rebalancing feature. The two obtained sub-tasks are called \"parts\" of the split. The parts, if concatenated, must represent the same input as would be read by the current task if the split did not happen. The exact way in which the original task is decomposed into the two parts is specified either as a position demarcating them (stop_position), or explicitly as two DerivedSources, if this task consumes a user-defined source type (dynamic_source_split). The \"current\" task is adjusted as a result of the split: after a task with range [A, B) sends a stop_position update at C, its range is considered to be [A, C), e.g.: * Progress should be interpreted relative to the new range, e.g. \"75% completed\" means \"75% of [A, C) completed\" * The worker should interpret proposed_stop_position relative to the new range, e.g. \"split at 68%\" should be interpreted as \"split at 68% of [A, C)\". * If the worker chooses to split again using stop_position, only stop_positions in [A, C) will be accepted. * Etc. dynamic_source_split has similar semantics: e.g., if a task with source S splits using dynamic_source_split into {P, R} (where P and R must be together equivalent to S), then subsequent progress and proposed_stop_position should be interpreted relative to P, and in a potential subsequent dynamic_source_split into {P', R'}, P' and R' must be together equivalent to P, etc.",
          "$ref": "Position"
        },
        "requestedLeaseDuration": {
          "description": "Amount of time the worker requests for its lease.",
          "type": "string",
          "format": "google-duration"
        },
        "metricUpdates": {
          "type": "array",
          "description": "DEPRECATED in favor of counter_updates.",
          "deprecated": true,
          "items": {
            "$ref": "MetricUpdate"
          }
        },
        "sourceFork": {
          "$ref": "SourceFork",
          "description": "DEPRECATED in favor of dynamic_source_split.",
          "deprecated": true
        }
      },
      "description": "Conveys a worker's progress through the work described by a WorkItem.",
      "id": "WorkItemStatus",
      "type": "object"
    },
    "HotKeyInfo": {
      "properties": {
        "keyTruncated": {
          "description": "If true, then the above key is truncated and cannot be deserialized. This occurs if the key above is populated and the key size is \u003e5MB.",
          "type": "boolean"
        },
        "hotKeyAge": {
          "description": "The age of the hot key measured from when it was first detected.",
          "type": "string",
          "format": "google-duration"
        },
        "key": {
          "type": "string",
          "description": "A detected hot key that is causing limited parallelism. This field will be populated only if the following flag is set to true: \"--enable_hot_key_logging\"."
        }
      },
      "id": "HotKeyInfo",
      "type": "object",
      "description": "Information about a hot key."
    },
    "Position": {
      "description": "Position defines a position within a collection of data. The value can be either the end position, a key (used with ordered collections), a byte offset, or a record index.",
      "id": "Position",
      "type": "object",
      "properties": {
        "shufflePosition": {
          "type": "string",
          "description": "CloudPosition is a base64 encoded BatchShufflePosition (with FIXED sharding)."
        },
        "end": {
          "description": "Position is past all other positions. Also useful for the end position of an unbounded range.",
          "type": "boolean"
        },
        "concatPosition": {
          "description": "CloudPosition is a concat position.",
          "$ref": "ConcatPosition"
        },
        "key": {
          "description": "Position is a string key, ordered lexicographically.",
          "type": "string"
        },
        "byteOffset": {
          "description": "Position is a byte offset.",
          "type": "string",
          "format": "int64"
        },
        "recordIndex": {
          "description": "Position is a record index.",
          "type": "string",
          "format": "int64"
        }
      }
    },
    "GetWorkerStacktracesRequest": {
      "id": "GetWorkerStacktracesRequest",
      "type": "object",
      "description": "Request to get worker stacktraces from debug capture.",
      "properties": {
        "endTime": {
          "description": "The end time for the stacktrace query. The returned stacktraces will be a recent stack trace at or shortly before this time.",
          "type": "string",
          "format": "google-datetime"
        },
        "workerId": {
          "description": "The worker for which to get stacktraces. The returned stacktraces will be for the SDK harness running on this worker.",
          "type": "string"
        }
      }
    },
    "LaunchFlexTemplateResponse": {
      "properties": {
        "job": {
          "$ref": "Job",
          "description": "The job that was launched, if the request was not a dry run and the job was successfully launched."
        }
      },
      "description": "Response to the request to launch a job from Flex Template.",
      "id": "LaunchFlexTemplateResponse",
      "type": "object"
    },
    "TemplateMetadata": {
      "properties": {
        "yamlDefinition": {
          "description": "Optional. For future use.",
          "type": "string"
        },
        "name": {
          "type": "string",
          "description": "Required. The name of the template."
        },
        "description": {
          "description": "Optional. A description of the template.",
          "type": "string"
        },
        "defaultStreamingMode": {
          "description": "Optional. Indicates the default streaming mode for a streaming template. Only valid if both supports_at_least_once and supports_exactly_once are true. Possible values: UNSPECIFIED, EXACTLY_ONCE and AT_LEAST_ONCE",
          "type": "string"
        },
        "streaming": {
          "description": "Optional. Indicates if the template is streaming or not.",
          "type": "boolean"
        },
        "supportsExactlyOnce": {
          "description": "Optional. Indicates if the streaming template supports exactly once mode.",
          "type": "boolean"
        },
        "supportsAtLeastOnce": {
          "type": "boolean",
          "description": "Optional. Indicates if the streaming template supports at least once mode."
        },
        "parameters": {
          "items": {
            "$ref": "ParameterMetadata"
          },
          "description": "The parameters for the template.",
          "type": "array"
        }
      },
      "description": "Metadata describing a template.",
      "id": "TemplateMetadata",
      "type": "object"
    },
    "Source": {
      "id": "Source",
      "type": "object",
      "description": "A source that records can be read and decoded from.",
      "properties": {
        "doesNotNeedSplitting": {
          "description": "Setting this value to true hints to the framework that the source doesn't need splitting, and using SourceSplitRequest on it would yield SOURCE_SPLIT_OUTCOME_USE_CURRENT. E.g. a file splitter may set this to true when splitting a single file into a set of byte ranges of appropriate size, and set this to false when splitting a filepattern into individual files. However, for efficiency, a file splitter may decide to produce file subranges directly from the filepattern to avoid a splitting round-trip. See SourceSplitRequest for an overview of the splitting process. This field is meaningful only in the Source objects populated by the user (e.g. when filling in a DerivedSource). Source objects supplied by the framework to the user don't have this field populated.",
          "type": "boolean"
        },
        "spec": {
          "description": "The source to read from, plus its parameters.",
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object."
          }
        },
        "metadata": {
          "description": "Optionally, metadata for this source can be supplied right away, avoiding a SourceGetMetadataOperation roundtrip (see SourceOperationRequest). This field is meaningful only in the Source objects populated by the user (e.g. when filling in a DerivedSource). Source objects supplied by the framework to the user don't have this field populated.",
          "$ref": "SourceMetadata"
        },
        "baseSpecs": {
          "items": {
            "type": "object",
            "additionalProperties": {
              "description": "Properties of the object.",
              "type": "any"
            }
          },
          "type": "array",
          "description": "While splitting, sources may specify the produced bundles as differences against another source, in order to save backend-side memory and allow bigger jobs. For details, see SourceSplitRequest. To support this use case, the full set of parameters of the source is logically obtained by taking the latest explicitly specified value of each parameter in the order: base_specs (later items win), spec (overrides anything in base_specs)."
        },
        "codec": {
          "type": "object",
          "additionalProperties": {
            "description": "Properties of the object.",
            "type": "any"
          },
          "description": "The codec to use to decode data read from the source."
        }
      }
    },
    "ApproximateReportedProgress": {
      "description": "A progress measurement of a WorkItem by a worker.",
      "id": "ApproximateReportedProgress",
      "type": "object",
      "properties": {
        "remainingParallelism": {
          "description": "Total amount of parallelism in the input of this task that remains, (i.e. can be delegated to this task and any new tasks via dynamic splitting). Always at least 1 for non-finished work items and 0 for finished. \"Amount of parallelism\" refers to how many non-empty parts of the input can be read in parallel. This does not necessarily equal number of records. An input that can be read in parallel down to the individual records is called \"perfectly splittable\". An example of non-perfectly parallelizable input is a block-compressed file format where a block of records has to be read as a whole, but different blocks can be read in parallel. Examples: * If we are processing record #30 (starting at 1) out of 50 in a perfectly splittable 50-record input, this value should be 21 (20 remaining + 1 current). * If we are reading through block 3 in a block-compressed file consisting of 5 blocks, this value should be 3 (since blocks 4 and 5 can be processed in parallel by new tasks via dynamic splitting and the current task remains processing block 3). * If we are reading through the last block in a block-compressed file, or reading or processing the last record in a perfectly splittable input, this value should be 1, because apart from the current task, no additional remainder can be split off.",
          "$ref": "ReportedParallelism"
        },
        "consumedParallelism": {
          "description": "Total amount of parallelism in the portion of input of this task that has already been consumed and is no longer active. In the first two examples above (see remaining_parallelism), the value should be 29 or 2 respectively. The sum of remaining_parallelism and consumed_parallelism should equal the total amount of parallelism in this work item. If specified, must be finite.",
          "$ref": "ReportedParallelism"
        },
        "fractionConsumed": {
          "description": "Completion as fraction of the input consumed, from 0.0 (beginning, nothing consumed), to 1.0 (end of the input, entire input consumed).",
          "type": "number",
          "format": "double"
        },
        "position": {
          "$ref": "Position",
          "description": "A Position within the work to represent a progress."
        }
      }
    },
    "StageSummary": {
      "properties": {
        "metrics": {
          "items": {
            "$ref": "MetricUpdate"
          },
          "type": "array",
          "description": "Metrics for this stage."
        },
        "endTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "End time of this stage. If the work item is completed, this is the actual end time of the stage. Otherwise, it is the predicted end time."
        },
        "stragglerSummary": {
          "$ref": "StragglerSummary",
          "description": "Straggler summary for this stage."
        },
        "stageId": {
          "type": "string",
          "description": "ID of this stage"
        },
        "startTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Start time of this stage."
        },
        "progress": {
          "$ref": "ProgressTimeseries",
          "description": "Progress for this stage. Only applicable to Batch jobs."
        },
        "state": {
          "description": "State of this stage.",
          "type": "string",
          "enumDescriptions": [
            "The component state is unknown or unspecified.",
            "The component is not yet running.",
            "The component is currently running.",
            "The component succeeded.",
            "The component failed.",
            "Execution of the component was cancelled."
          ],
          "enum": [
            "EXECUTION_STATE_UNKNOWN",
            "EXECUTION_STATE_NOT_STARTED",
            "EXECUTION_STATE_RUNNING",
            "EXECUTION_STATE_SUCCEEDED",
            "EXECUTION_STATE_FAILED",
            "EXECUTION_STATE_CANCELLED"
          ]
        }
      },
      "id": "StageSummary",
      "type": "object",
      "description": "Information about a particular execution stage of a job."
    },
    "ExecutionStageState": {
      "properties": {
        "executionStageState": {
          "type": "string",
          "enumDescriptions": [
            "The job's run state isn't specified.",
            "`JOB_STATE_STOPPED` indicates that the job has not yet started to run.",
            "`JOB_STATE_RUNNING` indicates that the job is currently running.",
            "`JOB_STATE_DONE` indicates that the job has successfully completed. This is a terminal job state. This state may be set by the Cloud Dataflow service, as a transition from `JOB_STATE_RUNNING`. It may also be set via a Cloud Dataflow `UpdateJob` call, if the job has not yet reached a terminal state.",
            "`JOB_STATE_FAILED` indicates that the job has failed. This is a terminal job state. This state may only be set by the Cloud Dataflow service, and only as a transition from `JOB_STATE_RUNNING`.",
            "`JOB_STATE_CANCELLED` indicates that the job has been explicitly cancelled. This is a terminal job state. This state may only be set via a Cloud Dataflow `UpdateJob` call, and only if the job has not yet reached another terminal state.",
            "`JOB_STATE_UPDATED` indicates that the job was successfully updated, meaning that this job was stopped and another job was started, inheriting state from this one. This is a terminal job state. This state may only be set by the Cloud Dataflow service, and only as a transition from `JOB_STATE_RUNNING`.",
            "`JOB_STATE_DRAINING` indicates that the job is in the process of draining. A draining job has stopped pulling from its input sources and is processing any data that remains in-flight. This state may be set via a Cloud Dataflow `UpdateJob` call, but only as a transition from `JOB_STATE_RUNNING`. Jobs that are draining may only transition to `JOB_STATE_DRAINED`, `JOB_STATE_CANCELLED`, or `JOB_STATE_FAILED`.",
            "`JOB_STATE_DRAINED` indicates that the job has been drained. A drained job terminated by stopping pulling from its input sources and processing any data that remained in-flight when draining was requested. This state is a terminal state, may only be set by the Cloud Dataflow service, and only as a transition from `JOB_STATE_DRAINING`.",
            "`JOB_STATE_PENDING` indicates that the job has been created but is not yet running. Jobs that are pending may only transition to `JOB_STATE_RUNNING`, or `JOB_STATE_FAILED`.",
            "`JOB_STATE_CANCELLING` indicates that the job has been explicitly cancelled and is in the process of stopping. Jobs that are cancelling may only transition to `JOB_STATE_CANCELLED` or `JOB_STATE_FAILED`.",
            "`JOB_STATE_QUEUED` indicates that the job has been created but is being delayed until launch. Jobs that are queued may only transition to `JOB_STATE_PENDING` or `JOB_STATE_CANCELLED`.",
            "`JOB_STATE_RESOURCE_CLEANING_UP` indicates that the batch job's associated resources are currently being cleaned up after a successful run. Currently, this is an opt-in feature, please reach out to Cloud support team if you are interested.",
            "`JOB_STATE_PAUSING` is not implemented yet.",
            "`JOB_STATE_PAUSED` is not implemented yet."
          ],
          "enum": [
            "JOB_STATE_UNKNOWN",
            "JOB_STATE_STOPPED",
            "JOB_STATE_RUNNING",
            "JOB_STATE_DONE",
            "JOB_STATE_FAILED",
            "JOB_STATE_CANCELLED",
            "JOB_STATE_UPDATED",
            "JOB_STATE_DRAINING",
            "JOB_STATE_DRAINED",
            "JOB_STATE_PENDING",
            "JOB_STATE_CANCELLING",
            "JOB_STATE_QUEUED",
            "JOB_STATE_RESOURCE_CLEANING_UP",
            "JOB_STATE_PAUSING",
            "JOB_STATE_PAUSED"
          ],
          "description": "Executions stage states allow the same set of values as JobState."
        },
        "executionStageName": {
          "description": "The name of the execution stage.",
          "type": "string"
        },
        "currentStateTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "The time at which the stage transitioned to this state."
        }
      },
      "id": "ExecutionStageState",
      "type": "object",
      "description": "A message describing the state of a particular execution stage."
    },
    "PerStepNamespaceMetrics": {
      "properties": {
        "originalStep": {
          "type": "string",
          "description": "The original system name of the unfused step that these metrics are reported from."
        },
        "metricValues": {
          "type": "array",
          "description": "Optional. Metrics that are recorded for this namespace and unfused step.",
          "items": {
            "$ref": "MetricValue"
          }
        },
        "metricsNamespace": {
          "type": "string",
          "description": "The namespace of these metrics on the worker."
        }
      },
      "id": "PerStepNamespaceMetrics",
      "type": "object",
      "description": "Metrics for a particular unfused step and namespace. A metric is uniquely identified by the `metrics_namespace`, `original_step`, `metric name` and `metric_labels`."
    },
    "ResourceUtilizationReport": {
      "description": "Worker metrics exported from workers. This contains resource utilization metrics accumulated from a variety of sources. For more information, see go/df-resource-signals.",
      "id": "ResourceUtilizationReport",
      "type": "object",
      "properties": {
        "memoryInfo": {
          "type": "array",
          "description": "Memory utilization samples.",
          "items": {
            "$ref": "MemInfo"
          }
        },
        "cpuTime": {
          "items": {
            "$ref": "CPUTime"
          },
          "description": "CPU utilization samples.",
          "type": "array"
        },
        "gpuUsage": {
          "type": "array",
          "description": "Optional. GPU usage samples.",
          "items": {
            "$ref": "GPUUsage"
          }
        },
        "containers": {
          "type": "object",
          "additionalProperties": {
            "$ref": "ResourceUtilizationReport"
          },
          "description": "Per container information. Key: container name."
        }
      }
    },
    "HotKeyDebuggingInfo": {
      "properties": {
        "detectedHotKeys": {
          "description": "Debugging information for each detected hot key. Keyed by a hash of the key.",
          "type": "object",
          "additionalProperties": {
            "$ref": "HotKeyInfo"
          }
        }
      },
      "description": "Information useful for debugging a hot key detection.",
      "id": "HotKeyDebuggingInfo",
      "type": "object"
    },
    "FloatingPointList": {
      "id": "FloatingPointList",
      "type": "object",
      "description": "A metric value representing a list of floating point numbers.",
      "properties": {
        "elements": {
          "type": "array",
          "description": "Elements of the list.",
          "items": {
            "type": "number",
            "format": "double"
          }
        }
      }
    },
    "CounterUpdate": {
      "properties": {
        "nameAndKind": {
          "$ref": "NameAndKind",
          "description": "Counter name and aggregation type."
        },
        "distribution": {
          "description": "Distribution data",
          "$ref": "DistributionUpdate"
        },
        "floatingPoint": {
          "description": "Floating point value for Sum, Max, Min.",
          "type": "number",
          "format": "double"
        },
        "cumulative": {
          "description": "True if this counter is reported as the total cumulative aggregate value accumulated since the worker started working on this WorkItem. By default this is false, indicating that this counter is reported as a delta.",
          "type": "boolean"
        },
        "integerList": {
          "description": "List of integers, for Set.",
          "$ref": "IntegerList"
        },
        "floatingPointList": {
          "$ref": "FloatingPointList",
          "description": "List of floating point numbers, for Set."
        },
        "boolean": {
          "type": "boolean",
          "description": "Boolean value for And, Or."
        },
        "floatingPointMean": {
          "description": "Floating point mean aggregation value for Mean.",
          "$ref": "FloatingPointMean"
        },
        "integer": {
          "$ref": "SplitInt64",
          "description": "Integer value for Sum, Max, Min."
        },
        "stringList": {
          "description": "List of strings, for Set.",
          "$ref": "StringList"
        },
        "shortId": {
          "description": "The service-generated short identifier for this counter. The short_id -\u003e (name, metadata) mapping is constant for the lifetime of a job.",
          "type": "string",
          "format": "int64"
        },
        "internal": {
          "description": "Value for internally-defined counters used by the Dataflow service.",
          "type": "any"
        },
        "integerGauge": {
          "description": "Gauge data",
          "$ref": "IntegerGauge"
        },
        "structuredNameAndMetadata": {
          "description": "Counter structured name and metadata.",
          "$ref": "CounterStructuredNameAndMetadata"
        },
        "integerMean": {
          "description": "Integer mean aggregation value for Mean.",
          "$ref": "IntegerMean"
        },
        "boundedTrie": {
          "$ref": "BoundedTrie",
          "description": "Bounded trie data"
        }
      },
      "id": "CounterUpdate",
      "type": "object",
      "description": "An update to a Counter sent from a worker. Next ID: 17"
    },
    "Straggler": {
      "properties": {
        "batchStraggler": {
          "$ref": "StragglerInfo",
          "description": "Batch straggler identification and debugging information."
        },
        "streamingStraggler": {
          "$ref": "StreamingStragglerInfo",
          "description": "Streaming straggler identification and debugging information."
        }
      },
      "description": "Information for a straggler.",
      "id": "Straggler",
      "type": "object"
    },
    "CounterStructuredName": {
      "properties": {
        "workerId": {
          "type": "string",
          "description": "ID of a particular worker."
        },
        "originalStepName": {
          "description": "System generated name of the original step in the user's graph, before optimization.",
          "type": "string"
        },
        "originNamespace": {
          "type": "string",
          "description": "A string containing a more specific namespace of the counter's origin."
        },
        "inputIndex": {
          "description": "Index of an input collection that's being read from/written to as a side input. The index identifies a step's side inputs starting by 1 (e.g. the first side input has input_index 1, the third has input_index 3). Side inputs are identified by a pair of (original_step_name, input_index). This field helps uniquely identify them.",
          "type": "integer",
          "format": "int32"
        },
        "originalRequestingStepName": {
          "description": "The step name requesting an operation, such as GBK. I.e. the ParDo causing a read/write from shuffle to occur, or a read from side inputs.",
          "type": "string"
        },
        "origin": {
          "type": "string",
          "enumDescriptions": [
            "Counter was created by the Dataflow system.",
            "Counter was created by the user."
          ],
          "enum": [
            "SYSTEM",
            "USER"
          ],
          "description": "One of the standard Origins defined above."
        },
        "portion": {
          "description": "Portion of this counter, either key or value.",
          "type": "string",
          "enumDescriptions": [
            "Counter portion has not been set.",
            "Counter reports a key.",
            "Counter reports a value."
          ],
          "enum": [
            "ALL",
            "KEY",
            "VALUE"
          ]
        },
        "componentStepName": {
          "type": "string",
          "description": "Name of the optimized step being executed by the workers."
        },
        "name": {
          "description": "Counter name. Not necessarily globally-unique, but unique within the context of the other fields. Required.",
          "type": "string"
        },
        "executionStepName": {
          "type": "string",
          "description": "Name of the stage. An execution step contains multiple component steps."
        }
      },
      "id": "CounterStructuredName",
      "type": "object",
      "description": "Identifies a counter within a per-job namespace. Counters whose structured names are the same get merged into a single value for the job."
    },
    "WorkerMessageCode": {
      "id": "WorkerMessageCode",
      "type": "object",
      "description": "A message code is used to report status and error messages to the service. The message codes are intended to be machine readable. The service will take care of translating these into user understandable messages if necessary. Example use cases: 1. Worker processes reporting successful startup. 2. Worker processes reporting specific errors (e.g. package staging failure).",
      "properties": {
        "code": {
          "type": "string",
          "description": "The code is a string intended for consumption by a machine that identifies the type of message being sent. Examples: 1. \"HARNESS_STARTED\" might be used to indicate the worker harness has started. 2. \"GCS_DOWNLOAD_ERROR\" might be used to indicate an error downloading a Cloud Storage file as part of the boot process of one of the worker containers. This is a string and not an enum to make it easy to add new codes without waiting for an API change."
        },
        "parameters": {
          "description": "Parameters contains specific information about the code. This is a struct to allow parameters of different types. Examples: 1. For a \"HARNESS_STARTED\" message parameters might provide the name of the worker and additional data like timing information. 2. For a \"GCS_DOWNLOAD_ERROR\" parameters might contain fields listing the Cloud Storage objects being downloaded and fields containing errors. In general complex data structures should be avoided. If a worker needs to send a specific and complicated data structure then please consider defining a new proto and adding it to the data oneof in WorkerMessageResponse. Conventions: Parameters should only be used for information that isn't typically passed as a label. hostname and other worker identifiers should almost always be passed as labels since they will be included on most messages.",
          "type": "object",
          "additionalProperties": {
            "description": "Properties of the object.",
            "type": "any"
          }
        }
      }
    },
    "SdkBug": {
      "properties": {
        "type": {
          "type": "string",
          "enumDescriptions": [
            "Unknown issue with this SDK.",
            "Catch-all for SDK bugs that don't fit in the below categories.",
            "Using this version of the SDK may result in degraded performance.",
            "Using this version of the SDK may cause data loss."
          ],
          "enum": [
            "TYPE_UNSPECIFIED",
            "GENERAL",
            "PERFORMANCE",
            "DATALOSS"
          ],
          "readOnly": true,
          "description": "Output only. Describes the impact of this SDK bug."
        },
        "severity": {
          "type": "string",
          "enumDescriptions": [
            "A bug of unknown severity.",
            "A minor bug that that may reduce reliability or performance for some jobs. Impact will be minimal or non-existent for most jobs.",
            "A bug that has some likelihood of causing performance degradation, data loss, or job failures.",
            "A bug with extremely significant impact. Jobs may fail erroneously, performance may be severely degraded, and data loss may be very likely."
          ],
          "enum": [
            "SEVERITY_UNSPECIFIED",
            "NOTICE",
            "WARNING",
            "SEVERE"
          ],
          "readOnly": true,
          "description": "Output only. How severe the SDK bug is."
        },
        "uri": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. Link to more information on the bug."
        }
      },
      "id": "SdkBug",
      "type": "object",
      "description": "A bug found in the Dataflow SDK."
    },
    "JobExecutionDetails": {
      "properties": {
        "stages": {
          "items": {
            "$ref": "StageSummary"
          },
          "description": "The stages of the job execution.",
          "type": "array"
        },
        "nextPageToken": {
          "type": "string",
          "description": "If present, this response does not contain all requested tasks. To obtain the next page of results, repeat the request with page_token set to this value."
        }
      },
      "description": "Information about the execution of a job.",
      "id": "JobExecutionDetails",
      "type": "object"
    }
  },
  "revision": "20260412",
  "ownerName": "Google",
  "version": "v1b3",
  "endpoints": [
    {
      "endpointUrl": "https://dataflow.africa-south1.rep.googleapis.com/",
      "location": "africa-south1",
      "description": "Regional Endpoint"
    },
    {
      "endpointUrl": "https://dataflow.asia-east1.rep.googleapis.com/",
      "description": "Regional Endpoint",
      "location": "asia-east1"
    },
    {
      "endpointUrl": "https://dataflow.asia-east2.rep.googleapis.com/",
      "location": "asia-east2",
      "description": "Regional Endpoint"
    },
    {
      "description": "Regional Endpoint",
      "location": "asia-northeast1",
      "endpointUrl": "https://dataflow.asia-northeast1.rep.googleapis.com/"
    },
    {
      "location": "asia-northeast2",
      "description": "Regional Endpoint",
      "endpointUrl": "https://dataflow.asia-northeast2.rep.googleapis.com/"
    },
    {
      "endpointUrl": "https://dataflow.asia-northeast3.rep.googleapis.com/",
      "description": "Regional Endpoint",
      "location": "asia-northeast3"
    },
    {
      "location": "asia-south1",
      "description": "Regional Endpoint",
      "endpointUrl": "https://dataflow.asia-south1.rep.googleapis.com/"
    },
    {
      "location": "asia-south2",
      "description": "Regional Endpoint",
      "endpointUrl": "https://dataflow.asia-south2.rep.googleapis.com/"
    },
    {
      "endpointUrl": "https://dataflow.asia-southeast1.rep.googleapis.com/",
      "location": "asia-southeast1",
      "description": "Regional Endpoint"
    },
    {
      "location": "asia-southeast2",
      "description": "Regional Endpoint",
      "endpointUrl": "https://dataflow.asia-southeast2.rep.googleapis.com/"
    },
    {
      "location": "asia-southeast3",
      "description": "Regional Endpoint",
      "endpointUrl": "https://dataflow.asia-southeast3.rep.googleapis.com/"
    },
    {
      "location": "australia-southeast1",
      "description": "Regional Endpoint",
      "endpointUrl": "https://dataflow.australia-southeast1.rep.googleapis.com/"
    },
    {
      "description": "Regional Endpoint",
      "location": "australia-southeast2",
      "endpointUrl": "https://dataflow.australia-southeast2.rep.googleapis.com/"
    },
    {
      "description": "Regional Endpoint",
      "location": "europe-central2",
      "endpointUrl": "https://dataflow.europe-central2.rep.googleapis.com/"
    },
    {
      "endpointUrl": "https://dataflow.europe-north1.rep.googleapis.com/",
      "description": "Regional Endpoint",
      "location": "europe-north1"
    },
    {
      "description": "Regional Endpoint",
      "location": "europe-north2",
      "endpointUrl": "https://dataflow.europe-north2.rep.googleapis.com/"
    },
    {
      "description": "Regional Endpoint",
      "location": "europe-southwest1",
      "endpointUrl": "https://dataflow.europe-southwest1.rep.googleapis.com/"
    },
    {
      "location": "europe-west1",
      "description": "Regional Endpoint",
      "endpointUrl": "https://dataflow.europe-west1.rep.googleapis.com/"
    },
    {
      "description": "Regional Endpoint",
      "location": "europe-west10",
      "endpointUrl": "https://dataflow.europe-west10.rep.googleapis.com/"
    },
    {
      "location": "europe-west12",
      "description": "Regional Endpoint",
      "endpointUrl": "https://dataflow.europe-west12.rep.googleapis.com/"
    },
    {
      "description": "Regional Endpoint",
      "location": "europe-west2",
      "endpointUrl": "https://dataflow.europe-west2.rep.googleapis.com/"
    },
    {
      "description": "Regional Endpoint",
      "location": "europe-west3",
      "endpointUrl": "https://dataflow.europe-west3.rep.googleapis.com/"
    },
    {
      "description": "Regional Endpoint",
      "location": "europe-west4",
      "endpointUrl": "https://dataflow.europe-west4.rep.googleapis.com/"
    },
    {
      "description": "Regional Endpoint",
      "location": "europe-west6",
      "endpointUrl": "https://dataflow.europe-west6.rep.googleapis.com/"
    },
    {
      "description": "Regional Endpoint",
      "location": "europe-west8",
      "endpointUrl": "https://dataflow.europe-west8.rep.googleapis.com/"
    },
    {
      "description": "Regional Endpoint",
      "location": "europe-west9",
      "endpointUrl": "https://dataflow.europe-west9.rep.googleapis.com/"
    },
    {
      "endpointUrl": "https://dataflow.me-central1.rep.googleapis.com/",
      "location": "me-central1",
      "description": "Regional Endpoint"
    },
    {
      "endpointUrl": "https://dataflow.me-central2.rep.googleapis.com/",
      "location": "me-central2",
      "description": "Regional Endpoint"
    },
    {
      "endpointUrl": "https://dataflow.me-west1.rep.googleapis.com/",
      "location": "me-west1",
      "description": "Regional Endpoint"
    },
    {
      "endpointUrl": "https://dataflow.northamerica-northeast1.rep.googleapis.com/",
      "location": "northamerica-northeast1",
      "description": "Regional Endpoint"
    },
    {
      "description": "Regional Endpoint",
      "location": "northamerica-northeast2",
      "endpointUrl": "https://dataflow.northamerica-northeast2.rep.googleapis.com/"
    },
    {
      "endpointUrl": "https://dataflow.northamerica-south1.rep.googleapis.com/",
      "location": "northamerica-south1",
      "description": "Regional Endpoint"
    },
    {
      "endpointUrl": "https://dataflow.southamerica-east1.rep.googleapis.com/",
      "location": "southamerica-east1",
      "description": "Regional Endpoint"
    },
    {
      "endpointUrl": "https://dataflow.southamerica-west1.rep.googleapis.com/",
      "location": "southamerica-west1",
      "description": "Regional Endpoint"
    },
    {
      "endpointUrl": "https://dataflow.us-central1.rep.googleapis.com/",
      "location": "us-central1",
      "description": "Regional Endpoint"
    },
    {
      "location": "us-central2",
      "description": "Regional Endpoint",
      "endpointUrl": "https://dataflow.us-central2.rep.googleapis.com/"
    },
    {
      "endpointUrl": "https://dataflow.us-east1.rep.googleapis.com/",
      "description": "Regional Endpoint",
      "location": "us-east1"
    },
    {
      "description": "Regional Endpoint",
      "location": "us-east4",
      "endpointUrl": "https://dataflow.us-east4.rep.googleapis.com/"
    },
    {
      "location": "us-east5",
      "description": "Regional Endpoint",
      "endpointUrl": "https://dataflow.us-east5.rep.googleapis.com/"
    },
    {
      "endpointUrl": "https://dataflow.us-east7.rep.googleapis.com/",
      "location": "us-east7",
      "description": "Regional Endpoint"
    },
    {
      "endpointUrl": "https://dataflow.us-south1.rep.googleapis.com/",
      "location": "us-south1",
      "description": "Regional Endpoint"
    },
    {
      "location": "us-west1",
      "description": "Regional Endpoint",
      "endpointUrl": "https://dataflow.us-west1.rep.googleapis.com/"
    },
    {
      "endpointUrl": "https://dataflow.us-west2.rep.googleapis.com/",
      "location": "us-west2",
      "description": "Regional Endpoint"
    },
    {
      "description": "Regional Endpoint",
      "location": "us-west3",
      "endpointUrl": "https://dataflow.us-west3.rep.googleapis.com/"
    },
    {
      "location": "us-west4",
      "description": "Regional Endpoint",
      "endpointUrl": "https://dataflow.us-west4.rep.googleapis.com/"
    },
    {
      "description": "Regional Endpoint",
      "location": "us-west8",
      "endpointUrl": "https://dataflow.us-west8.rep.googleapis.com/"
    }
  ],
  "auth": {
    "oauth2": {
      "scopes": {
        "https://www.googleapis.com/auth/cloud-platform": {
          "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
        },
        "https://www.googleapis.com/auth/compute": {
          "description": "View and manage your Google Compute Engine resources"
        }
      }
    }
  },
  "mtlsRootUrl": "https://dataflow.mtls.googleapis.com/",
  "kind": "discovery#restDescription",
  "servicePath": ""
}
