{
  "batchPath": "batch",
  "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/dataproc.read-only": {
          "description": "See your Google Cloud Dataproc data and the email address of your Google Account"
        },
        "https://www.googleapis.com/auth/dataproc": {
          "description": "See, edit, configure, and delete your Google Cloud Dataproc data and see the email address for your Google Account"
        }
      }
    }
  },
  "id": "dataproc:v1",
  "kind": "discovery#restDescription",
  "servicePath": "",
  "ownerDomain": "google.com",
  "revision": "20260820",
  "mtlsRootUrl": "https://dataproc.mtls.googleapis.com/",
  "endpoints": [
    {
      "endpointUrl": "https://dataproc.europe-west3.rep.googleapis.com/",
      "description": "Regional Endpoint",
      "location": "europe-west3"
    },
    {
      "location": "europe-west9",
      "description": "Regional Endpoint",
      "endpointUrl": "https://dataproc.europe-west9.rep.googleapis.com/"
    },
    {
      "description": "Regional Endpoint",
      "endpointUrl": "https://dataproc.us-central1.rep.googleapis.com/",
      "location": "us-central1"
    },
    {
      "description": "Regional Endpoint",
      "endpointUrl": "https://dataproc.us-central2.rep.googleapis.com/",
      "location": "us-central2"
    },
    {
      "description": "Regional Endpoint",
      "endpointUrl": "https://dataproc.us-east1.rep.googleapis.com/",
      "location": "us-east1"
    },
    {
      "endpointUrl": "https://dataproc.us-east4.rep.googleapis.com/",
      "description": "Regional Endpoint",
      "location": "us-east4"
    },
    {
      "endpointUrl": "https://dataproc.us-east5.rep.googleapis.com/",
      "location": "us-east5",
      "description": "Regional Endpoint"
    },
    {
      "description": "Regional Endpoint",
      "endpointUrl": "https://dataproc.us-east7.rep.googleapis.com/",
      "location": "us-east7"
    },
    {
      "endpointUrl": "https://dataproc.us-south1.rep.googleapis.com/",
      "description": "Regional Endpoint",
      "location": "us-south1"
    },
    {
      "location": "us-west1",
      "endpointUrl": "https://dataproc.us-west1.rep.googleapis.com/",
      "description": "Regional Endpoint"
    },
    {
      "location": "us-west2",
      "description": "Regional Endpoint",
      "endpointUrl": "https://dataproc.us-west2.rep.googleapis.com/"
    },
    {
      "description": "Regional Endpoint",
      "endpointUrl": "https://dataproc.us-west3.rep.googleapis.com/",
      "location": "us-west3"
    },
    {
      "location": "us-west4",
      "description": "Regional Endpoint",
      "endpointUrl": "https://dataproc.us-west4.rep.googleapis.com/"
    },
    {
      "description": "Regional Endpoint",
      "endpointUrl": "https://dataproc.us-west8.rep.googleapis.com/",
      "location": "us-west8"
    },
    {
      "location": "europe-west8",
      "description": "Regional Endpoint",
      "endpointUrl": "https://dataproc.europe-west8.rep.googleapis.com/"
    },
    {
      "location": "asia-south1",
      "description": "Regional Endpoint",
      "endpointUrl": "https://dataproc.asia-south1.rep.googleapis.com/"
    },
    {
      "location": "asia-south2",
      "description": "Regional Endpoint",
      "endpointUrl": "https://dataproc.asia-south2.rep.googleapis.com/"
    },
    {
      "location": "me-central2",
      "description": "Regional Endpoint",
      "endpointUrl": "https://dataproc.me-central2.rep.googleapis.com/"
    }
  ],
  "rootUrl": "https://dataproc.googleapis.com/",
  "name": "dataproc",
  "schemas": {
    "RepairClusterRequest": {
      "properties": {
        "clusterUuid": {
          "description": "Optional. Specifying the cluster_uuid means the RPC will fail (with error NOT_FOUND) if a cluster with the specified UUID does not exist.",
          "type": "string"
        },
        "parentOperationId": {
          "description": "Optional. operation id of the parent operation sending the repair request",
          "type": "string"
        },
        "cluster": {
          "description": "Optional. Cluster to be repaired",
          "$ref": "ClusterToRepair"
        },
        "gracefulDecommissionTimeout": {
          "format": "google-duration",
          "description": "Optional. Timeout for graceful YARN decommissioning. Graceful decommissioning facilitates the removal of cluster nodes without interrupting jobs in progress. The timeout specifies the amount of time to wait for jobs finish before forcefully removing nodes. The default timeout is 0 for forceful decommissioning, and the maximum timeout period is 1 day. (see JSON Mapping—Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).graceful_decommission_timeout is supported in image versions 1.2+.",
          "type": "string"
        },
        "requestId": {
          "description": "Optional. A unique ID used to identify the request. If the server receives two RepairClusterRequests with the same ID, the second request is ignored, and the first google.longrunning.Operation created and stored in the backend is returned.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.",
          "type": "string"
        },
        "nodePools": {
          "type": "array",
          "description": "Optional. Node pools and corresponding repair action to be taken. All node pools should be unique in this request. i.e. Multiple entries for the same node pool id are not allowed.",
          "items": {
            "$ref": "NodePool"
          }
        },
        "dataprocSuperUser": {
          "type": "boolean",
          "description": "Optional. Whether the request is submitted by a super user. If true, IAM will check 'dataproc.clusters.repair' permission instead of 'dataproc.clusters.update' permission. This is to give Dataproc superuser the ability to repair clusters without granting the overly broad update permission."
        }
      },
      "description": "A request to repair a cluster.",
      "type": "object",
      "id": "RepairClusterRequest"
    },
    "ResizeNodeGroupRequest": {
      "properties": {
        "gracefulDecommissionTimeout": {
          "format": "google-duration",
          "type": "string",
          "description": "Optional. Timeout for graceful YARN decommissioning. Graceful decommissioning (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/scaling-clusters#graceful_decommissioning) allows the removal of nodes from the Compute Engine node group without interrupting jobs in progress. This timeout specifies how long to wait for jobs in progress to finish before forcefully removing nodes (and potentially interrupting jobs). Default timeout is 0 (for forceful decommission), and the maximum allowed timeout is 1 day. (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).Only supported on Dataproc image versions 1.2 and higher."
        },
        "size": {
          "description": "Required. The number of running instances for the node group to maintain. The group adds or removes instances to maintain the number of instances specified by this parameter.",
          "type": "integer",
          "format": "int32"
        },
        "parentOperationId": {
          "description": "Optional. operation id of the parent operation sending the resize request",
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "description": "Optional. A unique ID used to identify the request. If the server receives two ResizeNodeGroupRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.ResizeNodeGroupRequests) with the same ID, the second request is ignored and the first google.longrunning.Operation created and stored in the backend is returned.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters."
        }
      },
      "type": "object",
      "id": "ResizeNodeGroupRequest",
      "description": "A request to resize a node group."
    },
    "SearchSparkApplicationJobsResponse": {
      "type": "object",
      "id": "SearchSparkApplicationJobsResponse",
      "properties": {
        "nextPageToken": {
          "type": "string",
          "description": "This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSparkApplicationJobsRequest."
        },
        "sparkApplicationJobs": {
          "type": "array",
          "items": {
            "$ref": "JobData"
          },
          "readOnly": true,
          "description": "Output only. Data corresponding to a spark job."
        }
      },
      "description": "A list of Jobs associated with a Spark Application."
    },
    "DataprocMetricConfig": {
      "properties": {
        "metrics": {
          "description": "Required. Metrics sources to enable.",
          "items": {
            "$ref": "Metric"
          },
          "type": "array"
        }
      },
      "type": "object",
      "description": "Metric config.",
      "id": "DataprocMetricConfig"
    },
    "ClusterStatus": {
      "id": "ClusterStatus",
      "type": "object",
      "properties": {
        "detail": {
          "description": "Optional. Details of cluster's state.",
          "type": "string"
        },
        "substate": {
          "enumDescriptions": [
            "The cluster substate is unknown.",
            "The cluster is known to be in an unhealthy state (for example, critical daemons are not running or HDFS capacity is exhausted).Applies to RUNNING state.",
            "The agent-reported status is out of date (may occur if the service loses communication with the Agent).Applies to RUNNING state."
          ],
          "enum": [
            "UNSPECIFIED",
            "UNHEALTHY",
            "STALE_STATUS"
          ],
          "readOnly": true,
          "description": "Output only. Additional state information that includes status reported by the agent.",
          "type": "string"
        },
        "state": {
          "type": "string",
          "description": "Output only. The cluster's state.",
          "enum": [
            "UNKNOWN",
            "CREATING",
            "RUNNING",
            "ERROR",
            "ERROR_DUE_TO_UPDATE",
            "DELETING",
            "UPDATING",
            "STOPPING",
            "STOPPED",
            "STARTING",
            "REPAIRING",
            "SCHEDULED"
          ],
          "enumDescriptions": [
            "The cluster state is unknown.",
            "The cluster is being created and set up. It is not ready for use.",
            "The cluster is currently running and healthy. It is ready for use.Note: The cluster state changes from \"creating\" to \"running\" status after the master node(s), first two primary worker nodes (and the last primary worker node if primary workers \u003e 2) are running.",
            "The cluster encountered an error. It is not ready for use.",
            "The cluster has encountered an error while being updated. Jobs can be submitted to the cluster, but the cluster cannot be updated.",
            "The cluster is being deleted. It cannot be used.",
            "The cluster is being updated. It continues to accept and process jobs.",
            "The cluster is being stopped. It cannot be used.",
            "The cluster is currently stopped. It is not ready for use.",
            "The cluster is being started. It is not ready for use.",
            "The cluster is being repaired. It is not ready for use.",
            "Cluster creation is currently waiting for resources to be available. Once all resources are available, it will transition to CREATING and then RUNNING."
          ],
          "readOnly": true
        },
        "stateStartTime": {
          "readOnly": true,
          "description": "Output only. Time when this state was entered (see JSON representation of Timestamp (https://developers.google.com/protocol-buffers/docs/proto3#json)).",
          "format": "google-datetime",
          "type": "string"
        }
      },
      "description": "The status of a cluster and its instances."
    },
    "GkeNodePoolTarget": {
      "description": "GKE node pools that Dataproc workloads run on.",
      "type": "object",
      "properties": {
        "nodePoolConfig": {
          "description": "Input only. The configuration for the GKE node pool.If specified, Dataproc attempts to create a node pool with the specified shape. If one with the same name already exists, it is verified against all specified fields. If a field differs, the virtual cluster creation will fail.If omitted, any node pool with the specified name is used. If a node pool with the specified name does not exist, Dataproc create a node pool with default values.This is an input only field. It will not be returned by the API.",
          "$ref": "GkeNodePoolConfig"
        },
        "nodePool": {
          "description": "Required. The target GKE node pool. Format: 'projects/{project}/locations/{location}/clusters/{cluster}/nodePools/{node_pool}'",
          "type": "string"
        },
        "roles": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "ROLE_UNSPECIFIED",
              "DEFAULT",
              "CONTROLLER",
              "SPARK_DRIVER",
              "SPARK_EXECUTOR"
            ],
            "enumDescriptions": [
              "Role is unspecified.",
              "At least one node pool must have the DEFAULT role. Work assigned to a role that is not associated with a node pool is assigned to the node pool with the DEFAULT role. For example, work assigned to the CONTROLLER role will be assigned to the node pool with the DEFAULT role if no node pool has the CONTROLLER role.",
              "Run work associated with the Dataproc control plane (for example, controllers and webhooks). Very low resource requirements.",
              "Run work associated with a Spark driver of a job.",
              "Run work associated with a Spark executor of a job."
            ]
          },
          "description": "Required. The roles associated with the GKE node pool."
        }
      },
      "id": "GkeNodePoolTarget"
    },
    "StageShufflePushReadMetrics": {
      "id": "StageShufflePushReadMetrics",
      "properties": {
        "localMergedBytesRead": {
          "type": "string",
          "format": "int64"
        },
        "remoteMergedReqsDuration": {
          "type": "string",
          "format": "int64"
        },
        "localMergedBlocksFetched": {
          "format": "int64",
          "type": "string"
        },
        "remoteMergedBlocksFetched": {
          "type": "string",
          "format": "int64"
        },
        "mergedFetchFallbackCount": {
          "format": "int64",
          "type": "string"
        },
        "remoteMergedBytesRead": {
          "type": "string",
          "format": "int64"
        },
        "remoteMergedChunksFetched": {
          "format": "int64",
          "type": "string"
        },
        "corruptMergedBlockChunks": {
          "type": "string",
          "format": "int64"
        },
        "localMergedChunksFetched": {
          "type": "string",
          "format": "int64"
        }
      },
      "type": "object"
    },
    "TaskMetrics": {
      "description": "Executor Task Metrics",
      "type": "object",
      "properties": {
        "outputMetrics": {
          "$ref": "OutputMetrics"
        },
        "inputMetrics": {
          "$ref": "InputMetrics"
        },
        "memoryBytesSpilled": {
          "format": "int64",
          "type": "string"
        },
        "jvmGcTimeMillis": {
          "format": "int64",
          "type": "string"
        },
        "executorDeserializeCpuTimeNanos": {
          "format": "int64",
          "type": "string"
        },
        "peakExecutionMemoryBytes": {
          "format": "int64",
          "type": "string"
        },
        "executorRunTimeMillis": {
          "type": "string",
          "format": "int64"
        },
        "executorDeserializeTimeMillis": {
          "format": "int64",
          "type": "string"
        },
        "shuffleReadMetrics": {
          "$ref": "ShuffleReadMetrics"
        },
        "diskBytesSpilled": {
          "format": "int64",
          "type": "string"
        },
        "executorCpuTimeNanos": {
          "format": "int64",
          "type": "string"
        },
        "shuffleWriteMetrics": {
          "$ref": "ShuffleWriteMetrics"
        },
        "resultSize": {
          "format": "int64",
          "type": "string"
        },
        "resultSerializationTimeMillis": {
          "format": "int64",
          "type": "string"
        }
      },
      "id": "TaskMetrics"
    },
    "InputQuantileMetrics": {
      "id": "InputQuantileMetrics",
      "properties": {
        "bytesRead": {
          "$ref": "Quantiles"
        },
        "recordsRead": {
          "$ref": "Quantiles"
        }
      },
      "type": "object"
    },
    "Empty": {
      "properties": {},
      "type": "object",
      "id": "Empty",
      "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } "
    },
    "CohortInfo": {
      "type": "object",
      "properties": {
        "cohortSource": {
          "description": "Output only. Source of the cohort.",
          "type": "string",
          "enumDescriptions": [
            "Cohort source is unspecified.",
            "Indicates that the cohort was explicitly provided.",
            "Composed from the labels coming from Airflow/Composer."
          ],
          "enum": [
            "COHORT_SOURCE_UNSPECIFIED",
            "USER_PROVIDED",
            "AIRFLOW"
          ],
          "readOnly": true
        },
        "cohort": {
          "description": "Output only. Final cohort that was used to tune the workload.",
          "readOnly": true,
          "type": "string"
        }
      },
      "id": "CohortInfo",
      "description": "Information about the cohort that the workload belongs to."
    },
    "JobReference": {
      "id": "JobReference",
      "description": "Encapsulates the full scoping used to reference a job.",
      "properties": {
        "projectId": {
          "type": "string",
          "description": "Optional. The ID of the Google Cloud Platform project that the job belongs to. If specified, must match the request project ID."
        },
        "jobId": {
          "description": "Optional. The job ID, which must be unique within the project.The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or hyphens (-). The maximum length is 100 characters.If not specified by the caller, the job ID will be provided by the server.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "SparkSqlBatch": {
      "type": "object",
      "properties": {
        "jarFileUris": {
          "items": {
            "type": "string"
          },
          "description": "Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH.",
          "type": "array"
        },
        "queryVariables": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Optional. Mapping of query variable names to values (equivalent to the Spark SQL command: SET name=\"value\";)."
        },
        "queryFileUri": {
          "type": "string",
          "description": "Required. The HCFS URI of the script that contains Spark SQL queries to execute."
        }
      },
      "id": "SparkSqlBatch",
      "description": "A configuration for running Apache Spark SQL (https://spark.apache.org/sql/) queries as a batch workload."
    },
    "SearchSessionSparkApplicationStageAttemptTasksResponse": {
      "id": "SearchSessionSparkApplicationStageAttemptTasksResponse",
      "properties": {
        "sparkApplicationStageAttemptTasks": {
          "description": "Output only. Data corresponding to tasks created by spark.",
          "items": {
            "$ref": "TaskData"
          },
          "type": "array",
          "readOnly": true
        },
        "nextPageToken": {
          "description": "This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSessionSparkApplicationStageAttemptTasksRequest.",
          "type": "string"
        }
      },
      "description": "List of tasks for a stage of a Spark Application",
      "type": "object"
    },
    "AuxiliaryServicesConfig": {
      "description": "Auxiliary services configuration for a Cluster.",
      "id": "AuxiliaryServicesConfig",
      "type": "object",
      "properties": {
        "metastoreConfig": {
          "$ref": "MetastoreConfig",
          "description": "Optional. The Hive Metastore configuration for this workload."
        },
        "sparkHistoryServerConfig": {
          "description": "Optional. The Spark History Server configuration for the workload.",
          "$ref": "SparkHistoryServerConfig"
        }
      }
    },
    "GceClusterConfig": {
      "id": "GceClusterConfig",
      "properties": {
        "serviceAccount": {
          "description": "Optional. The VM service account (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/service-accounts#service_accounts_in_dataproc) (also see VM Data Plane identity (https://cloud.google.com/dataproc/docs/concepts/iam/dataproc-principals#vm_service_account_data_plane_identity)) used by cluster VM instances to access Google Cloud Platform services.If not specified, the Compute Engine default service account (https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used.",
          "type": "string"
        },
        "shieldedInstanceConfig": {
          "description": "Optional. Shielded Instance Config for clusters using Compute Engine Shielded VMs (https://cloud.google.com/security/shielded-cloud/shielded-vm).",
          "$ref": "ShieldedInstanceConfig"
        },
        "networkUri": {
          "description": "Optional. The Compute Engine network to be used for machine communications. Cannot be specified with subnetwork_uri. If neither network_uri nor subnetwork_uri is specified, the \"default\" network of the project is used, if it exists. Cannot be a Custom Subnet Network (see Using Subnetworks (https://cloud.google.com/compute/docs/subnetworks) for more information).A full URL, partial URI, or short name are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/global/networks/default projects/[project_id]/global/networks/default default",
          "type": "string"
        },
        "zoneUri": {
          "type": "string",
          "description": "Optional. The Compute Engine zone where the cluster will be located. If omitted, the service will pick a zone in the cluster's Compute Engine region. On a get request, zone will always be present.A full URL, partial URI, or short name are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone] projects/[project_id]/zones/[zone] [zone]"
        },
        "subnetworkUri": {
          "type": "string",
          "description": "Optional. The Compute Engine subnetwork to be used for machine communications. Cannot be specified with network_uri.A full URL, partial URI, or short name are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/regions/[region]/subnetworks/sub0 projects/[project_id]/regions/[region]/subnetworks/sub0 sub0"
        },
        "reservationAffinity": {
          "$ref": "ReservationAffinity",
          "description": "Optional. Reservation Affinity for consuming Zonal reservation."
        },
        "privateIpv6GoogleAccess": {
          "enumDescriptions": [
            "If unspecified, Compute Engine default behavior will apply, which is the same as INHERIT_FROM_SUBNETWORK.",
            "Private access to and from Google Services configuration inherited from the subnetwork configuration. This is the default Compute Engine behavior.",
            "Enables outbound private IPv6 access to Google Services from the cluster.",
            "Enables bidirectional private IPv6 access between Google Services and the cluster."
          ],
          "enum": [
            "PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED",
            "INHERIT_FROM_SUBNETWORK",
            "OUTBOUND",
            "BIDIRECTIONAL"
          ],
          "description": "Optional. The type of IPv6 access for a cluster.",
          "type": "string"
        },
        "serviceAccountScopes": {
          "description": "Optional. The URIs of service account scopes to be included in Compute Engine instances. The following base set of scopes is always included: https://www.googleapis.com/auth/cloud.useraccounts.readonly https://www.googleapis.com/auth/devstorage.read_write https://www.googleapis.com/auth/logging.writeIf no scopes are specified, the following defaults are also provided: https://www.googleapis.com/auth/bigquery https://www.googleapis.com/auth/bigtable.admin.table https://www.googleapis.com/auth/bigtable.data https://www.googleapis.com/auth/devstorage.full_control",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "resourceManagerTags": {
          "description": "Optional. Resource manager tags (https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing) to add to all instances (see Use secure tags (https://cloud.google.com/dataproc/docs/guides/use-secure-tags)).",
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "metadata": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object",
          "description": "Optional. The Compute Engine metadata entries to add to all instances (see Project and instance metadata (https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata))."
        },
        "tags": {
          "items": {
            "type": "string"
          },
          "description": "The Compute Engine network tags to add to all instances (see Tagging instances (https://cloud.google.com/vpc/docs/add-remove-network-tags)).",
          "type": "array"
        },
        "confidentialInstanceConfig": {
          "$ref": "ConfidentialInstanceConfig",
          "description": "Optional. Confidential Instance Config for clusters using Confidential VMs (https://cloud.google.com/confidential-computing/confidential-vm/docs)."
        },
        "internalIpOnly": {
          "description": "Optional. This setting applies to subnetwork-enabled networks. It is set to true by default in clusters created with image versions 2.2.x.When set to true: All cluster VMs have internal IP addresses. Google Private Access (https://cloud.google.com/vpc/docs/private-google-access) must be enabled to access the Dataproc API and other Google Cloud APIs. Off-cluster dependencies must be configured to be accessible without external IP addresses.When set to false: Cluster VMs are not restricted to internal IP addresses. Ephemeral external IP addresses are assigned to each cluster VM.",
          "type": "boolean"
        },
        "nodeGroupAffinity": {
          "description": "Optional. Node Group Affinity for sole-tenant clusters.",
          "$ref": "NodeGroupAffinity"
        },
        "autoZoneExcludeZoneUris": {
          "description": "Optional. An optional list of Compute Engine zones where the cluster will not be located when Auto Zone is enabled. Only one of zone_uri or auto_zone_exclude_zone_uris can be set. If both are omitted, the service will pick a zone in the cluster Compute Engine region. If auto_zone_exclude_zone_uris is set and there is more than one non-excluded zone, the service will pick one of the non-excluded zones. Otherwise, cluster creation will fail with INVALID_ARGUMENT error.A full URL, partial URI, or short name are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone] projects/[project_id]/zones/[zone] [zone]",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "type": "object",
      "description": "Common config settings for resources of Compute Engine cluster instances, applicable to all instances in the cluster."
    },
    "WriteSessionSparkApplicationContextResponse": {
      "description": "Response returned as an acknowledgement of receipt of data.",
      "type": "object",
      "id": "WriteSessionSparkApplicationContextResponse",
      "properties": {}
    },
    "InputMetrics": {
      "type": "object",
      "description": "Metrics about the input data read by the task.",
      "properties": {
        "recordsRead": {
          "type": "string",
          "format": "int64"
        },
        "bytesRead": {
          "format": "int64",
          "type": "string"
        }
      },
      "id": "InputMetrics"
    },
    "JobPlacement": {
      "type": "object",
      "id": "JobPlacement",
      "description": "Dataproc job config.",
      "properties": {
        "clusterName": {
          "description": "Required. The name of the cluster where the job will be submitted.",
          "type": "string"
        },
        "clusterLabels": {
          "description": "Optional. Cluster labels to identify a cluster where the job will be submitted.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "clusterUuid": {
          "description": "Output only. A cluster UUID generated by the Dataproc service when the job is submitted.",
          "readOnly": true,
          "type": "string"
        }
      }
    },
    "HadoopJob": {
      "id": "HadoopJob",
      "properties": {
        "mainClass": {
          "description": "The name of the driver's main class. The jar file containing the class must be in the default CLASSPATH or specified in jar_file_uris.",
          "type": "string"
        },
        "loggingConfig": {
          "description": "Optional. The runtime log config for job execution.",
          "$ref": "LoggingConfig"
        },
        "args": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Optional. The arguments to pass to the driver. Do not include arguments, such as -libjars or -Dfoo=bar, that can be set as job properties, since a collision might occur that causes an incorrect job submission."
        },
        "mainJarFileUri": {
          "type": "string",
          "description": "The HCFS URI of the jar file containing the main class. Examples: 'gs://foo-bucket/analytics-binaries/extract-useful-metrics-mr.jar' 'hdfs:/tmp/test-samples/custom-wordcount.jar' 'file:///home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar'"
        },
        "archiveUris": {
          "items": {
            "type": "string"
          },
          "description": "Optional. HCFS URIs of archives to be extracted in the working directory of Hadoop drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, or .zip.",
          "type": "array"
        },
        "properties": {
          "description": "Optional. A mapping of property names to values, used to configure Hadoop. Properties that conflict with values set by the Dataproc API might be overwritten. Can include properties set in /etc/hadoop/conf/*-site and classes in user code.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "jarFileUris": {
          "description": "Optional. Jar file URIs to add to the CLASSPATHs of the Hadoop driver and tasks.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "fileUris": {
          "type": "array",
          "description": "Optional. HCFS (Hadoop Compatible Filesystem) URIs of files to be copied to the working directory of Hadoop drivers and distributed tasks. Useful for naively parallel tasks.",
          "items": {
            "type": "string"
          }
        }
      },
      "description": "A Dataproc job for running Apache Hadoop MapReduce (https://hadoop.apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html).",
      "type": "object"
    },
    "OrderedJob": {
      "description": "A job executed by the workflow.",
      "type": "object",
      "properties": {
        "stepId": {
          "description": "Required. The step id. The id must be unique among all jobs within the template.The step id is used as prefix for job id, as job goog-dataproc-workflow-step-id label, and in prerequisiteStepIds field from other steps.The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters.",
          "type": "string"
        },
        "prerequisiteStepIds": {
          "description": "Optional. The optional list of prerequisite job step_ids. If not specified, the job will start at the beginning of workflow.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "sparkRJob": {
          "$ref": "SparkRJob",
          "description": "Optional. Job is a SparkR job."
        },
        "prestoJob": {
          "description": "Optional. Job is a Presto job.",
          "$ref": "PrestoJob"
        },
        "hiveJob": {
          "description": "Optional. Job is a Hive job.",
          "$ref": "HiveJob"
        },
        "labels": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object",
          "description": "Optional. The labels to associate with this job.Label keys must be between 1 and 63 characters long, and must conform to the following regular expression: \\p{Ll}\\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following regular expression: \\p{Ll}\\p{Lo}\\p{N}_-{0,63}No more than 32 labels can be associated with a given job."
        },
        "flinkJob": {
          "$ref": "FlinkJob",
          "description": "Optional. Job is a Flink job."
        },
        "hadoopJob": {
          "description": "Optional. Job is a Hadoop job.",
          "$ref": "HadoopJob"
        },
        "pigJob": {
          "description": "Optional. Job is a Pig job.",
          "$ref": "PigJob"
        },
        "sparkJob": {
          "description": "Optional. Job is a Spark job.",
          "$ref": "SparkJob"
        },
        "trinoJob": {
          "$ref": "TrinoJob",
          "description": "Optional. Job is a Trino job."
        },
        "scheduling": {
          "description": "Optional. Job scheduling configuration.",
          "$ref": "JobScheduling"
        },
        "pysparkJob": {
          "$ref": "PySparkJob",
          "description": "Optional. Job is a PySpark job."
        },
        "sparkSqlJob": {
          "$ref": "SparkSqlJob",
          "description": "Optional. Job is a SparkSql job."
        }
      },
      "id": "OrderedJob"
    },
    "StartupConfig": {
      "properties": {
        "requiredRegistrationFraction": {
          "format": "double",
          "description": "Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled).",
          "type": "number"
        }
      },
      "id": "StartupConfig",
      "type": "object",
      "description": "Configuration to handle the startup of instances during cluster create and update process."
    },
    "AccessSessionSparkApplicationNativeSqlQueryResponse": {
      "id": "AccessSessionSparkApplicationNativeSqlQueryResponse",
      "type": "object",
      "properties": {
        "executionData": {
          "$ref": "NativeSqlExecutionUiData",
          "description": "Native SQL Execution Data"
        }
      },
      "description": "Details of a native query for a Spark Application"
    },
    "AccessSparkApplicationSqlSparkPlanGraphResponse": {
      "description": "SparkPlanGraph for a Spark Application execution limited to maximum 10000 clusters.",
      "properties": {
        "sparkPlanGraph": {
          "description": "SparkPlanGraph for a Spark Application execution.",
          "$ref": "SparkPlanGraph"
        }
      },
      "id": "AccessSparkApplicationSqlSparkPlanGraphResponse",
      "type": "object"
    },
    "AccessSparkApplicationNativeSqlQueryResponse": {
      "properties": {
        "executionData": {
          "$ref": "NativeSqlExecutionUiData",
          "description": "Native SQL Execution Data"
        }
      },
      "description": "Details of a query for a Spark Application",
      "type": "object",
      "id": "AccessSparkApplicationNativeSqlQueryResponse"
    },
    "StageInputMetrics": {
      "type": "object",
      "id": "StageInputMetrics",
      "description": "Metrics about the input read by the stage.",
      "properties": {
        "bytesRead": {
          "format": "int64",
          "type": "string"
        },
        "recordsRead": {
          "format": "int64",
          "type": "string"
        }
      }
    },
    "TaskResourceRequest": {
      "id": "TaskResourceRequest",
      "properties": {
        "resourceName": {
          "type": "string"
        },
        "amount": {
          "format": "double",
          "type": "number"
        }
      },
      "type": "object",
      "description": "Resources used per task created by the application."
    },
    "StateOperatorProgress": {
      "type": "object",
      "properties": {
        "customMetrics": {
          "additionalProperties": {
            "format": "int64",
            "type": "string"
          },
          "type": "object"
        },
        "numRowsTotal": {
          "type": "string",
          "format": "int64"
        },
        "allRemovalsTimeMs": {
          "format": "int64",
          "type": "string"
        },
        "allUpdatesTimeMs": {
          "format": "int64",
          "type": "string"
        },
        "operatorName": {
          "type": "string"
        },
        "numRowsUpdated": {
          "type": "string",
          "format": "int64"
        },
        "commitTimeMs": {
          "format": "int64",
          "type": "string"
        },
        "memoryUsedBytes": {
          "type": "string",
          "format": "int64"
        },
        "numStateStoreInstances": {
          "format": "int64",
          "type": "string"
        },
        "numShufflePartitions": {
          "format": "int64",
          "type": "string"
        },
        "numRowsRemoved": {
          "format": "int64",
          "type": "string"
        },
        "numRowsDroppedByWatermark": {
          "format": "int64",
          "type": "string"
        }
      },
      "id": "StateOperatorProgress"
    },
    "AutoscalingPolicy": {
      "description": "Describes an autoscaling policy for Dataproc cluster autoscaler.",
      "type": "object",
      "properties": {
        "labels": {
          "description": "Optional. The labels to associate with this autoscaling policy. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with an autoscaling policy.",
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "name": {
          "type": "string",
          "description": "Output only. The \"resource name\" of the autoscaling policy, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.autoscalingPolicies, the resource name of the policy has the following format: projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id} For projects.locations.autoscalingPolicies, the resource name of the policy has the following format: projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}",
          "readOnly": true
        },
        "basicAlgorithm": {
          "$ref": "BasicAutoscalingAlgorithm"
        },
        "clusterType": {
          "enum": [
            "CLUSTER_TYPE_UNSPECIFIED",
            "STANDARD",
            "ZERO_SCALE"
          ],
          "description": "Optional. The type of the clusters for which this autoscaling policy is to be configured.",
          "type": "string",
          "enumDescriptions": [
            "Not set.",
            "Standard dataproc cluster with a minimum of two primary workers.",
            "Clusters that can use only secondary workers and be scaled down to zero secondary worker nodes."
          ]
        },
        "id": {
          "description": "Required. The policy id.The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters.",
          "type": "string"
        },
        "secondaryWorkerConfig": {
          "description": "Optional. Describes how the autoscaler will operate for secondary workers.",
          "$ref": "InstanceGroupAutoscalingPolicyConfig"
        },
        "workerConfig": {
          "description": "Required. Describes how the autoscaler will operate for primary workers.",
          "$ref": "InstanceGroupAutoscalingPolicyConfig"
        }
      },
      "id": "AutoscalingPolicy"
    },
    "ClusterConfig": {
      "type": "object",
      "description": "The cluster config.",
      "id": "ClusterConfig",
      "properties": {
        "clusterTier": {
          "description": "Optional. The cluster tier.",
          "enumDescriptions": [
            "Uses standard tier if unspecified.",
            "Standard cluster tier.",
            "Premium cluster tier."
          ],
          "type": "string",
          "enum": [
            "CLUSTER_TIER_UNSPECIFIED",
            "CLUSTER_TIER_STANDARD",
            "CLUSTER_TIER_PREMIUM"
          ]
        },
        "secondaryWorkerConfig": {
          "$ref": "InstanceGroupConfig",
          "description": "Optional. The Compute Engine config settings for a cluster's secondary worker instances"
        },
        "gkeClusterConfig": {
          "description": "Optional. BETA. The Kubernetes Engine config for clusters deployed to Kubernetes. These config settings are mutually exclusive with Compute Engine-based options, such as gce_cluster_config, master_config, worker_config, secondary_worker_config, and autoscaling_config.",
          "deprecated": true,
          "$ref": "GkeClusterConfig"
        },
        "lifecycleConfig": {
          "description": "Optional. Lifecycle setting for the cluster.",
          "$ref": "LifecycleConfig"
        },
        "gceClusterConfig": {
          "$ref": "GceClusterConfig",
          "description": "Optional. The shared Compute Engine config settings for all instances in a cluster."
        },
        "engine": {
          "type": "string",
          "enumDescriptions": [
            "The engine is not specified. Works the same as ENGINE_DEFAULT.",
            "The cluster is a default engine cluster.",
            "The cluster is a Lightning Engine (https://cloud.google.com/dataproc/docs/guides/lightning-engine) cluster."
          ],
          "description": "Optional. The cluster engine.",
          "enum": [
            "ENGINE_UNSPECIFIED",
            "DEFAULT",
            "LIGHTNING"
          ]
        },
        "configBucket": {
          "description": "Optional. A Cloud Storage bucket used to stage job dependencies, config files, and job driver console output. If you do not specify a staging bucket, the service will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket (see staging and temp buckets (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)). This field requires a Cloud Storage bucket name, not a gs://... URI to a Cloud Storage bucket.",
          "type": "string"
        },
        "diagnosticBucket": {
          "description": "Optional. A Cloud Storage bucket used to collect checkpoint diagnostic data (https://cloud.google.com/dataproc/docs/support/diagnose-clusters#checkpoint_diagnostic_data). If you do not specify a diagnostic bucket, The service will use the temp bucket to collect the checkpoint diagnostic data. This field requires a Cloud Storage bucket name, not a gs://... URI to a Cloud Storage bucket.",
          "type": "string"
        },
        "dataprocMetricConfig": {
          "$ref": "DataprocMetricConfig",
          "description": "Optional. The config for metrics."
        },
        "endpointConfig": {
          "description": "Optional. Port/endpoint configuration for this cluster",
          "$ref": "EndpointConfig"
        },
        "autoscalingConfig": {
          "$ref": "AutoscalingConfig",
          "description": "Optional. Autoscaling config for the policy associated with the cluster. Cluster does not autoscale if this field is unset."
        },
        "masterConfig": {
          "description": "Optional. The Compute Engine config settings for the cluster's master instance.",
          "$ref": "InstanceGroupConfig"
        },
        "tempBucket": {
          "type": "string",
          "description": "Optional. A Cloud Storage bucket used to store ephemeral cluster and jobs data, such as Spark and MapReduce history files. If you do not specify a temp bucket, the service will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's temp bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket. The default bucket has a TTL of 90 days, but you can use any TTL (or none) if you specify a bucket (see staging and temp buckets (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)). This field requires a Cloud Storage bucket name, not a gs://... URI to a Cloud Storage bucket."
        },
        "clusterType": {
          "description": "Optional. The type of the cluster.",
          "enum": [
            "CLUSTER_TYPE_UNSPECIFIED",
            "STANDARD",
            "SINGLE_NODE",
            "ZERO_SCALE"
          ],
          "enumDescriptions": [
            "Not set.",
            "Standard dataproc cluster with a minimum of two primary workers.",
            "https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/single-node-clusters",
            "Clusters that can use only secondary workers and be scaled down to zero secondary worker nodes."
          ],
          "type": "string"
        },
        "securityConfig": {
          "description": "Optional. Security settings for the cluster.",
          "$ref": "SecurityConfig"
        },
        "encryptionConfig": {
          "description": "Optional. Encryption settings for the cluster.",
          "$ref": "EncryptionConfig"
        },
        "workerConfig": {
          "$ref": "InstanceGroupConfig",
          "description": "Optional. The Compute Engine config settings for the cluster's worker instances."
        },
        "initializationActions": {
          "items": {
            "$ref": "NodeInitializationAction"
          },
          "type": "array",
          "description": "Optional. Commands to execute on each node after config is completed. By default, executables are run on master and all worker nodes. You can test a node's role metadata to run an executable on a master or worker node, as shown below using curl (you can also use wget): ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role) if [[ \"${ROLE}\" == 'Master' ]]; then ... master specific actions ... else ... worker specific actions ... fi "
        },
        "metastoreConfig": {
          "$ref": "MetastoreConfig",
          "description": "Optional. Metastore configuration."
        },
        "auxiliaryNodeGroups": {
          "description": "Optional. The node group settings.",
          "items": {
            "$ref": "AuxiliaryNodeGroup"
          },
          "type": "array"
        },
        "softwareConfig": {
          "$ref": "SoftwareConfig",
          "description": "Optional. The config settings for cluster software."
        }
      }
    },
    "RepairNodeGroupRequest": {
      "properties": {
        "instanceNames": {
          "items": {
            "type": "string"
          },
          "description": "Required. Name of instances to be repaired. These instances must belong to specified node pool.",
          "type": "array"
        },
        "repairAction": {
          "enumDescriptions": [
            "No action will be taken by default.",
            "replace the specified list of nodes."
          ],
          "enum": [
            "REPAIR_ACTION_UNSPECIFIED",
            "REPLACE"
          ],
          "type": "string",
          "description": "Required. Repair action to take on specified resources of the node pool."
        },
        "requestId": {
          "type": "string",
          "description": "Optional. A unique ID used to identify the request. If the server receives two RepairNodeGroupRequest with the same ID, the second request is ignored and the first google.longrunning.Operation created and stored in the backend is returned.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters."
        }
      },
      "type": "object",
      "id": "RepairNodeGroupRequest"
    },
    "DiskConfig": {
      "type": "object",
      "id": "DiskConfig",
      "description": "Specifies the config of boot disk and attached disk options for a group of VM instances.",
      "properties": {
        "localSsdInterface": {
          "type": "string",
          "description": "Optional. Interface type of local SSDs (default is scsi). Valid values: scsi (Small Computer System Interface), nvme (Non-Volatile Memory Express). See local SSD performance (https://cloud.google.com/compute/docs/disks/local-ssd#performance)."
        },
        "bootDiskProvisionedIops": {
          "format": "int64",
          "description": "Optional. Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. This field is supported only if boot_disk_type is hyperdisk-balanced.",
          "type": "string"
        },
        "bootDiskSizeGb": {
          "format": "int32",
          "type": "integer",
          "description": "Optional. Size in GB of the boot disk (default is 500GB)."
        },
        "bootDiskProvisionedThroughput": {
          "type": "string",
          "description": "Optional. Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. Values must be greater than or equal to 1. This field is supported only if boot_disk_type is hyperdisk-balanced.",
          "format": "int64"
        },
        "attachedDiskConfigs": {
          "description": "Optional. A list of attached disk configs for a group of VM instances.",
          "type": "array",
          "items": {
            "$ref": "AttachedDiskConfig"
          }
        },
        "bootDiskType": {
          "type": "string",
          "description": "Optional. Type of the boot disk (default is pd-standard). Valid values: pd-balanced (Persistent Disk Balanced Solid State Drive), pd-ssd (Persistent Disk Solid State Drive), or pd-standard (Persistent Disk Hard Disk Drive). See Disk types (https://cloud.google.com/compute/docs/disks#disk-types)."
        },
        "numLocalSsds": {
          "format": "int32",
          "description": "Optional. Number of attached SSDs, from 0 to 8 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and HDFS (https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic config and installed binaries.Note: Local SSD options may vary by machine type and number of vCPUs selected.",
          "type": "integer"
        }
      }
    },
    "HiveJob": {
      "properties": {
        "scriptVariables": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "Optional. Mapping of query variable names to values (equivalent to the Hive command: SET name=\"value\";).",
          "type": "object"
        },
        "queryList": {
          "description": "A list of queries.",
          "$ref": "QueryList"
        },
        "queryFileUri": {
          "type": "string",
          "description": "The HCFS URI of the script that contains Hive queries."
        },
        "properties": {
          "type": "object",
          "description": "Optional. A mapping of property names and values, used to configure Hive. Properties that conflict with values set by the Dataproc API might be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/hive/conf/hive-site.xml, and classes in user code.",
          "additionalProperties": {
            "type": "string"
          }
        },
        "jarFileUris": {
          "description": "Optional. HCFS URIs of jar files to add to the CLASSPATH of the Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes and UDFs.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "continueOnFailure": {
          "description": "Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries.",
          "type": "boolean"
        }
      },
      "type": "object",
      "description": "A Dataproc job for running Apache Hive (https://hive.apache.org/) queries on YARN.",
      "id": "HiveJob"
    },
    "GkeNodeConfig": {
      "description": "Parameters that describe cluster nodes.",
      "type": "object",
      "id": "GkeNodeConfig",
      "properties": {
        "serviceAccount": {
          "type": "string",
          "description": "Optional. Specifies the service account (https://cloud.google.com/dataproc/docs/guides/dpgke/dataproc-gke-iam) to be used by the node pools. Specify the email address of the service account or its full resource name.Format: projects/{project}/serviceAccounts/{service_account_email} or {service_account_email}."
        },
        "minCpuPlatform": {
          "type": "string",
          "description": "Optional. Minimum CPU platform (https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) to be used by this instance. The instance may be scheduled on the specified or a newer CPU platform. Specify the friendly names of CPU platforms, such as \"Intel Haswell\"` or Intel Sandy Bridge\"."
        },
        "localSsdCount": {
          "type": "integer",
          "description": "Optional. The number of local SSD disks to attach to the node, which is limited by the maximum number of disks allowable per zone (see Adding Local SSDs (https://cloud.google.com/compute/docs/disks/local-ssd)).",
          "format": "int32"
        },
        "spot": {
          "description": "Optional. Whether the nodes are created as Spot VM instances (https://cloud.google.com/compute/docs/instances/spot). Spot VMs are the latest update to legacy preemptible VMs. Spot VMs do not have a maximum lifetime. Legacy and Spot preemptible nodes cannot be used in a node pool with the CONTROLLER role or in the DEFAULT node pool if the CONTROLLER role is not assigned (the DEFAULT node pool will assume the CONTROLLER role).",
          "type": "boolean"
        },
        "machineType": {
          "description": "Optional. The name of a Compute Engine machine type (https://cloud.google.com/compute/docs/machine-types).",
          "type": "string"
        },
        "preemptible": {
          "description": "Optional. Whether the nodes are created as legacy preemptible VM instances (https://cloud.google.com/compute/docs/instances/preemptible). Also see Spot VMs, preemptible VM instances without a maximum lifetime. Legacy and Spot preemptible nodes cannot be used in a node pool with the CONTROLLER role or in the DEFAULT node pool if the CONTROLLER role is not assigned (the DEFAULT node pool will assume the CONTROLLER role).",
          "type": "boolean"
        },
        "accelerators": {
          "description": "Optional. A list of hardware accelerators (https://cloud.google.com/compute/docs/gpus) to attach to each node.",
          "type": "array",
          "items": {
            "$ref": "GkeNodePoolAcceleratorConfig"
          }
        },
        "bootDiskKmsKey": {
          "type": "string",
          "description": "Optional. The Customer Managed Encryption Key (CMEK) (https://cloud.google.com/kubernetes-engine/docs/how-to/using-cmek) used to encrypt the boot disk attached to each node in the node pool. Specify the key using the following format: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}"
        }
      }
    },
    "BatchOperationMetadata": {
      "type": "object",
      "description": "Metadata describing the Batch operation.",
      "id": "BatchOperationMetadata",
      "properties": {
        "warnings": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Warnings encountered during operation execution."
        },
        "description": {
          "description": "Short description of the operation.",
          "type": "string"
        },
        "operationType": {
          "enumDescriptions": [
            "Batch operation type is unknown.",
            "Batch operation type."
          ],
          "type": "string",
          "description": "The operation type.",
          "enum": [
            "BATCH_OPERATION_TYPE_UNSPECIFIED",
            "BATCH"
          ]
        },
        "batchUuid": {
          "type": "string",
          "description": "Batch UUID for the operation."
        },
        "createTime": {
          "type": "string",
          "description": "The time when the operation was created.",
          "format": "google-datetime"
        },
        "batch": {
          "description": "Name of the batch for the operation.",
          "type": "string"
        },
        "labels": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object",
          "description": "Labels associated with the operation."
        },
        "doneTime": {
          "type": "string",
          "description": "The time when the operation finished.",
          "format": "google-datetime"
        }
      }
    },
    "ComputeTuningConfigResponse": {
      "description": "Response for ComputeTuningConfig RPC.",
      "id": "ComputeTuningConfigResponse",
      "properties": {
        "recommendedProperties": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Recommended Spark properties for the query (e.g., {\"spark.sql.shuffle.partitions\": \"500\"})."
        }
      },
      "type": "object"
    },
    "ClusterOperation": {
      "description": "The cluster operation triggered by a workflow.",
      "id": "ClusterOperation",
      "properties": {
        "error": {
          "readOnly": true,
          "description": "Output only. Error, if operation failed.",
          "type": "string"
        },
        "done": {
          "type": "boolean",
          "readOnly": true,
          "description": "Output only. Indicates the operation is done."
        },
        "operationId": {
          "type": "string",
          "description": "Output only. The id of the cluster operation.",
          "readOnly": true
        }
      },
      "type": "object"
    },
    "RegexValidation": {
      "properties": {
        "regexes": {
          "type": "array",
          "description": "Required. RE2 regular expressions used to validate the parameter's value. The value must match the regex in its entirety (substring matches are not sufficient).",
          "items": {
            "type": "string"
          }
        }
      },
      "id": "RegexValidation",
      "description": "Validation based on regular expressions.",
      "type": "object"
    },
    "ValueValidation": {
      "type": "object",
      "id": "ValueValidation",
      "description": "Validation based on a list of allowed values.",
      "properties": {
        "values": {
          "description": "Required. List of allowed values for the parameter.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "SparkBatch": {
      "description": "A configuration for running an Apache Spark (https://spark.apache.org/) batch workload.",
      "type": "object",
      "properties": {
        "mainClass": {
          "description": "Optional. The name of the driver main class. The jar file that contains the class must be in the classpath or specified in jar_file_uris.",
          "type": "string"
        },
        "archiveUris": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip."
        },
        "mainJarFileUri": {
          "description": "Optional. The HCFS URI of the jar file that contains the main class.",
          "type": "string"
        },
        "fileUris": {
          "items": {
            "type": "string"
          },
          "description": "Optional. HCFS URIs of files to be placed in the working directory of each executor.",
          "type": "array"
        },
        "jarFileUris": {
          "description": "Optional. HCFS URIs of jar files to add to the classpath of the Spark driver and tasks.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "args": {
          "items": {
            "type": "string"
          },
          "description": "Optional. The arguments to pass to the driver. Do not include arguments that can be set as batch properties, such as --conf, since a collision can occur that causes an incorrect batch submission.",
          "type": "array"
        }
      },
      "id": "SparkBatch"
    },
    "PySparkJob": {
      "id": "PySparkJob",
      "type": "object",
      "description": "A Dataproc job for running Apache PySpark (https://spark.apache.org/docs/latest/api/python/index.html#pyspark-overview) applications on YARN.",
      "properties": {
        "jarFileUris": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Optional. HCFS URIs of jar files to add to the CLASSPATHs of the Python driver and tasks."
        },
        "fileUris": {
          "type": "array",
          "description": "Optional. HCFS URIs of files to be placed in the working directory of each executor. Useful for naively parallel tasks.",
          "items": {
            "type": "string"
          }
        },
        "loggingConfig": {
          "description": "Optional. The runtime log config for job execution.",
          "$ref": "LoggingConfig"
        },
        "mainPythonFileUri": {
          "type": "string",
          "description": "Required. The HCFS URI of the main Python file to use as the driver. Must be a .py file."
        },
        "archiveUris": {
          "description": "Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.Note: Spark applications must be deployed in cluster mode (https://spark.apache.org/docs/latest/cluster-overview.html) for correct environment propagation.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "properties": {
          "description": "Optional. A mapping of property names to values, used to configure PySpark. Properties that conflict with values set by the Dataproc API might be overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf and classes in user code.",
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "args": {
          "items": {
            "type": "string"
          },
          "description": "Optional. The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision may occur that causes an incorrect job submission.",
          "type": "array"
        },
        "pythonFileUris": {
          "type": "array",
          "description": "Optional. HCFS file URIs of Python files to pass to the PySpark framework. Supported file types: .py, .egg, and .zip.",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "ParameterValidation": {
      "type": "object",
      "id": "ParameterValidation",
      "properties": {
        "regex": {
          "description": "Validation based on regular expressions.",
          "$ref": "RegexValidation"
        },
        "values": {
          "description": "Validation based on a list of allowed values.",
          "$ref": "ValueValidation"
        }
      },
      "description": "Configuration for parameter validation."
    },
    "StartClusterRequest": {
      "description": "A request to start a cluster.",
      "type": "object",
      "id": "StartClusterRequest",
      "properties": {
        "clusterUuid": {
          "description": "Optional. Specifying the cluster_uuid means the RPC will fail (with error NOT_FOUND) if a cluster with the specified UUID does not exist.",
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "description": "Optional. A unique ID used to identify the request. If the server receives two StartClusterRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.StartClusterRequest)s with the same id, then the second request will be ignored and the first google.longrunning.Operation created and stored in the backend is returned.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters."
        }
      }
    },
    "AnalyzeBatchRequest": {
      "type": "object",
      "description": "A request to analyze a batch workload.",
      "properties": {
        "requestId": {
          "description": "Optional. A unique ID used to identify the request. If the service receives two AnalyzeBatchRequest (http://cloud/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.AnalyzeBatchRequest)s with the same request_id, the second request is ignored and the Operation that corresponds to the first request created and stored in the backend is returned.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The value must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.",
          "type": "string"
        },
        "requestorId": {
          "description": "Optional. The requestor ID is used to identify if the request comes from a GCA investigation or the old Ask Gemini Experience. ",
          "deprecated": true,
          "type": "string"
        }
      },
      "id": "AnalyzeBatchRequest"
    },
    "Session": {
      "properties": {
        "environmentConfig": {
          "$ref": "EnvironmentConfig",
          "description": "Optional. Environment configuration for the session execution."
        },
        "user": {
          "description": "Optional. The email address of the user who owns the session.",
          "type": "string"
        },
        "uuid": {
          "description": "Output only. A session UUID (Unique Universal Identifier). The service generates this value when it creates the session.",
          "type": "string",
          "readOnly": true
        },
        "sessionTemplate": {
          "description": "Optional. The session template used by the session.Only resource names, including project ID and location, are valid.Example: * https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/sessionTemplates/[template_id] * projects/[project_id]/locations/[dataproc_region]/sessionTemplates/[template_id]The template must be in the same project and Dataproc region as the session.",
          "type": "string"
        },
        "createTime": {
          "description": "Output only. The time when the session was created.",
          "format": "google-datetime",
          "readOnly": true,
          "type": "string"
        },
        "labels": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object",
          "description": "Optional. The labels to associate with the session. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a session."
        },
        "state": {
          "description": "Output only. A state of the session.",
          "enum": [
            "STATE_UNSPECIFIED",
            "CREATING",
            "ACTIVE",
            "TERMINATING",
            "TERMINATED",
            "FAILED"
          ],
          "readOnly": true,
          "type": "string",
          "enumDescriptions": [
            "The session state is unknown.",
            "The session is created prior to running.",
            "The session is running.",
            "The session is terminating.",
            "The session is terminated successfully.",
            "The session is no longer running due to an error."
          ]
        },
        "runtimeInfo": {
          "$ref": "RuntimeInfo",
          "readOnly": true,
          "description": "Output only. Runtime information about session execution."
        },
        "creator": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. The email address of the user who created the session."
        },
        "stateMessage": {
          "description": "Output only. Session state details, such as the failure description if the state is FAILED.",
          "readOnly": true,
          "type": "string"
        },
        "stateTime": {
          "description": "Output only. The time when the session entered the current state.",
          "format": "google-datetime",
          "type": "string",
          "readOnly": true
        },
        "sparkConnectSession": {
          "$ref": "SparkConnectConfig",
          "description": "Optional. Spark connect session config."
        },
        "stateHistory": {
          "type": "array",
          "description": "Output only. Historical state information for the session.",
          "readOnly": true,
          "items": {
            "$ref": "SessionStateHistory"
          }
        },
        "jupyterSession": {
          "$ref": "JupyterConfig",
          "description": "Optional. Jupyter session config."
        },
        "runtimeConfig": {
          "description": "Optional. Runtime configuration for the session execution.",
          "$ref": "RuntimeConfig"
        },
        "name": {
          "description": "Identifier. The resource name of the session.",
          "type": "string"
        }
      },
      "description": "A representation of a session.",
      "type": "object",
      "id": "Session"
    },
    "SparkApplication": {
      "type": "object",
      "id": "SparkApplication",
      "properties": {
        "name": {
          "type": "string",
          "description": "Identifier. Name of the spark application"
        },
        "application": {
          "readOnly": true,
          "$ref": "ApplicationInfo",
          "description": "Output only. High level information corresponding to an application."
        }
      },
      "description": "A summary of Spark Application"
    },
    "GetPolicyOptions": {
      "properties": {
        "requestedPolicyVersion": {
          "type": "integer",
          "description": "Optional. The maximum policy version that will be used to format the policy.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset.The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).",
          "format": "int32"
        }
      },
      "type": "object",
      "description": "Encapsulates settings provided to GetIamPolicy.",
      "id": "GetPolicyOptions"
    },
    "SparkConnectConfig": {
      "description": "Spark connect configuration for an interactive session.",
      "type": "object",
      "id": "SparkConnectConfig",
      "properties": {}
    },
    "JobData": {
      "properties": {
        "killTasksSummary": {
          "type": "object",
          "additionalProperties": {
            "type": "integer",
            "format": "int32"
          }
        },
        "stageIds": {
          "items": {
            "type": "string",
            "format": "int64"
          },
          "type": "array"
        },
        "numCompletedTasks": {
          "type": "integer",
          "format": "int32"
        },
        "jobGroup": {
          "type": "string"
        },
        "numFailedStages": {
          "format": "int32",
          "type": "integer"
        },
        "submissionTime": {
          "format": "google-datetime",
          "type": "string"
        },
        "sqlExecutionId": {
          "format": "int64",
          "type": "string"
        },
        "completionTime": {
          "type": "string",
          "format": "google-datetime"
        },
        "numTasks": {
          "format": "int32",
          "type": "integer"
        },
        "name": {
          "type": "string"
        },
        "numCompletedStages": {
          "type": "integer",
          "format": "int32"
        },
        "numCompletedIndices": {
          "format": "int32",
          "type": "integer"
        },
        "numActiveTasks": {
          "type": "integer",
          "format": "int32"
        },
        "numKilledTasks": {
          "format": "int32",
          "type": "integer"
        },
        "numSkippedTasks": {
          "format": "int32",
          "type": "integer"
        },
        "description": {
          "type": "string"
        },
        "numFailedTasks": {
          "format": "int32",
          "type": "integer"
        },
        "status": {
          "enum": [
            "JOB_EXECUTION_STATUS_UNSPECIFIED",
            "JOB_EXECUTION_STATUS_RUNNING",
            "JOB_EXECUTION_STATUS_SUCCEEDED",
            "JOB_EXECUTION_STATUS_FAILED",
            "JOB_EXECUTION_STATUS_UNKNOWN"
          ],
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            "",
            "",
            ""
          ]
        },
        "numActiveStages": {
          "type": "integer",
          "format": "int32"
        },
        "jobId": {
          "format": "int64",
          "type": "string"
        },
        "skippedStages": {
          "type": "array",
          "items": {
            "format": "int32",
            "type": "integer"
          }
        },
        "numSkippedStages": {
          "type": "integer",
          "format": "int32"
        }
      },
      "description": "Data corresponding to a spark job.",
      "id": "JobData",
      "type": "object"
    },
    "ShuffleReadMetrics": {
      "type": "object",
      "properties": {
        "remoteBlocksFetched": {
          "format": "int64",
          "type": "string"
        },
        "localBytesRead": {
          "type": "string",
          "format": "int64"
        },
        "fetchWaitTimeMillis": {
          "format": "int64",
          "type": "string"
        },
        "remoteBytesRead": {
          "type": "string",
          "format": "int64"
        },
        "remoteReqsDuration": {
          "type": "string",
          "format": "int64"
        },
        "remoteBytesReadToDisk": {
          "format": "int64",
          "type": "string"
        },
        "recordsRead": {
          "type": "string",
          "format": "int64"
        },
        "shufflePushReadMetrics": {
          "$ref": "ShufflePushReadMetrics"
        },
        "localBlocksFetched": {
          "type": "string",
          "format": "int64"
        }
      },
      "description": "Shuffle data read by the task.",
      "id": "ShuffleReadMetrics"
    },
    "ExecutionConfig": {
      "description": "Execution configuration for a workload.",
      "type": "object",
      "id": "ExecutionConfig",
      "properties": {
        "authenticationConfig": {
          "$ref": "AuthenticationConfig",
          "description": "Optional. Authentication configuration used to set the default identity for the workload execution. The config specifies the type of identity (service account or user) that will be used by workloads to access resources on the project(s)."
        },
        "resourceManagerTags": {
          "description": "Optional. Associates Resource Manager tags with the workload nodes. There is a max limit of 30 tags. Keys and values can be either in numeric format, such as tagKeys/{tag_key_id} and tagValues/{tag_value_id}, or in namespaced format, such as {org_id|project_id}/{tag_key_short_name} and {tag_value_short_name}.",
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "networkUri": {
          "type": "string",
          "description": "Optional. Network URI to connect workload to."
        },
        "serviceAccount": {
          "description": "Optional. Service account that used to execute workload.",
          "type": "string"
        },
        "ttl": {
          "format": "google-duration",
          "type": "string",
          "description": "Optional. The duration after which the workload will be terminated, specified as the JSON representation for Duration (https://protobuf.dev/programming-guides/proto3/#json). When the workload exceeds this duration, it will be unconditionally terminated without waiting for ongoing work to finish. If ttl is not specified for a batch workload, the workload will be allowed to run until it exits naturally (or run forever without exiting). If ttl is not specified for an interactive session, it defaults to 24 hours. If ttl is not specified for a batch that uses 2.1+ runtime version, it defaults to 4 hours. Minimum value is 10 minutes; maximum value is 14 days. If both ttl and idle_ttl are specified (for an interactive session), the conditions are treated as OR conditions: the workload will be terminated when it has been idle for idle_ttl or when ttl has been exceeded, whichever occurs first."
        },
        "stagingBucket": {
          "type": "string",
          "description": "Optional. A Cloud Storage bucket used to stage workload dependencies, config files, and store workload output and other ephemeral data, such as Spark history files. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location according to the region where your workload is running, and then create and manage project-level, per-location staging and temporary buckets. This field requires a Cloud Storage bucket name, not a gs://... URI to a Cloud Storage bucket."
        },
        "networkTags": {
          "description": "Optional. Tags used for network traffic control.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "idleTtl": {
          "description": "Optional. Applies to sessions only. The duration to keep the session alive while it's idling. Exceeding this threshold causes the session to terminate. This field cannot be set on a batch workload. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)). Defaults to 1 hour if not set. If both ttl and idle_ttl are specified for an interactive session, the conditions are treated as OR conditions: the workload will be terminated when it has been idle for idle_ttl or when ttl has been exceeded, whichever occurs first.",
          "type": "string",
          "format": "google-duration"
        },
        "subnetworkUri": {
          "description": "Optional. Subnetwork URI to connect workload to.",
          "type": "string"
        },
        "kmsKey": {
          "type": "string",
          "description": "Optional. The Cloud KMS key to use for encryption."
        }
      }
    },
    "EnvironmentConfig": {
      "properties": {
        "executionConfig": {
          "$ref": "ExecutionConfig",
          "description": "Optional. Execution configuration for a workload."
        },
        "peripheralsConfig": {
          "$ref": "PeripheralsConfig",
          "description": "Optional. Peripherals configuration that workload has access to."
        }
      },
      "type": "object",
      "description": "Environment configuration for a workload.",
      "id": "EnvironmentConfig"
    },
    "SearchSessionSparkApplicationNativeSqlQueriesResponse": {
      "id": "SearchSessionSparkApplicationNativeSqlQueriesResponse",
      "description": "List of all Native queries for a Spark Application.",
      "properties": {
        "nextPageToken": {
          "type": "string",
          "description": "This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSessionSparkApplicationSqlQueriesRequest."
        },
        "sparkApplicationNativeSqlQueries": {
          "description": "Output only. Native SQL Execution Data",
          "type": "array",
          "readOnly": true,
          "items": {
            "$ref": "NativeSqlExecutionUiData"
          }
        }
      },
      "type": "object"
    },
    "UsageSnapshot": {
      "properties": {
        "milliDcuPremium": {
          "type": "string",
          "format": "int64",
          "description": "Optional. Milli (one-thousandth) Dataproc Compute Units (DCUs) charged at premium tier (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing))."
        },
        "shuffleStorageGbPremium": {
          "format": "int64",
          "description": "Optional. Shuffle Storage in gigabytes (GB) charged at premium tier. (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing))",
          "type": "string"
        },
        "milliAcceleratorA10040": {
          "type": "string",
          "description": "Optional. Milli (one-thousandth) accelerator for A100-40 accelerators. (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing))",
          "format": "int64"
        },
        "milliAcceleratorL4": {
          "format": "int64",
          "type": "string",
          "description": "Optional. Milli (one-thousandth) accelerator for L4 accelerators. (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing))"
        },
        "snapshotTime": {
          "type": "string",
          "description": "Optional. The timestamp of the usage snapshot.",
          "format": "google-datetime"
        },
        "shuffleStorageGb": {
          "format": "int64",
          "type": "string",
          "description": "Optional. Shuffle Storage in gigabytes (GB). (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing))"
        },
        "milliDcu": {
          "type": "string",
          "format": "int64",
          "description": "Optional. Milli (one-thousandth) Dataproc Compute Units (DCUs) (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing))."
        },
        "milliAcceleratorA10080": {
          "description": "Optional. Milli (one-thousandth) accelerator for A100-80 accelerators. (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing))",
          "format": "int64",
          "type": "string"
        },
        "milliAccelerator": {
          "description": "Optional. Milli (one-thousandth) accelerator. (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)) Deprecated: This field is only used in runtime versions below 3.0.",
          "type": "string",
          "format": "int64"
        },
        "acceleratorType": {
          "type": "string",
          "description": "Optional. Accelerator type being used, if any Deprecated: This field is only used in runtime versions below 3.0."
        }
      },
      "type": "object",
      "id": "UsageSnapshot",
      "description": "The usage snapshot represents the resources consumed by a workload at a specified time."
    },
    "StreamingQueryData": {
      "description": "Streaming",
      "properties": {
        "endTimestamp": {
          "type": "string",
          "format": "int64"
        },
        "isActive": {
          "type": "boolean"
        },
        "exception": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "runId": {
          "type": "string"
        },
        "startTimestamp": {
          "type": "string",
          "format": "int64"
        },
        "streamingQueryId": {
          "type": "string"
        }
      },
      "id": "StreamingQueryData",
      "type": "object"
    },
    "AccessSessionSparkApplicationEnvironmentInfoResponse": {
      "properties": {
        "applicationEnvironmentInfo": {
          "$ref": "ApplicationEnvironmentInfo",
          "description": "Details about the Environment that the application is running in."
        }
      },
      "description": "Environment details of a Saprk Application.",
      "type": "object",
      "id": "AccessSessionSparkApplicationEnvironmentInfoResponse"
    },
    "NodeGroupAffinity": {
      "type": "object",
      "description": "Node Group Affinity for clusters using sole-tenant node groups. The NodeGroupAffinity resource is not related to the NodeGroup resource.",
      "properties": {
        "nodeGroupUri": {
          "description": "Required. The URI of a sole-tenant node group resource (https://cloud.google.com/compute/docs/reference/rest/v1/nodeGroups) that the cluster will be created on.A full URL, partial URI, or node group name are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/nodeGroups/node-group-1 projects/[project_id]/zones/[zone]/nodeGroups/node-group-1 node-group-1",
          "type": "string"
        }
      },
      "id": "NodeGroupAffinity"
    },
    "ApplicationInfo": {
      "type": "object",
      "description": "High level information corresponding to an application.",
      "properties": {
        "applicationId": {
          "type": "string"
        },
        "maxCores": {
          "format": "int32",
          "type": "integer"
        },
        "memoryPerExecutorMb": {
          "type": "integer",
          "format": "int32"
        },
        "name": {
          "type": "string"
        },
        "quantileDataStatus": {
          "enum": [
            "QUANTILE_DATA_STATUS_UNSPECIFIED",
            "QUANTILE_DATA_STATUS_COMPLETED",
            "QUANTILE_DATA_STATUS_FAILED"
          ],
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            ""
          ]
        },
        "coresGranted": {
          "format": "int32",
          "type": "integer"
        },
        "applicationContextIngestionStatus": {
          "type": "string",
          "enum": [
            "APPLICATION_CONTEXT_INGESTION_STATUS_UNSPECIFIED",
            "APPLICATION_CONTEXT_INGESTION_STATUS_COMPLETED"
          ],
          "enumDescriptions": [
            "",
            ""
          ]
        },
        "attempts": {
          "type": "array",
          "items": {
            "$ref": "ApplicationAttemptInfo"
          }
        },
        "coresPerExecutor": {
          "format": "int32",
          "type": "integer"
        }
      },
      "id": "ApplicationInfo"
    },
    "SearchSessionSparkApplicationExecutorStageSummaryResponse": {
      "properties": {
        "sparkApplicationStageExecutors": {
          "description": "Details about executors used by the application stage.",
          "items": {
            "$ref": "ExecutorStageSummary"
          },
          "type": "array"
        },
        "nextPageToken": {
          "description": "This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSessionSparkApplicationExecutorStageSummaryRequest.",
          "type": "string"
        }
      },
      "description": "List of Executors associated with a Spark Application Stage.",
      "type": "object",
      "id": "SearchSessionSparkApplicationExecutorStageSummaryResponse"
    },
    "AccessSparkApplicationJobResponse": {
      "properties": {
        "jobData": {
          "description": "Output only. Data corresponding to a spark job.",
          "readOnly": true,
          "$ref": "JobData"
        }
      },
      "description": "Details of a particular job associated with Spark Application",
      "type": "object",
      "id": "AccessSparkApplicationJobResponse"
    },
    "AccessSparkApplicationResponse": {
      "properties": {
        "application": {
          "description": "Output only. High level information corresponding to an application.",
          "readOnly": true,
          "$ref": "ApplicationInfo"
        }
      },
      "id": "AccessSparkApplicationResponse",
      "description": "A summary of Spark Application",
      "type": "object"
    },
    "ValueInfo": {
      "type": "object",
      "description": "Annotatated property value.",
      "properties": {
        "annotation": {
          "type": "string",
          "description": "Annotation, comment or explanation why the property was set."
        },
        "value": {
          "type": "string",
          "description": "Property value."
        },
        "overriddenValue": {
          "description": "Optional. Value which was replaced by the corresponding component.",
          "type": "string"
        }
      },
      "id": "ValueInfo"
    },
    "OutputMetrics": {
      "id": "OutputMetrics",
      "description": "Metrics about the data written by the task.",
      "properties": {
        "recordsWritten": {
          "type": "string",
          "format": "int64"
        },
        "bytesWritten": {
          "type": "string",
          "format": "int64"
        }
      },
      "type": "object"
    },
    "MemoryMetrics": {
      "properties": {
        "usedOnHeapStorageMemory": {
          "type": "string",
          "format": "int64"
        },
        "totalOffHeapStorageMemory": {
          "type": "string",
          "format": "int64"
        },
        "totalOnHeapStorageMemory": {
          "format": "int64",
          "type": "string"
        },
        "usedOffHeapStorageMemory": {
          "format": "int64",
          "type": "string"
        }
      },
      "type": "object",
      "id": "MemoryMetrics"
    },
    "JobScheduling": {
      "id": "JobScheduling",
      "description": "Job scheduling options.",
      "type": "object",
      "properties": {
        "maxFailuresTotal": {
          "type": "integer",
          "description": "Optional. Maximum total number of times a driver can be restarted as a result of the driver exiting with a non-zero code. After the maximum number is reached, the job will be reported as failed.Maximum value is 240.Note: Currently, this restartable job option is not supported in Dataproc workflow templates (https://cloud.google.com/dataproc/docs/concepts/workflows/using-workflows#adding_jobs_to_a_template).",
          "format": "int32"
        },
        "maxFailuresPerHour": {
          "description": "Optional. Maximum number of times per hour a driver can be restarted as a result of driver exiting with non-zero code before job is reported failed.A job might be reported as thrashing if the driver exits with a non-zero code four times within a 10-minute window.Maximum value is 10.Note: This restartable job option is not supported in Dataproc workflow templates (https://cloud.google.com/dataproc/docs/concepts/workflows/using-workflows#adding_jobs_to_a_template).",
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "AccessSessionSparkApplicationSqlSparkPlanGraphResponse": {
      "description": "SparkPlanGraph for a Spark Application execution limited to maximum 10000 clusters.",
      "id": "AccessSessionSparkApplicationSqlSparkPlanGraphResponse",
      "type": "object",
      "properties": {
        "sparkPlanGraph": {
          "description": "SparkPlanGraph for a Spark Application execution.",
          "$ref": "SparkPlanGraph"
        }
      }
    },
    "KubernetesSoftwareConfig": {
      "type": "object",
      "properties": {
        "properties": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object",
          "description": "The properties to set on daemon config files.Property keys are specified in prefix:property format, for example spark:spark.kubernetes.container.image. The following are supported prefixes and their mappings: spark: spark-defaults.confFor more information, see Cluster properties (https://cloud.google.com/dataproc/docs/concepts/cluster-properties)."
        },
        "componentVersion": {
          "type": "object",
          "description": "The components that should be installed in this Dataproc cluster. The key must be a string from the KubernetesComponent enumeration. The value is the version of the software to be installed. At least one entry must be specified.",
          "additionalProperties": {
            "type": "string"
          }
        }
      },
      "id": "KubernetesSoftwareConfig",
      "description": "The software configuration for this Dataproc cluster running on Kubernetes."
    },
    "StageData": {
      "type": "object",
      "properties": {
        "executorMetricsDistributions": {
          "$ref": "ExecutorMetricsDistributions"
        },
        "completionTime": {
          "type": "string",
          "format": "google-datetime"
        },
        "peakExecutorMetrics": {
          "$ref": "ExecutorMetrics"
        },
        "numCompleteTasks": {
          "type": "integer",
          "format": "int32"
        },
        "schedulingPool": {
          "type": "string"
        },
        "executorSummary": {
          "additionalProperties": {
            "$ref": "ExecutorStageSummary"
          },
          "type": "object"
        },
        "stageId": {
          "format": "int64",
          "type": "string"
        },
        "numKilledTasks": {
          "format": "int32",
          "type": "integer"
        },
        "numActiveTasks": {
          "type": "integer",
          "format": "int32"
        },
        "numFailedTasks": {
          "format": "int32",
          "type": "integer"
        },
        "killedTasksSummary": {
          "type": "object",
          "additionalProperties": {
            "type": "integer",
            "format": "int32"
          }
        },
        "name": {
          "type": "string"
        },
        "details": {
          "type": "string"
        },
        "numCompletedIndices": {
          "type": "integer",
          "format": "int32"
        },
        "description": {
          "type": "string"
        },
        "firstTaskLaunchedTime": {
          "format": "google-datetime",
          "type": "string"
        },
        "submissionTime": {
          "type": "string",
          "format": "google-datetime"
        },
        "resourceProfileId": {
          "type": "integer",
          "format": "int32"
        },
        "status": {
          "type": "string",
          "enum": [
            "STAGE_STATUS_UNSPECIFIED",
            "STAGE_STATUS_ACTIVE",
            "STAGE_STATUS_COMPLETE",
            "STAGE_STATUS_FAILED",
            "STAGE_STATUS_PENDING",
            "STAGE_STATUS_SKIPPED"
          ],
          "enumDescriptions": [
            "",
            "",
            "",
            "",
            "",
            ""
          ]
        },
        "accumulatorUpdates": {
          "items": {
            "$ref": "AccumulableInfo"
          },
          "type": "array"
        },
        "failureReason": {
          "type": "string"
        },
        "stageMetrics": {
          "$ref": "StageMetrics"
        },
        "shuffleMergersCount": {
          "format": "int32",
          "type": "integer"
        },
        "stageAttemptId": {
          "type": "integer",
          "format": "int32"
        },
        "numTasks": {
          "format": "int32",
          "type": "integer"
        },
        "parentStageIds": {
          "items": {
            "format": "int64",
            "type": "string"
          },
          "type": "array"
        },
        "isShufflePushEnabled": {
          "type": "boolean"
        },
        "speculationSummary": {
          "$ref": "SpeculationStageSummary"
        },
        "tasks": {
          "type": "object",
          "additionalProperties": {
            "$ref": "TaskData"
          }
        },
        "rddIds": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "int64"
          }
        },
        "taskQuantileMetrics": {
          "description": "Summary metrics fields. These are included in response only if present in summary_metrics_mask field in request",
          "$ref": "TaskQuantileMetrics"
        },
        "jobIds": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "int64"
          }
        },
        "locality": {
          "type": "object",
          "additionalProperties": {
            "format": "int64",
            "type": "string"
          }
        }
      },
      "id": "StageData",
      "description": "Data corresponding to a stage."
    },
    "QueryList": {
      "id": "QueryList",
      "description": "A list of queries to run on a cluster.",
      "properties": {
        "queries": {
          "type": "array",
          "description": "Required. The queries to execute. You do not need to end a query expression with a semicolon. Multiple queries can be specified in one string by separating each with a semicolon. Here is an example of a Dataproc API snippet that uses a QueryList to specify a HiveJob: \"hiveJob\": { \"queryList\": { \"queries\": [ \"query1\", \"query2\", \"query3;query4\", ] } } ",
          "items": {
            "type": "string"
          }
        }
      },
      "type": "object"
    },
    "StageShuffleWriteMetrics": {
      "id": "StageShuffleWriteMetrics",
      "description": "Shuffle data written for the stage.",
      "type": "object",
      "properties": {
        "writeTimeNanos": {
          "format": "int64",
          "type": "string"
        },
        "recordsWritten": {
          "type": "string",
          "format": "int64"
        },
        "bytesWritten": {
          "type": "string",
          "format": "int64"
        }
      }
    },
    "SpeculationStageSummary": {
      "properties": {
        "numActiveTasks": {
          "format": "int32",
          "type": "integer"
        },
        "numKilledTasks": {
          "format": "int32",
          "type": "integer"
        },
        "numCompletedTasks": {
          "type": "integer",
          "format": "int32"
        },
        "stageId": {
          "type": "string",
          "format": "int64"
        },
        "stageAttemptId": {
          "type": "integer",
          "format": "int32"
        },
        "numTasks": {
          "type": "integer",
          "format": "int32"
        },
        "numFailedTasks": {
          "format": "int32",
          "type": "integer"
        }
      },
      "id": "SpeculationStageSummary",
      "description": "Details of the speculation task when speculative execution is enabled.",
      "type": "object"
    },
    "YarnApplication": {
      "description": "A YARN application created by a job. Application information is a subset of org.apache.hadoop.yarn.proto.YarnProtos.ApplicationReportProto.Beta Feature: This report is available for testing purposes only. It may be changed before final release.",
      "id": "YarnApplication",
      "properties": {
        "trackingUrl": {
          "description": "Optional. The HTTP URL of the ApplicationMaster, HistoryServer, or TimelineServer that provides application-specific information. The URL uses the internal hostname, and requires a proxy server for resolution and, possibly, access.",
          "type": "string"
        },
        "vcoreSeconds": {
          "description": "Optional. The cumulative CPU time consumed by the application for a job, measured in vcore-seconds.",
          "type": "string",
          "format": "int64"
        },
        "state": {
          "type": "string",
          "description": "Required. The application state.",
          "enum": [
            "STATE_UNSPECIFIED",
            "NEW",
            "NEW_SAVING",
            "SUBMITTED",
            "ACCEPTED",
            "RUNNING",
            "FINISHED",
            "FAILED",
            "KILLED"
          ],
          "enumDescriptions": [
            "Status is unspecified.",
            "Status is NEW.",
            "Status is NEW_SAVING.",
            "Status is SUBMITTED.",
            "Status is ACCEPTED.",
            "Status is RUNNING.",
            "Status is FINISHED.",
            "Status is FAILED.",
            "Status is KILLED."
          ]
        },
        "progress": {
          "format": "float",
          "description": "Required. The numerical progress of the application, from 1 to 100.",
          "type": "number"
        },
        "memoryMbSeconds": {
          "format": "int64",
          "description": "Optional. The cumulative memory usage of the application for a job, measured in mb-seconds.",
          "type": "string"
        },
        "name": {
          "description": "Required. The application name.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "AuthenticationConfig": {
      "description": "Authentication configuration for a workload is used to set the default identity for the workload execution. The config specifies the type of identity (service account or user) that will be used by workloads to access resources on the project(s).",
      "type": "object",
      "id": "AuthenticationConfig",
      "properties": {
        "userWorkloadAuthenticationType": {
          "description": "Optional. Authentication type for the user workload running in containers.",
          "enum": [
            "AUTHENTICATION_TYPE_UNSPECIFIED",
            "SERVICE_ACCOUNT",
            "END_USER_CREDENTIALS"
          ],
          "enumDescriptions": [
            "If AuthenticationType is unspecified then END_USER_CREDENTIALS is used for 3.0 and newer runtimes, and SERVICE_ACCOUNT is used for older runtimes.",
            "Use service account credentials for authenticating to other services.",
            "Use OAuth credentials associated with the workload creator/user for authenticating to other services."
          ],
          "type": "string"
        }
      }
    },
    "BuildInfo": {
      "description": "Native Build Info",
      "type": "object",
      "id": "BuildInfo",
      "properties": {
        "buildValue": {
          "description": "Optional. Build value.",
          "type": "string"
        },
        "buildKey": {
          "type": "string",
          "description": "Optional. Build key."
        }
      }
    },
    "JobMetadata": {
      "description": "Job Operation metadata.",
      "properties": {
        "status": {
          "description": "Output only. Most recent job status.",
          "readOnly": true,
          "$ref": "JobStatus"
        },
        "operationType": {
          "description": "Output only. Operation type.",
          "readOnly": true,
          "type": "string"
        },
        "jobId": {
          "description": "Output only. The job id.",
          "readOnly": true,
          "type": "string"
        },
        "startTime": {
          "format": "google-datetime",
          "description": "Output only. Job submission time.",
          "type": "string",
          "readOnly": true
        }
      },
      "id": "JobMetadata",
      "type": "object"
    },
    "SessionTemplate": {
      "type": "object",
      "description": "A representation of a session template.",
      "properties": {
        "labels": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object",
          "description": "Optional. Labels to associate with sessions created using this template. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values can be empty, but, if present, must contain 1 to 63 characters and conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a session."
        },
        "updateTime": {
          "description": "Output only. The time the template was last updated.",
          "readOnly": true,
          "type": "string",
          "format": "google-datetime"
        },
        "sparkConnectSession": {
          "$ref": "SparkConnectConfig",
          "description": "Optional. Spark connect session config."
        },
        "jupyterSession": {
          "description": "Optional. Jupyter session config.",
          "$ref": "JupyterConfig"
        },
        "environmentConfig": {
          "$ref": "EnvironmentConfig",
          "description": "Optional. Environment configuration for session execution."
        },
        "name": {
          "description": "Required. Identifier. The resource name of the session template.",
          "type": "string"
        },
        "creator": {
          "description": "Output only. The email address of the user who created the template.",
          "type": "string",
          "readOnly": true
        },
        "uuid": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. A session template UUID (Unique Universal Identifier). The service generates this value when it creates the session template."
        },
        "runtimeConfig": {
          "description": "Optional. Runtime configuration for session execution.",
          "$ref": "RuntimeConfig"
        },
        "createTime": {
          "readOnly": true,
          "description": "Output only. The time when the template was created.",
          "type": "string",
          "format": "google-datetime"
        },
        "description": {
          "description": "Optional. Brief description of the template.",
          "type": "string"
        }
      },
      "id": "SessionTemplate"
    },
    "ResourceInformation": {
      "type": "object",
      "id": "ResourceInformation",
      "properties": {
        "name": {
          "type": "string"
        },
        "addresses": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "AccessSessionSparkApplicationJobResponse": {
      "description": "Details of a particular job associated with Spark Application",
      "id": "AccessSessionSparkApplicationJobResponse",
      "properties": {
        "jobData": {
          "readOnly": true,
          "$ref": "JobData",
          "description": "Output only. Data corresponding to a spark job."
        }
      },
      "type": "object"
    },
    "Metric": {
      "type": "object",
      "id": "Metric",
      "description": "A custom metric.",
      "properties": {
        "metricSource": {
          "type": "string",
          "enumDescriptions": [
            "Required unspecified metric source.",
            "Monitoring agent metrics. If this source is enabled, the service enables the monitoring agent in Compute Engine, and collects monitoring agent metrics, which are published with an agent.googleapis.com prefix.",
            "HDFS metric source.",
            "Spark metric source.",
            "YARN metric source.",
            "Spark History Server metric source.",
            "Hiveserver2 metric source.",
            "hivemetastore metric source",
            "flink metric source"
          ],
          "enum": [
            "METRIC_SOURCE_UNSPECIFIED",
            "MONITORING_AGENT_DEFAULTS",
            "HDFS",
            "SPARK",
            "YARN",
            "SPARK_HISTORY_SERVER",
            "HIVESERVER2",
            "HIVEMETASTORE",
            "FLINK"
          ],
          "description": "Required. A standard set of metrics is collected unless metricOverrides are specified for the metric source (see Custom metrics (https://cloud.google.com/dataproc/docs/guides/dataproc-metrics#custom_metrics) for more information)."
        },
        "metricOverrides": {
          "description": "Optional. Specify one or more Custom metrics (https://cloud.google.com/dataproc/docs/guides/dataproc-metrics#custom_metrics) to collect for the metric course (for the SPARK metric source (any Spark metric (https://spark.apache.org/docs/latest/monitoring.html#metrics) can be specified).Provide metrics in the following format:METRIC_SOURCE:INSTANCE :GROUP:METRIC Use camelcase as appropriate.Examples: yarn:ResourceManager:QueueMetrics:AppsCompleted spark:driver:DAGScheduler:job.allJobs sparkHistoryServer:JVM:Memory:NonHeapMemoryUsage.committed hiveserver2:JVM:Memory:NonHeapMemoryUsage.used Notes: Only the specified overridden metrics are collected for the metric source. For example, if one or more spark:executive metrics are listed as metric overrides, other SPARK metrics are not collected. The collection of the metrics for other enabled custom metric sources is unaffected. For example, if both SPARK and YARN metric sources are enabled, and overrides are provided for Spark metrics only, all YARN metrics are collected.",
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      }
    },
    "Status": {
      "id": "Status",
      "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).",
      "type": "object",
      "properties": {
        "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": {
          "type": "array",
          "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.",
          "items": {
            "type": "object",
            "additionalProperties": {
              "description": "Properties of the object. Contains field @type with type URL.",
              "type": "any"
            }
          }
        },
        "code": {
          "description": "The status code, which should be an enum value of google.rpc.Code.",
          "format": "int32",
          "type": "integer"
        }
      }
    },
    "DiagnoseClusterResults": {
      "type": "object",
      "id": "DiagnoseClusterResults",
      "description": "The location of diagnostic output.",
      "properties": {
        "outputUri": {
          "description": "Output only. The Cloud Storage URI of the diagnostic output. The output report is a plain text file with a summary of collected diagnostics.",
          "readOnly": true,
          "type": "string"
        }
      }
    },
    "ShufflePushReadMetrics": {
      "id": "ShufflePushReadMetrics",
      "type": "object",
      "properties": {
        "remoteMergedReqsDuration": {
          "format": "int64",
          "type": "string"
        },
        "localMergedBlocksFetched": {
          "format": "int64",
          "type": "string"
        },
        "remoteMergedBlocksFetched": {
          "format": "int64",
          "type": "string"
        },
        "localMergedBytesRead": {
          "type": "string",
          "format": "int64"
        },
        "remoteMergedBytesRead": {
          "format": "int64",
          "type": "string"
        },
        "mergedFetchFallbackCount": {
          "format": "int64",
          "type": "string"
        },
        "remoteMergedChunksFetched": {
          "type": "string",
          "format": "int64"
        },
        "corruptMergedBlockChunks": {
          "format": "int64",
          "type": "string"
        },
        "localMergedChunksFetched": {
          "type": "string",
          "format": "int64"
        }
      }
    },
    "SecurityConfig": {
      "description": "Security related configuration, including encryption, Kerberos, etc.",
      "id": "SecurityConfig",
      "type": "object",
      "properties": {
        "kerberosConfig": {
          "$ref": "KerberosConfig",
          "description": "Optional. Kerberos related configuration."
        },
        "identityConfig": {
          "$ref": "IdentityConfig",
          "description": "Optional. Identity related configuration, including service account based secure multi-tenancy user mappings."
        }
      }
    },
    "SparkRBatch": {
      "type": "object",
      "description": "A configuration for running an Apache SparkR (https://spark.apache.org/docs/latest/sparkr.html) batch workload.",
      "properties": {
        "args": {
          "description": "Optional. The arguments to pass to the Spark driver. Do not include arguments that can be set as batch properties, such as --conf, since a collision can occur that causes an incorrect batch submission.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "fileUris": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Optional. HCFS URIs of files to be placed in the working directory of each executor."
        },
        "mainRFileUri": {
          "description": "Required. The HCFS URI of the main R file to use as the driver. Must be a .R or .r file.",
          "type": "string"
        },
        "archiveUris": {
          "type": "array",
          "description": "Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.",
          "items": {
            "type": "string"
          }
        }
      },
      "id": "SparkRBatch"
    },
    "WorkflowMetadata": {
      "description": "A Dataproc workflow template resource.",
      "type": "object",
      "id": "WorkflowMetadata",
      "properties": {
        "startTime": {
          "format": "google-datetime",
          "readOnly": true,
          "description": "Output only. Workflow start time.",
          "type": "string"
        },
        "state": {
          "enumDescriptions": [
            "Unused.",
            "The operation has been created.",
            "The operation is running.",
            "The operation is done; either cancelled or completed."
          ],
          "type": "string",
          "description": "Output only. The workflow state.",
          "enum": [
            "UNKNOWN",
            "PENDING",
            "RUNNING",
            "DONE"
          ],
          "readOnly": true
        },
        "clusterUuid": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. The UUID of target cluster."
        },
        "version": {
          "type": "integer",
          "readOnly": true,
          "description": "Output only. The version of template at the time of workflow instantiation.",
          "format": "int32"
        },
        "graph": {
          "$ref": "WorkflowGraph",
          "readOnly": true,
          "description": "Output only. The workflow graph."
        },
        "dagTimeout": {
          "format": "google-duration",
          "readOnly": true,
          "type": "string",
          "description": "Output only. The timeout duration for the DAG of jobs, expressed in seconds (see JSON representation of duration (https://developers.google.com/protocol-buffers/docs/proto3#json))."
        },
        "endTime": {
          "type": "string",
          "format": "google-datetime",
          "readOnly": true,
          "description": "Output only. Workflow end time."
        },
        "clusterName": {
          "readOnly": true,
          "description": "Output only. The name of the target cluster.",
          "type": "string"
        },
        "createCluster": {
          "$ref": "ClusterOperation",
          "readOnly": true,
          "description": "Output only. The create cluster operation metadata."
        },
        "deleteCluster": {
          "readOnly": true,
          "$ref": "ClusterOperation",
          "description": "Output only. The delete cluster operation metadata."
        },
        "dagStartTime": {
          "format": "google-datetime",
          "readOnly": true,
          "type": "string",
          "description": "Output only. DAG start time, only set for workflows with dag_timeout when DAG begins."
        },
        "dagEndTime": {
          "readOnly": true,
          "format": "google-datetime",
          "type": "string",
          "description": "Output only. DAG end time, only set for workflows with dag_timeout when DAG ends."
        },
        "template": {
          "description": "Output only. The resource name of the workflow template as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id} For projects.locations.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}",
          "readOnly": true,
          "type": "string"
        },
        "parameters": {
          "description": "Map from parameter names to values that were used for those parameters.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    },
    "ApplicationAttemptInfo": {
      "type": "object",
      "description": "Specific attempt of an application.",
      "properties": {
        "lastUpdated": {
          "type": "string",
          "format": "google-datetime"
        },
        "appSparkVersion": {
          "type": "string"
        },
        "startTime": {
          "type": "string",
          "format": "google-datetime"
        },
        "attemptId": {
          "type": "string"
        },
        "endTime": {
          "format": "google-datetime",
          "type": "string"
        },
        "sparkUser": {
          "type": "string"
        },
        "completed": {
          "type": "boolean"
        },
        "durationMillis": {
          "format": "int64",
          "type": "string"
        }
      },
      "id": "ApplicationAttemptInfo"
    },
    "PigJob": {
      "description": "A Dataproc job for running Apache Pig (https://pig.apache.org/) queries on YARN.",
      "properties": {
        "loggingConfig": {
          "description": "Optional. The runtime log config for job execution.",
          "$ref": "LoggingConfig"
        },
        "jarFileUris": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Optional. HCFS URIs of jar files to add to the CLASSPATH of the Pig Client and Hadoop MapReduce (MR) tasks. Can contain Pig UDFs."
        },
        "continueOnFailure": {
          "description": "Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries.",
          "type": "boolean"
        },
        "queryList": {
          "$ref": "QueryList",
          "description": "A list of queries."
        },
        "scriptVariables": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Optional. Mapping of query variable names to values (equivalent to the Pig command: name=[value])."
        },
        "queryFileUri": {
          "description": "The HCFS URI of the script that contains the Pig queries.",
          "type": "string"
        },
        "properties": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "Optional. A mapping of property names to values, used to configure Pig. Properties that conflict with values set by the Dataproc API might be overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/pig/conf/pig.properties, and classes in user code.",
          "type": "object"
        }
      },
      "id": "PigJob",
      "type": "object"
    },
    "PoolData": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "stageIds": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "int64"
          }
        }
      },
      "description": "Pool Data",
      "id": "PoolData"
    },
    "RepositoryConfig": {
      "properties": {
        "pypiRepositoryConfig": {
          "$ref": "PyPiRepositoryConfig",
          "description": "Optional. Configuration for PyPi repository."
        }
      },
      "id": "RepositoryConfig",
      "type": "object",
      "description": "Configuration for dependency repositories"
    },
    "ConsolidatedExecutorSummary": {
      "description": "Consolidated summary about executors used by the application.",
      "properties": {
        "isExcluded": {
          "type": "integer",
          "format": "int32"
        },
        "totalInputBytes": {
          "format": "int64",
          "type": "string"
        },
        "memoryUsed": {
          "type": "string",
          "format": "int64"
        },
        "diskUsed": {
          "type": "string",
          "format": "int64"
        },
        "totalTasks": {
          "type": "integer",
          "format": "int32"
        },
        "totalShuffleWrite": {
          "format": "int64",
          "type": "string"
        },
        "totalGcTimeMillis": {
          "format": "int64",
          "type": "string"
        },
        "totalCores": {
          "type": "integer",
          "format": "int32"
        },
        "maxMemory": {
          "format": "int64",
          "type": "string"
        },
        "activeTasks": {
          "type": "integer",
          "format": "int32"
        },
        "count": {
          "format": "int32",
          "type": "integer"
        },
        "failedTasks": {
          "type": "integer",
          "format": "int32"
        },
        "completedTasks": {
          "type": "integer",
          "format": "int32"
        },
        "rddBlocks": {
          "type": "integer",
          "format": "int32"
        },
        "memoryMetrics": {
          "$ref": "MemoryMetrics"
        },
        "totalShuffleRead": {
          "format": "int64",
          "type": "string"
        },
        "totalDurationMillis": {
          "format": "int64",
          "type": "string"
        }
      },
      "id": "ConsolidatedExecutorSummary",
      "type": "object"
    },
    "ClusterOperationMetadata": {
      "properties": {
        "labels": {
          "description": "Output only. Labels associated with the operation",
          "type": "object",
          "readOnly": true,
          "additionalProperties": {
            "type": "string"
          }
        },
        "clusterUuid": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. Cluster UUID for the operation."
        },
        "clusterName": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. Name of the cluster for the operation."
        },
        "status": {
          "readOnly": true,
          "$ref": "ClusterOperationStatus",
          "description": "Output only. Current operation status."
        },
        "warnings": {
          "description": "Output only. Errors encountered during operation execution.",
          "items": {
            "type": "string"
          },
          "type": "array",
          "readOnly": true
        },
        "description": {
          "readOnly": true,
          "description": "Output only. Short description of operation.",
          "type": "string"
        },
        "statusHistory": {
          "readOnly": true,
          "items": {
            "$ref": "ClusterOperationStatus"
          },
          "type": "array",
          "description": "Output only. The previous operation status."
        },
        "childOperationIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Output only. Child operation ids",
          "readOnly": true
        },
        "operationType": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The operation type."
        }
      },
      "type": "object",
      "id": "ClusterOperationMetadata",
      "description": "Metadata describing the operation."
    },
    "KerberosConfig": {
      "properties": {
        "rootPrincipalPasswordUri": {
          "description": "Optional. The Cloud Storage URI of a KMS encrypted file containing the root principal password.",
          "type": "string"
        },
        "kmsKeyUri": {
          "description": "Optional. The URI of the KMS key used to encrypt sensitive files.",
          "type": "string"
        },
        "truststorePasswordUri": {
          "type": "string",
          "description": "Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided truststore. For the self-signed certificate, this password is generated by the service."
        },
        "keystoreUri": {
          "type": "string",
          "description": "Optional. The Cloud Storage URI of the keystore file used for SSL encryption. If not provided, the service will provide a self-signed certificate."
        },
        "truststoreUri": {
          "type": "string",
          "description": "Optional. The Cloud Storage URI of the truststore file used for SSL encryption. If not provided, the service will provide a self-signed certificate."
        },
        "keystorePasswordUri": {
          "description": "Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided keystore. For the self-signed certificate, this password is generated by the service.",
          "type": "string"
        },
        "enableKerberos": {
          "type": "boolean",
          "description": "Optional. Flag to indicate whether to Kerberize the cluster (default: false). Set this field to true to enable Kerberos on a cluster."
        },
        "kdcDbKeyUri": {
          "description": "Optional. The Cloud Storage URI of a KMS encrypted file containing the master key of the KDC database.",
          "type": "string"
        },
        "crossRealmTrustKdc": {
          "type": "string",
          "description": "Optional. The KDC (IP or hostname) for the remote trusted realm in a cross realm trust relationship."
        },
        "realm": {
          "description": "Optional. The name of the on-cluster Kerberos realm. If not specified, the uppercased domain of hostnames will be the realm.",
          "type": "string"
        },
        "crossRealmTrustAdminServer": {
          "description": "Optional. The admin server (IP or hostname) for the remote trusted realm in a cross realm trust relationship.",
          "type": "string"
        },
        "keyPasswordUri": {
          "description": "Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided key. For the self-signed certificate, this password is generated by the service.",
          "type": "string"
        },
        "crossRealmTrustRealm": {
          "description": "Optional. The remote realm the on-cluster KDC will trust, should the user enable cross realm trust.",
          "type": "string"
        },
        "tgtLifetimeHours": {
          "format": "int32",
          "description": "Optional. The lifetime of the ticket granting ticket, in hours. If not specified, or user specifies 0, then default value 10 will be used.",
          "type": "integer"
        },
        "crossRealmTrustSharedPasswordUri": {
          "type": "string",
          "description": "Optional. The Cloud Storage URI of a KMS encrypted file containing the shared password between the on-cluster Kerberos realm and the remote trusted realm, in a cross realm trust relationship."
        }
      },
      "description": "Specifies Kerberos related configuration.",
      "type": "object",
      "id": "KerberosConfig"
    },
    "SparkConnectExecutionInfo": {
      "description": "Represents the lifecycle and details of an Execution via Spark Connect",
      "type": "object",
      "id": "SparkConnectExecutionInfo",
      "properties": {
        "state": {
          "readOnly": true,
          "enum": [
            "EXECUTION_STATE_UNKNOWN",
            "EXECUTION_STATE_STARTED",
            "EXECUTION_STATE_COMPILED",
            "EXECUTION_STATE_READY",
            "EXECUTION_STATE_CANCELED",
            "EXECUTION_STATE_FAILED",
            "EXECUTION_STATE_FINISHED",
            "EXECUTION_STATE_CLOSED"
          ],
          "description": "Output only. Current state of the execution.",
          "enumDescriptions": [
            "Execution state is unknown.",
            "Execution state is started.",
            "Execution state is compiled.",
            "Execution state is ready.",
            "Execution state is canceled.",
            "Execution state is failed.",
            "Execution state is finished.",
            "Execution state is closed."
          ],
          "type": "string"
        },
        "operationId": {
          "description": "Unique identifier for the operation.",
          "type": "string"
        },
        "sqlExecIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Optional. List of sql execution ids associated with the execution."
        },
        "statement": {
          "description": "statement of the execution.",
          "type": "string"
        },
        "startTimestamp": {
          "type": "string",
          "description": "Timestamp when the execution started.",
          "format": "int64"
        },
        "jobIds": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Optional. List of job ids associated with the execution."
        },
        "detail": {
          "type": "string",
          "description": "Detailed information about the execution."
        },
        "finishTimestamp": {
          "type": "string",
          "format": "int64",
          "description": "Timestamp when the execution finished."
        },
        "closeTimestamp": {
          "description": "Timestamp when the execution was closed.",
          "type": "string",
          "format": "int64"
        },
        "sparkSessionTags": {
          "items": {
            "type": "string"
          },
          "description": "Optional. Tags associated with the Spark session.",
          "type": "array"
        },
        "userId": {
          "description": "User ID of the user who started the execution.",
          "type": "string"
        },
        "jobTag": {
          "description": "Required. Job tag of the execution.",
          "type": "string"
        },
        "sessionId": {
          "description": "Required. Session ID, ties the execution to a specific Spark Connect session.",
          "type": "string"
        }
      }
    },
    "RuntimeInfo": {
      "properties": {
        "propertiesInfo": {
          "description": "Optional. Properties of the workload organized by origin.",
          "$ref": "PropertiesInfo"
        },
        "cohortInfo": {
          "readOnly": true,
          "$ref": "CohortInfo",
          "description": "Output only. Information about the cohort that the workload belongs to."
        },
        "approximateUsage": {
          "description": "Output only. Approximate workload resource usage, calculated when the workload completes (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)).Note: This metric calculation may change in the future, for example, to capture cumulative workload resource consumption during workload execution (see the Dataproc Serverless release notes (https://cloud.google.com/dataproc-serverless/docs/release-notes) for announcements, changes, fixes and other Dataproc developments).",
          "readOnly": true,
          "$ref": "UsageMetrics"
        },
        "currentUsage": {
          "readOnly": true,
          "$ref": "UsageSnapshot",
          "description": "Output only. Snapshot of current workload resource usage."
        },
        "diagnosticOutputUri": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. A URI pointing to the location of the diagnostics tarball."
        },
        "endpoints": {
          "readOnly": true,
          "type": "object",
          "description": "Output only. Map of remote access endpoints (such as web interfaces and APIs) to their URIs.",
          "additionalProperties": {
            "type": "string"
          }
        },
        "outputUri": {
          "readOnly": true,
          "description": "Output only. A URI pointing to the location of the stdout and stderr of the workload.",
          "type": "string"
        }
      },
      "type": "object",
      "description": "Runtime information about workload execution.",
      "id": "RuntimeInfo"
    },
    "ListSessionTemplatesResponse": {
      "description": "A list of session templates.",
      "type": "object",
      "id": "ListSessionTemplatesResponse",
      "properties": {
        "sessionTemplates": {
          "type": "array",
          "description": "Output only. Session template list",
          "items": {
            "$ref": "SessionTemplate"
          },
          "readOnly": true
        },
        "nextPageToken": {
          "description": "A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.",
          "type": "string"
        }
      }
    },
    "InstanceSelection": {
      "type": "object",
      "description": "Defines machines types and a rank to which the machines types belong.",
      "properties": {
        "machineTypes": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Optional. Full machine-type names, e.g. \"n1-standard-16\"."
        },
        "diskConfig": {
          "description": "Optional. Disk configuration to apply to the instances in this instance selection. If specified on any entry in instanceSelectionList, then it must be specified on every entry in instanceSelectionList and the instanceGroupConfig must not specify any diskConfig.",
          "$ref": "DiskConfig"
        },
        "rank": {
          "description": "Optional. Preference of this instance selection. Lower number means higher preference. The service will first try to create a VM based on the machine-type with priority rank and fallback to next rank based on availability. Machine types and instance selections with the same priority have the same preference.",
          "format": "int32",
          "type": "integer"
        }
      },
      "id": "InstanceSelection"
    },
    "ManagedGroupConfig": {
      "type": "object",
      "description": "Specifies the resources used to actively manage an instance group.",
      "id": "ManagedGroupConfig",
      "properties": {
        "instanceGroupManagerUri": {
          "description": "Output only. The partial URI to the instance group manager for this group. E.g. projects/my-project/regions/us-central1/instanceGroupManagers/my-igm.",
          "type": "string",
          "readOnly": true
        },
        "instanceGroupManagerName": {
          "description": "Output only. The name of the Instance Group Manager for this group.",
          "readOnly": true,
          "type": "string"
        },
        "instanceTemplateName": {
          "description": "Output only. The name of the Instance Template used for the Managed Instance Group.",
          "readOnly": true,
          "type": "string"
        }
      }
    },
    "ClusterMetrics": {
      "description": "Contains cluster daemon metrics, such as HDFS and YARN stats.Beta Feature: This report is available for testing purposes only. It may be changed before final release.",
      "type": "object",
      "properties": {
        "hdfsMetrics": {
          "description": "The HDFS metrics.",
          "additionalProperties": {
            "format": "int64",
            "type": "string"
          },
          "type": "object"
        },
        "yarnMetrics": {
          "description": "YARN metrics.",
          "additionalProperties": {
            "type": "string",
            "format": "int64"
          },
          "type": "object"
        }
      },
      "id": "ClusterMetrics"
    },
    "Quantiles": {
      "properties": {
        "minimum": {
          "format": "int64",
          "type": "string"
        },
        "sum": {
          "type": "string",
          "format": "int64"
        },
        "percentile25": {
          "format": "int64",
          "type": "string"
        },
        "count": {
          "format": "int64",
          "type": "string"
        },
        "percentile50": {
          "type": "string",
          "format": "int64"
        },
        "percentile75": {
          "type": "string",
          "format": "int64"
        },
        "maximum": {
          "type": "string",
          "format": "int64"
        }
      },
      "id": "Quantiles",
      "type": "object",
      "description": "Quantile metrics data related to Tasks. Units can be seconds, bytes, milliseconds, etc depending on the message type."
    },
    "SetIamPolicyRequest": {
      "id": "SetIamPolicyRequest",
      "type": "object",
      "description": "Request message for SetIamPolicy method.",
      "properties": {
        "policy": {
          "description": "REQUIRED: The complete policy to be applied to the resource. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them.",
          "$ref": "Policy"
        }
      }
    },
    "RddOperationEdge": {
      "properties": {
        "toId": {
          "format": "int32",
          "type": "integer"
        },
        "fromId": {
          "type": "integer",
          "format": "int32"
        }
      },
      "id": "RddOperationEdge",
      "description": "A directed edge representing dependency between two RDDs.",
      "type": "object"
    },
    "SourceProgress": {
      "properties": {
        "numInputRows": {
          "format": "int64",
          "type": "string"
        },
        "latestOffset": {
          "type": "string"
        },
        "endOffset": {
          "type": "string"
        },
        "inputRowsPerSecond": {
          "format": "double",
          "type": "number"
        },
        "startOffset": {
          "type": "string"
        },
        "metrics": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "description": {
          "type": "string"
        },
        "processedRowsPerSecond": {
          "type": "number",
          "format": "double"
        }
      },
      "type": "object",
      "id": "SourceProgress"
    },
    "ListAutoscalingPoliciesResponse": {
      "type": "object",
      "id": "ListAutoscalingPoliciesResponse",
      "properties": {
        "nextPageToken": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. This token is included in the response if there are more results to fetch."
        },
        "policies": {
          "readOnly": true,
          "description": "Output only. Autoscaling policies list.",
          "items": {
            "$ref": "AutoscalingPolicy"
          },
          "type": "array"
        }
      },
      "description": "A response to a request to list autoscaling policies in a project."
    },
    "ClusterOperationStatus": {
      "id": "ClusterOperationStatus",
      "properties": {
        "details": {
          "type": "string",
          "description": "Output only. A message containing any operation metadata details.",
          "readOnly": true
        },
        "state": {
          "type": "string",
          "readOnly": true,
          "enum": [
            "UNKNOWN",
            "PENDING",
            "RUNNING",
            "DONE"
          ],
          "description": "Output only. A message containing the operation state.",
          "enumDescriptions": [
            "Unused.",
            "The operation has been created.",
            "The operation is running.",
            "The operation is done; either cancelled or completed."
          ]
        },
        "innerState": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. A message containing the detailed operation state."
        },
        "stateStartTime": {
          "readOnly": true,
          "description": "Output only. The time this state was entered.",
          "type": "string",
          "format": "google-datetime"
        }
      },
      "type": "object",
      "description": "The status of the operation."
    },
    "SearchSparkApplicationExecutorStageSummaryResponse": {
      "properties": {
        "nextPageToken": {
          "type": "string",
          "description": "This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSparkApplicationExecutorsListRequest."
        },
        "sparkApplicationStageExecutors": {
          "type": "array",
          "items": {
            "$ref": "ExecutorStageSummary"
          },
          "description": "Details about executors used by the application stage."
        }
      },
      "type": "object",
      "description": "List of Executors associated with a Spark Application Stage.",
      "id": "SearchSparkApplicationExecutorStageSummaryResponse"
    },
    "ManagedCluster": {
      "type": "object",
      "properties": {
        "config": {
          "$ref": "ClusterConfig",
          "description": "Required. The cluster configuration."
        },
        "labels": {
          "description": "Optional. The labels to associate with this cluster.Label keys must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \\p{Ll}\\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \\p{Ll}\\p{Lo}\\p{N}_-{0,63}No more than 32 labels can be associated with a given cluster.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "clusterName": {
          "description": "Required. The cluster name prefix. A unique cluster name will be formed by appending a random suffix.The name must contain only lower-case letters (a-z), numbers (0-9), and hyphens (-). Must begin with a letter. Cannot begin or end with hyphen. Must consist of between 2 and 35 characters.",
          "type": "string"
        }
      },
      "id": "ManagedCluster",
      "description": "Cluster that is managed by the workflow."
    },
    "ListClustersResponse": {
      "id": "ListClustersResponse",
      "type": "object",
      "properties": {
        "nextPageToken": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent ListClustersRequest."
        },
        "clusters": {
          "description": "Output only. The clusters in the project.",
          "readOnly": true,
          "type": "array",
          "items": {
            "$ref": "Cluster"
          }
        }
      },
      "description": "The list of all clusters in a project."
    },
    "ListBatchesResponse": {
      "type": "object",
      "description": "A list of batch workloads.",
      "id": "ListBatchesResponse",
      "properties": {
        "unreachable": {
          "readOnly": true,
          "type": "array",
          "description": "Output only. List of Batches that could not be included in the response. Attempting to get one of these resources may indicate why it was not included in the list response.",
          "items": {
            "type": "string"
          }
        },
        "batches": {
          "readOnly": true,
          "description": "Output only. The batches from the specified collection.",
          "items": {
            "$ref": "Batch"
          },
          "type": "array"
        },
        "nextPageToken": {
          "type": "string",
          "description": "A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages."
        }
      }
    },
    "SessionOperationMetadata": {
      "id": "SessionOperationMetadata",
      "properties": {
        "labels": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Labels associated with the operation."
        },
        "warnings": {
          "description": "Warnings encountered during operation execution.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "createTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "The time when the operation was created."
        },
        "operationType": {
          "type": "string",
          "enum": [
            "SESSION_OPERATION_TYPE_UNSPECIFIED",
            "CREATE",
            "TERMINATE",
            "DELETE"
          ],
          "enumDescriptions": [
            "Session operation type is unknown.",
            "Create Session operation type.",
            "Terminate Session operation type.",
            "Delete Session operation type."
          ],
          "description": "The operation type."
        },
        "session": {
          "description": "Name of the session for the operation.",
          "type": "string"
        },
        "sessionUuid": {
          "description": "Session UUID for the operation.",
          "type": "string"
        },
        "doneTime": {
          "type": "string",
          "description": "The time when the operation was finished.",
          "format": "google-datetime"
        },
        "description": {
          "type": "string",
          "description": "Short description of the operation."
        }
      },
      "description": "Metadata describing the Session operation.",
      "type": "object"
    },
    "SparkSqlJob": {
      "description": "A Dataproc job for running Apache Spark SQL (https://spark.apache.org/sql/) queries.",
      "type": "object",
      "id": "SparkSqlJob",
      "properties": {
        "jarFileUris": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH."
        },
        "properties": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Optional. A mapping of property names to values, used to configure Spark SQL's SparkConf. Properties that conflict with values set by the Dataproc API might be overwritten."
        },
        "queryList": {
          "$ref": "QueryList",
          "description": "A list of queries."
        },
        "scriptVariables": {
          "description": "Optional. Mapping of query variable names to values (equivalent to the Spark SQL command: SET name=\"value\";).",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "queryFileUri": {
          "type": "string",
          "description": "The HCFS URI of the script that contains SQL queries."
        },
        "loggingConfig": {
          "$ref": "LoggingConfig",
          "description": "Optional. The runtime log config for job execution."
        }
      }
    },
    "FlinkJob": {
      "id": "FlinkJob",
      "type": "object",
      "description": "A Dataproc job for running Apache Flink applications on YARN.",
      "properties": {
        "properties": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object",
          "description": "Optional. A mapping of property names to values, used to configure Flink. Properties that conflict with values set by the Dataproc API might be overwritten. Can include properties set in /etc/flink/conf/flink-defaults.conf and classes in user code."
        },
        "mainJarFileUri": {
          "description": "The HCFS URI of the jar file that contains the main class.",
          "type": "string"
        },
        "jarFileUris": {
          "type": "array",
          "description": "Optional. HCFS URIs of jar files to add to the CLASSPATHs of the Flink driver and tasks.",
          "items": {
            "type": "string"
          }
        },
        "loggingConfig": {
          "description": "Optional. The runtime log config for job execution.",
          "$ref": "LoggingConfig"
        },
        "savepointUri": {
          "type": "string",
          "description": "Optional. HCFS URI of the savepoint, which contains the last saved progress for starting the current job."
        },
        "args": {
          "items": {
            "type": "string"
          },
          "description": "Optional. The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision might occur that causes an incorrect job submission.",
          "type": "array"
        },
        "mainClass": {
          "description": "The name of the driver's main class. The jar file that contains the class must be in the default CLASSPATH or specified in jarFileUris.",
          "type": "string"
        }
      }
    },
    "SparkPlanGraphCluster": {
      "id": "SparkPlanGraphCluster",
      "type": "object",
      "description": "Represents a tree of spark plan.",
      "properties": {
        "sparkPlanGraphClusterId": {
          "type": "string",
          "format": "int64"
        },
        "nodes": {
          "items": {
            "$ref": "SparkPlanGraphNodeWrapper"
          },
          "type": "array"
        },
        "desc": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "metrics": {
          "type": "array",
          "items": {
            "$ref": "SqlPlanMetric"
          }
        },
        "metadata": {
          "description": "Optional. Additional metadata for the spark plan graph cluster.",
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        }
      }
    },
    "LoggingConfig": {
      "type": "object",
      "id": "LoggingConfig",
      "properties": {
        "driverLogLevels": {
          "description": "The per-package log levels for the driver. This can include \"root\" package name to configure rootLogger. Examples: - 'com.google = FATAL' - 'root = INFO' - 'org.apache = DEBUG'",
          "type": "object",
          "additionalProperties": {
            "enumDescriptions": [
              "Level is unspecified. Use default level for log4j.",
              "Use ALL level for log4j.",
              "Use TRACE level for log4j.",
              "Use DEBUG level for log4j.",
              "Use INFO level for log4j.",
              "Use WARN level for log4j.",
              "Use ERROR level for log4j.",
              "Use FATAL level for log4j.",
              "Turn off log4j."
            ],
            "enum": [
              "LEVEL_UNSPECIFIED",
              "ALL",
              "TRACE",
              "DEBUG",
              "INFO",
              "WARN",
              "ERROR",
              "FATAL",
              "OFF"
            ],
            "type": "string"
          }
        }
      },
      "description": "The runtime logging config of the job."
    },
    "DiagnoseClusterRequest": {
      "description": "A request to collect cluster diagnostic information.",
      "id": "DiagnoseClusterRequest",
      "type": "object",
      "properties": {
        "tarballAccess": {
          "enumDescriptions": [
            "Tarball Access unspecified. Falls back to default access of the bucket",
            "Google Cloud Support group has read access to the diagnostic tarball",
            "The diagnose service account has read access to the diagnostic tarball"
          ],
          "type": "string",
          "description": "Optional. (Optional) The access type to the diagnostic tarball. If not specified, falls back to default access of the bucket",
          "enum": [
            "TARBALL_ACCESS_UNSPECIFIED",
            "GOOGLE_CLOUD_SUPPORT",
            "GOOGLE_DATAPROC_DIAGNOSE"
          ]
        },
        "yarnApplicationIds": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Optional. Specifies a list of yarn applications on which diagnosis is to be performed."
        },
        "job": {
          "description": "Optional. DEPRECATED Specifies the job on which diagnosis is to be performed. Format: projects/{project}/regions/{region}/jobs/{job}",
          "deprecated": true,
          "type": "string"
        },
        "tarballGcsDir": {
          "description": "Optional. (Optional) The output Cloud Storage directory for the diagnostic tarball. If not specified, a task-specific directory in the cluster's staging bucket will be used.",
          "type": "string"
        },
        "jobs": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Optional. Specifies a list of jobs on which diagnosis is to be performed. Format: projects/{project}/regions/{region}/jobs/{job}"
        },
        "diagnosisInterval": {
          "description": "Optional. Time interval in which diagnosis should be carried out on the cluster.",
          "$ref": "Interval"
        },
        "yarnApplicationId": {
          "type": "string",
          "deprecated": true,
          "description": "Optional. DEPRECATED Specifies the yarn application on which diagnosis is to be performed."
        }
      }
    },
    "SummarizeSparkApplicationJobsResponse": {
      "type": "object",
      "description": "Summary of a Spark Application jobs.",
      "properties": {
        "jobsSummary": {
          "description": "Summary of a Spark Application Jobs",
          "$ref": "JobsSummary"
        }
      },
      "id": "SummarizeSparkApplicationJobsResponse"
    },
    "ClusterToRepair": {
      "id": "ClusterToRepair",
      "properties": {
        "clusterRepairAction": {
          "enumDescriptions": [
            "No action will be taken by default.",
            "Repair cluster in ERROR_DUE_TO_UPDATE states."
          ],
          "description": "Required. Repair action to take on the cluster resource.",
          "enum": [
            "CLUSTER_REPAIR_ACTION_UNSPECIFIED",
            "REPAIR_ERROR_DUE_TO_UPDATE_CLUSTER"
          ],
          "type": "string"
        }
      },
      "description": "Cluster to be repaired",
      "type": "object"
    },
    "IdentityConfig": {
      "id": "IdentityConfig",
      "type": "object",
      "properties": {
        "enableSsh": {
          "type": "boolean",
          "description": "Optional. Whether to enable SSH access for the cluster. The default is true for image versions prior to 3.1 and false for image versions 3.1 and later. The default behavior can be changed when creating clusters using image versions 2.3.30 and later."
        },
        "userServiceAccountMapping": {
          "type": "object",
          "description": "Required. Map of user to service account.",
          "additionalProperties": {
            "type": "string"
          }
        }
      },
      "description": "Identity related configuration, including service account based secure multi-tenancy user mappings."
    },
    "ListOperationsResponse": {
      "id": "ListOperationsResponse",
      "type": "object",
      "description": "The response message for Operations.ListOperations.",
      "properties": {
        "operations": {
          "type": "array",
          "items": {
            "$ref": "Operation"
          },
          "description": "A list of operations that matches the specified filter in the request."
        },
        "nextPageToken": {
          "type": "string",
          "description": "The standard List next-page token."
        },
        "unreachable": {
          "type": "array",
          "description": "Unordered list. Unreachable resources. Populated when the request sets ListOperationsRequest.return_partial_success and reads across collections. For example, when attempting to list all resources across all supported locations.",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "ClusterSelector": {
      "description": "A selector that chooses target cluster for jobs based on metadata.",
      "properties": {
        "clusterLabels": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "Required. The cluster labels. Cluster must have all labels to match.",
          "type": "object"
        },
        "zone": {
          "type": "string",
          "description": "Optional. The zone where workflow process executes. This parameter does not affect the selection of the cluster.If unspecified, the zone of the first cluster matching the selector is used."
        }
      },
      "type": "object",
      "id": "ClusterSelector"
    },
    "Policy": {
      "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources.A Policy is a collection of bindings. A binding binds one or more members, or principals, to a single role. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A role is a named list of permissions; each role can be an IAM predefined role or a user-created custom role.For some types of Google Cloud resources, a binding can also specify a condition, which is a logical expression that allows access to a resource only if the expression evaluates to true. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).JSON example: { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time \u003c timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } YAML example: bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time \u003c timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the IAM documentation (https://cloud.google.com/iam/docs/).",
      "properties": {
        "etag": {
          "type": "string",
          "format": "byte",
          "description": "etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An etag is returned in the response to getIamPolicy, and systems are expected to put that etag in the request to setIamPolicy to ensure that their change will be applied to the same version of the policy.Important: If you use IAM Conditions, you must include the etag field whenever you call setIamPolicy. If you omit this field, then IAM allows you to overwrite a version 3 policy with a version 1 policy, and all of the conditions in the version 3 policy are lost."
        },
        "bindings": {
          "type": "array",
          "items": {
            "$ref": "Binding"
          },
          "description": "Associates a list of members, or principals, with a role. Optionally, may specify a condition that determines how and when the bindings are applied. Each of the bindings must contain at least one principal.The bindings in a Policy can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the bindings grant 50 different roles to user:alice@example.com, and not to any other principal, then you can add another 1,450 principals to the bindings in the Policy."
        },
        "version": {
          "description": "Specifies the format of the policy.Valid values are 0, 1, and 3. Requests that specify an invalid value are rejected.Any operation that affects conditional role bindings must specify version 3. This requirement applies to the following operations: Getting a policy that includes a conditional role binding Adding a conditional role binding to a policy Changing a conditional role binding in a policy Removing any role binding, with or without a condition, from a policy that includes conditionsImportant: If you use IAM Conditions, you must include the etag field whenever you call setIamPolicy. If you omit this field, then IAM allows you to overwrite a version 3 policy with a version 1 policy, and all of the conditions in the version 3 policy are lost.If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).",
          "type": "integer",
          "format": "int32"
        }
      },
      "id": "Policy",
      "type": "object"
    },
    "AuxiliaryNodeGroup": {
      "properties": {
        "nodeGroupId": {
          "description": "Optional. A node group ID. Generated if not specified.The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of from 3 to 33 characters.",
          "type": "string"
        },
        "nodeGroup": {
          "$ref": "NodeGroup",
          "description": "Required. Node group configuration."
        }
      },
      "description": "Node group identification and configuration information.",
      "type": "object",
      "id": "AuxiliaryNodeGroup"
    },
    "ShuffleWriteMetrics": {
      "properties": {
        "writeTimeNanos": {
          "format": "int64",
          "type": "string"
        },
        "recordsWritten": {
          "format": "int64",
          "type": "string"
        },
        "bytesWritten": {
          "format": "int64",
          "type": "string"
        }
      },
      "type": "object",
      "description": "Shuffle data written by task.",
      "id": "ShuffleWriteMetrics"
    },
    "SearchSessionSparkApplicationStageAttemptsResponse": {
      "id": "SearchSessionSparkApplicationStageAttemptsResponse",
      "description": "A list of Stage Attempts for a Stage of a Spark Application.",
      "properties": {
        "sparkApplicationStageAttempts": {
          "description": "Output only. Data corresponding to a stage attempts",
          "readOnly": true,
          "items": {
            "$ref": "StageData"
          },
          "type": "array"
        },
        "nextPageToken": {
          "type": "string",
          "description": "This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSessionSparkApplicationStageAttemptsRequest."
        }
      },
      "type": "object"
    },
    "InstanceReference": {
      "id": "InstanceReference",
      "type": "object",
      "properties": {
        "publicEciesKey": {
          "type": "string",
          "description": "The public ECIES key used for sharing data with this instance."
        },
        "publicKey": {
          "type": "string",
          "description": "The public RSA key used for sharing data with this instance."
        },
        "instanceName": {
          "type": "string",
          "description": "The user-friendly name of the Compute Engine instance."
        },
        "instanceId": {
          "type": "string",
          "description": "The unique identifier of the Compute Engine instance."
        }
      },
      "description": "A reference to a Compute Engine instance."
    },
    "UsageMetrics": {
      "type": "object",
      "description": "Usage metrics represent approximate total resources consumed by a workload.",
      "id": "UsageMetrics",
      "properties": {
        "milliAcceleratorSecondsL4": {
          "description": "Optional. L4 accelerator usage in (milliAccelerator x seconds) (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)).",
          "format": "int64",
          "type": "string"
        },
        "shuffleStorageGbSeconds": {
          "type": "string",
          "description": "Optional. Shuffle storage usage in (GB x seconds) (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)).",
          "format": "int64"
        },
        "milliAcceleratorSecondsA10080": {
          "type": "string",
          "format": "int64",
          "description": "Optional. A100-80 accelerator usage in (milliAccelerator x seconds) (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing))."
        },
        "milliAcceleratorSeconds": {
          "format": "int64",
          "description": "Optional. Accelerator usage in (milliAccelerator x seconds) (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)). Deprecated: This field is only used in runtime versions below 3.0.",
          "type": "string"
        },
        "milliDcuSeconds": {
          "format": "int64",
          "type": "string",
          "description": "Optional. DCU (Dataproc Compute Units) usage in (milliDCU x seconds) (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing))."
        },
        "milliAcceleratorSecondsA10040": {
          "description": "Optional. A100-40 accelerator usage in (milliAccelerator x seconds) (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)).",
          "type": "string",
          "format": "int64"
        },
        "acceleratorType": {
          "description": "Optional. Accelerator type being used, if any Deprecated: This field is only used in runtime versions below 3.0.",
          "type": "string"
        },
        "updateTime": {
          "description": "Optional. The timestamp of the usage metrics.",
          "type": "string",
          "format": "google-datetime"
        }
      }
    },
    "ShieldedInstanceConfig": {
      "description": "Shielded Instance Config for clusters using Compute Engine Shielded VMs (https://cloud.google.com/security/shielded-cloud/shielded-vm).",
      "type": "object",
      "id": "ShieldedInstanceConfig",
      "properties": {
        "enableSecureBoot": {
          "description": "Optional. Defines whether instances have Secure Boot enabled.",
          "type": "boolean"
        },
        "enableVtpm": {
          "description": "Optional. Defines whether instances have the vTPM enabled.",
          "type": "boolean"
        },
        "enableIntegrityMonitoring": {
          "type": "boolean",
          "description": "Optional. Defines whether instances have integrity monitoring enabled."
        }
      }
    },
    "EndpointConfig": {
      "type": "object",
      "properties": {
        "enableHttpPortAccess": {
          "description": "Optional. If true, enable http access to specific ports on the cluster from external sources. Defaults to false.",
          "type": "boolean"
        },
        "httpPorts": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object",
          "description": "Output only. The map of port descriptions to URLs. Will only be populated if enable_http_port_access is true.",
          "readOnly": true
        }
      },
      "description": "Endpoint config for this cluster",
      "id": "EndpointConfig"
    },
    "StateHistory": {
      "type": "object",
      "description": "Historical state information.",
      "id": "StateHistory",
      "properties": {
        "stateMessage": {
          "type": "string",
          "description": "Output only. Details about the state at this point in history.",
          "readOnly": true
        },
        "state": {
          "enum": [
            "STATE_UNSPECIFIED",
            "PENDING",
            "RUNNING",
            "CANCELLING",
            "CANCELLED",
            "SUCCEEDED",
            "FAILED"
          ],
          "description": "Output only. The state of the batch at this point in history.",
          "enumDescriptions": [
            "The batch state is unknown.",
            "The batch is created before running.",
            "The batch is running.",
            "The batch is cancelling.",
            "The batch cancellation was successful.",
            "The batch completed successfully.",
            "The batch is no longer running due to an error."
          ],
          "readOnly": true,
          "type": "string"
        },
        "stateStartTime": {
          "description": "Output only. The time when the batch entered the historical state.",
          "type": "string",
          "format": "google-datetime",
          "readOnly": true
        }
      }
    },
    "AnalyzeOperationMetadata": {
      "description": "Metadata describing the Analyze operation.",
      "properties": {
        "analyzedWorkloadUuid": {
          "type": "string",
          "description": "Output only. unique identifier of the workload typically generated by control plane. E.g. batch uuid.",
          "readOnly": true
        },
        "doneTime": {
          "format": "google-datetime",
          "description": "Output only. The time when the operation finished.",
          "type": "string",
          "readOnly": true
        },
        "analyzedWorkloadType": {
          "enum": [
            "WORKLOAD_TYPE_UNSPECIFIED",
            "BATCH"
          ],
          "description": "Output only. Type of the workload being analyzed.",
          "enumDescriptions": [
            "Undefined option",
            "Serverless batch job"
          ],
          "readOnly": true,
          "type": "string"
        },
        "labels": {
          "description": "Output only. Labels associated with the operation.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "readOnly": true
        },
        "description": {
          "type": "string",
          "description": "Output only. Short description of the operation.",
          "readOnly": true
        },
        "createTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Output only. The time when the operation was created.",
          "readOnly": true
        },
        "warnings": {
          "readOnly": true,
          "items": {
            "type": "string"
          },
          "description": "Output only. Warnings encountered during operation execution.",
          "type": "array"
        },
        "analyzedWorkloadName": {
          "type": "string",
          "description": "Output only. name of the workload being analyzed.",
          "readOnly": true
        }
      },
      "id": "AnalyzeOperationMetadata",
      "type": "object"
    },
    "JobsSummary": {
      "type": "object",
      "description": "Data related to Jobs page summary",
      "id": "JobsSummary",
      "properties": {
        "completedJobs": {
          "format": "int32",
          "type": "integer",
          "description": "Number of completed jobs"
        },
        "schedulingMode": {
          "description": "Spark Scheduling mode",
          "type": "string"
        },
        "activeJobs": {
          "description": "Number of active jobs",
          "format": "int32",
          "type": "integer"
        },
        "failedJobs": {
          "type": "integer",
          "format": "int32",
          "description": "Number of failed jobs"
        },
        "applicationId": {
          "type": "string",
          "description": "Spark Application Id"
        },
        "attempts": {
          "description": "Attempts info",
          "items": {
            "$ref": "ApplicationAttemptInfo"
          },
          "type": "array"
        }
      }
    },
    "PrestoJob": {
      "id": "PrestoJob",
      "type": "object",
      "description": "A Dataproc job for running Presto (https://prestosql.io/) queries. IMPORTANT: The Dataproc Presto Optional Component (https://cloud.google.com/dataproc/docs/concepts/components/presto) must be enabled when the cluster is created to submit a Presto job to the cluster.",
      "properties": {
        "queryFileUri": {
          "type": "string",
          "description": "The HCFS URI of the script that contains SQL queries."
        },
        "outputFormat": {
          "description": "Optional. The format in which query output will be displayed. See the Presto documentation for supported output formats",
          "type": "string"
        },
        "clientTags": {
          "description": "Optional. Presto client tags to attach to this query",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "properties": {
          "description": "Optional. A mapping of property names to values. Used to set Presto session properties (https://prestodb.io/docs/current/sql/set-session.html) Equivalent to using the --session flag in the Presto CLI",
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "continueOnFailure": {
          "type": "boolean",
          "description": "Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries."
        },
        "loggingConfig": {
          "$ref": "LoggingConfig",
          "description": "Optional. The runtime log config for job execution."
        },
        "queryList": {
          "description": "A list of queries.",
          "$ref": "QueryList"
        }
      }
    },
    "WorkflowNode": {
      "description": "The workflow node.",
      "id": "WorkflowNode",
      "type": "object",
      "properties": {
        "jobId": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The job id; populated after the node enters RUNNING state."
        },
        "error": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. The error detail."
        },
        "state": {
          "readOnly": true,
          "description": "Output only. The node state.",
          "enumDescriptions": [
            "State is unspecified.",
            "The node is awaiting prerequisite node to finish.",
            "The node is runnable but not running.",
            "The node is running.",
            "The node completed successfully.",
            "The node failed. A node can be marked FAILED because its ancestor or peer failed."
          ],
          "type": "string",
          "enum": [
            "NODE_STATE_UNSPECIFIED",
            "BLOCKED",
            "RUNNABLE",
            "RUNNING",
            "COMPLETED",
            "FAILED"
          ]
        },
        "prerequisiteStepIds": {
          "readOnly": true,
          "type": "array",
          "description": "Output only. Node's prerequisite nodes.",
          "items": {
            "type": "string"
          }
        },
        "stepId": {
          "type": "string",
          "description": "Output only. The name of the node.",
          "readOnly": true
        }
      }
    },
    "AccessSparkApplicationNativeBuildInfoResponse": {
      "properties": {
        "buildInfo": {
          "description": "Native Build Info Data",
          "$ref": "NativeBuildInfoUiData"
        }
      },
      "id": "AccessSparkApplicationNativeBuildInfoResponse",
      "type": "object",
      "description": "Details of Native Build Info for a Spark Application"
    },
    "PyPiRepositoryConfig": {
      "type": "object",
      "id": "PyPiRepositoryConfig",
      "description": "Configuration for PyPi repository",
      "properties": {
        "pypiRepository": {
          "type": "string",
          "description": "Optional. The PyPi repository address. Note: This field is not available for batch workloads."
        }
      }
    },
    "TaskData": {
      "type": "object",
      "description": "Data corresponding to tasks created by spark.",
      "id": "TaskData",
      "properties": {
        "executorLogs": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "index": {
          "type": "integer",
          "format": "int32"
        },
        "stageAttemptId": {
          "type": "integer",
          "format": "int32"
        },
        "accumulatorUpdates": {
          "type": "array",
          "items": {
            "$ref": "AccumulableInfo"
          }
        },
        "durationMillis": {
          "format": "int64",
          "type": "string"
        },
        "host": {
          "type": "string"
        },
        "attempt": {
          "type": "integer",
          "format": "int32"
        },
        "taskMetrics": {
          "$ref": "TaskMetrics"
        },
        "executorId": {
          "type": "string"
        },
        "launchTime": {
          "format": "google-datetime",
          "type": "string"
        },
        "partitionId": {
          "format": "int32",
          "type": "integer"
        },
        "taskLocality": {
          "type": "string"
        },
        "errorMessage": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "gettingResultTimeMillis": {
          "format": "int64",
          "type": "string"
        },
        "resultFetchStart": {
          "type": "string",
          "format": "google-datetime"
        },
        "stageId": {
          "format": "int64",
          "type": "string"
        },
        "speculative": {
          "type": "boolean"
        },
        "hasMetrics": {
          "type": "boolean"
        },
        "taskId": {
          "format": "int64",
          "type": "string"
        },
        "schedulerDelayMillis": {
          "type": "string",
          "format": "int64"
        }
      }
    },
    "InstantiateWorkflowTemplateRequest": {
      "description": "A request to instantiate a workflow template.",
      "properties": {
        "version": {
          "format": "int32",
          "type": "integer",
          "description": "Optional. The version of workflow template to instantiate. If specified, the workflow will be instantiated only if the current version of the workflow template has the supplied version.This option cannot be used to instantiate a previous version of workflow template."
        },
        "requestId": {
          "type": "string",
          "description": "Optional. A tag that prevents multiple concurrent workflow instances with the same tag from running. This mitigates risk of concurrent instances started due to retries.It is recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The tag must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters."
        },
        "parameters": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "Optional. Map from parameter names to values that should be used for those parameters. Values may not exceed 1000 characters.",
          "type": "object"
        }
      },
      "id": "InstantiateWorkflowTemplateRequest",
      "type": "object"
    },
    "GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig": {
      "properties": {
        "kmsKey": {
          "description": "Optional. The Cloud KMS key name to use for encrypting workflow template job arguments.When this this key is provided, the following workflow template job arguments (https://cloud.google.com/dataproc/docs/concepts/workflows/use-workflows#adding_jobs_to_a_template), if present, are CMEK encrypted (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/customer-managed-encryption#use_cmek_with_workflow_template_data): FlinkJob args (https://cloud.google.com/dataproc/docs/reference/rest/v1/FlinkJob) HadoopJob args (https://cloud.google.com/dataproc/docs/reference/rest/v1/HadoopJob) SparkJob args (https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkJob) SparkRJob args (https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkRJob) PySparkJob args (https://cloud.google.com/dataproc/docs/reference/rest/v1/PySparkJob) SparkSqlJob (https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkSqlJob) scriptVariables and queryList.queries HiveJob (https://cloud.google.com/dataproc/docs/reference/rest/v1/HiveJob) scriptVariables and queryList.queries PigJob (https://cloud.google.com/dataproc/docs/reference/rest/v1/PigJob) scriptVariables and queryList.queries PrestoJob (https://cloud.google.com/dataproc/docs/reference/rest/v1/PrestoJob) scriptVariables and queryList.queries",
          "type": "string"
        }
      },
      "id": "GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig",
      "type": "object",
      "description": "Encryption settings for encrypting workflow template job arguments."
    },
    "AppSummary": {
      "id": "AppSummary",
      "properties": {
        "numCompletedStages": {
          "type": "integer",
          "format": "int32"
        },
        "numCompletedJobs": {
          "format": "int32",
          "type": "integer"
        }
      },
      "type": "object"
    },
    "ExecutorPeakMetricsDistributions": {
      "type": "object",
      "id": "ExecutorPeakMetricsDistributions",
      "properties": {
        "quantiles": {
          "items": {
            "type": "number",
            "format": "double"
          },
          "type": "array"
        },
        "executorMetrics": {
          "items": {
            "$ref": "ExecutorMetrics"
          },
          "type": "array"
        }
      }
    },
    "RddOperationNode": {
      "properties": {
        "callsite": {
          "type": "string"
        },
        "nodeId": {
          "format": "int32",
          "type": "integer"
        },
        "outputDeterministicLevel": {
          "enum": [
            "DETERMINISTIC_LEVEL_UNSPECIFIED",
            "DETERMINISTIC_LEVEL_DETERMINATE",
            "DETERMINISTIC_LEVEL_UNORDERED",
            "DETERMINISTIC_LEVEL_INDETERMINATE"
          ],
          "type": "string",
          "enumDescriptions": [
            "",
            "",
            "",
            ""
          ]
        },
        "cached": {
          "type": "boolean"
        },
        "barrier": {
          "type": "boolean"
        },
        "name": {
          "type": "string"
        }
      },
      "description": "A node in the RDD operation graph. Corresponds to a single RDD.",
      "id": "RddOperationNode",
      "type": "object"
    },
    "SearchSparkApplicationExecutorsResponse": {
      "type": "object",
      "properties": {
        "nextPageToken": {
          "description": "This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSparkApplicationExecutorsListRequest.",
          "type": "string"
        },
        "sparkApplicationExecutors": {
          "type": "array",
          "description": "Details about executors used by the application.",
          "items": {
            "$ref": "ExecutorSummary"
          }
        }
      },
      "description": "List of Executors associated with a Spark Application.",
      "id": "SearchSparkApplicationExecutorsResponse"
    },
    "WriteSessionSparkApplicationContextRequest": {
      "properties": {
        "sparkWrapperObjects": {
          "description": "Required. The batch of spark application context objects sent for ingestion.",
          "items": {
            "$ref": "SparkWrapperObject"
          },
          "type": "array"
        },
        "parent": {
          "description": "Required. Parent (Batch) resource reference.",
          "type": "string"
        }
      },
      "description": "Write Spark Application data to internal storage systems",
      "id": "WriteSessionSparkApplicationContextRequest",
      "type": "object"
    },
    "ExecutorResourceRequest": {
      "description": "Resources used per executor used by the application.",
      "type": "object",
      "properties": {
        "resourceName": {
          "type": "string"
        },
        "amount": {
          "type": "string",
          "format": "int64"
        },
        "discoveryScript": {
          "type": "string"
        },
        "vendor": {
          "type": "string"
        }
      },
      "id": "ExecutorResourceRequest"
    },
    "LifecycleConfig": {
      "type": "object",
      "id": "LifecycleConfig",
      "properties": {
        "idleStopTtl": {
          "format": "google-duration",
          "description": "Optional. The duration to keep the cluster started while idling (when no jobs are running). Passing this threshold will cause the cluster to be stopped. Minimum value is 5 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).",
          "type": "string"
        },
        "autoDeleteTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Optional. The time when cluster will be auto-deleted (see JSON representation of Timestamp (https://developers.google.com/protocol-buffers/docs/proto3#json))."
        },
        "idleDeleteTtl": {
          "format": "google-duration",
          "type": "string",
          "description": "Optional. The duration to keep the cluster alive while idling (when no jobs are running). Passing this threshold will cause the cluster to be deleted. Minimum value is 5 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json))."
        },
        "autoStopTtl": {
          "description": "Optional. The lifetime duration of the cluster. The cluster will be auto-stopped at the end of this period, calculated from the time of submission of the create or update cluster request. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).",
          "type": "string",
          "format": "google-duration"
        },
        "autoStopTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "Optional. The time when cluster will be auto-stopped (see JSON representation of Timestamp (https://developers.google.com/protocol-buffers/docs/proto3#json))."
        },
        "autoDeleteTtl": {
          "format": "google-duration",
          "type": "string",
          "description": "Optional. The lifetime duration of cluster. The cluster will be auto-deleted at the end of this period. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json))."
        },
        "idleStartTime": {
          "format": "google-datetime",
          "readOnly": true,
          "type": "string",
          "description": "Output only. The time when cluster became idle (most recent job finished) and became eligible for deletion due to idleness (see JSON representation of Timestamp (https://developers.google.com/protocol-buffers/docs/proto3#json))."
        }
      },
      "description": "Specifies the cluster auto-delete schedule configuration."
    },
    "RddOperationGraph": {
      "description": "Graph representing RDD dependencies. Consists of edges and a root cluster.",
      "type": "object",
      "properties": {
        "incomingEdges": {
          "type": "array",
          "items": {
            "$ref": "RddOperationEdge"
          }
        },
        "edges": {
          "type": "array",
          "items": {
            "$ref": "RddOperationEdge"
          }
        },
        "rootCluster": {
          "$ref": "RddOperationCluster"
        },
        "stageId": {
          "type": "string",
          "format": "int64"
        },
        "outgoingEdges": {
          "type": "array",
          "items": {
            "$ref": "RddOperationEdge"
          }
        }
      },
      "id": "RddOperationGraph"
    },
    "SubmitJobRequest": {
      "type": "object",
      "description": "A request to submit a job.",
      "properties": {
        "requestId": {
          "description": "Optional. A unique id used to identify the request. If the server receives two SubmitJobRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.SubmitJobRequest)s with the same id, then the second request will be ignored and the first Job created and stored in the backend is returned.It is recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.",
          "type": "string"
        },
        "job": {
          "description": "Required. The job resource.",
          "$ref": "Job"
        }
      },
      "id": "SubmitJobRequest"
    },
    "NodeInitializationAction": {
      "type": "object",
      "properties": {
        "executableFile": {
          "description": "Required. Cloud Storage URI of executable file.",
          "type": "string"
        },
        "executionTimeout": {
          "format": "google-duration",
          "type": "string",
          "description": "Optional. Amount of time executable has to complete. Default is 10 minutes (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).Cluster creation fails with an explanatory error message (the name of the executable that caused the error and the exceeded timeout period) if the executable is not completed at end of the timeout period."
        }
      },
      "id": "NodeInitializationAction",
      "description": "Specifies an executable to run on a fully configured node and a timeout period for executable completion."
    },
    "ExecutorStageSummary": {
      "properties": {
        "outputRecords": {
          "type": "string",
          "format": "int64"
        },
        "diskBytesSpilled": {
          "type": "string",
          "format": "int64"
        },
        "shuffleRead": {
          "type": "string",
          "format": "int64"
        },
        "executorId": {
          "type": "string"
        },
        "outputBytes": {
          "type": "string",
          "format": "int64"
        },
        "stageAttemptId": {
          "type": "integer",
          "format": "int32"
        },
        "peakMemoryMetrics": {
          "$ref": "ExecutorMetrics"
        },
        "inputBytes": {
          "type": "string",
          "format": "int64"
        },
        "shuffleWriteRecords": {
          "type": "string",
          "format": "int64"
        },
        "failedTasks": {
          "type": "integer",
          "format": "int32"
        },
        "inputRecords": {
          "format": "int64",
          "type": "string"
        },
        "succeededTasks": {
          "format": "int32",
          "type": "integer"
        },
        "memoryBytesSpilled": {
          "format": "int64",
          "type": "string"
        },
        "isExcludedForStage": {
          "type": "boolean"
        },
        "taskTimeMillis": {
          "type": "string",
          "format": "int64"
        },
        "shuffleWrite": {
          "format": "int64",
          "type": "string"
        },
        "killedTasks": {
          "type": "integer",
          "format": "int32"
        },
        "stageId": {
          "type": "string",
          "format": "int64"
        },
        "shuffleReadRecords": {
          "type": "string",
          "format": "int64"
        }
      },
      "type": "object",
      "description": "Executor resources consumed by a stage.",
      "id": "ExecutorStageSummary"
    },
    "InjectCredentialsRequest": {
      "id": "InjectCredentialsRequest",
      "description": "A request to inject credentials into a cluster.",
      "properties": {
        "clusterUuid": {
          "type": "string",
          "description": "Required. The cluster UUID."
        },
        "credentialsCiphertext": {
          "type": "string",
          "description": "Required. The encrypted credentials being injected in to the cluster.The client is responsible for encrypting the credentials in a way that is supported by the cluster.A wrapped value is used here so that the actual contents of the encrypted credentials are not written to audit logs."
        }
      },
      "type": "object"
    },
    "SoftwareConfig": {
      "type": "object",
      "properties": {
        "imageVersion": {
          "type": "string",
          "description": "Optional. The version of software inside the cluster. It must be one of the supported Image Versions (https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#supported-dataproc-image-versions), such as \"1.2\" (including a subminor version, such as \"1.2.29\"), or the \"preview\" version (https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-versions#other_versions). If unspecified, it defaults to the latest Debian version."
        },
        "optionalComponents": {
          "description": "Optional. The set of components to activate on the cluster.",
          "type": "array",
          "items": {
            "enumDescriptions": [
              "Unspecified component. Specifying this will cause Cluster creation to fail.",
              "The Anaconda component is no longer supported or applicable to supported Dataproc on Compute Engine image versions (https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-version-clusters#supported-dataproc-image-versions). It cannot be activated on clusters created with supported Dataproc on Compute Engine image versions.",
              "Delta Lake.",
              "Docker",
              "The Druid query engine. (alpha)",
              "Flink",
              "HBase. (beta)",
              "The Hive Web HCatalog (the REST service for accessing HCatalog).",
              "Hudi.",
              "Iceberg.",
              "The Jupyter Notebook.",
              "The Pig component.",
              "The Presto query engine.",
              "The Trino query engine.",
              "The Ranger service.",
              "The Solr service.",
              "The Zeppelin notebook.",
              "The Zookeeper service.",
              "The Jupyter Kernel Gateway."
            ],
            "enum": [
              "COMPONENT_UNSPECIFIED",
              "ANACONDA",
              "DELTA",
              "DOCKER",
              "DRUID",
              "FLINK",
              "HBASE",
              "HIVE_WEBHCAT",
              "HUDI",
              "ICEBERG",
              "JUPYTER",
              "PIG",
              "PRESTO",
              "TRINO",
              "RANGER",
              "SOLR",
              "ZEPPELIN",
              "ZOOKEEPER",
              "JUPYTER_KERNEL_GATEWAY"
            ],
            "type": "string"
          }
        },
        "properties": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Optional. The properties to set on daemon config files.Property keys are specified in prefix:property format, for example core:hadoop.tmp.dir. The following are supported prefixes and their mappings: capacity-scheduler: capacity-scheduler.xml core: core-site.xml distcp: distcp-default.xml hdfs: hdfs-site.xml hive: hive-site.xml mapred: mapred-site.xml pig: pig.properties spark: spark-defaults.conf yarn: yarn-site.xmlFor more information, see Cluster properties (https://cloud.google.com/dataproc/docs/concepts/cluster-properties)."
        }
      },
      "id": "SoftwareConfig",
      "description": "Specifies the selection and config of software inside the cluster."
    },
    "ReservationAffinity": {
      "description": "Reservation Affinity for consuming Zonal reservation.",
      "type": "object",
      "properties": {
        "values": {
          "items": {
            "type": "string"
          },
          "description": "Optional. Corresponds to the label values of reservation resource.",
          "type": "array"
        },
        "key": {
          "description": "Optional. Corresponds to the label key of reservation resource.",
          "type": "string"
        },
        "consumeReservationType": {
          "description": "Optional. Type of reservation to consume",
          "type": "string",
          "enumDescriptions": [
            "",
            "Do not consume from any allocated capacity.",
            "Consume any reservation available.",
            "Must consume from a specific reservation. Must specify key value fields for specifying the reservations."
          ],
          "enum": [
            "TYPE_UNSPECIFIED",
            "NO_RESERVATION",
            "ANY_RESERVATION",
            "SPECIFIC_RESERVATION"
          ]
        }
      },
      "id": "ReservationAffinity"
    },
    "JupyterConfig": {
      "description": "Jupyter configuration for an interactive session.",
      "type": "object",
      "id": "JupyterConfig",
      "properties": {
        "kernel": {
          "enumDescriptions": [
            "The kernel is unknown.",
            "Python kernel.",
            "Scala kernel."
          ],
          "description": "Optional. Kernel",
          "enum": [
            "KERNEL_UNSPECIFIED",
            "PYTHON",
            "SCALA"
          ],
          "type": "string"
        },
        "displayName": {
          "description": "Optional. Display name, shown in the Jupyter kernelspec card.",
          "type": "string"
        }
      }
    },
    "ListWorkflowTemplatesResponse": {
      "id": "ListWorkflowTemplatesResponse",
      "description": "A response to a request to list workflow templates in a project.",
      "properties": {
        "nextPageToken": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent ListWorkflowTemplatesRequest."
        },
        "unreachable": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "readOnly": true,
          "description": "Output only. List of workflow templates that could not be included in the response. Attempting to get one of these resources may indicate why it was not included in the list response."
        },
        "templates": {
          "type": "array",
          "readOnly": true,
          "description": "Output only. WorkflowTemplates list.",
          "items": {
            "$ref": "WorkflowTemplate"
          }
        }
      },
      "type": "object"
    },
    "SqlExecutionUiData": {
      "properties": {
        "physicalPlanDescription": {
          "type": "string"
        },
        "stages": {
          "type": "array",
          "items": {
            "format": "int64",
            "type": "string"
          }
        },
        "rootExecutionId": {
          "type": "string",
          "format": "int64"
        },
        "metrics": {
          "type": "array",
          "items": {
            "$ref": "SqlPlanMetric"
          }
        },
        "modifiedConfigs": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "metricValuesIsNull": {
          "type": "boolean"
        },
        "details": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "errorMessage": {
          "type": "string"
        },
        "executionId": {
          "type": "string",
          "format": "int64"
        },
        "metricValues": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "completionTime": {
          "format": "google-datetime",
          "type": "string"
        },
        "jobs": {
          "type": "object",
          "additionalProperties": {
            "type": "string",
            "enum": [
              "JOB_EXECUTION_STATUS_UNSPECIFIED",
              "JOB_EXECUTION_STATUS_RUNNING",
              "JOB_EXECUTION_STATUS_SUCCEEDED",
              "JOB_EXECUTION_STATUS_FAILED",
              "JOB_EXECUTION_STATUS_UNKNOWN"
            ],
            "enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          }
        },
        "submissionTime": {
          "type": "string",
          "format": "google-datetime"
        }
      },
      "type": "object",
      "id": "SqlExecutionUiData",
      "description": "SQL Execution Data"
    },
    "NativeSqlExecutionUiData": {
      "description": "Native SQL Execution Data",
      "id": "NativeSqlExecutionUiData",
      "type": "object",
      "properties": {
        "fallbackDescription": {
          "type": "string",
          "description": "Optional. Description of the fallback."
        },
        "numNativeNodes": {
          "description": "Optional. Number of nodes in Native.",
          "type": "integer",
          "format": "int32"
        },
        "executionId": {
          "format": "int64",
          "type": "string",
          "description": "Required. Execution ID of the Native SQL Execution."
        },
        "numFallbackNodes": {
          "type": "integer",
          "format": "int32",
          "description": "Optional. Number of nodes fallen back to Spark."
        },
        "description": {
          "description": "Optional. Description of the execution.",
          "type": "string"
        },
        "fallbackNodeToReason": {
          "items": {
            "$ref": "FallbackReason"
          },
          "description": "Optional. Fallback node to reason.",
          "type": "array"
        }
      }
    },
    "SparkConnectSessionInfo": {
      "type": "object",
      "description": "Represents session-level information for Spark Connect",
      "id": "SparkConnectSessionInfo",
      "properties": {
        "totalExecution": {
          "format": "int64",
          "type": "string",
          "description": "Optional. Total number of executions in the session."
        },
        "sessionId": {
          "type": "string",
          "description": "Required. Session ID of the session."
        },
        "startTimestamp": {
          "format": "int64",
          "description": "Timestamp when the session started.",
          "type": "string"
        },
        "userId": {
          "type": "string",
          "description": "User ID of the user who started the session."
        },
        "finishTimestamp": {
          "description": "Timestamp when the session finished.",
          "format": "int64",
          "type": "string"
        }
      }
    },
    "SparkPlanGraphNode": {
      "properties": {
        "metrics": {
          "items": {
            "$ref": "SqlPlanMetric"
          },
          "type": "array"
        },
        "name": {
          "type": "string"
        },
        "desc": {
          "type": "string"
        },
        "metadata": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Optional. Additional metadata for the spark plan graph cluster."
        },
        "sparkPlanGraphNodeId": {
          "format": "int64",
          "type": "string"
        }
      },
      "type": "object",
      "description": "Represents a node in the spark plan tree.",
      "id": "SparkPlanGraphNode"
    },
    "RddPartitionInfo": {
      "id": "RddPartitionInfo",
      "type": "object",
      "properties": {
        "blockName": {
          "type": "string"
        },
        "executors": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "memoryUsed": {
          "format": "int64",
          "type": "string"
        },
        "diskUsed": {
          "type": "string",
          "format": "int64"
        },
        "storageLevel": {
          "type": "string"
        }
      },
      "description": "Information about RDD partitions."
    },
    "AccessSessionSparkApplicationResponse": {
      "description": "A summary of Spark Application",
      "id": "AccessSessionSparkApplicationResponse",
      "properties": {
        "application": {
          "description": "Output only. High level information corresponding to an application.",
          "readOnly": true,
          "$ref": "ApplicationInfo"
        }
      },
      "type": "object"
    },
    "SparkRuntimeInfo": {
      "id": "SparkRuntimeInfo",
      "properties": {
        "javaVersion": {
          "type": "string"
        },
        "scalaVersion": {
          "type": "string"
        },
        "javaHome": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "SearchSessionSparkApplicationStagesResponse": {
      "type": "object",
      "id": "SearchSessionSparkApplicationStagesResponse",
      "description": "A list of stages associated with a Spark Application.",
      "properties": {
        "sparkApplicationStages": {
          "description": "Output only. Data corresponding to a stage.",
          "type": "array",
          "items": {
            "$ref": "StageData"
          },
          "readOnly": true
        },
        "nextPageToken": {
          "description": "This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSessionSparkApplicationStages.",
          "type": "string"
        }
      }
    },
    "AccessSparkApplicationStageAttemptResponse": {
      "properties": {
        "stageData": {
          "description": "Output only. Data corresponding to a stage.",
          "readOnly": true,
          "$ref": "StageData"
        }
      },
      "id": "AccessSparkApplicationStageAttemptResponse",
      "type": "object",
      "description": "Stage Attempt for a Stage of a Spark Application"
    },
    "SearchSessionSparkApplicationJobsResponse": {
      "properties": {
        "nextPageToken": {
          "description": "This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSessionSparkApplicationJobsRequest.",
          "type": "string"
        },
        "sparkApplicationJobs": {
          "readOnly": true,
          "items": {
            "$ref": "JobData"
          },
          "type": "array",
          "description": "Output only. Data corresponding to a spark job."
        }
      },
      "description": "A list of Jobs associated with a Spark Application.",
      "id": "SearchSessionSparkApplicationJobsResponse",
      "type": "object"
    },
    "SearchSessionSparkApplicationsResponse": {
      "id": "SearchSessionSparkApplicationsResponse",
      "type": "object",
      "description": "A list of summary of Spark Applications",
      "properties": {
        "sparkApplications": {
          "type": "array",
          "readOnly": true,
          "description": "Output only. High level information corresponding to an application.",
          "items": {
            "$ref": "SparkApplication"
          }
        },
        "nextPageToken": {
          "type": "string",
          "description": "This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSessionSparkApplicationsRequest."
        }
      }
    },
    "RddOperationCluster": {
      "description": "A grouping of nodes representing higher level constructs (stage, job etc.).",
      "id": "RddOperationCluster",
      "type": "object",
      "properties": {
        "childClusters": {
          "type": "array",
          "items": {
            "$ref": "RddOperationCluster"
          }
        },
        "name": {
          "type": "string"
        },
        "rddClusterId": {
          "type": "string"
        },
        "childNodes": {
          "type": "array",
          "items": {
            "$ref": "RddOperationNode"
          }
        }
      }
    },
    "VirtualClusterConfig": {
      "properties": {
        "kubernetesClusterConfig": {
          "$ref": "KubernetesClusterConfig",
          "description": "Required. The configuration for running the cluster on Kubernetes."
        },
        "auxiliaryServicesConfig": {
          "description": "Optional. Configuration of auxiliary services used by this cluster.",
          "$ref": "AuxiliaryServicesConfig"
        },
        "stagingBucket": {
          "description": "Optional. A Cloud Storage bucket used to stage job dependencies, config files, and job driver console output. If you do not specify a staging bucket, the service will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket (see staging and temp buckets (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)). This field requires a Cloud Storage bucket name, not a gs://... URI to a Cloud Storage bucket.",
          "type": "string"
        }
      },
      "id": "VirtualClusterConfig",
      "description": "The cluster config for a cluster that does not directly control the underlying compute resources, such as a GKE cluster (https://cloud.google.com/dataproc/docs/guides/dpgke/dataproc-gke-overview).",
      "type": "object"
    },
    "Job": {
      "type": "object",
      "description": "A Dataproc job resource.",
      "id": "Job",
      "properties": {
        "statusHistory": {
          "items": {
            "$ref": "JobStatus"
          },
          "description": "Output only. The previous job status.",
          "readOnly": true,
          "type": "array"
        },
        "prestoJob": {
          "$ref": "PrestoJob",
          "description": "Optional. Job is a Presto job."
        },
        "sparkRJob": {
          "description": "Optional. Job is a SparkR job.",
          "$ref": "SparkRJob"
        },
        "jobUuid": {
          "description": "Output only. A UUID that uniquely identifies a job within the project over time. This is in contrast to a user-settable reference.job_id that might be reused over time.",
          "type": "string",
          "readOnly": true
        },
        "done": {
          "description": "Output only. Indicates whether the job is completed. If the value is false, the job is still in progress. If true, the job is completed, and status.state field will indicate if it was successful, failed, or cancelled.",
          "readOnly": true,
          "type": "boolean"
        },
        "placement": {
          "$ref": "JobPlacement",
          "description": "Required. Job information, including how, when, and where to run the job."
        },
        "sparkJob": {
          "$ref": "SparkJob",
          "description": "Optional. Job is a Spark job."
        },
        "trinoJob": {
          "description": "Optional. Job is a Trino job.",
          "$ref": "TrinoJob"
        },
        "hadoopJob": {
          "description": "Optional. Job is a Hadoop job.",
          "$ref": "HadoopJob"
        },
        "driverControlFilesUri": {
          "description": "Output only. If present, the location of miscellaneous control files which can be used as part of job setup and handling. If not present, control files might be placed in the same location as driver_output_uri.",
          "readOnly": true,
          "type": "string"
        },
        "hiveJob": {
          "description": "Optional. Job is a Hive job.",
          "$ref": "HiveJob"
        },
        "status": {
          "description": "Output only. The job status. Additional application-specific status information might be contained in the type_job and yarn_applications fields.",
          "$ref": "JobStatus",
          "readOnly": true
        },
        "sparkSqlJob": {
          "description": "Optional. Job is a SparkSql job.",
          "$ref": "SparkSqlJob"
        },
        "flinkJob": {
          "description": "Optional. Job is a Flink job.",
          "$ref": "FlinkJob"
        },
        "driverSchedulingConfig": {
          "description": "Optional. Driver scheduling configuration.",
          "$ref": "DriverSchedulingConfig"
        },
        "driverOutputResourceUri": {
          "description": "Output only. A URI pointing to the location of the stdout of the job's driver program.",
          "readOnly": true,
          "type": "string"
        },
        "labels": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object",
          "description": "Optional. The labels to associate with this job. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values can be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a job."
        },
        "reference": {
          "$ref": "JobReference",
          "description": "Optional. The fully qualified reference to the job, which can be used to obtain the equivalent REST path of the job resource. If this property is not specified when a job is created, the server generates a job_id."
        },
        "pysparkJob": {
          "description": "Optional. Job is a PySpark job.",
          "$ref": "PySparkJob"
        },
        "scheduling": {
          "$ref": "JobScheduling",
          "description": "Optional. Job scheduling configuration."
        },
        "pigJob": {
          "$ref": "PigJob",
          "description": "Optional. Job is a Pig job."
        },
        "yarnApplications": {
          "type": "array",
          "items": {
            "$ref": "YarnApplication"
          },
          "description": "Output only. The collection of YARN applications spun up by this job.Beta Feature: This report is available for testing purposes only. It might be changed before final release.",
          "readOnly": true
        }
      }
    },
    "InstanceGroupConfig": {
      "description": "The config settings for Compute Engine resources in an instance group, such as a master or worker group.",
      "type": "object",
      "properties": {
        "minNumInstances": {
          "type": "integer",
          "description": "Optional. The minimum number of primary worker instances to create. If min_num_instances is set, cluster creation will succeed if the number of primary workers created is at least equal to the min_num_instances number.Example: Cluster creation request with num_instances = 5 and min_num_instances = 3: If 4 VMs are created and 1 instance fails, the failed VM is deleted. The cluster is resized to 4 instances and placed in a RUNNING state. If 2 instances are created and 3 instances fail, the cluster in placed in an ERROR state. The failed VMs are not deleted.",
          "format": "int32"
        },
        "managedGroupConfig": {
          "description": "Output only. The config for Compute Engine Instance Group Manager that manages this group. This is only used for preemptible instance groups.",
          "$ref": "ManagedGroupConfig",
          "readOnly": true
        },
        "instanceReferences": {
          "items": {
            "$ref": "InstanceReference"
          },
          "description": "Output only. List of references to Compute Engine instances.",
          "readOnly": true,
          "type": "array"
        },
        "machineTypeUri": {
          "description": "Optional. The Compute Engine machine type used for cluster instances.A full URL, partial URI, or short name are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/machineTypes/n1-standard-2 projects/[project_id]/zones/[zone]/machineTypes/n1-standard-2 n1-standard-2Auto Zone Exception: If you are using Auto Zone Placement (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement), you must use the short name of the machine type resource, for example, n1-standard-2.",
          "type": "string"
        },
        "instanceNames": {
          "type": "array",
          "readOnly": true,
          "items": {
            "type": "string"
          },
          "description": "Output only. The list of instance names, derived from cluster_name, num_instances, and the instance group."
        },
        "isPreemptible": {
          "readOnly": true,
          "description": "Output only. Specifies that this instance group contains preemptible instances.",
          "type": "boolean"
        },
        "instanceFlexibilityPolicy": {
          "description": "Optional. Instance flexibility Policy allowing a mixture of VM shapes and provisioning models.",
          "$ref": "InstanceFlexibilityPolicy"
        },
        "diskConfig": {
          "description": "Optional. Disk option config settings.",
          "$ref": "DiskConfig"
        },
        "startupConfig": {
          "description": "Optional. Configuration to handle the startup of instances during cluster create and update process.",
          "$ref": "StartupConfig"
        },
        "imageUri": {
          "type": "string",
          "description": "Optional. The Compute Engine image resource used for cluster instances.The URI can represent an image or image family.Image examples: https://www.googleapis.com/compute/v1/projects/[project_id]/global/images/[image-id] projects/[project_id]/global/images/[image-id] image-idImage family examples. The service will use the most recent image from the family: https://www.googleapis.com/compute/v1/projects/[project_id]/global/images/family/[custom-image-family-name] projects/[project_id]/global/images/family/[custom-image-family-name]If the URI is unspecified, it will be inferred from SoftwareConfig.image_version or the system default."
        },
        "accelerators": {
          "type": "array",
          "items": {
            "$ref": "AcceleratorConfig"
          },
          "description": "Optional. The Compute Engine accelerator configuration for these instances."
        },
        "preemptibility": {
          "description": "Optional. Specifies the preemptibility of the instance group.The default value for master and worker groups is NON_PREEMPTIBLE. This default cannot be changed.The default value for secondary instances is PREEMPTIBLE.",
          "type": "string",
          "enum": [
            "PREEMPTIBILITY_UNSPECIFIED",
            "NON_PREEMPTIBLE",
            "PREEMPTIBLE",
            "SPOT"
          ],
          "enumDescriptions": [
            "Preemptibility is unspecified, the system will choose the appropriate setting for each instance group.",
            "Instances are non-preemptible.This option is allowed for all instance groups and is the only valid value for Master and Worker instance groups.",
            "Instances are preemptible (https://cloud.google.com/compute/docs/instances/preemptible).This option is allowed only for secondary worker (https://cloud.google.com/dataproc/docs/concepts/compute/secondary-vms) groups.",
            "Instances are Spot VMs (https://cloud.google.com/compute/docs/instances/spot).This option is allowed only for secondary worker (https://cloud.google.com/dataproc/docs/concepts/compute/secondary-vms) groups. Spot VMs are the latest version of preemptible VMs (https://cloud.google.com/compute/docs/instances/preemptible), and provide additional features."
          ]
        },
        "numInstances": {
          "type": "integer",
          "description": "Optional. The number of VM instances in the instance group. For HA cluster master_config groups, must be set to 3. For standard cluster master_config groups, must be set to 1.",
          "format": "int32"
        },
        "minCpuPlatform": {
          "type": "string",
          "description": "Optional. Specifies the minimum cpu platform for the Instance Group. See Minimum CPU Platform (https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu)."
        }
      },
      "id": "InstanceGroupConfig"
    },
    "TestIamPermissionsRequest": {
      "description": "Request message for TestIamPermissions method.",
      "type": "object",
      "id": "TestIamPermissionsRequest",
      "properties": {
        "permissions": {
          "items": {
            "type": "string"
          },
          "description": "The set of permissions to check for the resource. Permissions with wildcards (such as * or storage.*) are not allowed. For more information see IAM Overview (https://cloud.google.com/iam/docs/overview#permissions).",
          "type": "array"
        }
      }
    },
    "Binding": {
      "description": "Associates members, or principals, with a role.",
      "properties": {
        "role": {
          "description": "Role that is assigned to the list of members, or principals. For example, roles/viewer, roles/editor, or roles/owner.For an overview of the IAM roles and permissions, see the IAM documentation (https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see here (https://cloud.google.com/iam/docs/understanding-roles).",
          "type": "string"
        },
        "members": {
          "description": "Specifies the principals requesting access for a Google Cloud resource. members can have the following values: allUsers: A special identifier that represents anyone who is on the internet; with or without a Google account. allAuthenticatedUsers: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. user:{emailid}: An email address that represents a specific Google account. For example, alice@example.com . serviceAccount:{emailid}: An email address that represents a Google service account. For example, my-other-app@appspot.gserviceaccount.com. serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]: An identifier for a Kubernetes service account (https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, my-project.svc.id.goog[my-namespace/my-kubernetes-sa]. group:{emailid}: An email address that represents a Google group. For example, admins@example.com. domain:{domain}: The G Suite domain (primary) that represents all the users of that domain. For example, google.com or example.com. principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}: A single identity in a workforce identity pool. principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}: All workforce identities in a group. principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}: All workforce identities with a specific attribute value. principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*: All identities in a workforce identity pool. principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}: A single identity in a workload identity pool. principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}: A workload identity pool group. principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}: All identities in a workload identity pool with a certain attribute. principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*: All identities in a workload identity pool. deleted:user:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a user that has been recently deleted. For example, alice@example.com?uid=123456789012345678901. If the user is recovered, this value reverts to user:{emailid} and the recovered user retains the role in the binding. deleted:serviceAccount:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901. If the service account is undeleted, this value reverts to serviceAccount:{emailid} and the undeleted service account retains the role in the binding. deleted:group:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, admins@example.com?uid=123456789012345678901. If the group is recovered, this value reverts to group:{emailid} and the recovered group retains the role in the binding. deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}: Deleted single identity in a workforce identity pool. For example, deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "condition": {
          "description": "The condition that is associated with this binding.If the condition evaluates to true, then this binding applies to the current request.If the condition evaluates to false, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).",
          "$ref": "Expr"
        }
      },
      "id": "Binding",
      "type": "object"
    },
    "InstanceGroupAutoscalingPolicyConfig": {
      "description": "Configuration for the size bounds of an instance group, including its proportional size to other groups.",
      "properties": {
        "minInstances": {
          "type": "integer",
          "format": "int32",
          "description": "Optional. Minimum number of instances for this group.Primary workers - Bounds: 2, max_instances. Default: 2. Secondary workers - Bounds: 0, max_instances. Default: 0."
        },
        "maxInstances": {
          "format": "int32",
          "type": "integer",
          "description": "Required. Maximum number of instances for this group. Required for primary workers. Note that by default, clusters will not use secondary workers. Required for secondary workers if the minimum secondary instances is set.Primary workers - Bounds: [min_instances, ). Secondary workers - Bounds: [min_instances, ). Default: 0."
        },
        "weight": {
          "type": "integer",
          "description": "Optional. Weight for the instance group, which is used to determine the fraction of total workers in the cluster from this instance group. For example, if primary workers have weight 2, and secondary workers have weight 1, the cluster will have approximately 2 primary workers for each secondary worker.The cluster may not reach the specified balance if constrained by min/max bounds or other autoscaling settings. For example, if max_instances for secondary workers is 0, then only primary workers will be added. The cluster can also be out of balance when created.If weight is not set on any instance group, the cluster will default to equal weight for all groups: the cluster will attempt to maintain an equal number of workers in each group within the configured size bounds for each group. If weight is set for one group only, the cluster will default to zero weight on the unset group. For example if weight is set only on primary workers, the cluster will use primary workers only and no secondary workers.",
          "format": "int32"
        }
      },
      "type": "object",
      "id": "InstanceGroupAutoscalingPolicyConfig"
    },
    "SummarizeSessionSparkApplicationStageAttemptTasksResponse": {
      "description": "Summary of tasks for a Spark Application stage attempt.",
      "id": "SummarizeSessionSparkApplicationStageAttemptTasksResponse",
      "type": "object",
      "properties": {
        "stageAttemptTasksSummary": {
          "$ref": "StageAttemptTasksSummary",
          "description": "Summary of tasks for a Spark Application Stage Attempt"
        }
      }
    },
    "SearchSparkApplicationStageAttemptsResponse": {
      "type": "object",
      "description": "A list of Stage Attempts for a Stage of a Spark Application.",
      "properties": {
        "sparkApplicationStageAttempts": {
          "description": "Output only. Data corresponding to a stage attempts",
          "type": "array",
          "readOnly": true,
          "items": {
            "$ref": "StageData"
          }
        },
        "nextPageToken": {
          "type": "string",
          "description": "This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent ListSparkApplicationStageAttemptsRequest."
        }
      },
      "id": "SearchSparkApplicationStageAttemptsResponse"
    },
    "ShuffleWriteQuantileMetrics": {
      "properties": {
        "writeTimeNanos": {
          "$ref": "Quantiles"
        },
        "writeBytes": {
          "$ref": "Quantiles"
        },
        "writeRecords": {
          "$ref": "Quantiles"
        }
      },
      "id": "ShuffleWriteQuantileMetrics",
      "type": "object"
    },
    "SummarizeSessionSparkApplicationJobsResponse": {
      "properties": {
        "jobsSummary": {
          "$ref": "JobsSummary",
          "description": "Summary of a Spark Application Jobs"
        }
      },
      "description": "Summary of a Spark Application jobs.",
      "type": "object",
      "id": "SummarizeSessionSparkApplicationJobsResponse"
    },
    "AccessSessionSparkApplicationNativeBuildInfoResponse": {
      "properties": {
        "executionData": {
          "$ref": "NativeBuildInfoUiData",
          "description": "Native SQL Execution Data"
        }
      },
      "description": "Details of a native build info for a Spark Application",
      "type": "object",
      "id": "AccessSessionSparkApplicationNativeBuildInfoResponse"
    },
    "BasicYarnAutoscalingConfig": {
      "id": "BasicYarnAutoscalingConfig",
      "description": "Basic autoscaling configurations for YARN.",
      "type": "object",
      "properties": {
        "scaleDownMinWorkerFraction": {
          "description": "Optional. Minimum scale-down threshold as a fraction of total cluster size before scaling occurs. For example, in a 20-worker cluster, a threshold of 0.1 means the autoscaler must recommend at least a 2 worker scale-down for the cluster to scale. A threshold of 0 means the autoscaler will scale down on any recommended change.Bounds: 0.0, 1.0. Default: 0.0.",
          "format": "double",
          "type": "number"
        },
        "scaleUpMinWorkerFraction": {
          "description": "Optional. Minimum scale-up threshold as a fraction of total cluster size before scaling occurs. For example, in a 20-worker cluster, a threshold of 0.1 means the autoscaler must recommend at least a 2-worker scale-up for the cluster to scale. A threshold of 0 means the autoscaler will scale up on any recommended change.Bounds: 0.0, 1.0. Default: 0.0.",
          "type": "number",
          "format": "double"
        },
        "scaleUpFactor": {
          "type": "number",
          "format": "double",
          "description": "Required. Fraction of average YARN pending memory in the last cooldown period for which to add workers. A scale-up factor of 1.0 will result in scaling up so that there is no pending memory remaining after the update (more aggressive scaling). A scale-up factor closer to 0 will result in a smaller magnitude of scaling up (less aggressive scaling). See How autoscaling works (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/autoscaling#how_autoscaling_works) for more information.Bounds: 0.0, 1.0."
        },
        "gracefulDecommissionTimeout": {
          "type": "string",
          "description": "Required. Timeout for YARN graceful decommissioning of Node Managers. Specifies the duration to wait for jobs to complete before forcefully removing workers (and potentially interrupting jobs). Only applicable to downscaling operations.Bounds: 0s, 1d.",
          "format": "google-duration"
        },
        "scaleDownFactor": {
          "description": "Required. Fraction of average YARN pending memory in the last cooldown period for which to remove workers. A scale-down factor of 1 will result in scaling down so that there is no available memory remaining after the update (more aggressive scaling). A scale-down factor of 0 disables removing workers, which can be beneficial for autoscaling a single job. See How autoscaling works (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/autoscaling#how_autoscaling_works) for more information.Bounds: 0.0, 1.0.",
          "type": "number",
          "format": "double"
        }
      }
    },
    "OutputQuantileMetrics": {
      "properties": {
        "recordsWritten": {
          "$ref": "Quantiles"
        },
        "bytesWritten": {
          "$ref": "Quantiles"
        }
      },
      "type": "object",
      "id": "OutputQuantileMetrics"
    },
    "BasicAutoscalingAlgorithm": {
      "type": "object",
      "id": "BasicAutoscalingAlgorithm",
      "properties": {
        "sparkStandaloneConfig": {
          "description": "Optional. Spark Standalone autoscaling configuration",
          "$ref": "SparkStandaloneAutoscalingConfig"
        },
        "cooldownPeriod": {
          "type": "string",
          "description": "Optional. Duration between scaling events. A scaling period starts after the update operation from the previous event has completed.Bounds: 2m, 1d. Default: 2m.",
          "format": "google-duration"
        },
        "yarnConfig": {
          "$ref": "BasicYarnAutoscalingConfig",
          "description": "Optional. YARN autoscaling configuration."
        }
      },
      "description": "Basic algorithm for autoscaling."
    },
    "ListJobsResponse": {
      "type": "object",
      "description": "A list of jobs in a project.",
      "id": "ListJobsResponse",
      "properties": {
        "jobs": {
          "items": {
            "$ref": "Job"
          },
          "type": "array",
          "description": "Output only. Jobs list.",
          "readOnly": true
        },
        "nextPageToken": {
          "description": "Optional. This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent ListJobsRequest.",
          "type": "string"
        },
        "unreachable": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "readOnly": true,
          "description": "Output only. List of jobs with kms_key-encrypted parameters that could not be decrypted. A response to a jobs.get request may indicate the reason for the decryption failure for a specific job."
        }
      }
    },
    "GkeNodePoolAcceleratorConfig": {
      "id": "GkeNodePoolAcceleratorConfig",
      "description": "A GkeNodeConfigAcceleratorConfig represents a Hardware Accelerator request for a node pool.",
      "properties": {
        "acceleratorCount": {
          "description": "The number of accelerator cards exposed to an instance.",
          "format": "int64",
          "type": "string"
        },
        "acceleratorType": {
          "description": "The accelerator type resource namename (see GPUs on Compute Engine).",
          "type": "string"
        },
        "gpuPartitionSize": {
          "description": "Size of partitions to create on the GPU. Valid values are described in the NVIDIA mig user guide (https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning).",
          "type": "string"
        }
      },
      "type": "object"
    },
    "RddDataDistribution": {
      "id": "RddDataDistribution",
      "type": "object",
      "description": "Details about RDD usage.",
      "properties": {
        "onHeapMemoryRemaining": {
          "type": "string",
          "format": "int64"
        },
        "memoryUsed": {
          "type": "string",
          "format": "int64"
        },
        "onHeapMemoryUsed": {
          "type": "string",
          "format": "int64"
        },
        "address": {
          "type": "string"
        },
        "offHeapMemoryUsed": {
          "format": "int64",
          "type": "string"
        },
        "diskUsed": {
          "format": "int64",
          "type": "string"
        },
        "memoryRemaining": {
          "format": "int64",
          "type": "string"
        },
        "offHeapMemoryRemaining": {
          "type": "string",
          "format": "int64"
        }
      }
    },
    "RuntimeConfig": {
      "properties": {
        "autotuningConfig": {
          "description": "Optional. Autotuning configuration of the workload.",
          "$ref": "AutotuningConfig"
        },
        "cohort": {
          "type": "string",
          "description": "Optional. Cohort identifier. Identifies families of the workloads that have the same shape, for example, daily ETL jobs."
        },
        "repositoryConfig": {
          "description": "Optional. Dependency repository configuration.",
          "$ref": "RepositoryConfig"
        },
        "containerImage": {
          "description": "Optional. Optional custom container image for the job runtime environment. If not specified, a default container image will be used.",
          "type": "string"
        },
        "properties": {
          "description": "Optional. A mapping of property names to values, which are used to configure workload execution.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "version": {
          "description": "Optional. Version of the batch runtime.",
          "type": "string"
        }
      },
      "id": "RuntimeConfig",
      "type": "object",
      "description": "Runtime configuration for a workload."
    },
    "SparkPlanGraphNodeWrapper": {
      "description": "Wrapper user to represent either a node or a cluster.",
      "type": "object",
      "properties": {
        "cluster": {
          "$ref": "SparkPlanGraphCluster"
        },
        "node": {
          "$ref": "SparkPlanGraphNode"
        }
      },
      "id": "SparkPlanGraphNodeWrapper"
    },
    "WriteSparkApplicationContextRequest": {
      "description": "Write Spark Application data to internal storage systems",
      "type": "object",
      "properties": {
        "parent": {
          "description": "Required. Parent (Batch) resource reference.",
          "type": "string"
        },
        "sparkWrapperObjects": {
          "type": "array",
          "items": {
            "$ref": "SparkWrapperObject"
          }
        }
      },
      "id": "WriteSparkApplicationContextRequest"
    },
    "SparkJob": {
      "id": "SparkJob",
      "description": "A Dataproc job for running Apache Spark (https://spark.apache.org/) applications on YARN.",
      "properties": {
        "mainJarFileUri": {
          "description": "The HCFS URI of the jar file that contains the main class.",
          "type": "string"
        },
        "properties": {
          "description": "Optional. A mapping of property names to values, used to configure Spark. Properties that conflict with values set by the Dataproc API might be overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf and classes in user code.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "loggingConfig": {
          "$ref": "LoggingConfig",
          "description": "Optional. The runtime log config for job execution."
        },
        "fileUris": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Optional. HCFS URIs of files to be placed in the working directory of each executor. Useful for naively parallel tasks."
        },
        "archiveUris": {
          "items": {
            "type": "string"
          },
          "description": "Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.",
          "type": "array"
        },
        "args": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Optional. The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision may occur that causes an incorrect job submission."
        },
        "mainClass": {
          "description": "The name of the driver's main class. The jar file that contains the class must be in the default CLASSPATH or specified in SparkJob.jar_file_uris.",
          "type": "string"
        },
        "jarFileUris": {
          "items": {
            "type": "string"
          },
          "description": "Optional. HCFS URIs of jar files to add to the CLASSPATHs of the Spark driver and tasks.",
          "type": "array"
        }
      },
      "type": "object"
    },
    "StreamBlockData": {
      "description": "Stream Block Data.",
      "type": "object",
      "properties": {
        "diskSize": {
          "type": "string",
          "format": "int64"
        },
        "hostPort": {
          "type": "string"
        },
        "useDisk": {
          "type": "boolean"
        },
        "useMemory": {
          "type": "boolean"
        },
        "deserialized": {
          "type": "boolean"
        },
        "storageLevel": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "memSize": {
          "format": "int64",
          "type": "string"
        },
        "executorId": {
          "type": "string"
        }
      },
      "id": "StreamBlockData"
    },
    "SessionStateHistory": {
      "type": "object",
      "description": "Historical state information.",
      "id": "SessionStateHistory",
      "properties": {
        "stateMessage": {
          "description": "Output only. Details about the state at this point in the session history.",
          "type": "string",
          "readOnly": true
        },
        "state": {
          "enum": [
            "STATE_UNSPECIFIED",
            "CREATING",
            "ACTIVE",
            "TERMINATING",
            "TERMINATED",
            "FAILED"
          ],
          "description": "Output only. The state of the session at this point in the session history.",
          "readOnly": true,
          "enumDescriptions": [
            "The session state is unknown.",
            "The session is created prior to running.",
            "The session is running.",
            "The session is terminating.",
            "The session is terminated successfully.",
            "The session is no longer running due to an error."
          ],
          "type": "string"
        },
        "stateStartTime": {
          "description": "Output only. The time when the session entered the historical state.",
          "format": "google-datetime",
          "type": "string",
          "readOnly": true
        }
      }
    },
    "AccessSessionSparkApplicationStageAttemptResponse": {
      "properties": {
        "stageData": {
          "$ref": "StageData",
          "description": "Output only. Data corresponding to a stage.",
          "readOnly": true
        }
      },
      "id": "AccessSessionSparkApplicationStageAttemptResponse",
      "description": "Stage Attempt for a Stage of a Spark Application",
      "type": "object"
    },
    "SearchSparkApplicationStageAttemptTasksResponse": {
      "properties": {
        "sparkApplicationStageAttemptTasks": {
          "description": "Output only. Data corresponding to tasks created by spark.",
          "type": "array",
          "readOnly": true,
          "items": {
            "$ref": "TaskData"
          }
        },
        "nextPageToken": {
          "type": "string",
          "description": "This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent ListSparkApplicationStageAttemptTasksRequest."
        }
      },
      "id": "SearchSparkApplicationStageAttemptTasksResponse",
      "description": "List of tasks for a stage of a Spark Application",
      "type": "object"
    },
    "AccessSparkApplicationEnvironmentInfoResponse": {
      "id": "AccessSparkApplicationEnvironmentInfoResponse",
      "properties": {
        "applicationEnvironmentInfo": {
          "description": "Details about the Environment that the application is running in.",
          "$ref": "ApplicationEnvironmentInfo"
        }
      },
      "description": "Environment details of a Saprk Application.",
      "type": "object"
    },
    "ExecutorMetrics": {
      "id": "ExecutorMetrics",
      "type": "object",
      "properties": {
        "metrics": {
          "type": "object",
          "additionalProperties": {
            "format": "int64",
            "type": "string"
          }
        }
      }
    },
    "AccessSparkApplicationSqlQueryResponse": {
      "id": "AccessSparkApplicationSqlQueryResponse",
      "description": "Details of a query for a Spark Application",
      "properties": {
        "executionData": {
          "$ref": "SqlExecutionUiData",
          "description": "SQL Execution Data"
        }
      },
      "type": "object"
    },
    "SparkHistoryServerConfig": {
      "type": "object",
      "properties": {
        "dataprocCluster": {
          "description": "Optional. Resource name of an existing Dataproc Cluster to act as a Spark History Server for the workload.Example: projects/[project_id]/regions/[region]/clusters/[cluster_name]",
          "type": "string"
        }
      },
      "description": "Spark History Server configuration for the workload.",
      "id": "SparkHistoryServerConfig"
    },
    "ProcessSummary": {
      "id": "ProcessSummary",
      "properties": {
        "isActive": {
          "type": "boolean"
        },
        "hostPort": {
          "type": "string"
        },
        "totalCores": {
          "format": "int32",
          "type": "integer"
        },
        "processId": {
          "type": "string"
        },
        "processLogs": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "addTime": {
          "type": "string",
          "format": "google-datetime"
        },
        "removeTime": {
          "type": "string",
          "format": "google-datetime"
        }
      },
      "type": "object",
      "description": "Process Summary"
    },
    "SearchSparkApplicationsResponse": {
      "properties": {
        "nextPageToken": {
          "type": "string",
          "description": "This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSparkApplicationsRequest."
        },
        "sparkApplications": {
          "items": {
            "$ref": "SparkApplication"
          },
          "description": "Output only. High level information corresponding to an application.",
          "type": "array",
          "readOnly": true
        }
      },
      "type": "object",
      "id": "SearchSparkApplicationsResponse",
      "description": "A list of summary of Spark Applications"
    },
    "Batch": {
      "id": "Batch",
      "description": "A representation of a batch workload in the service.",
      "type": "object",
      "properties": {
        "sparkBatch": {
          "$ref": "SparkBatch",
          "description": "Optional. Spark batch config."
        },
        "sparkSqlBatch": {
          "$ref": "SparkSqlBatch",
          "description": "Optional. SparkSql batch config."
        },
        "stateTime": {
          "description": "Output only. The time when the batch entered a current state.",
          "type": "string",
          "readOnly": true,
          "format": "google-datetime"
        },
        "sparkRBatch": {
          "description": "Optional. SparkR batch config.",
          "$ref": "SparkRBatch"
        },
        "createTime": {
          "format": "google-datetime",
          "description": "Output only. The time when the batch was created.",
          "type": "string",
          "readOnly": true
        },
        "runtimeInfo": {
          "$ref": "RuntimeInfo",
          "readOnly": true,
          "description": "Output only. Runtime information about batch execution."
        },
        "pysparkNotebookBatch": {
          "$ref": "PySparkNotebookBatch",
          "description": "Optional. PySpark notebook batch config."
        },
        "creator": {
          "description": "Output only. The email address of the user who created the batch.",
          "readOnly": true,
          "type": "string"
        },
        "name": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. The resource name of the batch."
        },
        "pysparkBatch": {
          "description": "Optional. PySpark batch config.",
          "$ref": "PySparkBatch"
        },
        "environmentConfig": {
          "$ref": "EnvironmentConfig",
          "description": "Optional. Environment configuration for the batch execution."
        },
        "state": {
          "description": "Output only. The state of the batch.",
          "readOnly": true,
          "type": "string",
          "enumDescriptions": [
            "The batch state is unknown.",
            "The batch is created before running.",
            "The batch is running.",
            "The batch is cancelling.",
            "The batch cancellation was successful.",
            "The batch completed successfully.",
            "The batch is no longer running due to an error."
          ],
          "enum": [
            "STATE_UNSPECIFIED",
            "PENDING",
            "RUNNING",
            "CANCELLING",
            "CANCELLED",
            "SUCCEEDED",
            "FAILED"
          ]
        },
        "labels": {
          "type": "object",
          "description": "Optional. The labels to associate with this batch. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a batch.",
          "additionalProperties": {
            "type": "string"
          }
        },
        "stateHistory": {
          "type": "array",
          "items": {
            "$ref": "StateHistory"
          },
          "readOnly": true,
          "description": "Output only. Historical state information for the batch."
        },
        "uuid": {
          "readOnly": true,
          "description": "Output only. A batch UUID (Unique Universal Identifier). The service generates this value when it creates the batch.",
          "type": "string"
        },
        "operation": {
          "readOnly": true,
          "description": "Output only. The resource name of the operation associated with this batch.",
          "type": "string"
        },
        "runtimeConfig": {
          "description": "Optional. Runtime configuration for the batch execution.",
          "$ref": "RuntimeConfig"
        },
        "stateMessage": {
          "description": "Output only. Batch state details, such as a failure description if the state is FAILED.",
          "readOnly": true,
          "type": "string"
        }
      }
    },
    "TemplateParameter": {
      "properties": {
        "fields": {
          "items": {
            "type": "string"
          },
          "description": "Required. Paths to all fields that the parameter replaces. A field is allowed to appear in at most one parameter's list of field paths.A field path is similar in syntax to a google.protobuf.FieldMask. For example, a field path that references the zone field of a workflow template's cluster selector would be specified as placement.clusterSelector.zone.Also, field paths can reference fields using the following syntax: Values in maps can be referenced by key: labels'key' placement.clusterSelector.clusterLabels'key' placement.managedCluster.labels'key' placement.clusterSelector.clusterLabels'key' jobs'step-id'.labels'key' Jobs in the jobs list can be referenced by step-id: jobs'step-id'.hadoopJob.mainJarFileUri jobs'step-id'.hiveJob.queryFileUri jobs'step-id'.pySparkJob.mainPythonFileUri jobs'step-id'.hadoopJob.jarFileUris0 jobs'step-id'.hadoopJob.archiveUris0 jobs'step-id'.hadoopJob.fileUris0 jobs'step-id'.pySparkJob.pythonFileUris0 Items in repeated fields can be referenced by a zero-based index: jobs'step-id'.sparkJob.args0 Other examples: jobs'step-id'.hadoopJob.properties'key' jobs'step-id'.hadoopJob.args0 jobs'step-id'.hiveJob.scriptVariables'key' jobs'step-id'.hadoopJob.mainJarFileUri placement.clusterSelector.zoneIt may not be possible to parameterize maps and repeated fields in their entirety since only individual map values and individual items in repeated fields can be referenced. For example, the following field paths are invalid: placement.clusterSelector.clusterLabels jobs'step-id'.sparkJob.args",
          "type": "array"
        },
        "name": {
          "description": "Required. Parameter name. The parameter name is used as the key, and paired with the parameter value, which are passed to the template when the template is instantiated. The name must contain only capital letters (A-Z), numbers (0-9), and underscores (_), and must not start with a number. The maximum length is 40 characters.",
          "type": "string"
        },
        "description": {
          "type": "string",
          "description": "Optional. Brief description of the parameter. Must not exceed 1024 characters."
        },
        "validation": {
          "$ref": "ParameterValidation",
          "description": "Optional. Validation rules to be applied to this parameter's value."
        }
      },
      "description": "A configurable parameter that replaces one or more fields in the template. Parameterizable fields: - Labels - File uris - Job properties - Job arguments - Script variables - Main class (in HadoopJob and SparkJob) - Zone (in ClusterSelector)",
      "type": "object",
      "id": "TemplateParameter"
    },
    "AttachmentOperationMetadata": {
      "properties": {
        "attachmentUuid": {
          "readOnly": true,
          "description": "Output only. Attachment UUID for the operation.",
          "type": "string"
        },
        "doneTime": {
          "readOnly": true,
          "format": "google-datetime",
          "description": "Output only. The time when the operation finished.",
          "type": "string"
        },
        "labels": {
          "readOnly": true,
          "description": "Output only. Labels associated with the operation.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "description": {
          "description": "Output only. Short description of the operation.",
          "type": "string",
          "readOnly": true
        },
        "attachment": {
          "description": "Output only. Name of the attachment for the operation.",
          "type": "string",
          "readOnly": true
        },
        "createTime": {
          "readOnly": true,
          "description": "Output only. The time when the operation was created.",
          "format": "google-datetime",
          "type": "string"
        },
        "warnings": {
          "type": "array",
          "description": "Output only. Warnings encountered during operation execution.",
          "items": {
            "type": "string"
          },
          "readOnly": true
        },
        "operationType": {
          "enumDescriptions": [
            "Attachment operation type is unknown.",
            "Create Attachment operation type.",
            "Update Attachment operation type.",
            "Delete Attachment operation type."
          ],
          "type": "string",
          "description": "Output only. The operation type.",
          "readOnly": true,
          "enum": [
            "ATTACHMENT_OPERATION_TYPE_UNSPECIFIED",
            "CREATE",
            "UPDATE",
            "DELETE"
          ]
        }
      },
      "type": "object",
      "id": "AttachmentOperationMetadata",
      "description": "Metadata describing the Attachment operation."
    },
    "Expr": {
      "type": "object",
      "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec.Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() \u003c 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.",
      "properties": {
        "expression": {
          "description": "Textual representation of an expression in Common Expression Language syntax.",
          "type": "string"
        },
        "title": {
          "description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.",
          "type": "string"
        },
        "location": {
          "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.",
          "type": "string"
        },
        "description": {
          "type": "string",
          "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI."
        }
      },
      "id": "Expr"
    },
    "StagesSummary": {
      "properties": {
        "numActiveStages": {
          "format": "int32",
          "type": "integer"
        },
        "numPendingStages": {
          "format": "int32",
          "type": "integer"
        },
        "numFailedStages": {
          "format": "int32",
          "type": "integer"
        },
        "applicationId": {
          "type": "string"
        },
        "numCompletedStages": {
          "format": "int32",
          "type": "integer"
        },
        "numSkippedStages": {
          "format": "int32",
          "type": "integer"
        }
      },
      "id": "StagesSummary",
      "type": "object",
      "description": "Data related to Stages page summary"
    },
    "AttachedDiskConfig": {
      "properties": {
        "diskType": {
          "description": "Optional. Deprecated: Use type instead.",
          "enumDescriptions": [
            "Disk type is not specified.",
            "Hyperdisk Balanced.",
            "Hyperdisk Extreme.",
            "Hyperdisk ML.",
            "Hyperdisk Throughput."
          ],
          "enum": [
            "DISK_TYPE_UNSPECIFIED",
            "HYPERDISK_BALANCED",
            "HYPERDISK_EXTREME",
            "HYPERDISK_ML",
            "HYPERDISK_THROUGHPUT"
          ],
          "deprecated": true,
          "type": "string"
        },
        "provisionedThroughput": {
          "type": "string",
          "description": "Optional. Indicates how much throughput to provision for the attached disk. This sets the number of throughput mb per second that the disk can handle. See https://cloud.google.com/compute/docs/disks/hyperdisks#hyperdisk-features",
          "format": "int64"
        },
        "type": {
          "description": "Optional. Attached disk type. Currently only supports Hyperdisks. See https://cloud.google.com/compute/docs/disks/hyperdisks. Note: Hyperdisk Balanced High Availability is not supported.Allowed values are: hyperdisk-balanced hyperdisk-extreme hyperdisk-ml hyperdisk-throughput",
          "type": "string"
        },
        "diskSizeGb": {
          "format": "int32",
          "description": "Optional. Disk size in GB.",
          "type": "integer"
        },
        "provisionedIops": {
          "format": "int64",
          "description": "Optional. Indicates how many IOPS to provision for the attached disk. This sets the number of I/O operations per second that the disk can handle. See https://cloud.google.com/compute/docs/disks/hyperdisks#hyperdisk-features",
          "type": "string"
        }
      },
      "id": "AttachedDiskConfig",
      "type": "object",
      "description": "Specifies the config of attached disk options for single VM instance."
    },
    "FallbackReason": {
      "description": "Native SQL Execution Data",
      "properties": {
        "fallbackNode": {
          "description": "Optional. Fallback node information.",
          "type": "string"
        },
        "fallbackReason": {
          "type": "string",
          "description": "Optional. Fallback to Spark reason."
        }
      },
      "id": "FallbackReason",
      "type": "object"
    },
    "WorkflowTemplate": {
      "properties": {
        "updateTime": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. The time template was last updated.",
          "format": "google-datetime"
        },
        "placement": {
          "description": "Required. WorkflowTemplate scheduling information.",
          "$ref": "WorkflowTemplatePlacement"
        },
        "version": {
          "description": "Optional. Used to perform a consistent read-modify-write.This field should be left blank for a CreateWorkflowTemplate request. It is required for an UpdateWorkflowTemplate request, and must match the current server version. A typical update template flow would fetch the current template with a GetWorkflowTemplate request, which will return the current template with the version field filled in with the current server version. The user updates other fields in the template, then returns it as part of the UpdateWorkflowTemplate request.",
          "type": "integer",
          "format": "int32"
        },
        "jobs": {
          "items": {
            "$ref": "OrderedJob"
          },
          "description": "Required. The Directed Acyclic Graph of Jobs to submit.",
          "type": "array"
        },
        "name": {
          "description": "Output only. The resource name of the workflow template, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id} For projects.locations.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}",
          "readOnly": true,
          "type": "string"
        },
        "labels": {
          "description": "Optional. The labels to associate with this template. These labels will be propagated to all jobs and clusters created by the workflow instance.Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt).Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt).No more than 32 labels can be associated with a template.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "id": {
          "type": "string"
        },
        "parameters": {
          "items": {
            "$ref": "TemplateParameter"
          },
          "description": "Optional. Template parameters whose values are substituted into the template. Values for parameters must be provided when the template is instantiated.",
          "type": "array"
        },
        "createTime": {
          "readOnly": true,
          "format": "google-datetime",
          "description": "Output only. The time template was created.",
          "type": "string"
        },
        "dagTimeout": {
          "format": "google-duration",
          "description": "Optional. Timeout duration for the DAG of jobs, expressed in seconds (see JSON representation of duration (https://developers.google.com/protocol-buffers/docs/proto3#json)). The timeout duration must be from 10 minutes (\"600s\") to 24 hours (\"86400s\"). The timer begins when the first job is submitted. If the workflow is running at the end of the timeout period, any remaining jobs are cancelled, the workflow is ended, and if the workflow was running on a managed cluster, the cluster is deleted.",
          "type": "string"
        },
        "encryptionConfig": {
          "description": "Optional. Encryption settings for encrypting workflow template job arguments.",
          "$ref": "GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig"
        }
      },
      "type": "object",
      "id": "WorkflowTemplate",
      "description": "A Dataproc workflow template resource."
    },
    "PropertiesInfo": {
      "properties": {
        "autotuningProperties": {
          "readOnly": true,
          "additionalProperties": {
            "$ref": "ValueInfo"
          },
          "type": "object",
          "description": "Output only. Properties set by autotuning engine."
        }
      },
      "id": "PropertiesInfo",
      "type": "object",
      "description": "Properties of the workload organized by origin."
    },
    "StageOutputMetrics": {
      "type": "object",
      "properties": {
        "recordsWritten": {
          "format": "int64",
          "type": "string"
        },
        "bytesWritten": {
          "type": "string",
          "format": "int64"
        }
      },
      "description": "Metrics about the output written by the stage.",
      "id": "StageOutputMetrics"
    },
    "SearchSessionSparkApplicationExecutorsResponse": {
      "properties": {
        "nextPageToken": {
          "description": "This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSessionSparkApplicationExecutorsRequest.",
          "type": "string"
        },
        "sparkApplicationExecutors": {
          "type": "array",
          "description": "Details about executors used by the application.",
          "items": {
            "$ref": "ExecutorSummary"
          }
        }
      },
      "description": "List of Executors associated with a Spark Application.",
      "id": "SearchSessionSparkApplicationExecutorsResponse",
      "type": "object"
    },
    "ShuffleReadQuantileMetrics": {
      "id": "ShuffleReadQuantileMetrics",
      "properties": {
        "shufflePushReadMetrics": {
          "$ref": "ShufflePushReadQuantileMetrics"
        },
        "readBytes": {
          "$ref": "Quantiles"
        },
        "remoteBytesReadToDisk": {
          "$ref": "Quantiles"
        },
        "remoteBytesRead": {
          "$ref": "Quantiles"
        },
        "localBlocksFetched": {
          "$ref": "Quantiles"
        },
        "remoteBlocksFetched": {
          "$ref": "Quantiles"
        },
        "fetchWaitTimeMillis": {
          "$ref": "Quantiles"
        },
        "totalBlocksFetched": {
          "$ref": "Quantiles"
        },
        "readRecords": {
          "$ref": "Quantiles"
        },
        "remoteReqsDuration": {
          "$ref": "Quantiles"
        }
      },
      "type": "object"
    },
    "SparkStandaloneAutoscalingConfig": {
      "id": "SparkStandaloneAutoscalingConfig",
      "properties": {
        "scaleDownFactor": {
          "description": "Required. Fraction of required executors to remove from Spark Serverless clusters. A scale-down factor of 1.0 will result in scaling down so that there are no more executors for the Spark Job.(more aggressive scaling). A scale-down factor closer to 0 will result in a smaller magnitude of scaling donw (less aggressive scaling).Bounds: 0.0, 1.0.",
          "type": "number",
          "format": "double"
        },
        "scaleUpMinWorkerFraction": {
          "type": "number",
          "description": "Optional. Minimum scale-up threshold as a fraction of total cluster size before scaling occurs. For example, in a 20-worker cluster, a threshold of 0.1 means the autoscaler must recommend at least a 2-worker scale-up for the cluster to scale. A threshold of 0 means the autoscaler will scale up on any recommended change.Bounds: 0.0, 1.0. Default: 0.0.",
          "format": "double"
        },
        "removeOnlyIdleWorkers": {
          "description": "Optional. Remove only idle workers when scaling down cluster",
          "type": "boolean"
        },
        "gracefulDecommissionTimeout": {
          "type": "string",
          "format": "google-duration",
          "description": "Required. Timeout for Spark graceful decommissioning of spark workers. Specifies the duration to wait for spark worker to complete spark decommissioning tasks before forcefully removing workers. Only applicable to downscaling operations.Bounds: 0s, 1d."
        },
        "scaleUpFactor": {
          "description": "Required. Fraction of required workers to add to Spark Standalone clusters. A scale-up factor of 1.0 will result in scaling up so that there are no more required workers for the Spark Job (more aggressive scaling). A scale-up factor closer to 0 will result in a smaller magnitude of scaling up (less aggressive scaling).Bounds: 0.0, 1.0.",
          "format": "double",
          "type": "number"
        },
        "scaleDownMinWorkerFraction": {
          "format": "double",
          "description": "Optional. Minimum scale-down threshold as a fraction of total cluster size before scaling occurs. For example, in a 20-worker cluster, a threshold of 0.1 means the autoscaler must recommend at least a 2 worker scale-down for the cluster to scale. A threshold of 0 means the autoscaler will scale down on any recommended change.Bounds: 0.0, 1.0. Default: 0.0.",
          "type": "number"
        }
      },
      "description": "Basic autoscaling configurations for Spark Standalone.",
      "type": "object"
    },
    "SummarizeSessionSparkApplicationStagesResponse": {
      "type": "object",
      "id": "SummarizeSessionSparkApplicationStagesResponse",
      "description": "Summary of a Spark Application stages.",
      "properties": {
        "stagesSummary": {
          "$ref": "StagesSummary",
          "description": "Summary of a Spark Application Stages"
        }
      }
    },
    "AutoscalingConfig": {
      "properties": {
        "policyUri": {
          "description": "Optional. The autoscaling policy used by the cluster.Only resource names including projectid and location (region) are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id] projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]Note that the policy must be in the same project and region.",
          "type": "string"
        }
      },
      "id": "AutoscalingConfig",
      "description": "Autoscaling Policy config associated with the cluster.",
      "type": "object"
    },
    "ExecutorMetricsDistributions": {
      "properties": {
        "inputRecords": {
          "type": "array",
          "items": {
            "type": "number",
            "format": "double"
          }
        },
        "diskBytesSpilled": {
          "items": {
            "type": "number",
            "format": "double"
          },
          "type": "array"
        },
        "taskTimeMillis": {
          "type": "array",
          "items": {
            "type": "number",
            "format": "double"
          }
        },
        "shuffleRead": {
          "type": "array",
          "items": {
            "format": "double",
            "type": "number"
          }
        },
        "shuffleWrite": {
          "type": "array",
          "items": {
            "type": "number",
            "format": "double"
          }
        },
        "outputBytes": {
          "type": "array",
          "items": {
            "format": "double",
            "type": "number"
          }
        },
        "succeededTasks": {
          "type": "array",
          "items": {
            "format": "double",
            "type": "number"
          }
        },
        "shuffleWriteRecords": {
          "type": "array",
          "items": {
            "type": "number",
            "format": "double"
          }
        },
        "peakMemoryMetrics": {
          "$ref": "ExecutorPeakMetricsDistributions"
        },
        "failedTasks": {
          "items": {
            "format": "double",
            "type": "number"
          },
          "type": "array"
        },
        "memoryBytesSpilled": {
          "type": "array",
          "items": {
            "type": "number",
            "format": "double"
          }
        },
        "outputRecords": {
          "type": "array",
          "items": {
            "format": "double",
            "type": "number"
          }
        },
        "quantiles": {
          "type": "array",
          "items": {
            "format": "double",
            "type": "number"
          }
        },
        "killedTasks": {
          "items": {
            "format": "double",
            "type": "number"
          },
          "type": "array"
        },
        "inputBytes": {
          "type": "array",
          "items": {
            "type": "number",
            "format": "double"
          }
        },
        "shuffleReadRecords": {
          "type": "array",
          "items": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "type": "object",
      "id": "ExecutorMetricsDistributions"
    },
    "SqlPlanMetric": {
      "id": "SqlPlanMetric",
      "properties": {
        "accumulatorId": {
          "type": "string",
          "format": "int64"
        },
        "metricType": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      },
      "type": "object",
      "description": "Metrics related to SQL execution."
    },
    "PeripheralsConfig": {
      "id": "PeripheralsConfig",
      "type": "object",
      "properties": {
        "sparkHistoryServerConfig": {
          "description": "Optional. The Spark History Server configuration for the workload.",
          "$ref": "SparkHistoryServerConfig"
        },
        "metastoreService": {
          "description": "Optional. Resource name of an existing Dataproc Metastore service.Example: projects/[project_id]/locations/[region]/services/[service_id]",
          "type": "string"
        }
      },
      "description": "Auxiliary services configuration for a workload."
    },
    "ResourceProfileInfo": {
      "properties": {
        "resourceProfileId": {
          "format": "int32",
          "type": "integer"
        },
        "taskResources": {
          "type": "object",
          "additionalProperties": {
            "$ref": "TaskResourceRequest"
          }
        },
        "executorResources": {
          "additionalProperties": {
            "$ref": "ExecutorResourceRequest"
          },
          "type": "object"
        }
      },
      "id": "ResourceProfileInfo",
      "type": "object",
      "description": "Resource profile that contains information about all the resources required by executors and tasks."
    },
    "SparkRJob": {
      "type": "object",
      "id": "SparkRJob",
      "description": "A Dataproc job for running Apache SparkR (https://spark.apache.org/docs/latest/sparkr.html) applications on YARN.",
      "properties": {
        "fileUris": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Optional. HCFS URIs of files to be placed in the working directory of each executor. Useful for naively parallel tasks."
        },
        "args": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Optional. The arguments to pass to the driver. Do not include arguments, such as --conf, that can be set as job properties, since a collision may occur that causes an incorrect job submission."
        },
        "properties": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "Optional. A mapping of property names to values, used to configure SparkR. Properties that conflict with values set by the Dataproc API might be overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf and classes in user code.",
          "type": "object"
        },
        "archiveUris": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip."
        },
        "loggingConfig": {
          "description": "Optional. The runtime log config for job execution.",
          "$ref": "LoggingConfig"
        },
        "mainRFileUri": {
          "type": "string",
          "description": "Required. The HCFS URI of the main R file to use as the driver. Must be a .R file."
        }
      }
    },
    "ConfidentialInstanceConfig": {
      "properties": {
        "enableConfidentialCompute": {
          "deprecated": true,
          "type": "boolean",
          "description": "Optional. Deprecated: Use 'confidential_instance_type' instead. Defines whether the instance should have confidential compute enabled."
        },
        "confidentialInstanceType": {
          "enumDescriptions": [
            "Confidential Instance Type is not specified.",
            "AMD Secure Encrypted Virtualization (https://cloud.google.com/confidential-computing/confidential-vm/docs/confidential-vm-overview#amd_sev)",
            "AMD Secure Encrypted Virtualization-Secure Nested Paging (https://cloud.google.com/confidential-computing/confidential-vm/docs/confidential-vm-overview#amd_sev-snp)",
            "Intel Trust Domain Extensions (https://cloud.google.com/confidential-computing/confidential-vm/docs/confidential-vm-overview#intel_tdx)"
          ],
          "description": "Optional. Defines the type of Confidential Compute technology to use.",
          "enum": [
            "CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED",
            "SEV",
            "SEV_SNP",
            "TDX"
          ],
          "type": "string"
        }
      },
      "id": "ConfidentialInstanceConfig",
      "description": "Confidential Instance Config for clusters using Confidential VMs (https://cloud.google.com/confidential-computing/confidential-vm/docs)",
      "type": "object"
    },
    "SearchSparkApplicationSqlQueriesResponse": {
      "properties": {
        "sparkApplicationSqlQueries": {
          "description": "Output only. SQL Execution Data",
          "type": "array",
          "readOnly": true,
          "items": {
            "$ref": "SqlExecutionUiData"
          }
        },
        "nextPageToken": {
          "type": "string",
          "description": "This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSparkApplicationSqlQueriesRequest."
        }
      },
      "type": "object",
      "id": "SearchSparkApplicationSqlQueriesResponse",
      "description": "List of all queries for a Spark Application."
    },
    "MetastoreConfig": {
      "type": "object",
      "id": "MetastoreConfig",
      "properties": {
        "dataprocMetastoreService": {
          "description": "Required. Resource name of an existing Metastore service.Example: projects/[project_id]/locations/[dataproc_region]/services/[service-name]",
          "type": "string"
        }
      },
      "description": "Specifies a Metastore configuration."
    },
    "AutotuningConfig": {
      "description": "Autotuning configuration of the workload.",
      "properties": {
        "scenarios": {
          "items": {
            "enum": [
              "SCENARIO_UNSPECIFIED",
              "SCALING",
              "BROADCAST_HASH_JOIN",
              "MEMORY",
              "NONE",
              "AUTO"
            ],
            "type": "string",
            "enumDescriptions": [
              "Default value.",
              "Scaling recommendations such as initialExecutors.",
              "Adding hints for potential relation broadcasts.",
              "Memory management for workloads.",
              "No autotuning.",
              "Automatic selection of scenarios."
            ]
          },
          "description": "Optional. Scenarios for which tunings are applied.",
          "type": "array"
        }
      },
      "type": "object",
      "id": "AutotuningConfig"
    },
    "StageAttemptTasksSummary": {
      "id": "StageAttemptTasksSummary",
      "description": "Data related to tasks summary for a Spark Stage Attempt",
      "type": "object",
      "properties": {
        "numPendingTasks": {
          "format": "int32",
          "type": "integer"
        },
        "applicationId": {
          "type": "string"
        },
        "numFailedTasks": {
          "type": "integer",
          "format": "int32"
        },
        "stageId": {
          "type": "string",
          "format": "int64"
        },
        "numTasks": {
          "format": "int32",
          "type": "integer"
        },
        "numSuccessTasks": {
          "format": "int32",
          "type": "integer"
        },
        "stageAttemptId": {
          "format": "int32",
          "type": "integer"
        },
        "numRunningTasks": {
          "format": "int32",
          "type": "integer"
        },
        "numKilledTasks": {
          "format": "int32",
          "type": "integer"
        }
      }
    },
    "JobStatus": {
      "properties": {
        "stateStartTime": {
          "readOnly": true,
          "type": "string",
          "format": "google-datetime",
          "description": "Output only. The time when this state was entered."
        },
        "state": {
          "enum": [
            "STATE_UNSPECIFIED",
            "PENDING",
            "SETUP_DONE",
            "RUNNING",
            "CANCEL_PENDING",
            "CANCEL_STARTED",
            "CANCELLED",
            "DONE",
            "ERROR",
            "ATTEMPT_FAILURE"
          ],
          "description": "Output only. A state message specifying the overall job state.",
          "readOnly": true,
          "type": "string",
          "enumDescriptions": [
            "The job state is unknown.",
            "The job is pending; it has been submitted, but is not yet running.",
            "Job has been received by the service and completed initial setup; it will soon be submitted to the cluster.",
            "The job is running on the cluster.",
            "A CancelJob request has been received, but is pending.",
            "Transient in-flight resources have been canceled, and the request to cancel the running job has been issued to the cluster.",
            "The job cancellation was successful.",
            "The job has completed successfully.",
            "The job has completed, but encountered an error.",
            "Job attempt has failed. The detail field contains failure details for this attempt.Applies to restartable jobs only."
          ]
        },
        "details": {
          "type": "string",
          "description": "Optional. Job state details, such as an error description if the state is ERROR."
        },
        "substate": {
          "enumDescriptions": [
            "The job substate is unknown.",
            "The Job is submitted to the agent.Applies to RUNNING state.",
            "The Job has been received and is awaiting execution (it might be waiting for a condition to be met). See the \"details\" field for the reason for the delay.Applies to RUNNING state.",
            "The agent-reported status is out of date, which can be caused by a loss of communication between the agent and Dataproc. If the agent does not send a timely update, the job will fail.Applies to RUNNING state."
          ],
          "type": "string",
          "enum": [
            "UNSPECIFIED",
            "SUBMITTED",
            "QUEUED",
            "STALE_STATUS"
          ],
          "description": "Output only. Additional state information, which includes status reported by the agent.",
          "readOnly": true
        }
      },
      "type": "object",
      "id": "JobStatus",
      "description": "Dataproc job status."
    },
    "NodeGroup": {
      "id": "NodeGroup",
      "type": "object",
      "properties": {
        "roles": {
          "description": "Required. Node group roles.",
          "items": {
            "enumDescriptions": [
              "Required unspecified role.",
              "Job drivers run on the node pool."
            ],
            "type": "string",
            "enum": [
              "ROLE_UNSPECIFIED",
              "DRIVER"
            ]
          },
          "type": "array"
        },
        "nodeGroupConfig": {
          "$ref": "InstanceGroupConfig",
          "description": "Optional. The node group instance group configuration."
        },
        "name": {
          "description": "The Node group resource name (https://aip.dev/122).",
          "type": "string"
        },
        "labels": {
          "type": "object",
          "description": "Optional. Node group labels. Label keys must consist of from 1 to 63 characters and conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values can be empty. If specified, they must consist of from 1 to 63 characters and conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). The node group must have no more than 32 labels.",
          "additionalProperties": {
            "type": "string"
          }
        }
      },
      "description": "Node Group. The NodeGroup resource is not related to the NodeGroupAffinity resource."
    },
    "PySparkBatch": {
      "type": "object",
      "id": "PySparkBatch",
      "description": "A configuration for running an Apache PySpark (https://spark.apache.org/docs/latest/api/python/getting_started/quickstart.html) batch workload.",
      "properties": {
        "pythonFileUris": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Optional. HCFS file URIs of Python files to pass to the PySpark framework. Supported file types: .py, .egg, and .zip."
        },
        "archiveUris": {
          "type": "array",
          "description": "Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.",
          "items": {
            "type": "string"
          }
        },
        "fileUris": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Optional. HCFS URIs of files to be placed in the working directory of each executor."
        },
        "jarFileUris": {
          "description": "Optional. HCFS URIs of jar files to add to the classpath of the Spark driver and tasks.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "mainPythonFileUri": {
          "description": "Required. The HCFS URI of the main Python file to use as the Spark driver. Must be a .py file.",
          "type": "string"
        },
        "args": {
          "type": "array",
          "description": "Optional. The arguments to pass to the driver. Do not include arguments that can be set as batch properties, such as --conf, since a collision can occur that causes an incorrect batch submission.",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "SearchSparkApplicationNativeSqlQueriesResponse": {
      "description": "List of all Native SQL queries details for a Spark Application.",
      "id": "SearchSparkApplicationNativeSqlQueriesResponse",
      "type": "object",
      "properties": {
        "nextPageToken": {
          "type": "string",
          "description": "This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSparkApplicationNativeSqlQueriesRequest."
        },
        "sparkApplicationNativeSqlQueries": {
          "type": "array",
          "description": "Output only. Native SQL Execution Data",
          "readOnly": true,
          "items": {
            "$ref": "NativeSqlExecutionUiData"
          }
        }
      }
    },
    "StreamingQueryProgress": {
      "properties": {
        "batchId": {
          "format": "int64",
          "type": "string"
        },
        "stateOperators": {
          "type": "array",
          "items": {
            "$ref": "StateOperatorProgress"
          }
        },
        "runId": {
          "type": "string"
        },
        "streamingQueryProgressId": {
          "type": "string"
        },
        "sources": {
          "type": "array",
          "items": {
            "$ref": "SourceProgress"
          }
        },
        "observedMetrics": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "timestamp": {
          "type": "string"
        },
        "eventTime": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "name": {
          "type": "string"
        },
        "batchDuration": {
          "format": "int64",
          "type": "string"
        },
        "durationMillis": {
          "type": "object",
          "additionalProperties": {
            "type": "string",
            "format": "int64"
          }
        },
        "sink": {
          "$ref": "SinkProgress"
        }
      },
      "type": "object",
      "id": "StreamingQueryProgress"
    },
    "TerminateSessionRequest": {
      "type": "object",
      "description": "A request to terminate an interactive session.",
      "id": "TerminateSessionRequest",
      "properties": {
        "requestId": {
          "type": "string",
          "description": "Optional. A unique ID used to identify the request. If the service receives two TerminateSessionRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.TerminateSessionRequest)s with the same ID, the second request is ignored.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The value must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters."
        }
      }
    },
    "DriverSchedulingConfig": {
      "type": "object",
      "id": "DriverSchedulingConfig",
      "properties": {
        "vcores": {
          "type": "integer",
          "format": "int32",
          "description": "Required. The number of vCPUs the driver is requesting."
        },
        "memoryMb": {
          "description": "Required. The amount of memory in MB the driver is requesting.",
          "format": "int32",
          "type": "integer"
        }
      },
      "description": "Driver scheduling configuration."
    },
    "SparkWrapperObject": {
      "description": "Outer message that contains the data obtained from spark listener, packaged with information that is required to process it.",
      "id": "SparkWrapperObject",
      "type": "object",
      "properties": {
        "nativeBuildInfoUiData": {
          "description": "Native Build Info",
          "$ref": "NativeBuildInfoUiData"
        },
        "jobData": {
          "$ref": "JobData"
        },
        "rddStorageInfo": {
          "$ref": "RddStorageInfo"
        },
        "stageData": {
          "$ref": "StageData"
        },
        "rddOperationGraph": {
          "$ref": "RddOperationGraph"
        },
        "sparkConnectSessionInfo": {
          "description": "Spark Connect Session Info",
          "$ref": "SparkConnectSessionInfo"
        },
        "eventTimestamp": {
          "type": "string",
          "format": "google-datetime",
          "description": "VM Timestamp associated with the data object."
        },
        "executorSummary": {
          "$ref": "ExecutorSummary"
        },
        "nativeSqlExecutionUiData": {
          "$ref": "NativeSqlExecutionUiData",
          "description": "Native SQL Execution Info"
        },
        "speculationStageSummary": {
          "$ref": "SpeculationStageSummary"
        },
        "taskData": {
          "$ref": "TaskData"
        },
        "appSummary": {
          "$ref": "AppSummary"
        },
        "sparkPlanGraph": {
          "$ref": "SparkPlanGraph"
        },
        "applicationId": {
          "description": "Application Id created by Spark.",
          "type": "string"
        },
        "poolData": {
          "$ref": "PoolData"
        },
        "sqlExecutionUiData": {
          "$ref": "SqlExecutionUiData"
        },
        "executorStageSummary": {
          "$ref": "ExecutorStageSummary"
        },
        "streamingQueryProgress": {
          "$ref": "StreamingQueryProgress"
        },
        "sparkConnectExecutionInfo": {
          "description": "Spark Connect Execution Info",
          "$ref": "SparkConnectExecutionInfo"
        },
        "resourceProfileInfo": {
          "$ref": "ResourceProfileInfo"
        },
        "streamBlockData": {
          "$ref": "StreamBlockData"
        },
        "applicationEnvironmentInfo": {
          "$ref": "ApplicationEnvironmentInfo"
        },
        "streamingQueryData": {
          "$ref": "StreamingQueryData"
        },
        "processSummary": {
          "$ref": "ProcessSummary"
        },
        "applicationInfo": {
          "$ref": "ApplicationInfo"
        }
      }
    },
    "NativeBuildInfoUiData": {
      "properties": {
        "buildClass": {
          "description": "Optional. Build class of Native.",
          "type": "string"
        },
        "buildInfo": {
          "items": {
            "$ref": "BuildInfo"
          },
          "description": "Optional. Build related details.",
          "type": "array"
        }
      },
      "id": "NativeBuildInfoUiData",
      "type": "object"
    },
    "AcceleratorConfig": {
      "description": "Specifies the type and number of accelerator cards attached to the instances of an instance. See GPUs on Compute Engine (https://cloud.google.com/compute/docs/gpus/).",
      "type": "object",
      "properties": {
        "acceleratorTypeUri": {
          "description": "Full URL, partial URI, or short name of the accelerator type resource to expose to this instance. See Compute Engine AcceleratorTypes (https://cloud.google.com/compute/docs/reference/v1/acceleratorTypes).Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-t4 projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-t4 nvidia-tesla-t4Auto Zone Exception: If you are using Auto Zone Placement (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement), you must use the short name of the accelerator type resource, for example, nvidia-tesla-t4.",
          "type": "string"
        },
        "acceleratorCount": {
          "format": "int32",
          "type": "integer",
          "description": "The number of the accelerator cards of this type exposed to this instance."
        }
      },
      "id": "AcceleratorConfig"
    },
    "InstanceFlexibilityPolicy": {
      "properties": {
        "provisioningModelMix": {
          "description": "Optional. Defines how the Group selects the provisioning model to ensure required reliability.",
          "$ref": "ProvisioningModelMix"
        },
        "instanceSelectionList": {
          "items": {
            "$ref": "InstanceSelection"
          },
          "description": "Optional. List of instance selection options that the group will use when creating new VMs.",
          "type": "array"
        },
        "instanceSelectionResults": {
          "items": {
            "$ref": "InstanceSelectionResult"
          },
          "type": "array",
          "description": "Output only. A list of instance selection results in the group.",
          "readOnly": true
        },
        "instanceMachineTypes": {
          "type": "object",
          "description": "Output only. A map of instance short name to machine type. The key is the short name of the Compute Engine instance, and the value is the full machine-type name (e.g., 'n1-standard-16'). See Machine types for more information on valid machine type strings.",
          "additionalProperties": {
            "type": "string"
          },
          "readOnly": true
        }
      },
      "type": "object",
      "id": "InstanceFlexibilityPolicy",
      "description": "Instance flexibility Policy allowing a mixture of VM shapes and provisioning models."
    },
    "CancelJobRequest": {
      "description": "A request to cancel a job.",
      "type": "object",
      "id": "CancelJobRequest",
      "properties": {}
    },
    "RddStorageInfo": {
      "id": "RddStorageInfo",
      "type": "object",
      "description": "Overall data about RDD storage.",
      "properties": {
        "dataDistribution": {
          "items": {
            "$ref": "RddDataDistribution"
          },
          "type": "array"
        },
        "name": {
          "type": "string"
        },
        "storageLevel": {
          "type": "string"
        },
        "numCachedPartitions": {
          "type": "integer",
          "format": "int32"
        },
        "partitions": {
          "type": "array",
          "items": {
            "$ref": "RddPartitionInfo"
          }
        },
        "rddStorageId": {
          "format": "int32",
          "type": "integer"
        },
        "numPartitions": {
          "type": "integer",
          "format": "int32"
        },
        "diskUsed": {
          "type": "string",
          "format": "int64"
        },
        "memoryUsed": {
          "type": "string",
          "format": "int64"
        }
      }
    },
    "Cluster": {
      "properties": {
        "projectId": {
          "type": "string",
          "description": "Required. The Google Cloud Platform project ID that the cluster belongs to."
        },
        "labels": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "Optional. The labels to associate with this cluster. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster.",
          "type": "object"
        },
        "config": {
          "description": "Optional. The cluster config for a cluster of Compute Engine Instances. Note that the service may set default values, and values may change when clusters are updated.Exactly one of ClusterConfig or VirtualClusterConfig must be specified.",
          "$ref": "ClusterConfig"
        },
        "clusterUuid": {
          "description": "Output only. A cluster UUID (Unique Universal Identifier). The service generates this value when it creates the cluster.",
          "type": "string",
          "readOnly": true
        },
        "status": {
          "$ref": "ClusterStatus",
          "description": "Output only. Cluster status.",
          "readOnly": true
        },
        "statusHistory": {
          "description": "Output only. The previous cluster status.",
          "readOnly": true,
          "items": {
            "$ref": "ClusterStatus"
          },
          "type": "array"
        },
        "virtualClusterConfig": {
          "description": "Optional. The virtual cluster config is used when creating a cluster that does not directly control the underlying compute resources, for example, when creating a GKE cluster (https://cloud.google.com/dataproc/docs/guides/dpgke/dataproc-gke-overview). the service may set default values, and values may change when clusters are updated. Exactly one of config or virtual_cluster_config must be specified.",
          "$ref": "VirtualClusterConfig"
        },
        "clusterName": {
          "type": "string",
          "description": "Required. The cluster name, which must be unique within a project. The name must start with a lowercase letter, and can contain up to 51 lowercase letters, numbers, and hyphens. It cannot end with a hyphen. The name of a deleted cluster can be reused."
        },
        "metrics": {
          "description": "Output only. Contains cluster daemon metrics such as HDFS and YARN stats.Beta Feature: This report is available for testing purposes only. It may be changed before final release.",
          "readOnly": true,
          "$ref": "ClusterMetrics"
        }
      },
      "type": "object",
      "description": "Describes the identifying information, config, and status of a cluster",
      "id": "Cluster"
    },
    "AccessSparkApplicationStageRddOperationGraphResponse": {
      "description": "RDD operation graph for a Spark Application Stage limited to maximum 10000 clusters.",
      "id": "AccessSparkApplicationStageRddOperationGraphResponse",
      "properties": {
        "rddOperationGraph": {
          "$ref": "RddOperationGraph",
          "description": "RDD operation graph for a Spark Application Stage."
        }
      },
      "type": "object"
    },
    "SearchSessionSparkApplicationSqlQueriesResponse": {
      "properties": {
        "nextPageToken": {
          "description": "This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSessionSparkApplicationSqlQueriesRequest.",
          "type": "string"
        },
        "sparkApplicationSqlQueries": {
          "items": {
            "$ref": "SqlExecutionUiData"
          },
          "type": "array",
          "description": "Output only. SQL Execution Data",
          "readOnly": true
        }
      },
      "id": "SearchSessionSparkApplicationSqlQueriesResponse",
      "type": "object",
      "description": "List of all queries for a Spark Application."
    },
    "InstanceSelectionResult": {
      "description": "Defines a mapping from machine types to the number of VMs that are created with each machine type.",
      "id": "InstanceSelectionResult",
      "properties": {
        "machineType": {
          "readOnly": true,
          "description": "Output only. Full machine-type names, e.g. \"n1-standard-16\".",
          "type": "string"
        },
        "vmCount": {
          "description": "Output only. Number of VM provisioned with the machine_type.",
          "type": "integer",
          "format": "int32",
          "readOnly": true
        }
      },
      "type": "object"
    },
    "KubernetesClusterConfig": {
      "type": "object",
      "properties": {
        "kubernetesSoftwareConfig": {
          "$ref": "KubernetesSoftwareConfig",
          "description": "Optional. The software configuration for this Dataproc cluster running on Kubernetes."
        },
        "kubernetesNamespace": {
          "type": "string",
          "description": "Optional. A namespace within the Kubernetes cluster to deploy into. If this namespace does not exist, it is created. If it exists, Dataproc verifies that another Dataproc VirtualCluster is not installed into it. If not specified, the name of the Dataproc Cluster is used."
        },
        "gkeClusterConfig": {
          "$ref": "GkeClusterConfig",
          "description": "Required. The configuration for running the Dataproc cluster on GKE."
        }
      },
      "description": "The configuration for running the Dataproc cluster on Kubernetes.",
      "id": "KubernetesClusterConfig"
    },
    "NodePool": {
      "id": "NodePool",
      "description": "indicating a list of workers of same type",
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Required. A unique id of the node pool. Primary and Secondary workers can be specified using special reserved ids PRIMARY_WORKER_POOL and SECONDARY_WORKER_POOL respectively. Aux node pools can be referenced using corresponding pool id."
        },
        "repairAction": {
          "description": "Required. Repair action to take on specified resources of the node pool.",
          "type": "string",
          "enumDescriptions": [
            "No action will be taken by default.",
            "delete the specified list of nodes."
          ],
          "enum": [
            "REPAIR_ACTION_UNSPECIFIED",
            "DELETE"
          ]
        },
        "instanceNames": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Name of instances to be repaired. These instances must belong to specified node pool."
        }
      }
    },
    "GkeClusterConfig": {
      "id": "GkeClusterConfig",
      "properties": {
        "nodePoolTarget": {
          "items": {
            "$ref": "GkeNodePoolTarget"
          },
          "description": "Optional. GKE node pools where workloads will be scheduled. At least one node pool must be assigned the DEFAULT GkeNodePoolTarget.Role. If a GkeNodePoolTarget is not specified, Dataproc constructs a DEFAULT GkeNodePoolTarget. Each role can be given to only one GkeNodePoolTarget. All node pools must have the same location settings.",
          "type": "array"
        },
        "namespacedGkeDeploymentTarget": {
          "description": "Optional. Deprecated. Use gkeClusterTarget. Used only for the deprecated beta. A target for the deployment.",
          "deprecated": true,
          "$ref": "NamespacedGkeDeploymentTarget"
        },
        "gkeClusterTarget": {
          "type": "string",
          "description": "Optional. A target GKE cluster to deploy to. It must be in the same project and region as the Dataproc cluster (the GKE cluster can be zonal or regional). Format: 'projects/{project}/locations/{location}/clusters/{cluster_id}'"
        }
      },
      "type": "object",
      "description": "The cluster's GKE config."
    },
    "SummarizeSparkApplicationStageAttemptTasksResponse": {
      "id": "SummarizeSparkApplicationStageAttemptTasksResponse",
      "properties": {
        "stageAttemptTasksSummary": {
          "$ref": "StageAttemptTasksSummary",
          "description": "Summary of tasks for a Spark Application Stage Attempt"
        }
      },
      "description": "Summary of tasks for a Spark Application stage attempt.",
      "type": "object"
    },
    "ListSessionsResponse": {
      "description": "A list of interactive sessions.",
      "properties": {
        "sessions": {
          "type": "array",
          "description": "Output only. The sessions from the specified collection.",
          "items": {
            "$ref": "Session"
          },
          "readOnly": true
        },
        "nextPageToken": {
          "type": "string",
          "description": "A token, which can be sent as page_token, to retrieve the next page. If this field is omitted, there are no subsequent pages."
        }
      },
      "id": "ListSessionsResponse",
      "type": "object"
    },
    "NamespacedGkeDeploymentTarget": {
      "description": "Deprecated. Used only for the deprecated beta. A full, namespace-isolated deployment target for an existing GKE cluster.",
      "id": "NamespacedGkeDeploymentTarget",
      "properties": {
        "targetGkeCluster": {
          "description": "Optional. The target GKE cluster to deploy to. Format: 'projects/{project}/locations/{location}/clusters/{cluster_id}'",
          "type": "string"
        },
        "clusterNamespace": {
          "description": "Optional. A namespace within the GKE cluster to deploy into.",
          "type": "string"
        }
      },
      "deprecated": true,
      "type": "object"
    },
    "GetIamPolicyRequest": {
      "type": "object",
      "id": "GetIamPolicyRequest",
      "description": "Request message for GetIamPolicy method.",
      "properties": {
        "options": {
          "description": "OPTIONAL: A GetPolicyOptions object for specifying options to GetIamPolicy.",
          "$ref": "GetPolicyOptions"
        }
      }
    },
    "SinkProgress": {
      "properties": {
        "metrics": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "description": {
          "type": "string"
        },
        "numOutputRows": {
          "format": "int64",
          "type": "string"
        }
      },
      "id": "SinkProgress",
      "type": "object"
    },
    "GkeNodePoolConfig": {
      "properties": {
        "autoscaling": {
          "description": "Optional. The autoscaler configuration for this node pool. The autoscaler is enabled only when a valid configuration is present.",
          "$ref": "GkeNodePoolAutoscalingConfig"
        },
        "config": {
          "description": "Optional. The node pool configuration.",
          "$ref": "GkeNodeConfig"
        },
        "locations": {
          "type": "array",
          "description": "Optional. The list of Compute Engine zones (https://cloud.google.com/compute/docs/zones#available) where node pool nodes associated with a Dataproc on GKE virtual cluster will be located.Note: All node pools associated with a virtual cluster must be located in the same region as the virtual cluster, and they must be located in the same zone within that region.If a location is not specified during node pool creation, Dataproc on GKE will choose the zone.",
          "items": {
            "type": "string"
          }
        }
      },
      "id": "GkeNodePoolConfig",
      "type": "object",
      "description": "The configuration of a GKE node pool used by a Dataproc-on-GKE cluster (https://cloud.google.com/dataproc/docs/concepts/jobs/dataproc-gke#create-a-dataproc-on-gke-cluster)."
    },
    "StageMetrics": {
      "description": "Stage Level Aggregated Metrics",
      "id": "StageMetrics",
      "type": "object",
      "properties": {
        "executorRunTimeMillis": {
          "type": "string",
          "format": "int64"
        },
        "stageInputMetrics": {
          "$ref": "StageInputMetrics"
        },
        "stageShuffleWriteMetrics": {
          "$ref": "StageShuffleWriteMetrics"
        },
        "diskBytesSpilled": {
          "format": "int64",
          "type": "string"
        },
        "resultSerializationTimeMillis": {
          "format": "int64",
          "type": "string"
        },
        "stageOutputMetrics": {
          "$ref": "StageOutputMetrics"
        },
        "executorCpuTimeNanos": {
          "type": "string",
          "format": "int64"
        },
        "memoryBytesSpilled": {
          "format": "int64",
          "type": "string"
        },
        "stageShuffleReadMetrics": {
          "$ref": "StageShuffleReadMetrics"
        },
        "peakExecutionMemoryBytes": {
          "format": "int64",
          "type": "string"
        },
        "executorDeserializeCpuTimeNanos": {
          "type": "string",
          "format": "int64"
        },
        "resultSize": {
          "type": "string",
          "format": "int64"
        },
        "executorDeserializeTimeMillis": {
          "type": "string",
          "format": "int64"
        },
        "jvmGcTimeMillis": {
          "type": "string",
          "format": "int64"
        }
      }
    },
    "ApplicationEnvironmentInfo": {
      "description": "Details about the Environment that the application is running in.",
      "type": "object",
      "id": "ApplicationEnvironmentInfo",
      "properties": {
        "runtime": {
          "$ref": "SparkRuntimeInfo"
        },
        "classpathEntries": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "systemProperties": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "metricsProperties": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "sparkProperties": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "resourceProfiles": {
          "type": "array",
          "items": {
            "$ref": "ResourceProfileInfo"
          }
        },
        "hadoopProperties": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    },
    "WriteSparkApplicationContextResponse": {
      "id": "WriteSparkApplicationContextResponse",
      "description": "Response returned as an acknowledgement of receipt of data.",
      "type": "object",
      "properties": {}
    },
    "Operation": {
      "description": "This resource represents a long-running operation that is the result of a network API call.",
      "properties": {
        "done": {
          "description": "If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.",
          "type": "boolean"
        },
        "error": {
          "description": "The error result of the operation in case of failure or cancellation.",
          "$ref": "Status"
        },
        "name": {
          "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}.",
          "type": "string"
        },
        "metadata": {
          "type": "object",
          "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object. Contains field @type with type URL."
          }
        },
        "response": {
          "type": "object",
          "description": "The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object. Contains field @type with type URL."
          }
        }
      },
      "type": "object",
      "id": "Operation"
    },
    "TrinoJob": {
      "id": "TrinoJob",
      "type": "object",
      "description": "A Dataproc job for running Trino (https://trino.io/) queries. IMPORTANT: The Dataproc Trino Optional Component (https://cloud.google.com/dataproc/docs/concepts/components/trino) must be enabled when the cluster is created to submit a Trino job to the cluster.",
      "properties": {
        "outputFormat": {
          "type": "string",
          "description": "Optional. The format in which query output will be displayed. See the Trino documentation for supported output formats"
        },
        "loggingConfig": {
          "$ref": "LoggingConfig",
          "description": "Optional. The runtime log config for job execution."
        },
        "properties": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Optional. A mapping of property names to values. Used to set Trino session properties (https://trino.io/docs/current/sql/set-session.html) Equivalent to using the --session flag in the Trino CLI"
        },
        "queryList": {
          "description": "A list of queries.",
          "$ref": "QueryList"
        },
        "clientTags": {
          "type": "array",
          "description": "Optional. Trino client tags to attach to this query",
          "items": {
            "type": "string"
          }
        },
        "queryFileUri": {
          "type": "string",
          "description": "The HCFS URI of the script that contains SQL queries."
        },
        "continueOnFailure": {
          "description": "Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries.",
          "type": "boolean"
        }
      }
    },
    "Interval": {
      "id": "Interval",
      "description": "Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive).The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.",
      "properties": {
        "endTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Optional. Exclusive end of the interval.If specified, a Timestamp matching this interval will have to be before the end."
        },
        "startTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Optional. Inclusive start of the interval.If specified, a Timestamp matching this interval will have to be the same or after the start."
        }
      },
      "type": "object"
    },
    "ProvisioningModelMix": {
      "id": "ProvisioningModelMix",
      "description": "Defines how to create VMs with a mixture of provisioning models.",
      "properties": {
        "standardCapacityBase": {
          "description": "Optional. The base capacity that will always use Standard VMs to avoid risk of more preemption than the minimum capacity you need. The service will create only standard VMs until it reaches standard_capacity_base, then it will start using standard_capacity_percent_above_base to mix Spot with Standard VMs. eg. If 15 instances are requested and standard_capacity_base is 5, the service will create 5 standard VMs and thenstart mixing spot and standard VMs for remaining 10 instances.",
          "type": "integer",
          "format": "int32"
        },
        "standardCapacityPercentAboveBase": {
          "type": "integer",
          "format": "int32",
          "description": "Optional. The percentage of target capacity that should use Standard VM. The remaining percentage will use Spot VMs. The percentage applies only to the capacity above standard_capacity_base. eg. If 15 instances are requested and standard_capacity_base is 5 and standard_capacity_percent_above_base is 30, the service will create 5 standard VMs and then start mixing spot and standard VMs for remaining 10 instances. The mix will be 30% standard and 70% spot."
        }
      },
      "type": "object"
    },
    "SparkPlanGraphEdge": {
      "properties": {
        "fromId": {
          "format": "int64",
          "type": "string"
        },
        "toId": {
          "type": "string",
          "format": "int64"
        }
      },
      "id": "SparkPlanGraphEdge",
      "description": "Represents a directed edge in the spark plan tree from child to parent.",
      "type": "object"
    },
    "SparkPlanGraph": {
      "id": "SparkPlanGraph",
      "description": "A graph used for storing information of an executionPlan of DataFrame.",
      "properties": {
        "executionId": {
          "type": "string",
          "format": "int64"
        },
        "edges": {
          "type": "array",
          "items": {
            "$ref": "SparkPlanGraphEdge"
          }
        },
        "nodes": {
          "type": "array",
          "items": {
            "$ref": "SparkPlanGraphNodeWrapper"
          }
        }
      },
      "type": "object"
    },
    "ExecutorSummary": {
      "type": "object",
      "description": "Details about executors used by the application.",
      "id": "ExecutorSummary",
      "properties": {
        "removeTime": {
          "type": "string",
          "format": "google-datetime"
        },
        "memoryUsed": {
          "format": "int64",
          "type": "string"
        },
        "removeReason": {
          "type": "string"
        },
        "isExcluded": {
          "type": "boolean"
        },
        "hostPort": {
          "type": "string"
        },
        "resources": {
          "additionalProperties": {
            "$ref": "ResourceInformation"
          },
          "type": "object"
        },
        "activeTasks": {
          "type": "integer",
          "format": "int32"
        },
        "peakMemoryMetrics": {
          "$ref": "ExecutorMetrics"
        },
        "totalInputBytes": {
          "format": "int64",
          "type": "string"
        },
        "resourceProfileId": {
          "format": "int32",
          "type": "integer"
        },
        "totalShuffleRead": {
          "type": "string",
          "format": "int64"
        },
        "isActive": {
          "type": "boolean"
        },
        "executorId": {
          "type": "string"
        },
        "totalDurationMillis": {
          "type": "string",
          "format": "int64"
        },
        "failedTasks": {
          "format": "int32",
          "type": "integer"
        },
        "maxTasks": {
          "format": "int32",
          "type": "integer"
        },
        "attributes": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "executorLogs": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "diskUsed": {
          "type": "string",
          "format": "int64"
        },
        "totalTasks": {
          "format": "int32",
          "type": "integer"
        },
        "completedTasks": {
          "format": "int32",
          "type": "integer"
        },
        "addTime": {
          "type": "string",
          "format": "google-datetime"
        },
        "totalShuffleWrite": {
          "type": "string",
          "format": "int64"
        },
        "excludedInStages": {
          "items": {
            "type": "string",
            "format": "int64"
          },
          "type": "array"
        },
        "totalGcTimeMillis": {
          "type": "string",
          "format": "int64"
        },
        "totalCores": {
          "format": "int32",
          "type": "integer"
        },
        "rddBlocks": {
          "type": "integer",
          "format": "int32"
        },
        "memoryMetrics": {
          "$ref": "MemoryMetrics"
        },
        "maxMemory": {
          "format": "int64",
          "type": "string"
        }
      }
    },
    "AccumulableInfo": {
      "type": "object",
      "id": "AccumulableInfo",
      "properties": {
        "name": {
          "type": "string"
        },
        "value": {
          "type": "string"
        },
        "accumullableInfoId": {
          "type": "string",
          "format": "int64"
        },
        "update": {
          "type": "string"
        }
      }
    },
    "StageShuffleReadMetrics": {
      "description": "Shuffle data read for the stage.",
      "id": "StageShuffleReadMetrics",
      "properties": {
        "bytesRead": {
          "type": "string",
          "format": "int64"
        },
        "recordsRead": {
          "format": "int64",
          "type": "string"
        },
        "remoteBytesReadToDisk": {
          "type": "string",
          "format": "int64"
        },
        "localBytesRead": {
          "format": "int64",
          "type": "string"
        },
        "remoteBytesRead": {
          "type": "string",
          "format": "int64"
        },
        "localBlocksFetched": {
          "type": "string",
          "format": "int64"
        },
        "remoteBlocksFetched": {
          "format": "int64",
          "type": "string"
        },
        "fetchWaitTimeMillis": {
          "format": "int64",
          "type": "string"
        },
        "stageShufflePushReadMetrics": {
          "$ref": "StageShufflePushReadMetrics"
        },
        "remoteReqsDuration": {
          "format": "int64",
          "type": "string"
        }
      },
      "type": "object"
    },
    "TestIamPermissionsResponse": {
      "id": "TestIamPermissionsResponse",
      "description": "Response message for TestIamPermissions method.",
      "type": "object",
      "properties": {
        "permissions": {
          "type": "array",
          "description": "A subset of TestPermissionsRequest.permissions that the caller is allowed.",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "AccessSessionSparkApplicationSqlQueryResponse": {
      "id": "AccessSessionSparkApplicationSqlQueryResponse",
      "properties": {
        "executionData": {
          "$ref": "SqlExecutionUiData",
          "description": "SQL Execution Data"
        }
      },
      "description": "Details of a query for a Spark Application",
      "type": "object"
    },
    "StopClusterRequest": {
      "id": "StopClusterRequest",
      "properties": {
        "requestId": {
          "type": "string",
          "description": "Optional. A unique ID used to identify the request. If the server receives two StopClusterRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.StopClusterRequest)s with the same id, then the second request will be ignored and the first google.longrunning.Operation created and stored in the backend is returned.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters."
        },
        "clusterUuid": {
          "description": "Optional. Specifying the cluster_uuid means the RPC will fail (with error NOT_FOUND) if a cluster with the specified UUID does not exist.",
          "type": "string"
        }
      },
      "type": "object",
      "description": "A request to stop a cluster."
    },
    "SummarizeSparkApplicationExecutorsResponse": {
      "properties": {
        "deadExecutorSummary": {
          "description": "Consolidated summary for dead executors.",
          "$ref": "ConsolidatedExecutorSummary"
        },
        "totalExecutorSummary": {
          "$ref": "ConsolidatedExecutorSummary",
          "description": "Overall consolidated summary for all executors."
        },
        "activeExecutorSummary": {
          "description": "Consolidated summary for active executors.",
          "$ref": "ConsolidatedExecutorSummary"
        },
        "applicationId": {
          "type": "string",
          "description": "Spark Application Id"
        }
      },
      "id": "SummarizeSparkApplicationExecutorsResponse",
      "description": "Consolidated summary of executors for a Spark Application.",
      "type": "object"
    },
    "WorkflowTemplatePlacement": {
      "type": "object",
      "description": "Specifies workflow execution target.Either managed_cluster or cluster_selector is required.",
      "id": "WorkflowTemplatePlacement",
      "properties": {
        "clusterSelector": {
          "$ref": "ClusterSelector",
          "description": "Optional. A selector that chooses target cluster for jobs based on metadata.The selector is evaluated at the time each job is submitted."
        },
        "managedCluster": {
          "$ref": "ManagedCluster",
          "description": "A cluster that is managed by the workflow."
        }
      }
    },
    "AccessSessionSparkApplicationStageRddOperationGraphResponse": {
      "type": "object",
      "properties": {
        "rddOperationGraph": {
          "$ref": "RddOperationGraph",
          "description": "RDD operation graph for a Spark Application Stage."
        }
      },
      "id": "AccessSessionSparkApplicationStageRddOperationGraphResponse",
      "description": "RDD operation graph for a Spark Application Stage limited to maximum 10000 clusters."
    },
    "PySparkNotebookBatch": {
      "type": "object",
      "id": "PySparkNotebookBatch",
      "properties": {
        "notebookFileUri": {
          "description": "Required. The HCFS URI of the notebook file to execute.",
          "type": "string"
        },
        "pythonFileUris": {
          "type": "array",
          "description": "Optional. HCFS URIs of Python files to pass to the PySpark framework.",
          "items": {
            "type": "string"
          }
        },
        "fileUris": {
          "description": "Optional. HCFS URIs of files to be placed in the working directory of each executor",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "jarFileUris": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH."
        },
        "params": {
          "description": "Optional. The parameters to pass to the notebook.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "archiveUris": {
          "type": "array",
          "description": "Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.",
          "items": {
            "type": "string"
          }
        }
      },
      "description": "A configuration for running a PySpark Notebook batch workload."
    },
    "SearchSparkApplicationStagesResponse": {
      "description": "A list of stages associated with a Spark Application.",
      "properties": {
        "sparkApplicationStages": {
          "items": {
            "$ref": "StageData"
          },
          "description": "Output only. Data corresponding to a stage.",
          "readOnly": true,
          "type": "array"
        },
        "nextPageToken": {
          "description": "This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSparkApplicationStages.",
          "type": "string"
        }
      },
      "id": "SearchSparkApplicationStagesResponse",
      "type": "object"
    },
    "SummarizeSparkApplicationStagesResponse": {
      "id": "SummarizeSparkApplicationStagesResponse",
      "type": "object",
      "description": "Summary of a Spark Application stages.",
      "properties": {
        "stagesSummary": {
          "description": "Summary of a Spark Application Stages",
          "$ref": "StagesSummary"
        }
      }
    },
    "TaskQuantileMetrics": {
      "properties": {
        "executorDeserializeCpuTimeNanos": {
          "$ref": "Quantiles"
        },
        "resultSize": {
          "$ref": "Quantiles"
        },
        "diskBytesSpilled": {
          "$ref": "Quantiles"
        },
        "inputMetrics": {
          "$ref": "InputQuantileMetrics"
        },
        "shuffleWriteMetrics": {
          "$ref": "ShuffleWriteQuantileMetrics"
        },
        "resultSerializationTimeMillis": {
          "$ref": "Quantiles"
        },
        "peakExecutionMemoryBytes": {
          "$ref": "Quantiles"
        },
        "executorRunTimeMillis": {
          "$ref": "Quantiles"
        },
        "memoryBytesSpilled": {
          "$ref": "Quantiles"
        },
        "executorCpuTimeNanos": {
          "$ref": "Quantiles"
        },
        "outputMetrics": {
          "$ref": "OutputQuantileMetrics"
        },
        "schedulerDelayMillis": {
          "$ref": "Quantiles"
        },
        "gettingResultTimeMillis": {
          "$ref": "Quantiles"
        },
        "shuffleReadMetrics": {
          "$ref": "ShuffleReadQuantileMetrics"
        },
        "durationMillis": {
          "$ref": "Quantiles"
        },
        "jvmGcTimeMillis": {
          "$ref": "Quantiles"
        },
        "executorDeserializeTimeMillis": {
          "$ref": "Quantiles"
        }
      },
      "type": "object",
      "id": "TaskQuantileMetrics"
    },
    "WorkflowGraph": {
      "description": "The workflow graph.",
      "properties": {
        "nodes": {
          "items": {
            "$ref": "WorkflowNode"
          },
          "description": "Output only. The workflow nodes.",
          "readOnly": true,
          "type": "array"
        }
      },
      "type": "object",
      "id": "WorkflowGraph"
    },
    "EncryptionConfig": {
      "properties": {
        "kmsKey": {
          "description": "Optional. The Cloud KMS key resource name to use for cluster persistent disk and job argument encryption. See Use CMEK with cluster data (https://cloud.google.com//dataproc/docs/concepts/configuring-clusters/customer-managed-encryption#use_cmek_with_cluster_data) for more information.When this key resource name is provided, the following job arguments of the following job types submitted to the cluster are encrypted using CMEK: FlinkJob args (https://cloud.google.com/dataproc/docs/reference/rest/v1/FlinkJob) HadoopJob args (https://cloud.google.com/dataproc/docs/reference/rest/v1/HadoopJob) SparkJob args (https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkJob) SparkRJob args (https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkRJob) PySparkJob args (https://cloud.google.com/dataproc/docs/reference/rest/v1/PySparkJob) SparkSqlJob (https://cloud.google.com/dataproc/docs/reference/rest/v1/SparkSqlJob) scriptVariables and queryList.queries HiveJob (https://cloud.google.com/dataproc/docs/reference/rest/v1/HiveJob) scriptVariables and queryList.queries PigJob (https://cloud.google.com/dataproc/docs/reference/rest/v1/PigJob) scriptVariables and queryList.queries PrestoJob (https://cloud.google.com/dataproc/docs/reference/rest/v1/PrestoJob) scriptVariables and queryList.queries",
          "type": "string"
        },
        "gcePdKmsKeyName": {
          "description": "Optional. The Cloud KMS key resource name to use for persistent disk encryption for all instances in the cluster. See Use CMEK with cluster data (https://cloud.google.com//dataproc/docs/concepts/configuring-clusters/customer-managed-encryption#use_cmek_with_cluster_data) for more information.",
          "type": "string"
        }
      },
      "description": "Encryption settings for the cluster.",
      "type": "object",
      "id": "EncryptionConfig"
    },
    "ShufflePushReadQuantileMetrics": {
      "id": "ShufflePushReadQuantileMetrics",
      "type": "object",
      "properties": {
        "localMergedBytesRead": {
          "$ref": "Quantiles"
        },
        "mergedFetchFallbackCount": {
          "$ref": "Quantiles"
        },
        "remoteMergedChunksFetched": {
          "$ref": "Quantiles"
        },
        "corruptMergedBlockChunks": {
          "$ref": "Quantiles"
        },
        "localMergedChunksFetched": {
          "$ref": "Quantiles"
        },
        "remoteMergedReqsDuration": {
          "$ref": "Quantiles"
        },
        "remoteMergedBytesRead": {
          "$ref": "Quantiles"
        },
        "localMergedBlocksFetched": {
          "$ref": "Quantiles"
        },
        "remoteMergedBlocksFetched": {
          "$ref": "Quantiles"
        }
      }
    },
    "SummarizeSessionSparkApplicationExecutorsResponse": {
      "id": "SummarizeSessionSparkApplicationExecutorsResponse",
      "type": "object",
      "properties": {
        "totalExecutorSummary": {
          "$ref": "ConsolidatedExecutorSummary",
          "description": "Overall consolidated summary for all executors."
        },
        "applicationId": {
          "description": "Spark Application Id",
          "type": "string"
        },
        "deadExecutorSummary": {
          "description": "Consolidated summary for dead executors.",
          "$ref": "ConsolidatedExecutorSummary"
        },
        "activeExecutorSummary": {
          "description": "Consolidated summary for active executors.",
          "$ref": "ConsolidatedExecutorSummary"
        }
      },
      "description": "Consolidated summary of executors for a Spark Application."
    },
    "GkeNodePoolAutoscalingConfig": {
      "properties": {
        "maxNodeCount": {
          "description": "The maximum number of nodes in the node pool. Must be \u003e= min_node_count, and must be \u003e 0. Note: Quota must be sufficient to scale up the cluster.",
          "format": "int32",
          "type": "integer"
        },
        "minNodeCount": {
          "type": "integer",
          "description": "The minimum number of nodes in the node pool. Must be \u003e= 0 and \u003c= max_node_count.",
          "format": "int32"
        }
      },
      "id": "GkeNodePoolAutoscalingConfig",
      "type": "object",
      "description": "GkeNodePoolAutoscaling contains information the cluster autoscaler needs to adjust the size of the node pool to the current cluster usage."
    },
    "NodeGroupOperationMetadata": {
      "id": "NodeGroupOperationMetadata",
      "type": "object",
      "properties": {
        "warnings": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Output only. Errors encountered during operation execution.",
          "readOnly": true
        },
        "statusHistory": {
          "items": {
            "$ref": "ClusterOperationStatus"
          },
          "description": "Output only. The previous operation status.",
          "readOnly": true,
          "type": "array"
        },
        "nodeGroupId": {
          "description": "Output only. Node group ID for the operation.",
          "type": "string",
          "readOnly": true
        },
        "operationType": {
          "enumDescriptions": [
            "Node group operation type is unknown.",
            "Create node group operation type.",
            "Update node group operation type.",
            "Delete node group operation type.",
            "Resize node group operation type.",
            "Repair node group operation type.",
            "Update node group label operation type.",
            "Start node group operation type.",
            "Stop node group operation type.",
            "This operation type is used to update the metadata config of a node group. We update the metadata of the VMs in the node group and await for intended config change to be completed at the node group level. Currently, only the identity config update is supported."
          ],
          "description": "The operation type.",
          "enum": [
            "NODE_GROUP_OPERATION_TYPE_UNSPECIFIED",
            "CREATE",
            "UPDATE",
            "DELETE",
            "RESIZE",
            "REPAIR",
            "UPDATE_LABELS",
            "START",
            "STOP",
            "UPDATE_METADATA_CONFIG"
          ],
          "type": "string"
        },
        "clusterUuid": {
          "description": "Output only. Cluster UUID associated with the node group operation.",
          "type": "string",
          "readOnly": true
        },
        "status": {
          "description": "Output only. Current operation status.",
          "readOnly": true,
          "$ref": "ClusterOperationStatus"
        },
        "labels": {
          "additionalProperties": {
            "type": "string"
          },
          "readOnly": true,
          "type": "object",
          "description": "Output only. Labels associated with the operation."
        },
        "description": {
          "description": "Output only. Short description of operation.",
          "type": "string",
          "readOnly": true
        }
      },
      "description": "Metadata describing the node group operation."
    }
  },
  "protocol": "rest",
  "ownerName": "Google",
  "resources": {
    "projects": {
      "resources": {
        "locations": {
          "resources": {
            "operations": {
              "methods": {
                "delete": {
                  "parameterOrder": [
                    "name"
                  ],
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
                  "response": {
                    "$ref": "Empty"
                  },
                  "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.",
                  "id": "dataproc.projects.locations.operations.delete",
                  "path": "v1/{+name}",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "parameters": {
                    "name": {
                      "location": "path",
                      "type": "string",
                      "required": true,
                      "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
                      "description": "The name of the operation resource to be deleted."
                    }
                  },
                  "httpMethod": "DELETE"
                },
                "cancel": {
                  "id": "dataproc.projects.locations.operations.cancel",
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
                  "response": {
                    "$ref": "Empty"
                  },
                  "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "parameterOrder": [
                    "name"
                  ],
                  "parameters": {
                    "name": {
                      "location": "path",
                      "required": true,
                      "description": "The name of the operation resource to be cancelled.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
                      "type": "string"
                    }
                  },
                  "httpMethod": "POST",
                  "path": "v1/{+name}:cancel"
                },
                "get": {
                  "httpMethod": "GET",
                  "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
                  "parameters": {
                    "name": {
                      "required": true,
                      "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
                      "location": "path",
                      "type": "string",
                      "description": "The name of the operation resource."
                    }
                  },
                  "id": "dataproc.projects.locations.operations.get",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc",
                    "https://www.googleapis.com/auth/dataproc.read-only"
                  ],
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
                  "response": {
                    "$ref": "Operation"
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "path": "v1/{+name}"
                },
                "list": {
                  "id": "dataproc.projects.locations.operations.list",
                  "parameterOrder": [
                    "name"
                  ],
                  "httpMethod": "GET",
                  "parameters": {
                    "pageToken": {
                      "location": "query",
                      "type": "string",
                      "description": "The standard list page token."
                    },
                    "filter": {
                      "type": "string",
                      "location": "query",
                      "description": "The standard list filter."
                    },
                    "returnPartialSuccess": {
                      "location": "query",
                      "type": "boolean",
                      "description": "When set to true, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field.This can only be true when reading across collections. For example, when parent is set to \"projects/example/locations/-\".This field is not supported by default and will result in an UNIMPLEMENTED error if set unless explicitly documented otherwise in service or product specific documentation."
                    },
                    "pageSize": {
                      "description": "The standard list page size.",
                      "location": "query",
                      "type": "integer",
                      "format": "int32"
                    },
                    "name": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/operations$",
                      "required": true,
                      "location": "path",
                      "type": "string",
                      "description": "The name of the operation's parent resource."
                    }
                  },
                  "path": "v1/{+name}",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc",
                    "https://www.googleapis.com/auth/dataproc.read-only"
                  ],
                  "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.",
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations",
                  "response": {
                    "$ref": "ListOperationsResponse"
                  }
                }
              }
            },
            "sessions": {
              "methods": {
                "list": {
                  "path": "v1/{+parent}/sessions",
                  "parameterOrder": [
                    "parent"
                  ],
                  "httpMethod": "GET",
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions",
                  "response": {
                    "$ref": "ListSessionsResponse"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc",
                    "https://www.googleapis.com/auth/dataproc.read-only"
                  ],
                  "parameters": {
                    "pageToken": {
                      "description": "Optional. A page token received from a previous ListSessions call. Provide this token to retrieve the subsequent page.",
                      "location": "query",
                      "type": "string"
                    },
                    "filter": {
                      "type": "string",
                      "location": "query",
                      "description": "Optional. A filter for the sessions to return in the response.A filter is a logical expression constraining the values of various fields in each session resource. Filters are case sensitive, and may contain multiple clauses combined with logical operators (AND, OR). Supported fields are session_id, session_uuid, state, create_time, and labels.Example: state = ACTIVE and create_time \u003c \"2023-01-01T00:00:00Z\" is a filter for sessions in an ACTIVE state that were created before 2023-01-01. state = ACTIVE and labels.environment=production is a filter for sessions in an ACTIVE state that have a production environment label.See https://google.aip.dev/assets/misc/ebnf-filtering.txt for a detailed description of the filter syntax and a list of supported comparators."
                    },
                    "pageSize": {
                      "description": "Optional. The maximum number of sessions to return in each response. The service may return fewer than this value.",
                      "location": "query",
                      "format": "int32",
                      "type": "integer"
                    },
                    "parent": {
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "type": "string",
                      "description": "Required. The parent, which owns this collection of sessions.",
                      "required": true,
                      "location": "path"
                    }
                  },
                  "description": "Lists interactive sessions.",
                  "id": "dataproc.projects.locations.sessions.list"
                },
                "create": {
                  "id": "dataproc.projects.locations.sessions.create",
                  "request": {
                    "$ref": "Session"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "path": "v1/{+parent}/sessions",
                  "description": "Create an interactive session asynchronously.",
                  "parameters": {
                    "parent": {
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "description": "Required. The parent resource where this session will be created.",
                      "required": true,
                      "location": "path",
                      "type": "string"
                    },
                    "sessionId": {
                      "description": "Required. The ID to use for the session, which becomes the final component of the session's resource name.This value must be 4-63 characters. Valid characters are /a-z-/.",
                      "location": "query",
                      "type": "string"
                    },
                    "requestId": {
                      "location": "query",
                      "type": "string",
                      "description": "Optional. A unique ID used to identify the request. If the service receives two CreateSessionRequests (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.CreateSessionRequest)s with the same ID, the second request is ignored, and the first Session is created and stored in the backend.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The value must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters."
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions",
                  "response": {
                    "$ref": "Operation"
                  },
                  "httpMethod": "POST"
                },
                "terminate": {
                  "request": {
                    "$ref": "TerminateSessionRequest"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "id": "dataproc.projects.locations.sessions.terminate",
                  "path": "v1/{+name}:terminate",
                  "httpMethod": "POST",
                  "parameters": {
                    "name": {
                      "type": "string",
                      "pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+$",
                      "required": true,
                      "description": "Required. The name of the session resource to terminate.",
                      "location": "path"
                    }
                  },
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}:terminate",
                  "response": {
                    "$ref": "Operation"
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "description": "Terminates the interactive session."
                },
                "get": {
                  "parameterOrder": [
                    "name"
                  ],
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc",
                    "https://www.googleapis.com/auth/dataproc.read-only"
                  ],
                  "description": "Gets the resource representation for an interactive session.",
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}",
                  "response": {
                    "$ref": "Session"
                  },
                  "id": "dataproc.projects.locations.sessions.get",
                  "parameters": {
                    "name": {
                      "type": "string",
                      "description": "Required. The name of the session to retrieve.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+$",
                      "location": "path",
                      "required": true
                    }
                  },
                  "path": "v1/{+name}",
                  "httpMethod": "GET"
                },
                "delete": {
                  "description": "Deletes the interactive session resource. If the session is not in terminal state, it is terminated, and then deleted.",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "id": "dataproc.projects.locations.sessions.delete",
                  "path": "v1/{+name}",
                  "parameterOrder": [
                    "name"
                  ],
                  "parameters": {
                    "requestId": {
                      "location": "query",
                      "description": "Optional. A unique ID used to identify the request. If the service receives two DeleteSessionRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.DeleteSessionRequest)s with the same ID, the second request is ignored.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The value must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.",
                      "type": "string"
                    },
                    "name": {
                      "location": "path",
                      "type": "string",
                      "required": true,
                      "description": "Required. The name of the session resource to delete.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+$"
                    }
                  },
                  "httpMethod": "DELETE",
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}",
                  "response": {
                    "$ref": "Operation"
                  }
                }
              },
              "resources": {
                "sparkApplications": {
                  "methods": {
                    "accessJob": {
                      "id": "dataproc.projects.locations.sessions.sparkApplications.accessJob",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:accessJob",
                      "response": {
                        "$ref": "AccessSessionSparkApplicationJobResponse"
                      },
                      "description": "Obtain data corresponding to a spark job for a Spark Application.",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "parameterOrder": [
                        "name"
                      ],
                      "parameters": {
                        "name": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$",
                          "description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\"",
                          "required": true,
                          "location": "path",
                          "type": "string"
                        },
                        "jobId": {
                          "type": "string",
                          "description": "Required. Job ID to fetch data for.",
                          "location": "query",
                          "format": "int64"
                        },
                        "parent": {
                          "type": "string",
                          "location": "query",
                          "description": "Required. Parent (Session) resource reference."
                        }
                      },
                      "path": "v1/{+name}:accessJob",
                      "httpMethod": "GET"
                    },
                    "summarizeStages": {
                      "path": "v1/{+name}:summarizeStages",
                      "id": "dataproc.projects.locations.sessions.sparkApplications.summarizeStages",
                      "httpMethod": "GET",
                      "parameterOrder": [
                        "name"
                      ],
                      "parameters": {
                        "stageIds": {
                          "description": "Optional. List of Stage IDs to filter by if provided.",
                          "format": "int64",
                          "repeated": true,
                          "location": "query",
                          "type": "string"
                        },
                        "name": {
                          "location": "path",
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$",
                          "description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\"",
                          "type": "string"
                        },
                        "parent": {
                          "description": "Required. Parent (Session) resource reference.",
                          "location": "query",
                          "type": "string"
                        }
                      },
                      "description": "Obtain summary of Stages for a Spark Application",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:summarizeStages",
                      "response": {
                        "$ref": "SummarizeSessionSparkApplicationStagesResponse"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ]
                    },
                    "summarizeExecutors": {
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:summarizeExecutors",
                      "response": {
                        "$ref": "SummarizeSessionSparkApplicationExecutorsResponse"
                      },
                      "parameters": {
                        "name": {
                          "type": "string",
                          "pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$",
                          "location": "path",
                          "description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\"",
                          "required": true
                        },
                        "parent": {
                          "description": "Required. Parent (Session) resource reference.",
                          "location": "query",
                          "type": "string"
                        }
                      },
                      "httpMethod": "GET",
                      "description": "Obtain summary of Executor Summary for a Spark Application",
                      "id": "dataproc.projects.locations.sessions.sparkApplications.summarizeExecutors",
                      "parameterOrder": [
                        "name"
                      ],
                      "path": "v1/{+name}:summarizeExecutors"
                    },
                    "summarizeJobs": {
                      "parameters": {
                        "jobIds": {
                          "format": "int64",
                          "description": "Optional. List of Job IDs to filter by if provided.",
                          "repeated": true,
                          "location": "query",
                          "type": "string"
                        },
                        "parent": {
                          "location": "query",
                          "type": "string",
                          "description": "Required. Parent (Session) resource reference."
                        },
                        "name": {
                          "description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\"",
                          "type": "string",
                          "pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$",
                          "location": "path",
                          "required": true
                        }
                      },
                      "description": "Obtain summary of Jobs for a Spark Application",
                      "httpMethod": "GET",
                      "id": "dataproc.projects.locations.sessions.sparkApplications.summarizeJobs",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:summarizeJobs",
                      "response": {
                        "$ref": "SummarizeSessionSparkApplicationJobsResponse"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "parameterOrder": [
                        "name"
                      ],
                      "path": "v1/{+name}:summarizeJobs"
                    },
                    "accessStageAttempt": {
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:accessStageAttempt",
                      "response": {
                        "$ref": "AccessSessionSparkApplicationStageAttemptResponse"
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "path": "v1/{+name}:accessStageAttempt",
                      "httpMethod": "GET",
                      "parameters": {
                        "parent": {
                          "type": "string",
                          "description": "Required. Parent (Session) resource reference.",
                          "location": "query"
                        },
                        "summaryMetricsMask": {
                          "format": "google-fieldmask",
                          "type": "string",
                          "description": "Optional. The list of summary metrics fields to include. Empty list will default to skip all summary metrics fields. Example, if the response should include TaskQuantileMetrics, the request should have task_quantile_metrics in summary_metrics_mask field",
                          "location": "query"
                        },
                        "stageAttemptId": {
                          "type": "integer",
                          "description": "Required. Stage Attempt ID",
                          "location": "query",
                          "format": "int32"
                        },
                        "name": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$",
                          "type": "string",
                          "required": true,
                          "location": "path",
                          "description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\""
                        },
                        "stageId": {
                          "type": "string",
                          "description": "Required. Stage ID",
                          "location": "query",
                          "format": "int64"
                        }
                      },
                      "id": "dataproc.projects.locations.sessions.sparkApplications.accessStageAttempt",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "description": "Obtain data corresponding to a spark stage attempt for a Spark Application."
                    },
                    "searchSqlQueries": {
                      "description": "Obtain data corresponding to SQL Queries for a Spark Application.",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "path": "v1/{+name}:searchSqlQueries",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:searchSqlQueries",
                      "response": {
                        "$ref": "SearchSessionSparkApplicationSqlQueriesResponse"
                      },
                      "parameters": {
                        "planDescription": {
                          "type": "boolean",
                          "location": "query",
                          "description": "Optional. Enables/ disables physical plan description on demand"
                        },
                        "name": {
                          "required": true,
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$",
                          "type": "string",
                          "description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\""
                        },
                        "operationIds": {
                          "location": "query",
                          "repeated": true,
                          "type": "string",
                          "description": "Optional. List of Spark Connect operation IDs to filter by if provided."
                        },
                        "pageToken": {
                          "type": "string",
                          "description": "Optional. A page token received from a previous SearchSessionSparkApplicationSqlQueries call. Provide this token to retrieve the subsequent page.",
                          "location": "query"
                        },
                        "pageSize": {
                          "description": "Optional. Maximum number of queries to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.",
                          "format": "int32",
                          "type": "integer",
                          "location": "query"
                        },
                        "details": {
                          "location": "query",
                          "type": "boolean",
                          "description": "Optional. Lists/ hides details of Spark plan nodes. True is set to list and false to hide."
                        },
                        "parent": {
                          "type": "string",
                          "location": "query",
                          "description": "Required. Parent (Session) resource reference."
                        }
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "httpMethod": "GET",
                      "id": "dataproc.projects.locations.sessions.sparkApplications.searchSqlQueries"
                    },
                    "accessNativeBuildInfo": {
                      "description": "Obtain data corresponding to Native Build Information for a Spark Application.",
                      "id": "dataproc.projects.locations.sessions.sparkApplications.accessNativeBuildInfo",
                      "parameterOrder": [
                        "name"
                      ],
                      "httpMethod": "GET",
                      "parameters": {
                        "name": {
                          "type": "string",
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$",
                          "required": true,
                          "description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\""
                        },
                        "parent": {
                          "description": "Required. Parent (Session) resource reference.",
                          "location": "query",
                          "type": "string"
                        }
                      },
                      "path": "v1/{+name}:accessNativeBuildInfo",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:accessNativeBuildInfo",
                      "response": {
                        "$ref": "AccessSessionSparkApplicationNativeBuildInfoResponse"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ]
                    },
                    "accessNativeSqlQuery": {
                      "parameters": {
                        "name": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$",
                          "type": "string",
                          "required": true,
                          "description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\"",
                          "location": "path"
                        },
                        "parent": {
                          "type": "string",
                          "location": "query",
                          "description": "Required. Parent (Session) resource reference."
                        },
                        "executionId": {
                          "location": "query",
                          "format": "int64",
                          "description": "Required. Execution ID",
                          "type": "string"
                        }
                      },
                      "path": "v1/{+name}:accessNativeSqlQuery",
                      "httpMethod": "GET",
                      "id": "dataproc.projects.locations.sessions.sparkApplications.accessNativeSqlQuery",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:accessNativeSqlQuery",
                      "response": {
                        "$ref": "AccessSessionSparkApplicationNativeSqlQueryResponse"
                      },
                      "description": "Obtain data corresponding to a particular Native SQL Query for a Spark Application.",
                      "parameterOrder": [
                        "name"
                      ],
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ]
                    },
                    "searchStages": {
                      "path": "v1/{+name}:searchStages",
                      "id": "dataproc.projects.locations.sessions.sparkApplications.searchStages",
                      "parameterOrder": [
                        "name"
                      ],
                      "httpMethod": "GET",
                      "parameters": {
                        "pageSize": {
                          "format": "int32",
                          "location": "query",
                          "description": "Optional. Maximum number of stages (paging based on stage_id) to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.",
                          "type": "integer"
                        },
                        "pageToken": {
                          "location": "query",
                          "description": "Optional. A page token received from a previous SearchSessionSparkApplicationStages call. Provide this token to retrieve the subsequent page.",
                          "type": "string"
                        },
                        "parent": {
                          "location": "query",
                          "type": "string",
                          "description": "Required. Parent (Session) resource reference."
                        },
                        "stageStatus": {
                          "enumDescriptions": [
                            "",
                            "",
                            "",
                            "",
                            "",
                            ""
                          ],
                          "type": "string",
                          "location": "query",
                          "description": "Optional. List only stages in the given state.",
                          "enum": [
                            "STAGE_STATUS_UNSPECIFIED",
                            "STAGE_STATUS_ACTIVE",
                            "STAGE_STATUS_COMPLETE",
                            "STAGE_STATUS_FAILED",
                            "STAGE_STATUS_PENDING",
                            "STAGE_STATUS_SKIPPED"
                          ]
                        },
                        "name": {
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$",
                          "description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\"",
                          "required": true,
                          "type": "string"
                        },
                        "summaryMetricsMask": {
                          "description": "Optional. The list of summary metrics fields to include. Empty list will default to skip all summary metrics fields. Example, if the response should include TaskQuantileMetrics, the request should have task_quantile_metrics in summary_metrics_mask field",
                          "format": "google-fieldmask",
                          "location": "query",
                          "type": "string"
                        },
                        "stageIds": {
                          "type": "string",
                          "description": "Optional. List of Stage IDs to filter by if provided.",
                          "format": "int64",
                          "location": "query",
                          "repeated": true
                        }
                      },
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:searchStages",
                      "response": {
                        "$ref": "SearchSessionSparkApplicationStagesResponse"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "description": "Obtain data corresponding to stages for a Spark Application."
                    },
                    "write": {
                      "httpMethod": "POST",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:write",
                      "response": {
                        "$ref": "WriteSessionSparkApplicationContextResponse"
                      },
                      "parameters": {
                        "name": {
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$",
                          "location": "path",
                          "type": "string",
                          "description": "Required. The fully qualified name of the spark application to write data about in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\""
                        }
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc"
                      ],
                      "path": "v1/{+name}:write",
                      "parameterOrder": [
                        "name"
                      ],
                      "request": {
                        "$ref": "WriteSessionSparkApplicationContextRequest"
                      },
                      "id": "dataproc.projects.locations.sessions.sparkApplications.write",
                      "description": "Write wrapper objects from dataplane to spanner"
                    },
                    "accessStageRddGraph": {
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:accessStageRddGraph",
                      "response": {
                        "$ref": "AccessSessionSparkApplicationStageRddOperationGraphResponse"
                      },
                      "path": "v1/{+name}:accessStageRddGraph",
                      "httpMethod": "GET",
                      "id": "dataproc.projects.locations.sessions.sparkApplications.accessStageRddGraph",
                      "parameters": {
                        "parent": {
                          "description": "Required. Parent (Session) resource reference.",
                          "location": "query",
                          "type": "string"
                        },
                        "stageId": {
                          "format": "int64",
                          "type": "string",
                          "location": "query",
                          "description": "Required. Stage ID"
                        },
                        "name": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$",
                          "required": true,
                          "description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\"",
                          "type": "string",
                          "location": "path"
                        }
                      },
                      "description": "Obtain RDD operation graph for a Spark Application Stage. Limits the number of clusters returned as part of the graph to 10000.",
                      "parameterOrder": [
                        "name"
                      ],
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ]
                    },
                    "accessEnvironmentInfo": {
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:accessEnvironmentInfo",
                      "response": {
                        "$ref": "AccessSessionSparkApplicationEnvironmentInfoResponse"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "path": "v1/{+name}:accessEnvironmentInfo",
                      "httpMethod": "GET",
                      "parameters": {
                        "parent": {
                          "type": "string",
                          "location": "query",
                          "description": "Required. Parent (Session) resource reference."
                        },
                        "name": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$",
                          "type": "string",
                          "description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\"",
                          "required": true,
                          "location": "path"
                        }
                      },
                      "id": "dataproc.projects.locations.sessions.sparkApplications.accessEnvironmentInfo",
                      "parameterOrder": [
                        "name"
                      ],
                      "description": "Obtain environment details for a Spark Application"
                    },
                    "summarizeStageAttemptTasks": {
                      "httpMethod": "GET",
                      "id": "dataproc.projects.locations.sessions.sparkApplications.summarizeStageAttemptTasks",
                      "parameters": {
                        "stageId": {
                          "description": "Required. Stage ID",
                          "format": "int64",
                          "type": "string",
                          "location": "query"
                        },
                        "name": {
                          "location": "path",
                          "required": true,
                          "type": "string",
                          "description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\"",
                          "pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$"
                        },
                        "stageAttemptId": {
                          "location": "query",
                          "description": "Required. Stage Attempt ID",
                          "type": "integer",
                          "format": "int32"
                        },
                        "parent": {
                          "description": "Required. Parent (Session) resource reference.",
                          "type": "string",
                          "location": "query"
                        }
                      },
                      "description": "Obtain summary of Tasks for a Spark Application Stage Attempt",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "path": "v1/{+name}:summarizeStageAttemptTasks",
                      "parameterOrder": [
                        "name"
                      ],
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:summarizeStageAttemptTasks",
                      "response": {
                        "$ref": "SummarizeSessionSparkApplicationStageAttemptTasksResponse"
                      }
                    },
                    "accessSqlQuery": {
                      "httpMethod": "GET",
                      "parameters": {
                        "parent": {
                          "type": "string",
                          "description": "Required. Parent (Session) resource reference.",
                          "location": "query"
                        },
                        "details": {
                          "description": "Optional. Lists/ hides details of Spark plan nodes. True is set to list and false to hide.",
                          "type": "boolean",
                          "location": "query"
                        },
                        "name": {
                          "description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\"",
                          "type": "string",
                          "required": true,
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$"
                        },
                        "planDescription": {
                          "description": "Optional. Enables/ disables physical plan description on demand",
                          "type": "boolean",
                          "location": "query"
                        },
                        "executionId": {
                          "description": "Required. Execution ID",
                          "format": "int64",
                          "location": "query",
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:accessSqlQuery",
                      "response": {
                        "$ref": "AccessSessionSparkApplicationSqlQueryResponse"
                      },
                      "path": "v1/{+name}:accessSqlQuery",
                      "id": "dataproc.projects.locations.sessions.sparkApplications.accessSqlQuery",
                      "description": "Obtain data corresponding to a particular SQL Query for a Spark Application."
                    },
                    "accessSqlPlan": {
                      "httpMethod": "GET",
                      "parameters": {
                        "parent": {
                          "description": "Required. Parent (Session) resource reference.",
                          "location": "query",
                          "type": "string"
                        },
                        "executionId": {
                          "format": "int64",
                          "type": "string",
                          "description": "Required. Execution ID",
                          "location": "query"
                        },
                        "name": {
                          "location": "path",
                          "required": true,
                          "description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\"",
                          "type": "string",
                          "pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$"
                        }
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "path": "v1/{+name}:accessSqlPlan",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:accessSqlPlan",
                      "response": {
                        "$ref": "AccessSessionSparkApplicationSqlSparkPlanGraphResponse"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "id": "dataproc.projects.locations.sessions.sparkApplications.accessSqlPlan",
                      "description": "Obtain Spark Plan Graph for a Spark Application SQL execution. Limits the number of clusters returned as part of the graph to 10000."
                    },
                    "access": {
                      "parameterOrder": [
                        "name"
                      ],
                      "path": "v1/{+name}:access",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:access",
                      "response": {
                        "$ref": "AccessSessionSparkApplicationResponse"
                      },
                      "httpMethod": "GET",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "parameters": {
                        "name": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$",
                          "description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\"",
                          "location": "path",
                          "type": "string",
                          "required": true
                        },
                        "parent": {
                          "location": "query",
                          "type": "string",
                          "description": "Required. Parent (Session) resource reference."
                        }
                      },
                      "description": "Obtain high level information corresponding to a single Spark Application.",
                      "id": "dataproc.projects.locations.sessions.sparkApplications.access"
                    },
                    "searchJobs": {
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "description": "Obtain list of spark jobs corresponding to a Spark Application.",
                      "id": "dataproc.projects.locations.sessions.sparkApplications.searchJobs",
                      "parameterOrder": [
                        "name"
                      ],
                      "parameters": {
                        "name": {
                          "required": true,
                          "location": "path",
                          "description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\"",
                          "pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$",
                          "type": "string"
                        },
                        "pageSize": {
                          "format": "int32",
                          "type": "integer",
                          "description": "Optional. Maximum number of jobs to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.",
                          "location": "query"
                        },
                        "jobStatus": {
                          "location": "query",
                          "enum": [
                            "JOB_EXECUTION_STATUS_UNSPECIFIED",
                            "JOB_EXECUTION_STATUS_RUNNING",
                            "JOB_EXECUTION_STATUS_SUCCEEDED",
                            "JOB_EXECUTION_STATUS_FAILED",
                            "JOB_EXECUTION_STATUS_UNKNOWN"
                          ],
                          "description": "Optional. List only jobs in the specific state.",
                          "type": "string",
                          "enumDescriptions": [
                            "",
                            "",
                            "",
                            "",
                            ""
                          ]
                        },
                        "jobIds": {
                          "type": "string",
                          "location": "query",
                          "repeated": true,
                          "format": "int64",
                          "description": "Optional. List of Job IDs to filter by if provided."
                        },
                        "parent": {
                          "type": "string",
                          "location": "query",
                          "description": "Required. Parent (Session) resource reference."
                        },
                        "pageToken": {
                          "description": "Optional. A page token received from a previous SearchSessionSparkApplicationJobs call. Provide this token to retrieve the subsequent page.",
                          "type": "string",
                          "location": "query"
                        }
                      },
                      "httpMethod": "GET",
                      "path": "v1/{+name}:searchJobs",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:searchJobs",
                      "response": {
                        "$ref": "SearchSessionSparkApplicationJobsResponse"
                      }
                    },
                    "searchStageAttemptTasks": {
                      "parameters": {
                        "taskStatus": {
                          "type": "string",
                          "description": "Optional. List only tasks in the state.",
                          "location": "query",
                          "enum": [
                            "TASK_STATUS_UNSPECIFIED",
                            "TASK_STATUS_RUNNING",
                            "TASK_STATUS_SUCCESS",
                            "TASK_STATUS_FAILED",
                            "TASK_STATUS_KILLED",
                            "TASK_STATUS_PENDING"
                          ],
                          "enumDescriptions": [
                            "",
                            "",
                            "",
                            "",
                            "",
                            ""
                          ]
                        },
                        "sortRuntime": {
                          "location": "query",
                          "type": "boolean",
                          "description": "Optional. Sort the tasks by runtime."
                        },
                        "name": {
                          "description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\"",
                          "location": "path",
                          "pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$",
                          "required": true,
                          "type": "string"
                        },
                        "stageId": {
                          "format": "int64",
                          "description": "Optional. Stage ID",
                          "location": "query",
                          "type": "string"
                        },
                        "pageToken": {
                          "location": "query",
                          "description": "Optional. A page token received from a previous SearchSessionSparkApplicationStageAttemptTasks call. Provide this token to retrieve the subsequent page.",
                          "type": "string"
                        },
                        "parent": {
                          "type": "string",
                          "description": "Required. Parent (Session) resource reference.",
                          "location": "query"
                        },
                        "stageAttemptId": {
                          "description": "Optional. Stage Attempt ID",
                          "location": "query",
                          "type": "integer",
                          "format": "int32"
                        },
                        "pageSize": {
                          "format": "int32",
                          "location": "query",
                          "description": "Optional. Maximum number of tasks to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.",
                          "type": "integer"
                        }
                      },
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:searchStageAttemptTasks",
                      "response": {
                        "$ref": "SearchSessionSparkApplicationStageAttemptTasksResponse"
                      },
                      "id": "dataproc.projects.locations.sessions.sparkApplications.searchStageAttemptTasks",
                      "httpMethod": "GET",
                      "parameterOrder": [
                        "name"
                      ],
                      "path": "v1/{+name}:searchStageAttemptTasks",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "description": "Obtain data corresponding to tasks for a spark stage attempt for a Spark Application."
                    },
                    "searchExecutors": {
                      "parameterOrder": [
                        "name"
                      ],
                      "path": "v1/{+name}:searchExecutors",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "description": "Obtain data corresponding to executors for a Spark Application.",
                      "parameters": {
                        "pageSize": {
                          "format": "int32",
                          "location": "query",
                          "description": "Optional. Maximum number of executors to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.",
                          "type": "integer"
                        },
                        "pageToken": {
                          "type": "string",
                          "description": "Optional. A page token received from a previous SearchSessionSparkApplicationExecutors call. Provide this token to retrieve the subsequent page.",
                          "location": "query"
                        },
                        "name": {
                          "type": "string",
                          "pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$",
                          "location": "path",
                          "description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\"",
                          "required": true
                        },
                        "executorStatus": {
                          "type": "string",
                          "location": "query",
                          "enum": [
                            "EXECUTOR_STATUS_UNSPECIFIED",
                            "EXECUTOR_STATUS_ACTIVE",
                            "EXECUTOR_STATUS_DEAD"
                          ],
                          "enumDescriptions": [
                            "",
                            "",
                            ""
                          ],
                          "description": "Optional. Filter to select whether active/ dead or all executors should be selected."
                        },
                        "parent": {
                          "type": "string",
                          "location": "query",
                          "description": "Required. Parent (Session) resource reference."
                        }
                      },
                      "httpMethod": "GET",
                      "id": "dataproc.projects.locations.sessions.sparkApplications.searchExecutors",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:searchExecutors",
                      "response": {
                        "$ref": "SearchSessionSparkApplicationExecutorsResponse"
                      }
                    },
                    "searchNativeSqlQueries": {
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:searchNativeSqlQueries",
                      "response": {
                        "$ref": "SearchSessionSparkApplicationNativeSqlQueriesResponse"
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "path": "v1/{+name}:searchNativeSqlQueries",
                      "httpMethod": "GET",
                      "id": "dataproc.projects.locations.sessions.sparkApplications.searchNativeSqlQueries",
                      "parameters": {
                        "name": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$",
                          "type": "string",
                          "required": true,
                          "location": "path",
                          "description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\""
                        },
                        "parent": {
                          "description": "Required. Parent (Session) resource reference.",
                          "type": "string",
                          "location": "query"
                        },
                        "pageToken": {
                          "type": "string",
                          "location": "query",
                          "description": "Optional. A page token received from a previous SearchSessionSparkApplicationSqlQueries call. Provide this token to retrieve the subsequent page."
                        },
                        "pageSize": {
                          "description": "Optional. Maximum number of queries to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.",
                          "type": "integer",
                          "location": "query",
                          "format": "int32"
                        }
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "description": "Obtain data corresponding to Native SQL Queries for a Spark Application."
                    },
                    "search": {
                      "description": "Obtain high level information and list of Spark Applications corresponding to a batch",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications:search",
                      "response": {
                        "$ref": "SearchSessionSparkApplicationsResponse"
                      },
                      "httpMethod": "GET",
                      "path": "v1/{+parent}/sparkApplications:search",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "parameters": {
                        "maxEndTime": {
                          "location": "query",
                          "format": "google-datetime",
                          "type": "string",
                          "description": "Optional. Latest end timestamp to list."
                        },
                        "parent": {
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+$",
                          "location": "path",
                          "type": "string",
                          "description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID\""
                        },
                        "minTime": {
                          "description": "Optional. Earliest start timestamp to list.",
                          "location": "query",
                          "type": "string",
                          "format": "google-datetime"
                        },
                        "pageSize": {
                          "description": "Optional. Maximum number of applications to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.",
                          "location": "query",
                          "type": "integer",
                          "format": "int32"
                        },
                        "maxTime": {
                          "type": "string",
                          "location": "query",
                          "format": "google-datetime",
                          "description": "Optional. Latest start timestamp to list."
                        },
                        "minEndTime": {
                          "location": "query",
                          "format": "google-datetime",
                          "type": "string",
                          "description": "Optional. Earliest end timestamp to list."
                        },
                        "pageToken": {
                          "type": "string",
                          "location": "query",
                          "description": "Optional. A page token received from a previous SearchSessionSparkApplications call. Provide this token to retrieve the subsequent page."
                        },
                        "applicationStatus": {
                          "description": "Optional. Search only applications in the chosen state.",
                          "location": "query",
                          "enum": [
                            "APPLICATION_STATUS_UNSPECIFIED",
                            "APPLICATION_STATUS_RUNNING",
                            "APPLICATION_STATUS_COMPLETED"
                          ],
                          "enumDescriptions": [
                            "",
                            "",
                            ""
                          ],
                          "type": "string"
                        }
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "id": "dataproc.projects.locations.sessions.sparkApplications.search"
                    },
                    "searchExecutorStageSummary": {
                      "parameters": {
                        "name": {
                          "description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\"",
                          "pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$",
                          "type": "string",
                          "required": true,
                          "location": "path"
                        },
                        "pageSize": {
                          "description": "Optional. Maximum number of executors to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.",
                          "type": "integer",
                          "location": "query",
                          "format": "int32"
                        },
                        "stageId": {
                          "location": "query",
                          "type": "string",
                          "format": "int64",
                          "description": "Required. Stage ID"
                        },
                        "parent": {
                          "type": "string",
                          "description": "Required. Parent (Session) resource reference.",
                          "location": "query"
                        },
                        "stageAttemptId": {
                          "description": "Required. Stage Attempt ID",
                          "format": "int32",
                          "location": "query",
                          "type": "integer"
                        },
                        "pageToken": {
                          "type": "string",
                          "description": "Optional. A page token received from a previous SearchSessionSparkApplicationExecutorStageSummary call. Provide this token to retrieve the subsequent page.",
                          "location": "query"
                        }
                      },
                      "description": "Obtain executor summary with respect to a spark stage attempt.",
                      "httpMethod": "GET",
                      "path": "v1/{+name}:searchExecutorStageSummary",
                      "parameterOrder": [
                        "name"
                      ],
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "id": "dataproc.projects.locations.sessions.sparkApplications.searchExecutorStageSummary",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:searchExecutorStageSummary",
                      "response": {
                        "$ref": "SearchSessionSparkApplicationExecutorStageSummaryResponse"
                      }
                    },
                    "searchStageAttempts": {
                      "parameterOrder": [
                        "name"
                      ],
                      "description": "Obtain data corresponding to a spark stage attempts for a Spark Application.",
                      "parameters": {
                        "name": {
                          "location": "path",
                          "description": "Required. The fully qualified name of the session to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID\"",
                          "required": true,
                          "type": "string",
                          "pattern": "^projects/[^/]+/locations/[^/]+/sessions/[^/]+/sparkApplications/[^/]+$"
                        },
                        "parent": {
                          "type": "string",
                          "location": "query",
                          "description": "Required. Parent (Session) resource reference."
                        },
                        "summaryMetricsMask": {
                          "type": "string",
                          "format": "google-fieldmask",
                          "location": "query",
                          "description": "Optional. The list of summary metrics fields to include. Empty list will default to skip all summary metrics fields. Example, if the response should include TaskQuantileMetrics, the request should have task_quantile_metrics in summary_metrics_mask field"
                        },
                        "pageToken": {
                          "location": "query",
                          "description": "Optional. A page token received from a previous SearchSessionSparkApplicationStageAttempts call. Provide this token to retrieve the subsequent page.",
                          "type": "string"
                        },
                        "pageSize": {
                          "type": "integer",
                          "format": "int32",
                          "location": "query",
                          "description": "Optional. Maximum number of stage attempts (paging based on stage_attempt_id) to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100."
                        },
                        "stageId": {
                          "type": "string",
                          "description": "Required. Stage ID for which attempts are to be fetched",
                          "format": "int64",
                          "location": "query"
                        }
                      },
                      "id": "dataproc.projects.locations.sessions.sparkApplications.searchStageAttempts",
                      "httpMethod": "GET",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "path": "v1/{+name}:searchStageAttempts",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessions/{sessionsId}/sparkApplications/{sparkApplicationsId}:searchStageAttempts",
                      "response": {
                        "$ref": "SearchSessionSparkApplicationStageAttemptsResponse"
                      }
                    }
                  }
                }
              }
            },
            "batches": {
              "methods": {
                "analyze": {
                  "description": "Analyze a Batch for possible recommendations and insights.",
                  "id": "dataproc.projects.locations.batches.analyze",
                  "path": "v1/{+name}:analyze",
                  "parameters": {
                    "name": {
                      "description": "Required. The fully qualified name of the batch to analyze in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID\"",
                      "type": "string",
                      "pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+$",
                      "location": "path",
                      "required": true
                    }
                  },
                  "httpMethod": "POST",
                  "request": {
                    "$ref": "AnalyzeBatchRequest"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "parameterOrder": [
                    "name"
                  ],
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}:analyze",
                  "response": {
                    "$ref": "Operation"
                  }
                },
                "delete": {
                  "description": "Deletes the batch workload resource. If the batch is not in a CANCELLED, SUCCEEDED or FAILED State, the delete operation fails and the response returns FAILED_PRECONDITION.",
                  "path": "v1/{+name}",
                  "parameterOrder": [
                    "name"
                  ],
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}",
                  "response": {
                    "$ref": "Empty"
                  },
                  "parameters": {
                    "name": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+$",
                      "type": "string",
                      "required": true,
                      "description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID\"",
                      "location": "path"
                    }
                  },
                  "httpMethod": "DELETE",
                  "id": "dataproc.projects.locations.batches.delete",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ]
                },
                "get": {
                  "parameters": {
                    "name": {
                      "description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID\"",
                      "location": "path",
                      "required": true,
                      "pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+$",
                      "type": "string"
                    }
                  },
                  "id": "dataproc.projects.locations.batches.get",
                  "httpMethod": "GET",
                  "parameterOrder": [
                    "name"
                  ],
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}",
                  "response": {
                    "$ref": "Batch"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc",
                    "https://www.googleapis.com/auth/dataproc.read-only"
                  ],
                  "description": "Gets the batch workload resource representation.",
                  "path": "v1/{+name}"
                },
                "list": {
                  "parameterOrder": [
                    "parent"
                  ],
                  "path": "v1/{+parent}/batches",
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches",
                  "response": {
                    "$ref": "ListBatchesResponse"
                  },
                  "id": "dataproc.projects.locations.batches.list",
                  "description": "Lists batch workloads.",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc",
                    "https://www.googleapis.com/auth/dataproc.read-only"
                  ],
                  "httpMethod": "GET",
                  "parameters": {
                    "orderBy": {
                      "description": "Optional. Field(s) on which to sort the list of batches.Currently the only supported sort orders are unspecified (empty) and create_time desc to sort by most recently created batches first.See https://google.aip.dev/132#ordering for more details.",
                      "location": "query",
                      "type": "string"
                    },
                    "filter": {
                      "description": "Optional. A filter for the batches to return in the response.A filter is a logical expression constraining the values of various fields in each batch resource. Filters are case sensitive, and may contain multiple clauses combined with logical operators (AND/OR). Supported fields: * batch_id * batch_uuid * state * create_time * labels * runtime_info.cohort_info.cohort e.g. state = RUNNING and create_time \u003c \"2023-01-01T00:00:00Z\" filters for batches in state RUNNING that were created before 2023-01-01. state = RUNNING and labels.environment=production filters for batches in state in a RUNNING state that have a production environment label.See https://google.aip.dev/assets/misc/ebnf-filtering.txt for a detailed description of the filter syntax and a list of supported comparisons.",
                      "type": "string",
                      "location": "query"
                    },
                    "parent": {
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "type": "string",
                      "required": true,
                      "description": "Required. The parent, which owns this collection of batches.",
                      "location": "path"
                    },
                    "pageToken": {
                      "location": "query",
                      "type": "string",
                      "description": "Optional. A page token received from a previous ListBatches call. Provide this token to retrieve the subsequent page."
                    },
                    "pageSize": {
                      "location": "query",
                      "description": "Optional. The maximum number of batches to return in each response. The service may return fewer than this value. The default page size is 20; the maximum page size is 1000.",
                      "format": "int32",
                      "type": "integer"
                    }
                  }
                },
                "create": {
                  "path": "v1/{+parent}/batches",
                  "request": {
                    "$ref": "Batch"
                  },
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches",
                  "response": {
                    "$ref": "Operation"
                  },
                  "description": "Creates a batch workload that executes asynchronously.",
                  "httpMethod": "POST",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "parameters": {
                    "parent": {
                      "description": "Required. The parent resource where this batch will be created.",
                      "type": "string",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true
                    },
                    "requestId": {
                      "location": "query",
                      "type": "string",
                      "description": "Optional. A unique ID used to identify the request. If the service receives two CreateBatchRequests with the same request_id, the second request is ignored and the operation that corresponds to the first Batch created and stored in the backend is returned.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The value must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters."
                    },
                    "batchId": {
                      "type": "string",
                      "description": "Optional. The ID to use for the batch, which will become the final component of the batch's resource name.This value must be 4-63 characters. Valid characters are /[a-z][0-9]-/.",
                      "location": "query"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "id": "dataproc.projects.locations.batches.create"
                }
              },
              "resources": {
                "sparkApplications": {
                  "methods": {
                    "accessSqlQuery": {
                      "httpMethod": "GET",
                      "parameters": {
                        "parent": {
                          "type": "string",
                          "description": "Required. Parent (Batch) resource reference.",
                          "location": "query"
                        },
                        "planDescription": {
                          "location": "query",
                          "type": "boolean",
                          "description": "Optional. Enables/ disables physical plan description on demand"
                        },
                        "executionId": {
                          "description": "Required. Execution ID",
                          "type": "string",
                          "format": "int64",
                          "location": "query"
                        },
                        "details": {
                          "type": "boolean",
                          "description": "Optional. Lists/ hides details of Spark plan nodes. True is set to list and false to hide.",
                          "location": "query"
                        },
                        "name": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$",
                          "type": "string",
                          "description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\"",
                          "required": true,
                          "location": "path"
                        }
                      },
                      "description": "Obtain data corresponding to a particular SQL Query for a Spark Application.",
                      "parameterOrder": [
                        "name"
                      ],
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "path": "v1/{+name}:accessSqlQuery",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:accessSqlQuery",
                      "response": {
                        "$ref": "AccessSparkApplicationSqlQueryResponse"
                      },
                      "id": "dataproc.projects.locations.batches.sparkApplications.accessSqlQuery"
                    },
                    "accessSqlPlan": {
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "path": "v1/{+name}:accessSqlPlan",
                      "description": "Obtain Spark Plan Graph for a Spark Application SQL execution. Limits the number of clusters returned as part of the graph to 10000.",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:accessSqlPlan",
                      "response": {
                        "$ref": "AccessSparkApplicationSqlSparkPlanGraphResponse"
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "httpMethod": "GET",
                      "id": "dataproc.projects.locations.batches.sparkApplications.accessSqlPlan",
                      "parameters": {
                        "executionId": {
                          "location": "query",
                          "format": "int64",
                          "description": "Required. Execution ID",
                          "type": "string"
                        },
                        "name": {
                          "type": "string",
                          "required": true,
                          "location": "path",
                          "description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\"",
                          "pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$"
                        },
                        "parent": {
                          "type": "string",
                          "description": "Required. Parent (Batch) resource reference.",
                          "location": "query"
                        }
                      }
                    },
                    "access": {
                      "parameterOrder": [
                        "name"
                      ],
                      "parameters": {
                        "name": {
                          "description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\"",
                          "pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$",
                          "type": "string",
                          "required": true,
                          "location": "path"
                        },
                        "parent": {
                          "description": "Required. Parent (Batch) resource reference.",
                          "type": "string",
                          "location": "query"
                        }
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "httpMethod": "GET",
                      "id": "dataproc.projects.locations.batches.sparkApplications.access",
                      "path": "v1/{+name}:access",
                      "description": "Obtain high level information corresponding to a single Spark Application.",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:access",
                      "response": {
                        "$ref": "AccessSparkApplicationResponse"
                      }
                    },
                    "search": {
                      "httpMethod": "GET",
                      "parameterOrder": [
                        "parent"
                      ],
                      "parameters": {
                        "pageToken": {
                          "type": "string",
                          "description": "Optional. A page token received from a previous SearchSparkApplications call. Provide this token to retrieve the subsequent page.",
                          "location": "query"
                        },
                        "maxEndTime": {
                          "format": "google-datetime",
                          "description": "Optional. Latest end timestamp to list.",
                          "type": "string",
                          "location": "query"
                        },
                        "maxTime": {
                          "type": "string",
                          "format": "google-datetime",
                          "location": "query",
                          "description": "Optional. Latest start timestamp to list."
                        },
                        "parent": {
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+$",
                          "location": "path",
                          "type": "string",
                          "description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID\""
                        },
                        "minEndTime": {
                          "location": "query",
                          "format": "google-datetime",
                          "description": "Optional. Earliest end timestamp to list.",
                          "type": "string"
                        },
                        "pageSize": {
                          "format": "int32",
                          "type": "integer",
                          "location": "query",
                          "description": "Optional. Maximum number of applications to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100."
                        },
                        "minTime": {
                          "format": "google-datetime",
                          "location": "query",
                          "type": "string",
                          "description": "Optional. Earliest start timestamp to list."
                        },
                        "applicationStatus": {
                          "type": "string",
                          "enumDescriptions": [
                            "",
                            "",
                            ""
                          ],
                          "location": "query",
                          "description": "Optional. Search only applications in the chosen state.",
                          "enum": [
                            "APPLICATION_STATUS_UNSPECIFIED",
                            "APPLICATION_STATUS_RUNNING",
                            "APPLICATION_STATUS_COMPLETED"
                          ]
                        }
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications:search",
                      "response": {
                        "$ref": "SearchSparkApplicationsResponse"
                      },
                      "path": "v1/{+parent}/sparkApplications:search",
                      "description": "Obtain high level information and list of Spark Applications corresponding to a batch",
                      "id": "dataproc.projects.locations.batches.sparkApplications.search"
                    },
                    "summarizeStages": {
                      "parameters": {
                        "name": {
                          "location": "path",
                          "description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\"",
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$",
                          "type": "string"
                        },
                        "parent": {
                          "location": "query",
                          "description": "Required. Parent (Batch) resource reference.",
                          "type": "string"
                        }
                      },
                      "httpMethod": "GET",
                      "description": "Obtain summary of Stages for a Spark Application",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "parameterOrder": [
                        "name"
                      ],
                      "path": "v1/{+name}:summarizeStages",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:summarizeStages",
                      "response": {
                        "$ref": "SummarizeSparkApplicationStagesResponse"
                      },
                      "id": "dataproc.projects.locations.batches.sparkApplications.summarizeStages"
                    },
                    "accessNativeBuildInfo": {
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "parameterOrder": [
                        "name"
                      ],
                      "httpMethod": "GET",
                      "parameters": {
                        "name": {
                          "location": "path",
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$",
                          "description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\"",
                          "type": "string"
                        },
                        "parent": {
                          "type": "string",
                          "location": "query",
                          "description": "Required. Parent (Batch) resource reference."
                        }
                      },
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:accessNativeBuildInfo",
                      "response": {
                        "$ref": "AccessSparkApplicationNativeBuildInfoResponse"
                      },
                      "path": "v1/{+name}:accessNativeBuildInfo",
                      "description": "Obtain build data for Native Job",
                      "id": "dataproc.projects.locations.batches.sparkApplications.accessNativeBuildInfo"
                    },
                    "searchStageAttempts": {
                      "description": "Obtain data corresponding to a spark stage attempts for a Spark Application.",
                      "parameterOrder": [
                        "name"
                      ],
                      "id": "dataproc.projects.locations.batches.sparkApplications.searchStageAttempts",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "path": "v1/{+name}:searchStageAttempts",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:searchStageAttempts",
                      "response": {
                        "$ref": "SearchSparkApplicationStageAttemptsResponse"
                      },
                      "parameters": {
                        "summaryMetricsMask": {
                          "location": "query",
                          "type": "string",
                          "description": "Optional. The list of summary metrics fields to include. Empty list will default to skip all summary metrics fields. Example, if the response should include TaskQuantileMetrics, the request should have task_quantile_metrics in summary_metrics_mask field",
                          "format": "google-fieldmask"
                        },
                        "stageId": {
                          "description": "Required. Stage ID for which attempts are to be fetched",
                          "type": "string",
                          "location": "query",
                          "format": "int64"
                        },
                        "pageToken": {
                          "location": "query",
                          "description": "Optional. A page token received from a previous SearchSparkApplicationStageAttempts call. Provide this token to retrieve the subsequent page.",
                          "type": "string"
                        },
                        "name": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$",
                          "type": "string",
                          "required": true,
                          "location": "path",
                          "description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\""
                        },
                        "pageSize": {
                          "type": "integer",
                          "description": "Optional. Maximum number of stage attempts (paging based on stage_attempt_id) to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.",
                          "format": "int32",
                          "location": "query"
                        },
                        "parent": {
                          "type": "string",
                          "location": "query",
                          "description": "Required. Parent (Batch) resource reference."
                        }
                      },
                      "httpMethod": "GET"
                    },
                    "accessNativeSqlQuery": {
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "parameters": {
                        "name": {
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$",
                          "location": "path",
                          "description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\"",
                          "type": "string"
                        },
                        "parent": {
                          "location": "query",
                          "type": "string",
                          "description": "Required. Parent (Batch) resource reference."
                        },
                        "executionId": {
                          "format": "int64",
                          "type": "string",
                          "description": "Required. Execution ID",
                          "location": "query"
                        }
                      },
                      "description": "Obtain data corresponding to a particular Native SQL Query for a Spark Application.",
                      "parameterOrder": [
                        "name"
                      ],
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:accessNativeSqlQuery",
                      "response": {
                        "$ref": "AccessSparkApplicationNativeSqlQueryResponse"
                      },
                      "httpMethod": "GET",
                      "path": "v1/{+name}:accessNativeSqlQuery",
                      "id": "dataproc.projects.locations.batches.sparkApplications.accessNativeSqlQuery"
                    },
                    "searchExecutorStageSummary": {
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "parameterOrder": [
                        "name"
                      ],
                      "description": "Obtain executor summary with respect to a spark stage attempt.",
                      "path": "v1/{+name}:searchExecutorStageSummary",
                      "parameters": {
                        "name": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$",
                          "location": "path",
                          "description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\"",
                          "required": true,
                          "type": "string"
                        },
                        "pageToken": {
                          "type": "string",
                          "description": "Optional. A page token received from a previous AccessSparkApplicationExecutorsList call. Provide this token to retrieve the subsequent page.",
                          "location": "query"
                        },
                        "stageId": {
                          "description": "Required. Stage ID",
                          "location": "query",
                          "type": "string",
                          "format": "int64"
                        },
                        "pageSize": {
                          "type": "integer",
                          "location": "query",
                          "format": "int32",
                          "description": "Optional. Maximum number of executors to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100."
                        },
                        "parent": {
                          "type": "string",
                          "location": "query",
                          "description": "Required. Parent (Batch) resource reference."
                        },
                        "stageAttemptId": {
                          "format": "int32",
                          "type": "integer",
                          "location": "query",
                          "description": "Required. Stage Attempt ID"
                        }
                      },
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:searchExecutorStageSummary",
                      "response": {
                        "$ref": "SearchSparkApplicationExecutorStageSummaryResponse"
                      },
                      "httpMethod": "GET",
                      "id": "dataproc.projects.locations.batches.sparkApplications.searchExecutorStageSummary"
                    },
                    "accessEnvironmentInfo": {
                      "parameterOrder": [
                        "name"
                      ],
                      "parameters": {
                        "parent": {
                          "description": "Required. Parent (Batch) resource reference.",
                          "location": "query",
                          "type": "string"
                        },
                        "name": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$",
                          "required": true,
                          "description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\"",
                          "location": "path",
                          "type": "string"
                        }
                      },
                      "description": "Obtain environment details for a Spark Application",
                      "httpMethod": "GET",
                      "path": "v1/{+name}:accessEnvironmentInfo",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "id": "dataproc.projects.locations.batches.sparkApplications.accessEnvironmentInfo",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:accessEnvironmentInfo",
                      "response": {
                        "$ref": "AccessSparkApplicationEnvironmentInfoResponse"
                      }
                    },
                    "summarizeJobs": {
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:summarizeJobs",
                      "response": {
                        "$ref": "SummarizeSparkApplicationJobsResponse"
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "id": "dataproc.projects.locations.batches.sparkApplications.summarizeJobs",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "description": "Obtain summary of Jobs for a Spark Application",
                      "httpMethod": "GET",
                      "path": "v1/{+name}:summarizeJobs",
                      "parameters": {
                        "name": {
                          "type": "string",
                          "description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\"",
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$",
                          "location": "path"
                        },
                        "parent": {
                          "description": "Required. Parent (Batch) resource reference.",
                          "type": "string",
                          "location": "query"
                        }
                      }
                    },
                    "searchStages": {
                      "path": "v1/{+name}:searchStages",
                      "description": "Obtain data corresponding to stages for a Spark Application.",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:searchStages",
                      "response": {
                        "$ref": "SearchSparkApplicationStagesResponse"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "id": "dataproc.projects.locations.batches.sparkApplications.searchStages",
                      "parameterOrder": [
                        "name"
                      ],
                      "httpMethod": "GET",
                      "parameters": {
                        "pageToken": {
                          "description": "Optional. A page token received from a previous FetchSparkApplicationStagesList call. Provide this token to retrieve the subsequent page.",
                          "location": "query",
                          "type": "string"
                        },
                        "summaryMetricsMask": {
                          "location": "query",
                          "description": "Optional. The list of summary metrics fields to include. Empty list will default to skip all summary metrics fields. Example, if the response should include TaskQuantileMetrics, the request should have task_quantile_metrics in summary_metrics_mask field",
                          "format": "google-fieldmask",
                          "type": "string"
                        },
                        "pageSize": {
                          "format": "int32",
                          "location": "query",
                          "type": "integer",
                          "description": "Optional. Maximum number of stages (paging based on stage_id) to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100."
                        },
                        "stageStatus": {
                          "enum": [
                            "STAGE_STATUS_UNSPECIFIED",
                            "STAGE_STATUS_ACTIVE",
                            "STAGE_STATUS_COMPLETE",
                            "STAGE_STATUS_FAILED",
                            "STAGE_STATUS_PENDING",
                            "STAGE_STATUS_SKIPPED"
                          ],
                          "type": "string",
                          "enumDescriptions": [
                            "",
                            "",
                            "",
                            "",
                            "",
                            ""
                          ],
                          "description": "Optional. List only stages in the given state.",
                          "location": "query"
                        },
                        "name": {
                          "location": "path",
                          "description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\"",
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$",
                          "type": "string"
                        },
                        "parent": {
                          "description": "Required. Parent (Batch) resource reference.",
                          "location": "query",
                          "type": "string"
                        }
                      }
                    },
                    "accessStageRddGraph": {
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "parameterOrder": [
                        "name"
                      ],
                      "id": "dataproc.projects.locations.batches.sparkApplications.accessStageRddGraph",
                      "path": "v1/{+name}:accessStageRddGraph",
                      "parameters": {
                        "name": {
                          "description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\"",
                          "type": "string",
                          "location": "path",
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$"
                        },
                        "stageId": {
                          "location": "query",
                          "format": "int64",
                          "description": "Required. Stage ID",
                          "type": "string"
                        },
                        "parent": {
                          "description": "Required. Parent (Batch) resource reference.",
                          "type": "string",
                          "location": "query"
                        }
                      },
                      "description": "Obtain RDD operation graph for a Spark Application Stage. Limits the number of clusters returned as part of the graph to 10000.",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:accessStageRddGraph",
                      "response": {
                        "$ref": "AccessSparkApplicationStageRddOperationGraphResponse"
                      },
                      "httpMethod": "GET"
                    },
                    "accessJob": {
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:accessJob",
                      "response": {
                        "$ref": "AccessSparkApplicationJobResponse"
                      },
                      "httpMethod": "GET",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "parameterOrder": [
                        "name"
                      ],
                      "path": "v1/{+name}:accessJob",
                      "parameters": {
                        "jobId": {
                          "format": "int64",
                          "type": "string",
                          "description": "Required. Job ID to fetch data for.",
                          "location": "query"
                        },
                        "parent": {
                          "type": "string",
                          "location": "query",
                          "description": "Required. Parent (Batch) resource reference."
                        },
                        "name": {
                          "location": "path",
                          "type": "string",
                          "description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\"",
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$"
                        }
                      },
                      "id": "dataproc.projects.locations.batches.sparkApplications.accessJob",
                      "description": "Obtain data corresponding to a spark job for a Spark Application."
                    },
                    "searchNativeSqlQueries": {
                      "parameterOrder": [
                        "name"
                      ],
                      "id": "dataproc.projects.locations.batches.sparkApplications.searchNativeSqlQueries",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:searchNativeSqlQueries",
                      "response": {
                        "$ref": "SearchSparkApplicationNativeSqlQueriesResponse"
                      },
                      "description": "Obtain data corresponding to Native SQL Queries for a Spark Application.",
                      "path": "v1/{+name}:searchNativeSqlQueries",
                      "parameters": {
                        "name": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$",
                          "required": true,
                          "type": "string",
                          "location": "path",
                          "description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\""
                        },
                        "parent": {
                          "location": "query",
                          "description": "Required. Parent (Batch) resource reference.",
                          "type": "string"
                        },
                        "pageSize": {
                          "type": "integer",
                          "location": "query",
                          "description": "Optional. Maximum number of queries to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.",
                          "format": "int32"
                        },
                        "pageToken": {
                          "description": "Optional. A page token received from a previous SearchSparkApplicationNativeSqlQueries call. Provide this token to retrieve the subsequent page.",
                          "type": "string",
                          "location": "query"
                        }
                      },
                      "httpMethod": "GET"
                    },
                    "summarizeStageAttemptTasks": {
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "parameterOrder": [
                        "name"
                      ],
                      "id": "dataproc.projects.locations.batches.sparkApplications.summarizeStageAttemptTasks",
                      "path": "v1/{+name}:summarizeStageAttemptTasks",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:summarizeStageAttemptTasks",
                      "response": {
                        "$ref": "SummarizeSparkApplicationStageAttemptTasksResponse"
                      },
                      "description": "Obtain summary of Tasks for a Spark Application Stage Attempt",
                      "httpMethod": "GET",
                      "parameters": {
                        "parent": {
                          "type": "string",
                          "location": "query",
                          "description": "Required. Parent (Batch) resource reference."
                        },
                        "stageAttemptId": {
                          "location": "query",
                          "description": "Required. Stage Attempt ID",
                          "format": "int32",
                          "type": "integer"
                        },
                        "name": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$",
                          "description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\"",
                          "location": "path",
                          "type": "string",
                          "required": true
                        },
                        "stageId": {
                          "format": "int64",
                          "type": "string",
                          "description": "Required. Stage ID",
                          "location": "query"
                        }
                      }
                    },
                    "write": {
                      "id": "dataproc.projects.locations.batches.sparkApplications.write",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc"
                      ],
                      "path": "v1/{+name}:write",
                      "description": "Write wrapper objects from dataplane to spanner",
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:write",
                      "response": {
                        "$ref": "WriteSparkApplicationContextResponse"
                      },
                      "request": {
                        "$ref": "WriteSparkApplicationContextRequest"
                      },
                      "parameters": {
                        "name": {
                          "required": true,
                          "description": "Required. The fully qualified name of the spark application to write data about in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\"",
                          "type": "string",
                          "pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$",
                          "location": "path"
                        }
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "httpMethod": "POST"
                    },
                    "summarizeExecutors": {
                      "id": "dataproc.projects.locations.batches.sparkApplications.summarizeExecutors",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:summarizeExecutors",
                      "response": {
                        "$ref": "SummarizeSparkApplicationExecutorsResponse"
                      },
                      "description": "Obtain summary of Executor Summary for a Spark Application",
                      "parameters": {
                        "name": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$",
                          "type": "string",
                          "required": true,
                          "location": "path",
                          "description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\""
                        },
                        "parent": {
                          "type": "string",
                          "description": "Required. Parent (Batch) resource reference.",
                          "location": "query"
                        }
                      },
                      "httpMethod": "GET",
                      "parameterOrder": [
                        "name"
                      ],
                      "path": "v1/{+name}:summarizeExecutors"
                    },
                    "computeTuningConfig": {
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:computeTuningConfig",
                      "response": {
                        "$ref": "ComputeTuningConfigResponse"
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "parameters": {
                        "semanticQueryId": {
                          "description": "Required. Spark semantic query ID.",
                          "type": "string",
                          "location": "query"
                        },
                        "name": {
                          "type": "string",
                          "pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$",
                          "location": "path",
                          "description": "Required. The fully qualified name of the spark application to retrieve autotuning configuration for in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\"",
                          "required": true
                        },
                        "executionId": {
                          "type": "string",
                          "format": "int64",
                          "description": "Required. Spark execution ID for the query.",
                          "location": "query"
                        },
                        "parent": {
                          "type": "string",
                          "location": "query",
                          "description": "Required. Parent (Batch) resource reference."
                        }
                      },
                      "httpMethod": "GET",
                      "description": "Returns autotuning configuration for a specific query plan id and cohort id. Called by Spark during query planning.",
                      "path": "v1/{+name}:computeTuningConfig",
                      "id": "dataproc.projects.locations.batches.sparkApplications.computeTuningConfig"
                    },
                    "accessStageAttempt": {
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:accessStageAttempt",
                      "response": {
                        "$ref": "AccessSparkApplicationStageAttemptResponse"
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "parameters": {
                        "stageAttemptId": {
                          "type": "integer",
                          "format": "int32",
                          "location": "query",
                          "description": "Required. Stage Attempt ID"
                        },
                        "parent": {
                          "description": "Required. Parent (Batch) resource reference.",
                          "location": "query",
                          "type": "string"
                        },
                        "summaryMetricsMask": {
                          "type": "string",
                          "description": "Optional. The list of summary metrics fields to include. Empty list will default to skip all summary metrics fields. Example, if the response should include TaskQuantileMetrics, the request should have task_quantile_metrics in summary_metrics_mask field",
                          "format": "google-fieldmask",
                          "location": "query"
                        },
                        "stageId": {
                          "type": "string",
                          "location": "query",
                          "description": "Required. Stage ID",
                          "format": "int64"
                        },
                        "name": {
                          "location": "path",
                          "type": "string",
                          "required": true,
                          "description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\"",
                          "pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$"
                        }
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "httpMethod": "GET",
                      "description": "Obtain data corresponding to a spark stage attempt for a Spark Application.",
                      "id": "dataproc.projects.locations.batches.sparkApplications.accessStageAttempt",
                      "path": "v1/{+name}:accessStageAttempt"
                    },
                    "searchSqlQueries": {
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:searchSqlQueries",
                      "response": {
                        "$ref": "SearchSparkApplicationSqlQueriesResponse"
                      },
                      "httpMethod": "GET",
                      "id": "dataproc.projects.locations.batches.sparkApplications.searchSqlQueries",
                      "parameters": {
                        "name": {
                          "location": "path",
                          "required": true,
                          "pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$",
                          "type": "string",
                          "description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\""
                        },
                        "planDescription": {
                          "location": "query",
                          "type": "boolean",
                          "description": "Optional. Enables/ disables physical plan description on demand"
                        },
                        "pageToken": {
                          "location": "query",
                          "description": "Optional. A page token received from a previous SearchSparkApplicationSqlQueries call. Provide this token to retrieve the subsequent page.",
                          "type": "string"
                        },
                        "details": {
                          "description": "Optional. Lists/ hides details of Spark plan nodes. True is set to list and false to hide.",
                          "location": "query",
                          "type": "boolean"
                        },
                        "pageSize": {
                          "location": "query",
                          "type": "integer",
                          "description": "Optional. Maximum number of queries to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.",
                          "format": "int32"
                        },
                        "parent": {
                          "type": "string",
                          "description": "Required. Parent (Batch) resource reference.",
                          "location": "query"
                        }
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "path": "v1/{+name}:searchSqlQueries",
                      "description": "Obtain data corresponding to SQL Queries for a Spark Application."
                    },
                    "searchExecutors": {
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "description": "Obtain data corresponding to executors for a Spark Application.",
                      "parameterOrder": [
                        "name"
                      ],
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:searchExecutors",
                      "response": {
                        "$ref": "SearchSparkApplicationExecutorsResponse"
                      },
                      "id": "dataproc.projects.locations.batches.sparkApplications.searchExecutors",
                      "path": "v1/{+name}:searchExecutors",
                      "parameters": {
                        "pageToken": {
                          "description": "Optional. A page token received from a previous AccessSparkApplicationExecutorsList call. Provide this token to retrieve the subsequent page.",
                          "type": "string",
                          "location": "query"
                        },
                        "name": {
                          "location": "path",
                          "description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\"",
                          "required": true,
                          "type": "string",
                          "pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$"
                        },
                        "executorStatus": {
                          "description": "Optional. Filter to select whether active/ dead or all executors should be selected.",
                          "enumDescriptions": [
                            "",
                            "",
                            ""
                          ],
                          "location": "query",
                          "enum": [
                            "EXECUTOR_STATUS_UNSPECIFIED",
                            "EXECUTOR_STATUS_ACTIVE",
                            "EXECUTOR_STATUS_DEAD"
                          ],
                          "type": "string"
                        },
                        "pageSize": {
                          "type": "integer",
                          "description": "Optional. Maximum number of executors to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.",
                          "format": "int32",
                          "location": "query"
                        },
                        "parent": {
                          "description": "Required. Parent (Batch) resource reference.",
                          "type": "string",
                          "location": "query"
                        }
                      },
                      "httpMethod": "GET"
                    },
                    "searchJobs": {
                      "id": "dataproc.projects.locations.batches.sparkApplications.searchJobs",
                      "path": "v1/{+name}:searchJobs",
                      "httpMethod": "GET",
                      "parameters": {
                        "parent": {
                          "location": "query",
                          "type": "string",
                          "description": "Required. Parent (Batch) resource reference."
                        },
                        "jobStatus": {
                          "description": "Optional. List only jobs in the specific state.",
                          "type": "string",
                          "location": "query",
                          "enum": [
                            "JOB_EXECUTION_STATUS_UNSPECIFIED",
                            "JOB_EXECUTION_STATUS_RUNNING",
                            "JOB_EXECUTION_STATUS_SUCCEEDED",
                            "JOB_EXECUTION_STATUS_FAILED",
                            "JOB_EXECUTION_STATUS_UNKNOWN"
                          ],
                          "enumDescriptions": [
                            "",
                            "",
                            "",
                            "",
                            ""
                          ]
                        },
                        "pageSize": {
                          "format": "int32",
                          "description": "Optional. Maximum number of jobs to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.",
                          "location": "query",
                          "type": "integer"
                        },
                        "pageToken": {
                          "location": "query",
                          "type": "string",
                          "description": "Optional. A page token received from a previous SearchSparkApplicationJobs call. Provide this token to retrieve the subsequent page."
                        },
                        "name": {
                          "pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$",
                          "description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\"",
                          "location": "path",
                          "type": "string",
                          "required": true
                        }
                      },
                      "description": "Obtain list of spark jobs corresponding to a Spark Application.",
                      "parameterOrder": [
                        "name"
                      ],
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:searchJobs",
                      "response": {
                        "$ref": "SearchSparkApplicationJobsResponse"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ]
                    },
                    "searchStageAttemptTasks": {
                      "parameters": {
                        "pageSize": {
                          "type": "integer",
                          "description": "Optional. Maximum number of tasks to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.",
                          "location": "query",
                          "format": "int32"
                        },
                        "name": {
                          "type": "string",
                          "pattern": "^projects/[^/]+/locations/[^/]+/batches/[^/]+/sparkApplications/[^/]+$",
                          "required": true,
                          "location": "path",
                          "description": "Required. The fully qualified name of the batch to retrieve in the format \"projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID\""
                        },
                        "stageId": {
                          "format": "int64",
                          "type": "string",
                          "description": "Optional. Stage ID",
                          "location": "query"
                        },
                        "taskStatus": {
                          "description": "Optional. List only tasks in the state.",
                          "type": "string",
                          "enumDescriptions": [
                            "",
                            "",
                            "",
                            "",
                            "",
                            ""
                          ],
                          "location": "query",
                          "enum": [
                            "TASK_STATUS_UNSPECIFIED",
                            "TASK_STATUS_RUNNING",
                            "TASK_STATUS_SUCCESS",
                            "TASK_STATUS_FAILED",
                            "TASK_STATUS_KILLED",
                            "TASK_STATUS_PENDING"
                          ]
                        },
                        "parent": {
                          "location": "query",
                          "type": "string",
                          "description": "Required. Parent (Batch) resource reference."
                        },
                        "sortRuntime": {
                          "location": "query",
                          "description": "Optional. Sort the tasks by runtime.",
                          "type": "boolean"
                        },
                        "pageToken": {
                          "type": "string",
                          "location": "query",
                          "description": "Optional. A page token received from a previous ListSparkApplicationStageAttemptTasks call. Provide this token to retrieve the subsequent page."
                        },
                        "stageAttemptId": {
                          "format": "int32",
                          "description": "Optional. Stage Attempt ID",
                          "type": "integer",
                          "location": "query"
                        }
                      },
                      "path": "v1/{+name}:searchStageAttemptTasks",
                      "httpMethod": "GET",
                      "description": "Obtain data corresponding to tasks for a spark stage attempt for a Spark Application.",
                      "parameterOrder": [
                        "name"
                      ],
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/batches/{batchesId}/sparkApplications/{sparkApplicationsId}:searchStageAttemptTasks",
                      "response": {
                        "$ref": "SearchSparkApplicationStageAttemptTasksResponse"
                      },
                      "id": "dataproc.projects.locations.batches.sparkApplications.searchStageAttemptTasks"
                    }
                  }
                }
              }
            },
            "sessionTemplates": {
              "methods": {
                "list": {
                  "parameterOrder": [
                    "parent"
                  ],
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessionTemplates",
                  "response": {
                    "$ref": "ListSessionTemplatesResponse"
                  },
                  "parameters": {
                    "pageToken": {
                      "type": "string",
                      "description": "Optional. A page token received from a previous ListSessions call. Provide this token to retrieve the subsequent page.",
                      "location": "query"
                    },
                    "pageSize": {
                      "type": "integer",
                      "description": "Optional. The maximum number of sessions to return in each response. The service may return fewer than this value.",
                      "location": "query",
                      "format": "int32"
                    },
                    "filter": {
                      "location": "query",
                      "description": "Optional. A filter for the session templates to return in the response. Filters are case sensitive and have the following syntax:field = value AND field = value ...",
                      "type": "string"
                    },
                    "parent": {
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "description": "Required. The parent that owns this collection of session templates.",
                      "type": "string",
                      "required": true,
                      "location": "path"
                    }
                  },
                  "httpMethod": "GET",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc",
                    "https://www.googleapis.com/auth/dataproc.read-only"
                  ],
                  "path": "v1/{+parent}/sessionTemplates",
                  "id": "dataproc.projects.locations.sessionTemplates.list",
                  "description": "Lists session templates."
                },
                "patch": {
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "path": "v1/{+name}",
                  "request": {
                    "$ref": "SessionTemplate"
                  },
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessionTemplates/{sessionTemplatesId}",
                  "response": {
                    "$ref": "SessionTemplate"
                  },
                  "description": "Updates the session template synchronously.",
                  "id": "dataproc.projects.locations.sessionTemplates.patch",
                  "httpMethod": "PATCH",
                  "parameterOrder": [
                    "name"
                  ],
                  "parameters": {
                    "name": {
                      "location": "path",
                      "required": true,
                      "pattern": "^projects/[^/]+/locations/[^/]+/sessionTemplates/[^/]+$",
                      "type": "string",
                      "description": "Required. Identifier. The resource name of the session template."
                    }
                  }
                },
                "create": {
                  "request": {
                    "$ref": "SessionTemplate"
                  },
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessionTemplates",
                  "response": {
                    "$ref": "SessionTemplate"
                  },
                  "path": "v1/{+parent}/sessionTemplates",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "id": "dataproc.projects.locations.sessionTemplates.create",
                  "httpMethod": "POST",
                  "description": "Create a session template synchronously.",
                  "parameters": {
                    "parent": {
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "required": true,
                      "description": "Required. The parent resource where this session template will be created.",
                      "type": "string",
                      "location": "path"
                    }
                  },
                  "parameterOrder": [
                    "parent"
                  ]
                },
                "get": {
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessionTemplates/{sessionTemplatesId}",
                  "response": {
                    "$ref": "SessionTemplate"
                  },
                  "id": "dataproc.projects.locations.sessionTemplates.get",
                  "parameters": {
                    "name": {
                      "location": "path",
                      "description": "Required. The name of the session template to retrieve.",
                      "required": true,
                      "type": "string",
                      "pattern": "^projects/[^/]+/locations/[^/]+/sessionTemplates/[^/]+$"
                    }
                  },
                  "httpMethod": "GET",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc",
                    "https://www.googleapis.com/auth/dataproc.read-only"
                  ],
                  "description": "Gets the resource representation for a session template.",
                  "parameterOrder": [
                    "name"
                  ],
                  "path": "v1/{+name}"
                },
                "delete": {
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sessionTemplates/{sessionTemplatesId}",
                  "response": {
                    "$ref": "Empty"
                  },
                  "path": "v1/{+name}",
                  "httpMethod": "DELETE",
                  "parameters": {
                    "name": {
                      "required": true,
                      "location": "path",
                      "type": "string",
                      "pattern": "^projects/[^/]+/locations/[^/]+/sessionTemplates/[^/]+$",
                      "description": "Required. The name of the session template resource to delete."
                    }
                  },
                  "id": "dataproc.projects.locations.sessionTemplates.delete",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "description": "Deletes a session template.",
                  "parameterOrder": [
                    "name"
                  ]
                }
              }
            },
            "workflowTemplates": {
              "methods": {
                "testIamPermissions": {
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "parameters": {
                    "resource": {
                      "location": "path",
                      "type": "string",
                      "required": true,
                      "description": "REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/workflowTemplates/[^/]+$"
                    }
                  },
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workflowTemplates/{workflowTemplatesId}:testIamPermissions",
                  "response": {
                    "$ref": "TestIamPermissionsResponse"
                  },
                  "id": "dataproc.projects.locations.workflowTemplates.testIamPermissions",
                  "httpMethod": "POST",
                  "path": "v1/{+resource}:testIamPermissions",
                  "request": {
                    "$ref": "TestIamPermissionsRequest"
                  },
                  "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.",
                  "parameterOrder": [
                    "resource"
                  ]
                },
                "create": {
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "path": "v1/{+parent}/workflowTemplates",
                  "parameterOrder": [
                    "parent"
                  ],
                  "request": {
                    "$ref": "WorkflowTemplate"
                  },
                  "description": "Creates new workflow template.",
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workflowTemplates",
                  "response": {
                    "$ref": "WorkflowTemplate"
                  },
                  "httpMethod": "POST",
                  "parameters": {
                    "parent": {
                      "description": "Required. The resource name of the region or location, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates.create, the resource name of the region has the following format: projects/{project_id}/regions/{region} For projects.locations.workflowTemplates.create, the resource name of the location has the following format: projects/{project_id}/locations/{location}",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "type": "string",
                      "required": true
                    }
                  },
                  "id": "dataproc.projects.locations.workflowTemplates.create"
                },
                "instantiateInline": {
                  "description": "Instantiates a template and begins execution.This method is equivalent to executing the sequence CreateWorkflowTemplate, InstantiateWorkflowTemplate, DeleteWorkflowTemplate.The returned Operation can be used to track execution of workflow by polling operations.get. The Operation will complete when entire workflow is finished.The running workflow can be aborted via operations.cancel. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.The Operation.metadata will be WorkflowMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#workflowmetadata). Also see Using WorkflowMetadata (https://cloud.google.com/dataproc/docs/concepts/workflows/debugging#using_workflowmetadata).On successful completion, Operation.response will be Empty.",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "id": "dataproc.projects.locations.workflowTemplates.instantiateInline",
                  "parameterOrder": [
                    "parent"
                  ],
                  "path": "v1/{+parent}/workflowTemplates:instantiateInline",
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workflowTemplates:instantiateInline",
                  "response": {
                    "$ref": "Operation"
                  },
                  "request": {
                    "$ref": "WorkflowTemplate"
                  },
                  "parameters": {
                    "parent": {
                      "required": true,
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "type": "string",
                      "description": "Required. The resource name of the region or location, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates,instantiateinline, the resource name of the region has the following format: projects/{project_id}/regions/{region} For projects.locations.workflowTemplates.instantiateinline, the resource name of the location has the following format: projects/{project_id}/locations/{location}"
                    },
                    "requestId": {
                      "description": "Optional. A tag that prevents multiple concurrent workflow instances with the same tag from running. This mitigates risk of concurrent instances started due to retries.It is recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The tag must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.",
                      "location": "query",
                      "type": "string"
                    }
                  },
                  "httpMethod": "POST"
                },
                "setIamPolicy": {
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "httpMethod": "POST",
                  "parameterOrder": [
                    "resource"
                  ],
                  "id": "dataproc.projects.locations.workflowTemplates.setIamPolicy",
                  "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.",
                  "parameters": {
                    "resource": {
                      "location": "path",
                      "type": "string",
                      "required": true,
                      "description": "REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/workflowTemplates/[^/]+$"
                    }
                  },
                  "path": "v1/{+resource}:setIamPolicy",
                  "request": {
                    "$ref": "SetIamPolicyRequest"
                  },
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workflowTemplates/{workflowTemplatesId}:setIamPolicy",
                  "response": {
                    "$ref": "Policy"
                  }
                },
                "getIamPolicy": {
                  "parameters": {
                    "resource": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/workflowTemplates/[^/]+$",
                      "description": "REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
                      "type": "string",
                      "location": "path",
                      "required": true
                    }
                  },
                  "httpMethod": "POST",
                  "request": {
                    "$ref": "GetIamPolicyRequest"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "id": "dataproc.projects.locations.workflowTemplates.getIamPolicy",
                  "path": "v1/{+resource}:getIamPolicy",
                  "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.",
                  "parameterOrder": [
                    "resource"
                  ],
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workflowTemplates/{workflowTemplatesId}:getIamPolicy",
                  "response": {
                    "$ref": "Policy"
                  }
                },
                "get": {
                  "parameters": {
                    "version": {
                      "format": "int32",
                      "description": "Optional. The version of workflow template to retrieve. Only previously instantiated versions can be retrieved.If unspecified, retrieves the current version.",
                      "type": "integer",
                      "location": "query"
                    },
                    "name": {
                      "location": "path",
                      "type": "string",
                      "required": true,
                      "pattern": "^projects/[^/]+/locations/[^/]+/workflowTemplates/[^/]+$",
                      "description": "Required. The resource name of the workflow template, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates.get, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id} For projects.locations.workflowTemplates.get, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}"
                    }
                  },
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workflowTemplates/{workflowTemplatesId}",
                  "response": {
                    "$ref": "WorkflowTemplate"
                  },
                  "httpMethod": "GET",
                  "path": "v1/{+name}",
                  "parameterOrder": [
                    "name"
                  ],
                  "description": "Retrieves the latest workflow template.Can retrieve previously instantiated template by specifying optional version parameter.",
                  "id": "dataproc.projects.locations.workflowTemplates.get",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc",
                    "https://www.googleapis.com/auth/dataproc.read-only"
                  ]
                },
                "list": {
                  "httpMethod": "GET",
                  "parameters": {
                    "pageSize": {
                      "type": "integer",
                      "description": "Optional. The maximum number of results to return in each response.",
                      "format": "int32",
                      "location": "query"
                    },
                    "pageToken": {
                      "location": "query",
                      "description": "Optional. The page token, returned by a previous call, to request the next page of results.",
                      "type": "string"
                    },
                    "parent": {
                      "required": true,
                      "location": "path",
                      "type": "string",
                      "description": "Required. The resource name of the region or location, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates,list, the resource name of the region has the following format: projects/{project_id}/regions/{region} For projects.locations.workflowTemplates.list, the resource name of the location has the following format: projects/{project_id}/locations/{location}",
                      "pattern": "^projects/[^/]+/locations/[^/]+$"
                    }
                  },
                  "description": "Lists workflows that match the specified filter in the request.",
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workflowTemplates",
                  "response": {
                    "$ref": "ListWorkflowTemplatesResponse"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc",
                    "https://www.googleapis.com/auth/dataproc.read-only"
                  ],
                  "parameterOrder": [
                    "parent"
                  ],
                  "path": "v1/{+parent}/workflowTemplates",
                  "id": "dataproc.projects.locations.workflowTemplates.list"
                },
                "instantiate": {
                  "parameters": {
                    "name": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/workflowTemplates/[^/]+$",
                      "description": "Required. The resource name of the workflow template, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates.instantiate, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id} For projects.locations.workflowTemplates.instantiate, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}",
                      "required": true,
                      "type": "string",
                      "location": "path"
                    }
                  },
                  "httpMethod": "POST",
                  "description": "Instantiates a template and begins execution.The returned Operation can be used to track execution of workflow by polling operations.get. The Operation will complete when entire workflow is finished.The running workflow can be aborted via operations.cancel. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.The Operation.metadata will be WorkflowMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#workflowmetadata). Also see Using WorkflowMetadata (https://cloud.google.com/dataproc/docs/concepts/workflows/debugging#using_workflowmetadata).On successful completion, Operation.response will be Empty.",
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workflowTemplates/{workflowTemplatesId}:instantiate",
                  "response": {
                    "$ref": "Operation"
                  },
                  "request": {
                    "$ref": "InstantiateWorkflowTemplateRequest"
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "path": "v1/{+name}:instantiate",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "id": "dataproc.projects.locations.workflowTemplates.instantiate"
                },
                "update": {
                  "description": "Updates (replaces) workflow template. The updated template must contain version that matches the current server version.",
                  "path": "v1/{+name}",
                  "parameterOrder": [
                    "name"
                  ],
                  "request": {
                    "$ref": "WorkflowTemplate"
                  },
                  "id": "dataproc.projects.locations.workflowTemplates.update",
                  "httpMethod": "PUT",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "parameters": {
                    "name": {
                      "required": true,
                      "description": "Output only. The resource name of the workflow template, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id} For projects.locations.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}",
                      "pattern": "^projects/[^/]+/locations/[^/]+/workflowTemplates/[^/]+$",
                      "location": "path",
                      "type": "string"
                    }
                  },
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workflowTemplates/{workflowTemplatesId}",
                  "response": {
                    "$ref": "WorkflowTemplate"
                  }
                },
                "delete": {
                  "description": "Deletes a workflow template. It does not cancel in-progress workflows.",
                  "httpMethod": "DELETE",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "parameters": {
                    "version": {
                      "type": "integer",
                      "location": "query",
                      "format": "int32",
                      "description": "Optional. The version of workflow template to delete. If specified, will only delete the template if the current server version matches specified version."
                    },
                    "name": {
                      "description": "Required. The resource name of the workflow template, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates.delete, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id} For projects.locations.workflowTemplates.instantiate, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}",
                      "required": true,
                      "pattern": "^projects/[^/]+/locations/[^/]+/workflowTemplates/[^/]+$",
                      "location": "path",
                      "type": "string"
                    }
                  },
                  "id": "dataproc.projects.locations.workflowTemplates.delete",
                  "path": "v1/{+name}",
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workflowTemplates/{workflowTemplatesId}",
                  "response": {
                    "$ref": "Empty"
                  },
                  "parameterOrder": [
                    "name"
                  ]
                }
              }
            },
            "autoscalingPolicies": {
              "methods": {
                "testIamPermissions": {
                  "httpMethod": "POST",
                  "request": {
                    "$ref": "TestIamPermissionsRequest"
                  },
                  "parameters": {
                    "resource": {
                      "description": "REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/autoscalingPolicies/[^/]+$",
                      "required": true,
                      "type": "string",
                      "location": "path"
                    }
                  },
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/autoscalingPolicies/{autoscalingPoliciesId}:testIamPermissions",
                  "response": {
                    "$ref": "TestIamPermissionsResponse"
                  },
                  "id": "dataproc.projects.locations.autoscalingPolicies.testIamPermissions",
                  "parameterOrder": [
                    "resource"
                  ],
                  "path": "v1/{+resource}:testIamPermissions",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning."
                },
                "getIamPolicy": {
                  "id": "dataproc.projects.locations.autoscalingPolicies.getIamPolicy",
                  "request": {
                    "$ref": "GetIamPolicyRequest"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "httpMethod": "POST",
                  "path": "v1/{+resource}:getIamPolicy",
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/autoscalingPolicies/{autoscalingPoliciesId}:getIamPolicy",
                  "response": {
                    "$ref": "Policy"
                  },
                  "parameters": {
                    "resource": {
                      "description": "REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/autoscalingPolicies/[^/]+$",
                      "type": "string",
                      "location": "path",
                      "required": true
                    }
                  },
                  "parameterOrder": [
                    "resource"
                  ],
                  "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set."
                },
                "get": {
                  "path": "v1/{+name}",
                  "parameterOrder": [
                    "name"
                  ],
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "description": "Retrieves autoscaling policy.",
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/autoscalingPolicies/{autoscalingPoliciesId}",
                  "response": {
                    "$ref": "AutoscalingPolicy"
                  },
                  "httpMethod": "GET",
                  "id": "dataproc.projects.locations.autoscalingPolicies.get",
                  "parameters": {
                    "name": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/autoscalingPolicies/[^/]+$",
                      "type": "string",
                      "required": true,
                      "location": "path",
                      "description": "Required. The \"resource name\" of the autoscaling policy, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.autoscalingPolicies.get, the resource name of the policy has the following format: projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id} For projects.locations.autoscalingPolicies.get, the resource name of the policy has the following format: projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}"
                    }
                  }
                },
                "update": {
                  "parameters": {
                    "name": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/autoscalingPolicies/[^/]+$",
                      "type": "string",
                      "location": "path",
                      "required": true,
                      "description": "Output only. The \"resource name\" of the autoscaling policy, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.autoscalingPolicies, the resource name of the policy has the following format: projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id} For projects.locations.autoscalingPolicies, the resource name of the policy has the following format: projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}"
                    }
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/autoscalingPolicies/{autoscalingPoliciesId}",
                  "response": {
                    "$ref": "AutoscalingPolicy"
                  },
                  "id": "dataproc.projects.locations.autoscalingPolicies.update",
                  "httpMethod": "PUT",
                  "request": {
                    "$ref": "AutoscalingPolicy"
                  },
                  "path": "v1/{+name}",
                  "parameterOrder": [
                    "name"
                  ],
                  "description": "Updates (replaces) autoscaling policy.Disabled check for update_mask, because all updates will be full replacements."
                },
                "delete": {
                  "parameterOrder": [
                    "name"
                  ],
                  "description": "Deletes an autoscaling policy. It is an error to delete an autoscaling policy that is in use by one or more clusters.",
                  "parameters": {
                    "name": {
                      "description": "Required. The \"resource name\" of the autoscaling policy, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.autoscalingPolicies.delete, the resource name of the policy has the following format: projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id} For projects.locations.autoscalingPolicies.delete, the resource name of the policy has the following format: projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}",
                      "pattern": "^projects/[^/]+/locations/[^/]+/autoscalingPolicies/[^/]+$",
                      "type": "string",
                      "required": true,
                      "location": "path"
                    }
                  },
                  "httpMethod": "DELETE",
                  "id": "dataproc.projects.locations.autoscalingPolicies.delete",
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/autoscalingPolicies/{autoscalingPoliciesId}",
                  "response": {
                    "$ref": "Empty"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "path": "v1/{+name}"
                },
                "list": {
                  "parameters": {
                    "pageSize": {
                      "format": "int32",
                      "description": "Optional. The maximum number of results to return in each response. Must be less than or equal to 1000. Defaults to 100.",
                      "type": "integer",
                      "location": "query"
                    },
                    "parent": {
                      "required": true,
                      "location": "path",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "description": "Required. The \"resource name\" of the region or location, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.autoscalingPolicies.list, the resource name of the region has the following format: projects/{project_id}/regions/{region} For projects.locations.autoscalingPolicies.list, the resource name of the location has the following format: projects/{project_id}/locations/{location}",
                      "type": "string"
                    },
                    "pageToken": {
                      "location": "query",
                      "description": "Optional. The page token, returned by a previous call, to request the next page of results.",
                      "type": "string"
                    }
                  },
                  "httpMethod": "GET",
                  "description": "Lists autoscaling policies in the project.",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/autoscalingPolicies",
                  "response": {
                    "$ref": "ListAutoscalingPoliciesResponse"
                  },
                  "parameterOrder": [
                    "parent"
                  ],
                  "path": "v1/{+parent}/autoscalingPolicies",
                  "id": "dataproc.projects.locations.autoscalingPolicies.list"
                },
                "create": {
                  "httpMethod": "POST",
                  "parameters": {
                    "parent": {
                      "type": "string",
                      "description": "Required. The \"resource name\" of the region or location, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.autoscalingPolicies.create, the resource name of the region has the following format: projects/{project_id}/regions/{region} For projects.locations.autoscalingPolicies.create, the resource name of the location has the following format: projects/{project_id}/locations/{location}",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true
                    }
                  },
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/autoscalingPolicies",
                  "response": {
                    "$ref": "AutoscalingPolicy"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "description": "Creates new autoscaling policy.",
                  "parameterOrder": [
                    "parent"
                  ],
                  "path": "v1/{+parent}/autoscalingPolicies",
                  "id": "dataproc.projects.locations.autoscalingPolicies.create",
                  "request": {
                    "$ref": "AutoscalingPolicy"
                  }
                },
                "setIamPolicy": {
                  "id": "dataproc.projects.locations.autoscalingPolicies.setIamPolicy",
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/autoscalingPolicies/{autoscalingPoliciesId}:setIamPolicy",
                  "response": {
                    "$ref": "Policy"
                  },
                  "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.",
                  "parameterOrder": [
                    "resource"
                  ],
                  "request": {
                    "$ref": "SetIamPolicyRequest"
                  },
                  "path": "v1/{+resource}:setIamPolicy",
                  "parameters": {
                    "resource": {
                      "pattern": "^projects/[^/]+/locations/[^/]+/autoscalingPolicies/[^/]+$",
                      "required": true,
                      "type": "string",
                      "description": "REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
                      "location": "path"
                    }
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "httpMethod": "POST"
                }
              }
            }
          }
        },
        "regions": {
          "resources": {
            "jobs": {
              "methods": {
                "delete": {
                  "path": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}",
                  "flatPath": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}",
                  "response": {
                    "$ref": "Empty"
                  },
                  "description": "Deletes the job from the project. If the job is active, the delete fails, and the response returns FAILED_PRECONDITION.",
                  "parameterOrder": [
                    "projectId",
                    "region",
                    "jobId"
                  ],
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "id": "dataproc.projects.regions.jobs.delete",
                  "parameters": {
                    "projectId": {
                      "required": true,
                      "type": "string",
                      "description": "Required. The ID of the Google Cloud Platform project that the job belongs to.",
                      "location": "path"
                    },
                    "jobId": {
                      "type": "string",
                      "required": true,
                      "location": "path",
                      "description": "Required. The job ID."
                    },
                    "region": {
                      "type": "string",
                      "location": "path",
                      "required": true,
                      "description": "Required. The Dataproc region in which to handle the request."
                    }
                  },
                  "httpMethod": "DELETE"
                },
                "submit": {
                  "path": "v1/projects/{projectId}/regions/{region}/jobs:submit",
                  "parameterOrder": [
                    "projectId",
                    "region"
                  ],
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "flatPath": "v1/projects/{projectId}/regions/{region}/jobs:submit",
                  "response": {
                    "$ref": "Job"
                  },
                  "parameters": {
                    "projectId": {
                      "description": "Required. The ID of the Google Cloud Platform project that the job belongs to.",
                      "required": true,
                      "type": "string",
                      "location": "path"
                    },
                    "region": {
                      "location": "path",
                      "type": "string",
                      "required": true,
                      "description": "Required. The Dataproc region in which to handle the request."
                    }
                  },
                  "httpMethod": "POST",
                  "request": {
                    "$ref": "SubmitJobRequest"
                  },
                  "description": "Submits a job to a cluster.",
                  "id": "dataproc.projects.regions.jobs.submit"
                },
                "patch": {
                  "request": {
                    "$ref": "Job"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "path": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}",
                  "parameterOrder": [
                    "projectId",
                    "region",
                    "jobId"
                  ],
                  "httpMethod": "PATCH",
                  "id": "dataproc.projects.regions.jobs.patch",
                  "flatPath": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}",
                  "response": {
                    "$ref": "Job"
                  },
                  "parameters": {
                    "projectId": {
                      "location": "path",
                      "type": "string",
                      "required": true,
                      "description": "Required. The ID of the Google Cloud Platform project that the job belongs to."
                    },
                    "updateMask": {
                      "format": "google-fieldmask",
                      "location": "query",
                      "description": "Required. Specifies the path, relative to Job, of the field to update. For example, to update the labels of a Job the update_mask parameter would be specified as labels, and the PATCH request body would specify the new value. *Note:* Currently, labels is the only field that can be updated.",
                      "type": "string"
                    },
                    "region": {
                      "description": "Required. The Dataproc region in which to handle the request.",
                      "required": true,
                      "type": "string",
                      "location": "path"
                    },
                    "jobId": {
                      "location": "path",
                      "description": "Required. The job ID.",
                      "type": "string",
                      "required": true
                    }
                  },
                  "description": "Updates a job in a project."
                },
                "get": {
                  "parameters": {
                    "jobId": {
                      "location": "path",
                      "description": "Required. The job ID.",
                      "required": true,
                      "type": "string"
                    },
                    "region": {
                      "required": true,
                      "type": "string",
                      "description": "Required. The Dataproc region in which to handle the request.",
                      "location": "path"
                    },
                    "projectId": {
                      "required": true,
                      "description": "Required. The ID of the Google Cloud Platform project that the job belongs to.",
                      "location": "path",
                      "type": "string"
                    }
                  },
                  "path": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}",
                  "httpMethod": "GET",
                  "description": "Gets the resource representation for a job in a project.",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc",
                    "https://www.googleapis.com/auth/dataproc.read-only"
                  ],
                  "parameterOrder": [
                    "projectId",
                    "region",
                    "jobId"
                  ],
                  "flatPath": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}",
                  "response": {
                    "$ref": "Job"
                  },
                  "id": "dataproc.projects.regions.jobs.get"
                },
                "testIamPermissions": {
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "httpMethod": "POST",
                  "id": "dataproc.projects.regions.jobs.testIamPermissions",
                  "parameters": {
                    "resource": {
                      "location": "path",
                      "description": "REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
                      "required": true,
                      "pattern": "^projects/[^/]+/regions/[^/]+/jobs/[^/]+$",
                      "type": "string"
                    }
                  },
                  "path": "v1/{+resource}:testIamPermissions",
                  "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.",
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/jobs/{jobsId}:testIamPermissions",
                  "response": {
                    "$ref": "TestIamPermissionsResponse"
                  },
                  "request": {
                    "$ref": "TestIamPermissionsRequest"
                  },
                  "parameterOrder": [
                    "resource"
                  ]
                },
                "list": {
                  "flatPath": "v1/projects/{projectId}/regions/{region}/jobs",
                  "response": {
                    "$ref": "ListJobsResponse"
                  },
                  "description": "Lists regions/{region}/jobs in a project.",
                  "path": "v1/projects/{projectId}/regions/{region}/jobs",
                  "parameters": {
                    "projectId": {
                      "location": "path",
                      "type": "string",
                      "description": "Required. The ID of the Google Cloud Platform project that the job belongs to.",
                      "required": true
                    },
                    "pageToken": {
                      "location": "query",
                      "type": "string",
                      "description": "Optional. The page token, returned by a previous call, to request the next page of results."
                    },
                    "pageSize": {
                      "format": "int32",
                      "location": "query",
                      "type": "integer",
                      "description": "Optional. The number of results to return in each response."
                    },
                    "jobStateMatcher": {
                      "enum": [
                        "ALL",
                        "ACTIVE",
                        "NON_ACTIVE"
                      ],
                      "enumDescriptions": [
                        "Match all jobs, regardless of state.",
                        "Only match jobs in non-terminal states: PENDING, RUNNING, or CANCEL_PENDING.",
                        "Only match jobs in terminal states: CANCELLED, DONE, or ERROR."
                      ],
                      "description": "Optional. Specifies enumerated categories of jobs to list. (default = match ALL jobs).If filter is provided, jobStateMatcher will be ignored.",
                      "type": "string",
                      "location": "query"
                    },
                    "region": {
                      "type": "string",
                      "location": "path",
                      "required": true,
                      "description": "Required. The Dataproc region in which to handle the request."
                    },
                    "filter": {
                      "location": "query",
                      "type": "string",
                      "description": "Optional. A filter constraining the jobs to list. Filters are case-sensitive and have the following syntax:field = value AND field = value ...where field is status.state or insertTime, or labels.[KEY], and [KEY] is a label key. value can be * to match all values. status.state can be either ACTIVE or NON_ACTIVE. Allows insertTime to be a timestamp in RFC 3339 format in double quotes, such as 2025-01-01T00:00:00Z. Only the logical AND operator is supported; space-separated items are treated as having an implicit AND operator.Example filter:status.state = ACTIVE AND labels.env = staging AND labels.starred = * AND insertTime \u003c= \"2025-01-01T00:00:00Z\""
                    },
                    "clusterName": {
                      "location": "query",
                      "description": "Optional. If set, the returned jobs list includes only jobs that were submitted to the named cluster.",
                      "type": "string"
                    }
                  },
                  "id": "dataproc.projects.regions.jobs.list",
                  "httpMethod": "GET",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc",
                    "https://www.googleapis.com/auth/dataproc.read-only"
                  ],
                  "parameterOrder": [
                    "projectId",
                    "region"
                  ]
                },
                "submitAsOperation": {
                  "request": {
                    "$ref": "SubmitJobRequest"
                  },
                  "path": "v1/projects/{projectId}/regions/{region}/jobs:submitAsOperation",
                  "flatPath": "v1/projects/{projectId}/regions/{region}/jobs:submitAsOperation",
                  "response": {
                    "$ref": "Operation"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "id": "dataproc.projects.regions.jobs.submitAsOperation",
                  "parameters": {
                    "projectId": {
                      "type": "string",
                      "location": "path",
                      "required": true,
                      "description": "Required. The ID of the Google Cloud Platform project that the job belongs to."
                    },
                    "region": {
                      "required": true,
                      "description": "Required. The Dataproc region in which to handle the request.",
                      "location": "path",
                      "type": "string"
                    }
                  },
                  "description": "Submits job to a cluster.",
                  "httpMethod": "POST",
                  "parameterOrder": [
                    "projectId",
                    "region"
                  ]
                },
                "cancel": {
                  "path": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}:cancel",
                  "description": "Starts a job cancellation request. To access the job resource after cancellation, call regions/{region}/jobs.list (https://cloud.google.com/dataproc/docs/reference/rest/v1/projects.regions.jobs/list) or regions/{region}/jobs.get (https://cloud.google.com/dataproc/docs/reference/rest/v1/projects.regions.jobs/get).",
                  "request": {
                    "$ref": "CancelJobRequest"
                  },
                  "parameterOrder": [
                    "projectId",
                    "region",
                    "jobId"
                  ],
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "parameters": {
                    "projectId": {
                      "required": true,
                      "type": "string",
                      "location": "path",
                      "description": "Required. The ID of the Google Cloud Platform project that the job belongs to."
                    },
                    "region": {
                      "type": "string",
                      "location": "path",
                      "description": "Required. The Dataproc region in which to handle the request.",
                      "required": true
                    },
                    "jobId": {
                      "description": "Required. The job ID.",
                      "required": true,
                      "location": "path",
                      "type": "string"
                    }
                  },
                  "flatPath": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}:cancel",
                  "response": {
                    "$ref": "Job"
                  },
                  "httpMethod": "POST",
                  "id": "dataproc.projects.regions.jobs.cancel"
                },
                "setIamPolicy": {
                  "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.",
                  "path": "v1/{+resource}:setIamPolicy",
                  "id": "dataproc.projects.regions.jobs.setIamPolicy",
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/jobs/{jobsId}:setIamPolicy",
                  "response": {
                    "$ref": "Policy"
                  },
                  "parameterOrder": [
                    "resource"
                  ],
                  "httpMethod": "POST",
                  "request": {
                    "$ref": "SetIamPolicyRequest"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "parameters": {
                    "resource": {
                      "description": "REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
                      "location": "path",
                      "type": "string",
                      "required": true,
                      "pattern": "^projects/[^/]+/regions/[^/]+/jobs/[^/]+$"
                    }
                  }
                },
                "getIamPolicy": {
                  "parameterOrder": [
                    "resource"
                  ],
                  "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.",
                  "parameters": {
                    "resource": {
                      "location": "path",
                      "required": true,
                      "description": "REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
                      "pattern": "^projects/[^/]+/regions/[^/]+/jobs/[^/]+$",
                      "type": "string"
                    }
                  },
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/jobs/{jobsId}:getIamPolicy",
                  "response": {
                    "$ref": "Policy"
                  },
                  "httpMethod": "POST",
                  "request": {
                    "$ref": "GetIamPolicyRequest"
                  },
                  "id": "dataproc.projects.regions.jobs.getIamPolicy",
                  "path": "v1/{+resource}:getIamPolicy",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ]
                }
              }
            },
            "autoscalingPolicies": {
              "methods": {
                "create": {
                  "description": "Creates new autoscaling policy.",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "id": "dataproc.projects.regions.autoscalingPolicies.create",
                  "parameterOrder": [
                    "parent"
                  ],
                  "request": {
                    "$ref": "AutoscalingPolicy"
                  },
                  "parameters": {
                    "parent": {
                      "pattern": "^projects/[^/]+/regions/[^/]+$",
                      "description": "Required. The \"resource name\" of the region or location, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.autoscalingPolicies.create, the resource name of the region has the following format: projects/{project_id}/regions/{region} For projects.locations.autoscalingPolicies.create, the resource name of the location has the following format: projects/{project_id}/locations/{location}",
                      "required": true,
                      "location": "path",
                      "type": "string"
                    }
                  },
                  "httpMethod": "POST",
                  "path": "v1/{+parent}/autoscalingPolicies",
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/autoscalingPolicies",
                  "response": {
                    "$ref": "AutoscalingPolicy"
                  }
                },
                "get": {
                  "httpMethod": "GET",
                  "parameters": {
                    "name": {
                      "pattern": "^projects/[^/]+/regions/[^/]+/autoscalingPolicies/[^/]+$",
                      "required": true,
                      "type": "string",
                      "description": "Required. The \"resource name\" of the autoscaling policy, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.autoscalingPolicies.get, the resource name of the policy has the following format: projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id} For projects.locations.autoscalingPolicies.get, the resource name of the policy has the following format: projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}",
                      "location": "path"
                    }
                  },
                  "path": "v1/{+name}",
                  "id": "dataproc.projects.regions.autoscalingPolicies.get",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/autoscalingPolicies/{autoscalingPoliciesId}",
                  "response": {
                    "$ref": "AutoscalingPolicy"
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "description": "Retrieves autoscaling policy."
                },
                "getIamPolicy": {
                  "request": {
                    "$ref": "GetIamPolicyRequest"
                  },
                  "id": "dataproc.projects.regions.autoscalingPolicies.getIamPolicy",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "parameters": {
                    "resource": {
                      "type": "string",
                      "description": "REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
                      "required": true,
                      "location": "path",
                      "pattern": "^projects/[^/]+/regions/[^/]+/autoscalingPolicies/[^/]+$"
                    }
                  },
                  "httpMethod": "POST",
                  "path": "v1/{+resource}:getIamPolicy",
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/autoscalingPolicies/{autoscalingPoliciesId}:getIamPolicy",
                  "response": {
                    "$ref": "Policy"
                  },
                  "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.",
                  "parameterOrder": [
                    "resource"
                  ]
                },
                "list": {
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "path": "v1/{+parent}/autoscalingPolicies",
                  "id": "dataproc.projects.regions.autoscalingPolicies.list",
                  "description": "Lists autoscaling policies in the project.",
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/autoscalingPolicies",
                  "response": {
                    "$ref": "ListAutoscalingPoliciesResponse"
                  },
                  "httpMethod": "GET",
                  "parameterOrder": [
                    "parent"
                  ],
                  "parameters": {
                    "pageToken": {
                      "type": "string",
                      "description": "Optional. The page token, returned by a previous call, to request the next page of results.",
                      "location": "query"
                    },
                    "parent": {
                      "type": "string",
                      "description": "Required. The \"resource name\" of the region or location, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.autoscalingPolicies.list, the resource name of the region has the following format: projects/{project_id}/regions/{region} For projects.locations.autoscalingPolicies.list, the resource name of the location has the following format: projects/{project_id}/locations/{location}",
                      "location": "path",
                      "required": true,
                      "pattern": "^projects/[^/]+/regions/[^/]+$"
                    },
                    "pageSize": {
                      "description": "Optional. The maximum number of results to return in each response. Must be less than or equal to 1000. Defaults to 100.",
                      "type": "integer",
                      "format": "int32",
                      "location": "query"
                    }
                  }
                },
                "testIamPermissions": {
                  "parameterOrder": [
                    "resource"
                  ],
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/autoscalingPolicies/{autoscalingPoliciesId}:testIamPermissions",
                  "response": {
                    "$ref": "TestIamPermissionsResponse"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.",
                  "parameters": {
                    "resource": {
                      "description": "REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
                      "type": "string",
                      "location": "path",
                      "required": true,
                      "pattern": "^projects/[^/]+/regions/[^/]+/autoscalingPolicies/[^/]+$"
                    }
                  },
                  "request": {
                    "$ref": "TestIamPermissionsRequest"
                  },
                  "httpMethod": "POST",
                  "id": "dataproc.projects.regions.autoscalingPolicies.testIamPermissions",
                  "path": "v1/{+resource}:testIamPermissions"
                },
                "update": {
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/autoscalingPolicies/{autoscalingPoliciesId}",
                  "response": {
                    "$ref": "AutoscalingPolicy"
                  },
                  "httpMethod": "PUT",
                  "description": "Updates (replaces) autoscaling policy.Disabled check for update_mask, because all updates will be full replacements.",
                  "id": "dataproc.projects.regions.autoscalingPolicies.update",
                  "parameters": {
                    "name": {
                      "type": "string",
                      "pattern": "^projects/[^/]+/regions/[^/]+/autoscalingPolicies/[^/]+$",
                      "description": "Output only. The \"resource name\" of the autoscaling policy, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.autoscalingPolicies, the resource name of the policy has the following format: projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id} For projects.locations.autoscalingPolicies, the resource name of the policy has the following format: projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}",
                      "required": true,
                      "location": "path"
                    }
                  },
                  "request": {
                    "$ref": "AutoscalingPolicy"
                  },
                  "path": "v1/{+name}",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "parameterOrder": [
                    "name"
                  ]
                },
                "delete": {
                  "parameterOrder": [
                    "name"
                  ],
                  "description": "Deletes an autoscaling policy. It is an error to delete an autoscaling policy that is in use by one or more clusters.",
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/autoscalingPolicies/{autoscalingPoliciesId}",
                  "response": {
                    "$ref": "Empty"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "path": "v1/{+name}",
                  "id": "dataproc.projects.regions.autoscalingPolicies.delete",
                  "parameters": {
                    "name": {
                      "pattern": "^projects/[^/]+/regions/[^/]+/autoscalingPolicies/[^/]+$",
                      "type": "string",
                      "required": true,
                      "location": "path",
                      "description": "Required. The \"resource name\" of the autoscaling policy, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.autoscalingPolicies.delete, the resource name of the policy has the following format: projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id} For projects.locations.autoscalingPolicies.delete, the resource name of the policy has the following format: projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}"
                    }
                  },
                  "httpMethod": "DELETE"
                },
                "setIamPolicy": {
                  "parameters": {
                    "resource": {
                      "pattern": "^projects/[^/]+/regions/[^/]+/autoscalingPolicies/[^/]+$",
                      "required": true,
                      "description": "REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
                      "location": "path",
                      "type": "string"
                    }
                  },
                  "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.",
                  "id": "dataproc.projects.regions.autoscalingPolicies.setIamPolicy",
                  "httpMethod": "POST",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/autoscalingPolicies/{autoscalingPoliciesId}:setIamPolicy",
                  "response": {
                    "$ref": "Policy"
                  },
                  "request": {
                    "$ref": "SetIamPolicyRequest"
                  },
                  "parameterOrder": [
                    "resource"
                  ],
                  "path": "v1/{+resource}:setIamPolicy"
                }
              }
            },
            "workflowTemplates": {
              "methods": {
                "create": {
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "request": {
                    "$ref": "WorkflowTemplate"
                  },
                  "id": "dataproc.projects.regions.workflowTemplates.create",
                  "description": "Creates new workflow template.",
                  "parameters": {
                    "parent": {
                      "location": "path",
                      "required": true,
                      "type": "string",
                      "pattern": "^projects/[^/]+/regions/[^/]+$",
                      "description": "Required. The resource name of the region or location, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates.create, the resource name of the region has the following format: projects/{project_id}/regions/{region} For projects.locations.workflowTemplates.create, the resource name of the location has the following format: projects/{project_id}/locations/{location}"
                    }
                  },
                  "path": "v1/{+parent}/workflowTemplates",
                  "httpMethod": "POST",
                  "parameterOrder": [
                    "parent"
                  ],
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/workflowTemplates",
                  "response": {
                    "$ref": "WorkflowTemplate"
                  }
                },
                "instantiate": {
                  "parameters": {
                    "name": {
                      "required": true,
                      "type": "string",
                      "location": "path",
                      "pattern": "^projects/[^/]+/regions/[^/]+/workflowTemplates/[^/]+$",
                      "description": "Required. The resource name of the workflow template, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates.instantiate, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id} For projects.locations.workflowTemplates.instantiate, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}"
                    }
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "request": {
                    "$ref": "InstantiateWorkflowTemplateRequest"
                  },
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/workflowTemplates/{workflowTemplatesId}:instantiate",
                  "response": {
                    "$ref": "Operation"
                  },
                  "httpMethod": "POST",
                  "id": "dataproc.projects.regions.workflowTemplates.instantiate",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "description": "Instantiates a template and begins execution.The returned Operation can be used to track execution of workflow by polling operations.get. The Operation will complete when entire workflow is finished.The running workflow can be aborted via operations.cancel. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.The Operation.metadata will be WorkflowMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#workflowmetadata). Also see Using WorkflowMetadata (https://cloud.google.com/dataproc/docs/concepts/workflows/debugging#using_workflowmetadata).On successful completion, Operation.response will be Empty.",
                  "path": "v1/{+name}:instantiate"
                },
                "instantiateInline": {
                  "httpMethod": "POST",
                  "parameterOrder": [
                    "parent"
                  ],
                  "parameters": {
                    "parent": {
                      "location": "path",
                      "type": "string",
                      "required": true,
                      "description": "Required. The resource name of the region or location, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates,instantiateinline, the resource name of the region has the following format: projects/{project_id}/regions/{region} For projects.locations.workflowTemplates.instantiateinline, the resource name of the location has the following format: projects/{project_id}/locations/{location}",
                      "pattern": "^projects/[^/]+/regions/[^/]+$"
                    },
                    "requestId": {
                      "location": "query",
                      "description": "Optional. A tag that prevents multiple concurrent workflow instances with the same tag from running. This mitigates risk of concurrent instances started due to retries.It is recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The tag must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.",
                      "type": "string"
                    }
                  },
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/workflowTemplates:instantiateInline",
                  "response": {
                    "$ref": "Operation"
                  },
                  "request": {
                    "$ref": "WorkflowTemplate"
                  },
                  "id": "dataproc.projects.regions.workflowTemplates.instantiateInline",
                  "path": "v1/{+parent}/workflowTemplates:instantiateInline",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "description": "Instantiates a template and begins execution.This method is equivalent to executing the sequence CreateWorkflowTemplate, InstantiateWorkflowTemplate, DeleteWorkflowTemplate.The returned Operation can be used to track execution of workflow by polling operations.get. The Operation will complete when entire workflow is finished.The running workflow can be aborted via operations.cancel. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.The Operation.metadata will be WorkflowMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#workflowmetadata). Also see Using WorkflowMetadata (https://cloud.google.com/dataproc/docs/concepts/workflows/debugging#using_workflowmetadata).On successful completion, Operation.response will be Empty."
                },
                "setIamPolicy": {
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.",
                  "httpMethod": "POST",
                  "parameters": {
                    "resource": {
                      "type": "string",
                      "pattern": "^projects/[^/]+/regions/[^/]+/workflowTemplates/[^/]+$",
                      "location": "path",
                      "description": "REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
                      "required": true
                    }
                  },
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/workflowTemplates/{workflowTemplatesId}:setIamPolicy",
                  "response": {
                    "$ref": "Policy"
                  },
                  "id": "dataproc.projects.regions.workflowTemplates.setIamPolicy",
                  "request": {
                    "$ref": "SetIamPolicyRequest"
                  },
                  "parameterOrder": [
                    "resource"
                  ],
                  "path": "v1/{+resource}:setIamPolicy"
                },
                "list": {
                  "parameterOrder": [
                    "parent"
                  ],
                  "description": "Lists workflows that match the specified filter in the request.",
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/workflowTemplates",
                  "response": {
                    "$ref": "ListWorkflowTemplatesResponse"
                  },
                  "id": "dataproc.projects.regions.workflowTemplates.list",
                  "parameters": {
                    "parent": {
                      "location": "path",
                      "pattern": "^projects/[^/]+/regions/[^/]+$",
                      "required": true,
                      "description": "Required. The resource name of the region or location, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates,list, the resource name of the region has the following format: projects/{project_id}/regions/{region} For projects.locations.workflowTemplates.list, the resource name of the location has the following format: projects/{project_id}/locations/{location}",
                      "type": "string"
                    },
                    "pageSize": {
                      "location": "query",
                      "type": "integer",
                      "format": "int32",
                      "description": "Optional. The maximum number of results to return in each response."
                    },
                    "pageToken": {
                      "type": "string",
                      "location": "query",
                      "description": "Optional. The page token, returned by a previous call, to request the next page of results."
                    }
                  },
                  "httpMethod": "GET",
                  "path": "v1/{+parent}/workflowTemplates",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc",
                    "https://www.googleapis.com/auth/dataproc.read-only"
                  ]
                },
                "get": {
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/workflowTemplates/{workflowTemplatesId}",
                  "response": {
                    "$ref": "WorkflowTemplate"
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "parameters": {
                    "name": {
                      "type": "string",
                      "pattern": "^projects/[^/]+/regions/[^/]+/workflowTemplates/[^/]+$",
                      "location": "path",
                      "description": "Required. The resource name of the workflow template, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates.get, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id} For projects.locations.workflowTemplates.get, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}",
                      "required": true
                    },
                    "version": {
                      "location": "query",
                      "type": "integer",
                      "format": "int32",
                      "description": "Optional. The version of workflow template to retrieve. Only previously instantiated versions can be retrieved.If unspecified, retrieves the current version."
                    }
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc",
                    "https://www.googleapis.com/auth/dataproc.read-only"
                  ],
                  "id": "dataproc.projects.regions.workflowTemplates.get",
                  "httpMethod": "GET",
                  "description": "Retrieves the latest workflow template.Can retrieve previously instantiated template by specifying optional version parameter.",
                  "path": "v1/{+name}"
                },
                "getIamPolicy": {
                  "parameters": {
                    "resource": {
                      "pattern": "^projects/[^/]+/regions/[^/]+/workflowTemplates/[^/]+$",
                      "required": true,
                      "type": "string",
                      "description": "REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
                      "location": "path"
                    }
                  },
                  "request": {
                    "$ref": "GetIamPolicyRequest"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.",
                  "httpMethod": "POST",
                  "path": "v1/{+resource}:getIamPolicy",
                  "id": "dataproc.projects.regions.workflowTemplates.getIamPolicy",
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/workflowTemplates/{workflowTemplatesId}:getIamPolicy",
                  "response": {
                    "$ref": "Policy"
                  },
                  "parameterOrder": [
                    "resource"
                  ]
                },
                "update": {
                  "request": {
                    "$ref": "WorkflowTemplate"
                  },
                  "id": "dataproc.projects.regions.workflowTemplates.update",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "parameterOrder": [
                    "name"
                  ],
                  "description": "Updates (replaces) workflow template. The updated template must contain version that matches the current server version.",
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/workflowTemplates/{workflowTemplatesId}",
                  "response": {
                    "$ref": "WorkflowTemplate"
                  },
                  "parameters": {
                    "name": {
                      "type": "string",
                      "description": "Output only. The resource name of the workflow template, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id} For projects.locations.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}",
                      "required": true,
                      "pattern": "^projects/[^/]+/regions/[^/]+/workflowTemplates/[^/]+$",
                      "location": "path"
                    }
                  },
                  "httpMethod": "PUT",
                  "path": "v1/{+name}"
                },
                "delete": {
                  "path": "v1/{+name}",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "httpMethod": "DELETE",
                  "id": "dataproc.projects.regions.workflowTemplates.delete",
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/workflowTemplates/{workflowTemplatesId}",
                  "response": {
                    "$ref": "Empty"
                  },
                  "parameters": {
                    "name": {
                      "required": true,
                      "location": "path",
                      "pattern": "^projects/[^/]+/regions/[^/]+/workflowTemplates/[^/]+$",
                      "type": "string",
                      "description": "Required. The resource name of the workflow template, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.workflowTemplates.delete, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id} For projects.locations.workflowTemplates.instantiate, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}"
                    },
                    "version": {
                      "description": "Optional. The version of workflow template to delete. If specified, will only delete the template if the current server version matches specified version.",
                      "format": "int32",
                      "location": "query",
                      "type": "integer"
                    }
                  },
                  "description": "Deletes a workflow template. It does not cancel in-progress workflows.",
                  "parameterOrder": [
                    "name"
                  ]
                },
                "testIamPermissions": {
                  "httpMethod": "POST",
                  "parameters": {
                    "resource": {
                      "location": "path",
                      "required": true,
                      "type": "string",
                      "pattern": "^projects/[^/]+/regions/[^/]+/workflowTemplates/[^/]+$",
                      "description": "REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field."
                    }
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.",
                  "request": {
                    "$ref": "TestIamPermissionsRequest"
                  },
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/workflowTemplates/{workflowTemplatesId}:testIamPermissions",
                  "response": {
                    "$ref": "TestIamPermissionsResponse"
                  },
                  "path": "v1/{+resource}:testIamPermissions",
                  "parameterOrder": [
                    "resource"
                  ],
                  "id": "dataproc.projects.regions.workflowTemplates.testIamPermissions"
                }
              }
            },
            "operations": {
              "methods": {
                "list": {
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/operations",
                  "response": {
                    "$ref": "ListOperationsResponse"
                  },
                  "httpMethod": "GET",
                  "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.",
                  "parameters": {
                    "returnPartialSuccess": {
                      "description": "When set to true, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field.This can only be true when reading across collections. For example, when parent is set to \"projects/example/locations/-\".This field is not supported by default and will result in an UNIMPLEMENTED error if set unless explicitly documented otherwise in service or product specific documentation.",
                      "location": "query",
                      "type": "boolean"
                    },
                    "filter": {
                      "type": "string",
                      "location": "query",
                      "description": "The standard list filter."
                    },
                    "pageSize": {
                      "type": "integer",
                      "format": "int32",
                      "description": "The standard list page size.",
                      "location": "query"
                    },
                    "name": {
                      "type": "string",
                      "pattern": "^projects/[^/]+/regions/[^/]+/operations$",
                      "description": "The name of the operation's parent resource.",
                      "location": "path",
                      "required": true
                    },
                    "pageToken": {
                      "location": "query",
                      "description": "The standard list page token.",
                      "type": "string"
                    }
                  },
                  "path": "v1/{+name}",
                  "parameterOrder": [
                    "name"
                  ],
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc",
                    "https://www.googleapis.com/auth/dataproc.read-only"
                  ],
                  "id": "dataproc.projects.regions.operations.list"
                },
                "getIamPolicy": {
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.",
                  "httpMethod": "POST",
                  "parameterOrder": [
                    "resource"
                  ],
                  "parameters": {
                    "resource": {
                      "description": "REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
                      "pattern": "^projects/[^/]+/regions/[^/]+/operations/[^/]+$",
                      "required": true,
                      "type": "string",
                      "location": "path"
                    }
                  },
                  "id": "dataproc.projects.regions.operations.getIamPolicy",
                  "request": {
                    "$ref": "GetIamPolicyRequest"
                  },
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/operations/{operationsId}:getIamPolicy",
                  "response": {
                    "$ref": "Policy"
                  },
                  "path": "v1/{+resource}:getIamPolicy"
                },
                "testIamPermissions": {
                  "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.",
                  "id": "dataproc.projects.regions.operations.testIamPermissions",
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/operations/{operationsId}:testIamPermissions",
                  "response": {
                    "$ref": "TestIamPermissionsResponse"
                  },
                  "request": {
                    "$ref": "TestIamPermissionsRequest"
                  },
                  "path": "v1/{+resource}:testIamPermissions",
                  "parameterOrder": [
                    "resource"
                  ],
                  "parameters": {
                    "resource": {
                      "required": true,
                      "description": "REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
                      "type": "string",
                      "pattern": "^projects/[^/]+/regions/[^/]+/operations/[^/]+$",
                      "location": "path"
                    }
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "httpMethod": "POST"
                },
                "delete": {
                  "id": "dataproc.projects.regions.operations.delete",
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/operations/{operationsId}",
                  "response": {
                    "$ref": "Empty"
                  },
                  "parameterOrder": [
                    "name"
                  ],
                  "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.",
                  "path": "v1/{+name}",
                  "httpMethod": "DELETE",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "parameters": {
                    "name": {
                      "location": "path",
                      "required": true,
                      "description": "The name of the operation resource to be deleted.",
                      "pattern": "^projects/[^/]+/regions/[^/]+/operations/[^/]+$",
                      "type": "string"
                    }
                  }
                },
                "cancel": {
                  "parameterOrder": [
                    "name"
                  ],
                  "path": "v1/{+name}:cancel",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/operations/{operationsId}:cancel",
                  "response": {
                    "$ref": "Empty"
                  },
                  "id": "dataproc.projects.regions.operations.cancel",
                  "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.",
                  "httpMethod": "POST",
                  "parameters": {
                    "name": {
                      "type": "string",
                      "description": "The name of the operation resource to be cancelled.",
                      "location": "path",
                      "required": true,
                      "pattern": "^projects/[^/]+/regions/[^/]+/operations/[^/]+$"
                    }
                  }
                },
                "get": {
                  "id": "dataproc.projects.regions.operations.get",
                  "path": "v1/{+name}",
                  "parameters": {
                    "name": {
                      "type": "string",
                      "required": true,
                      "pattern": "^projects/[^/]+/regions/[^/]+/operations/[^/]+$",
                      "location": "path",
                      "description": "The name of the operation resource."
                    }
                  },
                  "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
                  "httpMethod": "GET",
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/operations/{operationsId}",
                  "response": {
                    "$ref": "Operation"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc",
                    "https://www.googleapis.com/auth/dataproc.read-only"
                  ],
                  "parameterOrder": [
                    "name"
                  ]
                },
                "setIamPolicy": {
                  "path": "v1/{+resource}:setIamPolicy",
                  "parameters": {
                    "resource": {
                      "pattern": "^projects/[^/]+/regions/[^/]+/operations/[^/]+$",
                      "required": true,
                      "location": "path",
                      "type": "string",
                      "description": "REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field."
                    }
                  },
                  "id": "dataproc.projects.regions.operations.setIamPolicy",
                  "httpMethod": "POST",
                  "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.",
                  "request": {
                    "$ref": "SetIamPolicyRequest"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/operations/{operationsId}:setIamPolicy",
                  "response": {
                    "$ref": "Policy"
                  },
                  "parameterOrder": [
                    "resource"
                  ]
                }
              }
            },
            "clusters": {
              "methods": {
                "setIamPolicy": {
                  "parameterOrder": [
                    "resource"
                  ],
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/clusters/{clustersId}:setIamPolicy",
                  "response": {
                    "$ref": "Policy"
                  },
                  "id": "dataproc.projects.regions.clusters.setIamPolicy",
                  "path": "v1/{+resource}:setIamPolicy",
                  "request": {
                    "$ref": "SetIamPolicyRequest"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "httpMethod": "POST",
                  "description": "Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.",
                  "parameters": {
                    "resource": {
                      "description": "REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
                      "type": "string",
                      "location": "path",
                      "required": true,
                      "pattern": "^projects/[^/]+/regions/[^/]+/clusters/[^/]+$"
                    }
                  }
                },
                "patch": {
                  "description": "Updates a cluster in a project. The returned Operation.metadata will be ClusterOperationMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata). The cluster must be in a RUNNING state or an error is returned.",
                  "id": "dataproc.projects.regions.clusters.patch",
                  "request": {
                    "$ref": "Cluster"
                  },
                  "parameters": {
                    "region": {
                      "description": "Required. The region in which to handle the request.",
                      "required": true,
                      "location": "path",
                      "type": "string"
                    },
                    "projectId": {
                      "required": true,
                      "location": "path",
                      "description": "Required. The ID of the Google Cloud Platform project the cluster belongs to.",
                      "type": "string"
                    },
                    "clusterName": {
                      "type": "string",
                      "location": "path",
                      "required": true,
                      "description": "Required. The cluster name."
                    },
                    "gracefulDecommissionTimeout": {
                      "location": "query",
                      "format": "google-duration",
                      "type": "string",
                      "description": "Optional. Timeout for graceful YARN decommissioning. Graceful decommissioning allows removing nodes from the cluster without interrupting jobs in progress. Timeout specifies how long to wait for jobs in progress to finish before forcefully removing nodes (and potentially interrupting jobs). Default timeout is 0 (for forceful decommission), and the maximum allowed timeout is 1 day. (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).Supported in image versions 1.2 and higher."
                    },
                    "updateMask": {
                      "type": "string",
                      "format": "google-fieldmask",
                      "location": "query",
                      "description": "Required. Specifies the path, relative to Cluster, of the field to update. For example, to change the number of workers in a cluster to 5, the update_mask parameter would be specified as config.worker_config.num_instances, and the PATCH request body would specify the new value, as follows: { \"config\":{ \"workerConfig\":{ \"numInstances\":\"5\" } } } Similarly, to change the number of preemptible workers in a cluster to 5, the update_mask parameter would be config.secondary_worker_config.num_instances, and the PATCH request body would be set as follows: { \"config\":{ \"secondaryWorkerConfig\":{ \"numInstances\":\"5\" } } } *Note:* Currently, only the following fields can be updated: *Mask* *Purpose* *labels* Update labels *config.worker_config.num_instances* Resize primary worker group *config.secondary_worker_config.num_instances* Resize secondary worker group config.autoscaling_config.policy_uri Use, stop using, or change autoscaling policies "
                    },
                    "requestId": {
                      "location": "query",
                      "description": "Optional. A unique ID used to identify the request. If the server receives two UpdateClusterRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.UpdateClusterRequest)s with the same id, then the second request will be ignored and the first google.longrunning.Operation created and stored in the backend is returned.It is recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.",
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "projectId",
                    "region",
                    "clusterName"
                  ],
                  "httpMethod": "PATCH",
                  "flatPath": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}",
                  "response": {
                    "$ref": "Operation"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "path": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}"
                },
                "list": {
                  "parameterOrder": [
                    "projectId",
                    "region"
                  ],
                  "parameters": {
                    "region": {
                      "required": true,
                      "description": "Required. The region in which to handle the request.",
                      "location": "path",
                      "type": "string"
                    },
                    "filter": {
                      "description": "Optional. A filter constraining the clusters to list. Filters are case-sensitive and have the following syntax:field = value AND field = value ...where field is one of status.state, clusterName, or labels.[KEY], and [KEY] is a label key. value can be \"*\" to match all values. status.state can be one of the following: ACTIVE, INACTIVE, CREATING, RUNNING, ERROR, DELETING, UPDATING, STOPPING, or STOPPED. ACTIVE contains the CREATING, UPDATING, and RUNNING states. INACTIVE contains the DELETING, ERROR, STOPPING, and STOPPED states. clusterName is the name of the cluster provided at creation time. Only the logical AND operator is supported; space-separated items are treated as having an implicit AND operator.Example filter:status.state = ACTIVE AND clusterName = mycluster AND labels.env = staging AND labels.starred = *",
                      "location": "query",
                      "type": "string"
                    },
                    "projectId": {
                      "location": "path",
                      "required": true,
                      "description": "Required. The ID of the Google Cloud Platform project that the cluster belongs to.",
                      "type": "string"
                    },
                    "pageToken": {
                      "type": "string",
                      "location": "query",
                      "description": "Optional. A page token received from a previous ListClusters call. Provide this token to retrieve the subsequent page."
                    },
                    "pageSize": {
                      "type": "integer",
                      "description": "Optional. The maximum number of clusters to return in each response. The service may return fewer than this value. If unspecified, the default value is 200. The maximum value is 1000.",
                      "location": "query",
                      "format": "int32"
                    }
                  },
                  "description": "Lists all regions/{region}/clusters in a project alphabetically.",
                  "path": "v1/projects/{projectId}/regions/{region}/clusters",
                  "httpMethod": "GET",
                  "flatPath": "v1/projects/{projectId}/regions/{region}/clusters",
                  "response": {
                    "$ref": "ListClustersResponse"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc",
                    "https://www.googleapis.com/auth/dataproc.read-only"
                  ],
                  "id": "dataproc.projects.regions.clusters.list"
                },
                "stop": {
                  "httpMethod": "POST",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "parameters": {
                    "clusterName": {
                      "required": true,
                      "type": "string",
                      "location": "path",
                      "description": "Required. The cluster name."
                    },
                    "region": {
                      "required": true,
                      "type": "string",
                      "location": "path",
                      "description": "Required. The region in which to handle the request."
                    },
                    "projectId": {
                      "required": true,
                      "type": "string",
                      "location": "path",
                      "description": "Required. The ID of the Google Cloud Platform project the cluster belongs to."
                    }
                  },
                  "description": "Stops a cluster in a project.",
                  "request": {
                    "$ref": "StopClusterRequest"
                  },
                  "path": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:stop",
                  "parameterOrder": [
                    "projectId",
                    "region",
                    "clusterName"
                  ],
                  "id": "dataproc.projects.regions.clusters.stop",
                  "flatPath": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:stop",
                  "response": {
                    "$ref": "Operation"
                  }
                },
                "start": {
                  "flatPath": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:start",
                  "response": {
                    "$ref": "Operation"
                  },
                  "parameterOrder": [
                    "projectId",
                    "region",
                    "clusterName"
                  ],
                  "path": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:start",
                  "request": {
                    "$ref": "StartClusterRequest"
                  },
                  "httpMethod": "POST",
                  "description": "Starts a cluster in a project.",
                  "parameters": {
                    "region": {
                      "location": "path",
                      "type": "string",
                      "description": "Required. The region in which to handle the request.",
                      "required": true
                    },
                    "clusterName": {
                      "required": true,
                      "location": "path",
                      "type": "string",
                      "description": "Required. The cluster name."
                    },
                    "projectId": {
                      "required": true,
                      "description": "Required. The ID of the Google Cloud Platform project the cluster belongs to.",
                      "location": "path",
                      "type": "string"
                    }
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "id": "dataproc.projects.regions.clusters.start"
                },
                "getIamPolicy": {
                  "httpMethod": "POST",
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/clusters/{clustersId}:getIamPolicy",
                  "response": {
                    "$ref": "Policy"
                  },
                  "parameters": {
                    "resource": {
                      "description": "REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
                      "pattern": "^projects/[^/]+/regions/[^/]+/clusters/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "request": {
                    "$ref": "GetIamPolicyRequest"
                  },
                  "path": "v1/{+resource}:getIamPolicy",
                  "parameterOrder": [
                    "resource"
                  ],
                  "id": "dataproc.projects.regions.clusters.getIamPolicy",
                  "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set."
                },
                "injectCredentials": {
                  "id": "dataproc.projects.regions.clusters.injectCredentials",
                  "request": {
                    "$ref": "InjectCredentialsRequest"
                  },
                  "description": "Inject encrypted credentials into all of the VMs in a cluster.The target cluster must be a personal auth cluster assigned to the user who is issuing the RPC.",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "parameters": {
                    "project": {
                      "required": true,
                      "location": "path",
                      "pattern": "^projects/[^/]+$",
                      "type": "string",
                      "description": "Required. The ID of the Google Cloud Platform project the cluster belongs to, of the form projects/."
                    },
                    "cluster": {
                      "pattern": "^clusters/[^/]+$",
                      "required": true,
                      "type": "string",
                      "description": "Required. The cluster, in the form clusters/.",
                      "location": "path"
                    },
                    "region": {
                      "type": "string",
                      "description": "Required. The region containing the cluster, of the form regions/.",
                      "location": "path",
                      "pattern": "^regions/[^/]+$",
                      "required": true
                    }
                  },
                  "parameterOrder": [
                    "project",
                    "region",
                    "cluster"
                  ],
                  "path": "v1/{+project}/{+region}/{+cluster}:injectCredentials",
                  "httpMethod": "POST",
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/clusters/{clustersId}:injectCredentials",
                  "response": {
                    "$ref": "Operation"
                  }
                },
                "delete": {
                  "path": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}",
                  "parameterOrder": [
                    "projectId",
                    "region",
                    "clusterName"
                  ],
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "description": "Deletes a cluster in a project. The returned Operation.metadata will be ClusterOperationMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata).",
                  "flatPath": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}",
                  "response": {
                    "$ref": "Operation"
                  },
                  "httpMethod": "DELETE",
                  "id": "dataproc.projects.regions.clusters.delete",
                  "parameters": {
                    "gracefulTerminationTimeout": {
                      "type": "string",
                      "format": "google-duration",
                      "description": "Optional. The graceful termination timeout for the deletion of the cluster. Indicate the time the request will wait to complete the running jobs on the cluster before its forceful deletion. Default value is 0 indicating that the user has not enabled the graceful termination. Value can be between 60 second and 6 Hours, in case the graceful termination is enabled. (There is no separate flag to check the enabling or disabling of graceful termination, it can be checked by the values in the field).",
                      "location": "query"
                    },
                    "requestId": {
                      "type": "string",
                      "location": "query",
                      "description": "Optional. A unique ID used to identify the request. If the server receives two DeleteClusterRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.DeleteClusterRequest)s with the same id, then the second request will be ignored and the first google.longrunning.Operation created and stored in the backend is returned.It is recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters."
                    },
                    "clusterName": {
                      "type": "string",
                      "location": "path",
                      "required": true,
                      "description": "Required. The cluster name."
                    },
                    "projectId": {
                      "type": "string",
                      "required": true,
                      "description": "Required. The ID of the Google Cloud Platform project that the cluster belongs to.",
                      "location": "path"
                    },
                    "clusterUuid": {
                      "location": "query",
                      "description": "Optional. Specifying the cluster_uuid means the RPC should fail (with error NOT_FOUND) if cluster with specified UUID does not exist.",
                      "type": "string"
                    },
                    "region": {
                      "type": "string",
                      "location": "path",
                      "description": "Required. The region in which to handle the request.",
                      "required": true
                    }
                  }
                },
                "testIamPermissions": {
                  "id": "dataproc.projects.regions.clusters.testIamPermissions",
                  "parameterOrder": [
                    "resource"
                  ],
                  "request": {
                    "$ref": "TestIamPermissionsRequest"
                  },
                  "path": "v1/{+resource}:testIamPermissions",
                  "parameters": {
                    "resource": {
                      "required": true,
                      "type": "string",
                      "pattern": "^projects/[^/]+/regions/[^/]+/clusters/[^/]+$",
                      "location": "path",
                      "description": "REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field."
                    }
                  },
                  "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.",
                  "httpMethod": "POST",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/clusters/{clustersId}:testIamPermissions",
                  "response": {
                    "$ref": "TestIamPermissionsResponse"
                  }
                },
                "get": {
                  "path": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}",
                  "parameterOrder": [
                    "projectId",
                    "region",
                    "clusterName"
                  ],
                  "flatPath": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}",
                  "response": {
                    "$ref": "Cluster"
                  },
                  "description": "Gets the resource representation for a cluster in a project.",
                  "httpMethod": "GET",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc",
                    "https://www.googleapis.com/auth/dataproc.read-only"
                  ],
                  "parameters": {
                    "region": {
                      "required": true,
                      "description": "Required. The region in which to handle the request.",
                      "location": "path",
                      "type": "string"
                    },
                    "projectId": {
                      "description": "Required. The ID of the Google Cloud Platform project that the cluster belongs to.",
                      "required": true,
                      "type": "string",
                      "location": "path"
                    },
                    "clusterName": {
                      "type": "string",
                      "description": "Required. The cluster name.",
                      "required": true,
                      "location": "path"
                    }
                  },
                  "id": "dataproc.projects.regions.clusters.get"
                },
                "create": {
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "id": "dataproc.projects.regions.clusters.create",
                  "httpMethod": "POST",
                  "parameterOrder": [
                    "projectId",
                    "region"
                  ],
                  "parameters": {
                    "actionOnFailedPrimaryWorkers": {
                      "enum": [
                        "FAILURE_ACTION_UNSPECIFIED",
                        "NO_ACTION",
                        "DELETE"
                      ],
                      "location": "query",
                      "type": "string",
                      "enumDescriptions": [
                        "When FailureAction is unspecified, failure action defaults to NO_ACTION.",
                        "Take no action on failure to create a cluster resource. NO_ACTION is the default.",
                        "Delete the failed cluster resource."
                      ],
                      "description": "Optional. Failure action when primary worker creation fails."
                    },
                    "projectId": {
                      "location": "path",
                      "description": "Required. The ID of the Google Cloud Platform project that the cluster belongs to.",
                      "type": "string",
                      "required": true
                    },
                    "region": {
                      "required": true,
                      "description": "Required. The region in which to handle the request.",
                      "type": "string",
                      "location": "path"
                    },
                    "requestId": {
                      "description": "Optional. A unique ID used to identify the request. If the server receives two CreateClusterRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.CreateClusterRequest)s with the same id, then the second request will be ignored and the first google.longrunning.Operation created and stored in the backend is returned.It is recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.",
                      "type": "string",
                      "location": "query"
                    }
                  },
                  "path": "v1/projects/{projectId}/regions/{region}/clusters",
                  "flatPath": "v1/projects/{projectId}/regions/{region}/clusters",
                  "response": {
                    "$ref": "Operation"
                  },
                  "request": {
                    "$ref": "Cluster"
                  },
                  "description": "Creates a cluster in a project. The returned Operation.metadata will be ClusterOperationMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata)."
                },
                "diagnose": {
                  "parameters": {
                    "region": {
                      "description": "Required. The region in which to handle the request.",
                      "required": true,
                      "location": "path",
                      "type": "string"
                    },
                    "projectId": {
                      "required": true,
                      "description": "Required. The ID of the Google Cloud Platform project that the cluster belongs to.",
                      "type": "string",
                      "location": "path"
                    },
                    "clusterName": {
                      "location": "path",
                      "type": "string",
                      "required": true,
                      "description": "Required. The cluster name."
                    }
                  },
                  "flatPath": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:diagnose",
                  "response": {
                    "$ref": "Operation"
                  },
                  "httpMethod": "POST",
                  "parameterOrder": [
                    "projectId",
                    "region",
                    "clusterName"
                  ],
                  "id": "dataproc.projects.regions.clusters.diagnose",
                  "request": {
                    "$ref": "DiagnoseClusterRequest"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "description": "Gets cluster diagnostic information. The returned Operation.metadata will be ClusterOperationMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata). After the operation completes, Operation.response contains DiagnoseClusterResults (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#diagnoseclusterresults).",
                  "path": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:diagnose"
                },
                "repair": {
                  "parameterOrder": [
                    "projectId",
                    "region",
                    "clusterName"
                  ],
                  "id": "dataproc.projects.regions.clusters.repair",
                  "httpMethod": "POST",
                  "description": "Repairs a cluster.",
                  "parameters": {
                    "projectId": {
                      "type": "string",
                      "location": "path",
                      "required": true,
                      "description": "Required. The ID of the Google Cloud Platform project the cluster belongs to."
                    },
                    "clusterName": {
                      "location": "path",
                      "required": true,
                      "description": "Required. The cluster name.",
                      "type": "string"
                    },
                    "region": {
                      "location": "path",
                      "type": "string",
                      "required": true,
                      "description": "Required. The region in which to handle the request."
                    }
                  },
                  "request": {
                    "$ref": "RepairClusterRequest"
                  },
                  "path": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:repair",
                  "flatPath": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:repair",
                  "response": {
                    "$ref": "Operation"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ]
                }
              },
              "resources": {
                "nodeGroups": {
                  "methods": {
                    "resize": {
                      "httpMethod": "POST",
                      "id": "dataproc.projects.regions.clusters.nodeGroups.resize",
                      "parameters": {
                        "name": {
                          "location": "path",
                          "required": true,
                          "pattern": "^projects/[^/]+/regions/[^/]+/clusters/[^/]+/nodeGroups/[^/]+$",
                          "type": "string",
                          "description": "Required. The name of the node group to resize. Format: projects/{project}/regions/{region}/clusters/{cluster}/nodeGroups/{nodeGroup}"
                        }
                      },
                      "parameterOrder": [
                        "name"
                      ],
                      "description": "Resizes a node group in a cluster. The returned Operation.metadata is NodeGroupOperationMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#nodegroupoperationmetadata).",
                      "path": "v1/{+name}:resize",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc"
                      ],
                      "request": {
                        "$ref": "ResizeNodeGroupRequest"
                      },
                      "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/clusters/{clustersId}/nodeGroups/{nodeGroupsId}:resize",
                      "response": {
                        "$ref": "Operation"
                      }
                    },
                    "repair": {
                      "parameterOrder": [
                        "name"
                      ],
                      "parameters": {
                        "name": {
                          "pattern": "^projects/[^/]+/regions/[^/]+/clusters/[^/]+/nodeGroups/[^/]+$",
                          "type": "string",
                          "required": true,
                          "description": "Required. The name of the node group to resize. Format: projects/{project}/regions/{region}/clusters/{cluster}/nodeGroups/{nodeGroup}",
                          "location": "path"
                        }
                      },
                      "httpMethod": "POST",
                      "request": {
                        "$ref": "RepairNodeGroupRequest"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc"
                      ],
                      "path": "v1/{+name}:repair",
                      "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/clusters/{clustersId}/nodeGroups/{nodeGroupsId}:repair",
                      "response": {
                        "$ref": "Operation"
                      },
                      "description": "Repair nodes in a node group.",
                      "id": "dataproc.projects.regions.clusters.nodeGroups.repair"
                    },
                    "create": {
                      "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/clusters/{clustersId}/nodeGroups",
                      "response": {
                        "$ref": "Operation"
                      },
                      "path": "v1/{+parent}/nodeGroups",
                      "parameters": {
                        "parent": {
                          "pattern": "^projects/[^/]+/regions/[^/]+/clusters/[^/]+$",
                          "required": true,
                          "type": "string",
                          "location": "path",
                          "description": "Required. The parent resource where this node group will be created. Format: projects/{project}/regions/{region}/clusters/{cluster}"
                        },
                        "parentOperationId": {
                          "location": "query",
                          "type": "string",
                          "description": "Optional. operation id of the parent operation sending the create request"
                        },
                        "requestId": {
                          "type": "string",
                          "description": "Optional. A unique ID used to identify the request. If the server receives two CreateNodeGroupRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.CreateNodeGroupRequest) with the same ID, the second request is ignored and the first google.longrunning.Operation created and stored in the backend is returned.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.",
                          "location": "query"
                        },
                        "nodeGroupId": {
                          "location": "query",
                          "type": "string",
                          "description": "Optional. An optional node group ID. Generated if not specified.The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of from 3 to 33 characters."
                        }
                      },
                      "parameterOrder": [
                        "parent"
                      ],
                      "id": "dataproc.projects.regions.clusters.nodeGroups.create",
                      "request": {
                        "$ref": "NodeGroup"
                      },
                      "httpMethod": "POST",
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc"
                      ],
                      "description": "Creates a node group in a cluster. The returned Operation.metadata is NodeGroupOperationMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#nodegroupoperationmetadata)."
                    },
                    "get": {
                      "parameters": {
                        "name": {
                          "pattern": "^projects/[^/]+/regions/[^/]+/clusters/[^/]+/nodeGroups/[^/]+$",
                          "description": "Required. The name of the node group to retrieve. Format: projects/{project}/regions/{region}/clusters/{cluster}/nodeGroups/{nodeGroup}",
                          "required": true,
                          "type": "string",
                          "location": "path"
                        }
                      },
                      "description": "Gets the resource representation for a node group in a cluster.",
                      "httpMethod": "GET",
                      "parameterOrder": [
                        "name"
                      ],
                      "path": "v1/{+name}",
                      "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/clusters/{clustersId}/nodeGroups/{nodeGroupsId}",
                      "response": {
                        "$ref": "NodeGroup"
                      },
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc",
                        "https://www.googleapis.com/auth/dataproc.read-only"
                      ],
                      "id": "dataproc.projects.regions.clusters.nodeGroups.get"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "baseUrl": "https://dataproc.googleapis.com/",
  "basePath": "",
  "version": "v1",
  "description": "Manages Hadoop-based clusters and jobs on Google Cloud Platform.",
  "fullyEncodeReservedExpansion": true,
  "icons": {
    "x16": "http://www.google.com/images/icons/product/search-16.gif",
    "x32": "http://www.google.com/images/icons/product/search-32.gif"
  },
  "title": "Cloud Dataproc API",
  "documentationLink": "https://cloud.google.com/dataproc/",
  "parameters": {
    "callback": {
      "location": "query",
      "description": "JSONP",
      "type": "string"
    },
    "access_token": {
      "description": "OAuth access token.",
      "type": "string",
      "location": "query"
    },
    "upload_protocol": {
      "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
      "location": "query",
      "type": "string"
    },
    "quotaUser": {
      "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.",
      "location": "query",
      "type": "string"
    },
    "prettyPrint": {
      "description": "Returns response with indentations and line breaks.",
      "location": "query",
      "type": "boolean",
      "default": "true"
    },
    "key": {
      "type": "string",
      "location": "query",
      "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."
    },
    "fields": {
      "type": "string",
      "description": "Selector specifying which fields to include in a partial response.",
      "location": "query"
    },
    "$.xgafv": {
      "enumDescriptions": [
        "v1 error format",
        "v2 error format"
      ],
      "type": "string",
      "location": "query",
      "description": "V1 error format.",
      "enum": [
        "1",
        "2"
      ]
    },
    "oauth_token": {
      "description": "OAuth 2.0 token for the current user.",
      "type": "string",
      "location": "query"
    },
    "uploadType": {
      "type": "string",
      "location": "query",
      "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\")."
    },
    "alt": {
      "enum": [
        "json",
        "media",
        "proto"
      ],
      "location": "query",
      "description": "Data format for response.",
      "type": "string",
      "default": "json",
      "enumDescriptions": [
        "Responses with Content-Type of application/json",
        "Media download with context-dependent Content-Type",
        "Responses with Content-Type of application/x-protobuf"
      ]
    }
  },
  "canonicalName": "Dataproc",
  "discoveryVersion": "v1"
}
