{
  "title": "Cloud Dataproc API",
  "basePath": "",
  "revision": "20261109",
  "batchPath": "batch",
  "name": "dataproc",
  "fullyEncodeReservedExpansion": true,
  "description": "Manages Hadoop-based clusters and jobs on Cloud de Confiance Platform.",
  "parameters": {
    "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.",
      "type": "string",
      "location": "query"
    },
    "prettyPrint": {
      "default": "true",
      "type": "boolean",
      "location": "query",
      "description": "Returns response with indentations and line breaks."
    },
    "key": {
      "type": "string",
      "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.",
      "location": "query"
    },
    "access_token": {
      "location": "query",
      "type": "string",
      "description": "OAuth access token."
    },
    "oauth_token": {
      "type": "string",
      "location": "query",
      "description": "OAuth 2.0 token for the current user."
    },
    "uploadType": {
      "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
      "type": "string",
      "location": "query"
    },
    "callback": {
      "description": "JSONP",
      "location": "query",
      "type": "string"
    },
    "fields": {
      "location": "query",
      "type": "string",
      "description": "Selector specifying which fields to include in a partial response."
    },
    "upload_protocol": {
      "type": "string",
      "location": "query",
      "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")."
    },
    "$.xgafv": {
      "location": "query",
      "type": "string",
      "enumDescriptions": [
        "v1 error format",
        "v2 error format"
      ],
      "description": "V1 error format.",
      "enum": [
        "1",
        "2"
      ]
    },
    "alt": {
      "enumDescriptions": [
        "Responses with Content-Type of application/json",
        "Media download with context-dependent Content-Type",
        "Responses with Content-Type of application/x-protobuf"
      ],
      "description": "Data format for response.",
      "location": "query",
      "type": "string",
      "default": "json",
      "enum": [
        "json",
        "media",
        "proto"
      ]
    }
  },
  "canonicalName": "Dataproc",
  "auth": {
    "oauth2": {
      "scopes": {
        "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"
        },
        "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/cloud-platform": {
          "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
        }
      }
    }
  },
  "id": "dataproc:v1",
  "servicePath": "",
  "discoveryVersion": "v1",
  "resources": {
    "projects": {
      "resources": {
        "locations": {
          "resources": {
            "operations": {
              "methods": {
                "get": {
                  "httpMethod": "GET",
                  "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"
                  ],
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
                  "id": "dataproc.projects.locations.operations.get",
                  "parameters": {
                    "name": {
                      "type": "string",
                      "required": true,
                      "location": "path",
                      "description": "The name of the operation resource.",
                      "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$"
                    }
                  },
                  "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.",
                  "parameterOrder": [
                    "name"
                  ],
                  "response": {
                    "$ref": "Operation"
                  }
                },
                "list": {
                  "path": "v1/{+name}",
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations",
                  "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/[^/]+/operations$",
                      "description": "The name of the operation's parent resource.",
                      "type": "string",
                      "location": "path",
                      "required": true
                    },
                    "filter": {
                      "description": "The standard list filter.",
                      "location": "query",
                      "type": "string"
                    },
                    "pageToken": {
                      "description": "The standard list page token.",
                      "type": "string",
                      "location": "query"
                    },
                    "pageSize": {
                      "format": "int32",
                      "description": "The standard list page size.",
                      "location": "query",
                      "type": "integer"
                    },
                    "returnPartialSuccess": {
                      "type": "boolean",
                      "location": "query",
                      "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."
                    }
                  },
                  "response": {
                    "$ref": "ListOperationsResponse"
                  },
                  "id": "dataproc.projects.locations.operations.list",
                  "parameterOrder": [
                    "name"
                  ],
                  "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
                  "httpMethod": "GET"
                },
                "delete": {
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
                  "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`.",
                  "parameters": {
                    "name": {
                      "required": true,
                      "description": "The name of the operation resource to be deleted.",
                      "location": "path",
                      "type": "string",
                      "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$"
                    }
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "response": {
                    "$ref": "Empty"
                  },
                  "path": "v1/{+name}",
                  "id": "dataproc.projects.locations.operations.delete",
                  "parameterOrder": [
                    "name"
                  ],
                  "httpMethod": "DELETE"
                },
                "cancel": {
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
                  "id": "dataproc.projects.locations.operations.cancel",
                  "parameters": {
                    "name": {
                      "description": "The name of the operation resource to be cancelled.",
                      "location": "path",
                      "required": true,
                      "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
                      "type": "string"
                    }
                  },
                  "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`.",
                  "path": "v1/{+name}:cancel",
                  "parameterOrder": [
                    "name"
                  ],
                  "httpMethod": "POST",
                  "response": {
                    "$ref": "Empty"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ]
                }
              }
            }
          }
        },
        "regions": {
          "resources": {
            "operations": {
              "methods": {
                "delete": {
                  "httpMethod": "DELETE",
                  "id": "dataproc.projects.regions.operations.delete",
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/operations/{operationsId}",
                  "parameterOrder": [
                    "name"
                  ],
                  "path": "v1/{+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`.",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "response": {
                    "$ref": "Empty"
                  },
                  "parameters": {
                    "name": {
                      "pattern": "^projects/[^/]+/regions/[^/]+/operations/[^/]+$",
                      "required": true,
                      "type": "string",
                      "location": "path",
                      "description": "The name of the operation resource to be deleted."
                    }
                  }
                },
                "cancel": {
                  "response": {
                    "$ref": "Empty"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "path": "v1/{+name}:cancel",
                  "parameterOrder": [
                    "name"
                  ],
                  "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",
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/operations/{operationsId}:cancel",
                  "parameters": {
                    "name": {
                      "pattern": "^projects/[^/]+/regions/[^/]+/operations/[^/]+$",
                      "location": "path",
                      "required": true,
                      "type": "string",
                      "description": "The name of the operation resource to be cancelled."
                    }
                  },
                  "id": "dataproc.projects.regions.operations.cancel"
                },
                "testIamPermissions": {
                  "parameterOrder": [
                    "resource"
                  ],
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "description": "The google.iam.v1.IAMPolicy.TestIamPermissions method is not available in this (s3nsapis.fr) universe.",
                  "httpMethod": "POST",
                  "response": {
                    "$ref": "TestIamPermissionsResponse"
                  },
                  "path": "v1/{+resource}:testIamPermissions",
                  "request": {
                    "$ref": "TestIamPermissionsRequest"
                  },
                  "id": "dataproc.projects.regions.operations.testIamPermissions",
                  "parameters": {
                    "resource": {
                      "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://documentation.s3ns.fr/apis/design/resource_names) for the appropriate value for this field.",
                      "type": "string",
                      "location": "path",
                      "required": true,
                      "pattern": "^projects/[^/]+/regions/[^/]+/operations/[^/]+$"
                    }
                  },
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/operations/{operationsId}:testIamPermissions"
                },
                "setIamPolicy": {
                  "request": {
                    "$ref": "SetIamPolicyRequest"
                  },
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/operations/{operationsId}:setIamPolicy",
                  "parameters": {
                    "resource": {
                      "pattern": "^projects/[^/]+/regions/[^/]+/operations/[^/]+$",
                      "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://documentation.s3ns.fr/apis/design/resource_names) for the appropriate value for this field.",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "id": "dataproc.projects.regions.operations.setIamPolicy",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "description": "The google.iam.v1.IAMPolicy.SetIamPolicy method is not available in this (s3nsapis.fr) universe.",
                  "path": "v1/{+resource}:setIamPolicy",
                  "parameterOrder": [
                    "resource"
                  ],
                  "response": {
                    "$ref": "Policy"
                  },
                  "httpMethod": "POST"
                },
                "list": {
                  "id": "dataproc.projects.regions.operations.list",
                  "httpMethod": "GET",
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/operations",
                  "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}",
                  "parameters": {
                    "filter": {
                      "type": "string",
                      "description": "The standard list filter.",
                      "location": "query"
                    },
                    "pageToken": {
                      "description": "The standard list page token.",
                      "location": "query",
                      "type": "string"
                    },
                    "returnPartialSuccess": {
                      "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.",
                      "location": "query"
                    },
                    "pageSize": {
                      "type": "integer",
                      "format": "int32",
                      "description": "The standard list page size.",
                      "location": "query"
                    },
                    "name": {
                      "description": "The name of the operation's parent resource.",
                      "type": "string",
                      "pattern": "^projects/[^/]+/regions/[^/]+/operations$",
                      "required": true,
                      "location": "path"
                    }
                  },
                  "response": {
                    "$ref": "ListOperationsResponse"
                  },
                  "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`."
                },
                "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"
                  ],
                  "id": "dataproc.projects.regions.operations.get",
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/operations/{operationsId}",
                  "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.",
                  "path": "v1/{+name}",
                  "parameters": {
                    "name": {
                      "required": true,
                      "location": "path",
                      "pattern": "^projects/[^/]+/regions/[^/]+/operations/[^/]+$",
                      "type": "string",
                      "description": "The name of the operation resource."
                    }
                  },
                  "response": {
                    "$ref": "Operation"
                  }
                },
                "getIamPolicy": {
                  "description": "The google.iam.v1.IAMPolicy.GetIamPolicy method is not available in this (s3nsapis.fr) universe.",
                  "parameterOrder": [
                    "resource"
                  ],
                  "id": "dataproc.projects.regions.operations.getIamPolicy",
                  "parameters": {
                    "resource": {
                      "pattern": "^projects/[^/]+/regions/[^/]+/operations/[^/]+$",
                      "type": "string",
                      "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://documentation.s3ns.fr/apis/design/resource_names) for the appropriate value for this field.",
                      "required": true,
                      "location": "path"
                    }
                  },
                  "response": {
                    "$ref": "Policy"
                  },
                  "request": {
                    "$ref": "GetIamPolicyRequest"
                  },
                  "path": "v1/{+resource}:getIamPolicy",
                  "httpMethod": "POST",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/operations/{operationsId}:getIamPolicy"
                }
              }
            },
            "clusters": {
              "resources": {
                "nodeGroups": {
                  "methods": {
                    "resize": {
                      "parameterOrder": [
                        "name"
                      ],
                      "scopes": [
                        "https://www.googleapis.com/auth/cloud-platform",
                        "https://www.googleapis.com/auth/dataproc"
                      ],
                      "response": {
                        "$ref": "Operation"
                      },
                      "parameters": {
                        "name": {
                          "pattern": "^projects/[^/]+/regions/[^/]+/clusters/[^/]+/nodeGroups/[^/]+$",
                          "location": "path",
                          "required": true,
                          "type": "string",
                          "description": "Required. The name of the node group to resize. Format: `projects/{project}/regions/{region}/clusters/{cluster}/nodeGroups/{nodeGroup}`"
                        }
                      },
                      "path": "v1/{+name}:resize",
                      "request": {
                        "$ref": "ResizeNodeGroupRequest"
                      },
                      "httpMethod": "POST",
                      "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/clusters/{clustersId}/nodeGroups/{nodeGroupsId}:resize",
                      "description": "Resizes a node group in a cluster. The returned Operation.metadata is [NodeGroupOperationMetadata](https://documentation.s3ns.fr/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#nodegroupoperationmetadata).",
                      "id": "dataproc.projects.regions.clusters.nodeGroups.resize"
                    },
                    "get": {
                      "parameterOrder": [
                        "name"
                      ],
                      "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/clusters/{clustersId}/nodeGroups/{nodeGroupsId}",
                      "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}",
                      "httpMethod": "GET",
                      "id": "dataproc.projects.regions.clusters.nodeGroups.get",
                      "description": "Gets the resource representation for a node group in a cluster.",
                      "response": {
                        "$ref": "NodeGroup"
                      },
                      "parameters": {
                        "name": {
                          "required": true,
                          "location": "path",
                          "type": "string",
                          "description": "Required. The name of the node group to retrieve. Format: `projects/{project}/regions/{region}/clusters/{cluster}/nodeGroups/{nodeGroup}`",
                          "pattern": "^projects/[^/]+/regions/[^/]+/clusters/[^/]+/nodeGroups/[^/]+$"
                        }
                      }
                    }
                  }
                }
              },
              "methods": {
                "get": {
                  "parameters": {
                    "region": {
                      "description": "Required. The region in which to handle the request.",
                      "type": "string",
                      "location": "path",
                      "required": true
                    },
                    "projectId": {
                      "type": "string",
                      "required": true,
                      "location": "path",
                      "description": "Required. The ID of the Cloud de Confiance Platform project that the cluster belongs to."
                    },
                    "clusterName": {
                      "description": "Required. The cluster name.",
                      "required": true,
                      "type": "string",
                      "location": "path"
                    }
                  },
                  "response": {
                    "$ref": "Cluster"
                  },
                  "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",
                    "clusterName"
                  ],
                  "id": "dataproc.projects.regions.clusters.get",
                  "description": "Gets the resource representation for a cluster in a project.",
                  "httpMethod": "GET",
                  "flatPath": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}",
                  "path": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}"
                },
                "start": {
                  "flatPath": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:start",
                  "path": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:start",
                  "parameterOrder": [
                    "projectId",
                    "region",
                    "clusterName"
                  ],
                  "httpMethod": "POST",
                  "request": {
                    "$ref": "StartClusterRequest"
                  },
                  "description": "Starts a cluster in a project.",
                  "response": {
                    "$ref": "Operation"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "id": "dataproc.projects.regions.clusters.start",
                  "parameters": {
                    "projectId": {
                      "description": "Required. The ID of the Cloud de Confiance Platform project the cluster belongs to.",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    },
                    "region": {
                      "description": "Required. The region in which to handle the request.",
                      "type": "string",
                      "location": "path",
                      "required": true
                    },
                    "clusterName": {
                      "description": "Required. The cluster name.",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    }
                  }
                },
                "diagnose": {
                  "parameterOrder": [
                    "projectId",
                    "region",
                    "clusterName"
                  ],
                  "description": "Gets cluster diagnostic information. The returned Operation.metadata will be [ClusterOperationMetadata](https://documentation.s3ns.fr/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata). After the operation completes, Operation.response contains [DiagnoseClusterResults](https://documentation.s3ns.fr/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#diagnoseclusterresults).",
                  "response": {
                    "$ref": "Operation"
                  },
                  "httpMethod": "POST",
                  "id": "dataproc.projects.regions.clusters.diagnose",
                  "parameters": {
                    "region": {
                      "required": true,
                      "description": "Required. The region in which to handle the request.",
                      "type": "string",
                      "location": "path"
                    },
                    "projectId": {
                      "description": "Required. The ID of the Cloud de Confiance Platform project that the cluster belongs to.",
                      "type": "string",
                      "location": "path",
                      "required": true
                    },
                    "clusterName": {
                      "required": true,
                      "type": "string",
                      "description": "Required. The cluster name.",
                      "location": "path"
                    }
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "flatPath": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:diagnose",
                  "request": {
                    "$ref": "DiagnoseClusterRequest"
                  },
                  "path": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:diagnose"
                },
                "delete": {
                  "path": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}",
                  "response": {
                    "$ref": "Operation"
                  },
                  "parameters": {
                    "region": {
                      "description": "Required. The region in which to handle the request.",
                      "required": true,
                      "location": "path",
                      "type": "string"
                    },
                    "gracefulTerminationTimeout": {
                      "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",
                      "type": "string"
                    },
                    "projectId": {
                      "type": "string",
                      "required": true,
                      "location": "path",
                      "description": "Required. The ID of the Cloud de Confiance Platform project that the cluster belongs to."
                    },
                    "clusterName": {
                      "description": "Required. The cluster name.",
                      "location": "path",
                      "required": true,
                      "type": "string"
                    },
                    "requestId": {
                      "description": "Optional. A unique ID used to identify the request. If the server receives two [DeleteClusterRequest](https://documentation.s3ns.fr/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.",
                      "type": "string",
                      "location": "query"
                    },
                    "clusterUuid": {
                      "type": "string",
                      "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."
                    }
                  },
                  "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://documentation.s3ns.fr/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata).",
                  "httpMethod": "DELETE",
                  "flatPath": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}",
                  "id": "dataproc.projects.regions.clusters.delete",
                  "parameterOrder": [
                    "projectId",
                    "region",
                    "clusterName"
                  ]
                },
                "create": {
                  "parameterOrder": [
                    "projectId",
                    "region"
                  ],
                  "request": {
                    "$ref": "Cluster"
                  },
                  "path": "v1/projects/{projectId}/regions/{region}/clusters",
                  "id": "dataproc.projects.regions.clusters.create",
                  "httpMethod": "POST",
                  "response": {
                    "$ref": "Operation"
                  },
                  "description": "Creates a cluster in a project. The returned Operation.metadata will be [ClusterOperationMetadata](https://documentation.s3ns.fr/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata).",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "parameters": {
                    "projectId": {
                      "location": "path",
                      "required": true,
                      "type": "string",
                      "description": "Required. The ID of the Cloud de Confiance Platform project that the cluster belongs to."
                    },
                    "requestId": {
                      "type": "string",
                      "description": "Optional. A unique ID used to identify the request. If the server receives two [CreateClusterRequest](https://documentation.s3ns.fr/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.",
                      "location": "query"
                    },
                    "actionOnFailedPrimaryWorkers": {
                      "type": "string",
                      "description": "Optional. Failure action when primary worker creation fails.",
                      "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."
                      ],
                      "enum": [
                        "FAILURE_ACTION_UNSPECIFIED",
                        "NO_ACTION",
                        "DELETE"
                      ],
                      "location": "query"
                    },
                    "region": {
                      "type": "string",
                      "description": "Required. The region in which to handle the request.",
                      "location": "path",
                      "required": true
                    }
                  },
                  "flatPath": "v1/projects/{projectId}/regions/{region}/clusters"
                },
                "setIamPolicy": {
                  "description": "The google.iam.v1.IAMPolicy.SetIamPolicy method is not available in this (s3nsapis.fr) universe.",
                  "parameterOrder": [
                    "resource"
                  ],
                  "parameters": {
                    "resource": {
                      "type": "string",
                      "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://documentation.s3ns.fr/apis/design/resource_names) for the appropriate value for this field.",
                      "pattern": "^projects/[^/]+/regions/[^/]+/clusters/[^/]+$",
                      "required": true,
                      "location": "path"
                    }
                  },
                  "response": {
                    "$ref": "Policy"
                  },
                  "path": "v1/{+resource}:setIamPolicy",
                  "request": {
                    "$ref": "SetIamPolicyRequest"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "httpMethod": "POST",
                  "id": "dataproc.projects.regions.clusters.setIamPolicy",
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/clusters/{clustersId}:setIamPolicy"
                },
                "testIamPermissions": {
                  "id": "dataproc.projects.regions.clusters.testIamPermissions",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "response": {
                    "$ref": "TestIamPermissionsResponse"
                  },
                  "httpMethod": "POST",
                  "path": "v1/{+resource}:testIamPermissions",
                  "description": "The google.iam.v1.IAMPolicy.TestIamPermissions method is not available in this (s3nsapis.fr) universe.",
                  "parameterOrder": [
                    "resource"
                  ],
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/clusters/{clustersId}:testIamPermissions",
                  "parameters": {
                    "resource": {
                      "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://documentation.s3ns.fr/apis/design/resource_names) for the appropriate value for this field.",
                      "location": "path",
                      "pattern": "^projects/[^/]+/regions/[^/]+/clusters/[^/]+$",
                      "required": true,
                      "type": "string"
                    }
                  },
                  "request": {
                    "$ref": "TestIamPermissionsRequest"
                  }
                },
                "repair": {
                  "request": {
                    "$ref": "RepairClusterRequest"
                  },
                  "flatPath": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:repair",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "parameters": {
                    "region": {
                      "description": "Required. The region in which to handle the request.",
                      "type": "string",
                      "location": "path",
                      "required": true
                    },
                    "projectId": {
                      "description": "Required. The ID of the Cloud de Confiance Platform project the cluster belongs to.",
                      "required": true,
                      "type": "string",
                      "location": "path"
                    },
                    "clusterName": {
                      "location": "path",
                      "required": true,
                      "description": "Required. The cluster name.",
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "projectId",
                    "region",
                    "clusterName"
                  ],
                  "id": "dataproc.projects.regions.clusters.repair",
                  "response": {
                    "$ref": "Operation"
                  },
                  "description": "Repairs a cluster.",
                  "path": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:repair",
                  "httpMethod": "POST"
                },
                "getIamPolicy": {
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/clusters/{clustersId}:getIamPolicy",
                  "parameterOrder": [
                    "resource"
                  ],
                  "description": "The google.iam.v1.IAMPolicy.GetIamPolicy method is not available in this (s3nsapis.fr) universe.",
                  "parameters": {
                    "resource": {
                      "pattern": "^projects/[^/]+/regions/[^/]+/clusters/[^/]+$",
                      "required": true,
                      "location": "path",
                      "type": "string",
                      "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://documentation.s3ns.fr/apis/design/resource_names) for the appropriate value for this field."
                    }
                  },
                  "id": "dataproc.projects.regions.clusters.getIamPolicy",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "response": {
                    "$ref": "Policy"
                  },
                  "path": "v1/{+resource}:getIamPolicy",
                  "request": {
                    "$ref": "GetIamPolicyRequest"
                  },
                  "httpMethod": "POST"
                },
                "stop": {
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "path": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:stop",
                  "response": {
                    "$ref": "Operation"
                  },
                  "parameters": {
                    "clusterName": {
                      "required": true,
                      "location": "path",
                      "type": "string",
                      "description": "Required. The cluster name."
                    },
                    "region": {
                      "type": "string",
                      "location": "path",
                      "required": true,
                      "description": "Required. The region in which to handle the request."
                    },
                    "projectId": {
                      "required": true,
                      "location": "path",
                      "description": "Required. The ID of the Cloud de Confiance Platform project the cluster belongs to.",
                      "type": "string"
                    }
                  },
                  "parameterOrder": [
                    "projectId",
                    "region",
                    "clusterName"
                  ],
                  "id": "dataproc.projects.regions.clusters.stop",
                  "description": "Stops a cluster in a project.",
                  "flatPath": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:stop",
                  "httpMethod": "POST",
                  "request": {
                    "$ref": "StopClusterRequest"
                  }
                },
                "list": {
                  "parameters": {
                    "region": {
                      "description": "Required. The region in which to handle the request.",
                      "required": true,
                      "type": "string",
                      "location": "path"
                    },
                    "pageSize": {
                      "type": "integer",
                      "format": "int32",
                      "location": "query",
                      "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."
                    },
                    "filter": {
                      "location": "query",
                      "type": "string",
                      "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 = *"
                    },
                    "projectId": {
                      "type": "string",
                      "location": "path",
                      "description": "Required. The ID of the Cloud de Confiance Platform project that the cluster belongs to.",
                      "required": true
                    },
                    "pageToken": {
                      "location": "query",
                      "description": "Optional. A page token received from a previous `ListClusters` call. Provide this token to retrieve the subsequent page.",
                      "type": "string"
                    }
                  },
                  "response": {
                    "$ref": "ListClustersResponse"
                  },
                  "description": "Lists all regions/{region}/clusters in a project alphabetically.",
                  "id": "dataproc.projects.regions.clusters.list",
                  "flatPath": "v1/projects/{projectId}/regions/{region}/clusters",
                  "parameterOrder": [
                    "projectId",
                    "region"
                  ],
                  "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/projects/{projectId}/regions/{region}/clusters"
                },
                "patch": {
                  "description": "Updates a cluster in a project. The returned Operation.metadata will be [ClusterOperationMetadata](https://documentation.s3ns.fr/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#clusteroperationmetadata). The cluster must be in a `RUNNING` state or an error is returned.",
                  "httpMethod": "PATCH",
                  "parameterOrder": [
                    "projectId",
                    "region",
                    "clusterName"
                  ],
                  "response": {
                    "$ref": "Operation"
                  },
                  "request": {
                    "$ref": "Cluster"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "id": "dataproc.projects.regions.clusters.patch",
                  "parameters": {
                    "updateMask": {
                      "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\" } } } Wildcard `*` is not supported. Currently, only the following fields can be updated: * `labels`: Updates `labels` * `config.worker_config.num_instances`: Resizes primary worker group * `config.secondary_worker_config.num_instances`: Resizes secondary worker group * `config.autoscaling_config.policy_uri`: Uses, stops using, or changes autoscaling policies",
                      "type": "string",
                      "format": "google-fieldmask"
                    },
                    "gracefulDecommissionTimeout": {
                      "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.",
                      "format": "google-duration",
                      "location": "query",
                      "type": "string"
                    },
                    "requestId": {
                      "description": "Optional. A unique ID used to identify the request. If the server receives two [UpdateClusterRequest](https://documentation.s3ns.fr/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",
                      "location": "query"
                    },
                    "region": {
                      "type": "string",
                      "description": "Required. The region in which to handle the request.",
                      "location": "path",
                      "required": true
                    },
                    "clusterName": {
                      "location": "path",
                      "description": "Required. The cluster name.",
                      "required": true,
                      "type": "string"
                    },
                    "projectId": {
                      "required": true,
                      "location": "path",
                      "type": "string",
                      "description": "Required. The ID of the Cloud de Confiance Platform project the cluster belongs to."
                    }
                  },
                  "flatPath": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}",
                  "path": "v1/projects/{projectId}/regions/{region}/clusters/{clusterName}"
                }
              }
            },
            "jobs": {
              "methods": {
                "list": {
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc",
                    "https://www.googleapis.com/auth/dataproc.read-only"
                  ],
                  "parameters": {
                    "region": {
                      "location": "path",
                      "required": true,
                      "description": "Required. The Dataproc region in which to handle the request.",
                      "type": "string"
                    },
                    "projectId": {
                      "description": "Required. The ID of the Cloud de Confiance Platform project that the job belongs to.",
                      "type": "string",
                      "required": true,
                      "location": "path"
                    },
                    "pageToken": {
                      "type": "string",
                      "location": "query",
                      "description": "Optional. The page token, returned by a previous call, to request the next page of results."
                    },
                    "filter": {
                      "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\"",
                      "location": "query"
                    },
                    "jobStateMatcher": {
                      "description": "Optional. Specifies enumerated categories of jobs to list. (default = match ALL jobs). If `filter` is provided, `jobStateMatcher` will be ignored.",
                      "location": "query",
                      "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."
                      ],
                      "enum": [
                        "ALL",
                        "ACTIVE",
                        "NON_ACTIVE"
                      ],
                      "type": "string"
                    },
                    "pageSize": {
                      "description": "Optional. The number of results to return in each response.",
                      "format": "int32",
                      "location": "query",
                      "type": "integer"
                    },
                    "clusterName": {
                      "description": "Optional. If set, the returned jobs list includes only jobs that were submitted to the named cluster.",
                      "type": "string",
                      "location": "query"
                    }
                  },
                  "response": {
                    "$ref": "ListJobsResponse"
                  },
                  "parameterOrder": [
                    "projectId",
                    "region"
                  ],
                  "httpMethod": "GET",
                  "path": "v1/projects/{projectId}/regions/{region}/jobs",
                  "flatPath": "v1/projects/{projectId}/regions/{region}/jobs",
                  "id": "dataproc.projects.regions.jobs.list",
                  "description": "Lists regions/{region}/jobs in a project."
                },
                "delete": {
                  "flatPath": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}",
                  "path": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}",
                  "parameters": {
                    "jobId": {
                      "required": true,
                      "description": "Required. The job ID.",
                      "location": "path",
                      "type": "string"
                    },
                    "projectId": {
                      "description": "Required. The ID of the Cloud de Confiance Platform project that the job belongs to.",
                      "required": true,
                      "location": "path",
                      "type": "string"
                    },
                    "region": {
                      "description": "Required. The Dataproc region in which to handle the request.",
                      "location": "path",
                      "type": "string",
                      "required": true
                    }
                  },
                  "response": {
                    "$ref": "Empty"
                  },
                  "description": "Deletes the job from the project. If the job is active, the delete fails, and the response returns `FAILED_PRECONDITION`.",
                  "httpMethod": "DELETE",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "id": "dataproc.projects.regions.jobs.delete",
                  "parameterOrder": [
                    "projectId",
                    "region",
                    "jobId"
                  ]
                },
                "setIamPolicy": {
                  "description": "The google.iam.v1.IAMPolicy.SetIamPolicy method is not available in this (s3nsapis.fr) universe.",
                  "id": "dataproc.projects.regions.jobs.setIamPolicy",
                  "httpMethod": "POST",
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/jobs/{jobsId}:setIamPolicy",
                  "parameterOrder": [
                    "resource"
                  ],
                  "request": {
                    "$ref": "SetIamPolicyRequest"
                  },
                  "parameters": {
                    "resource": {
                      "required": true,
                      "pattern": "^projects/[^/]+/regions/[^/]+/jobs/[^/]+$",
                      "location": "path",
                      "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://documentation.s3ns.fr/apis/design/resource_names) for the appropriate value for this field.",
                      "type": "string"
                    }
                  },
                  "response": {
                    "$ref": "Policy"
                  },
                  "path": "v1/{+resource}:setIamPolicy",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ]
                },
                "get": {
                  "id": "dataproc.projects.regions.jobs.get",
                  "parameters": {
                    "jobId": {
                      "required": true,
                      "type": "string",
                      "description": "Required. The job ID.",
                      "location": "path"
                    },
                    "region": {
                      "location": "path",
                      "required": true,
                      "description": "Required. The Dataproc region in which to handle the request.",
                      "type": "string"
                    },
                    "projectId": {
                      "type": "string",
                      "location": "path",
                      "description": "Required. The ID of the Cloud de Confiance Platform project that the job belongs to.",
                      "required": true
                    }
                  },
                  "response": {
                    "$ref": "Job"
                  },
                  "parameterOrder": [
                    "projectId",
                    "region",
                    "jobId"
                  ],
                  "path": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}",
                  "httpMethod": "GET",
                  "description": "Gets the resource representation for a job in a project.",
                  "flatPath": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc",
                    "https://www.googleapis.com/auth/dataproc.read-only"
                  ]
                },
                "submit": {
                  "parameters": {
                    "projectId": {
                      "required": true,
                      "type": "string",
                      "description": "Required. The ID of the Cloud de Confiance Platform project that the job belongs to.",
                      "location": "path"
                    },
                    "region": {
                      "description": "Required. The Dataproc region in which to handle the request.",
                      "type": "string",
                      "required": true,
                      "location": "path"
                    }
                  },
                  "response": {
                    "$ref": "Job"
                  },
                  "id": "dataproc.projects.regions.jobs.submit",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "request": {
                    "$ref": "SubmitJobRequest"
                  },
                  "httpMethod": "POST",
                  "flatPath": "v1/projects/{projectId}/regions/{region}/jobs:submit",
                  "description": "Submits a job to a cluster.",
                  "path": "v1/projects/{projectId}/regions/{region}/jobs:submit",
                  "parameterOrder": [
                    "projectId",
                    "region"
                  ]
                },
                "cancel": {
                  "flatPath": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}:cancel",
                  "parameterOrder": [
                    "projectId",
                    "region",
                    "jobId"
                  ],
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "path": "v1/projects/{projectId}/regions/{region}/jobs/{jobId}:cancel",
                  "httpMethod": "POST",
                  "description": "Starts a job cancellation request. To access the job resource after cancellation, call [regions/{region}/jobs.list](https://documentation.s3ns.fr/dataproc/docs/reference/rest/v1/projects.regions.jobs/list) or [regions/{region}/jobs.get](https://documentation.s3ns.fr/dataproc/docs/reference/rest/v1/projects.regions.jobs/get).",
                  "request": {
                    "$ref": "CancelJobRequest"
                  },
                  "parameters": {
                    "region": {
                      "type": "string",
                      "required": true,
                      "location": "path",
                      "description": "Required. The Dataproc region in which to handle the request."
                    },
                    "projectId": {
                      "description": "Required. The ID of the Cloud de Confiance Platform project that the job belongs to.",
                      "location": "path",
                      "type": "string",
                      "required": true
                    },
                    "jobId": {
                      "type": "string",
                      "description": "Required. The job ID.",
                      "required": true,
                      "location": "path"
                    }
                  },
                  "id": "dataproc.projects.regions.jobs.cancel",
                  "response": {
                    "$ref": "Job"
                  }
                },
                "submitAsOperation": {
                  "id": "dataproc.projects.regions.jobs.submitAsOperation",
                  "httpMethod": "POST",
                  "response": {
                    "$ref": "Operation"
                  },
                  "parameterOrder": [
                    "projectId",
                    "region"
                  ],
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "description": "Submits job to a cluster.",
                  "parameters": {
                    "projectId": {
                      "required": true,
                      "type": "string",
                      "location": "path",
                      "description": "Required. The ID of the Cloud de Confiance Platform project that the job belongs to."
                    },
                    "region": {
                      "description": "Required. The Dataproc region in which to handle the request.",
                      "type": "string",
                      "required": true,
                      "location": "path"
                    }
                  },
                  "flatPath": "v1/projects/{projectId}/regions/{region}/jobs:submitAsOperation",
                  "path": "v1/projects/{projectId}/regions/{region}/jobs:submitAsOperation",
                  "request": {
                    "$ref": "SubmitJobRequest"
                  }
                },
                "testIamPermissions": {
                  "description": "The google.iam.v1.IAMPolicy.TestIamPermissions method is not available in this (s3nsapis.fr) universe.",
                  "parameters": {
                    "resource": {
                      "type": "string",
                      "pattern": "^projects/[^/]+/regions/[^/]+/jobs/[^/]+$",
                      "required": true,
                      "location": "path",
                      "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://documentation.s3ns.fr/apis/design/resource_names) for the appropriate value for this field."
                    }
                  },
                  "path": "v1/{+resource}:testIamPermissions",
                  "response": {
                    "$ref": "TestIamPermissionsResponse"
                  },
                  "request": {
                    "$ref": "TestIamPermissionsRequest"
                  },
                  "httpMethod": "POST",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "id": "dataproc.projects.regions.jobs.testIamPermissions",
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/jobs/{jobsId}:testIamPermissions",
                  "parameterOrder": [
                    "resource"
                  ]
                },
                "getIamPolicy": {
                  "description": "The google.iam.v1.IAMPolicy.GetIamPolicy method is not available in this (s3nsapis.fr) universe.",
                  "httpMethod": "POST",
                  "id": "dataproc.projects.regions.jobs.getIamPolicy",
                  "response": {
                    "$ref": "Policy"
                  },
                  "parameterOrder": [
                    "resource"
                  ],
                  "path": "v1/{+resource}:getIamPolicy",
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform",
                    "https://www.googleapis.com/auth/dataproc"
                  ],
                  "flatPath": "v1/projects/{projectsId}/regions/{regionsId}/jobs/{jobsId}:getIamPolicy",
                  "parameters": {
                    "resource": {
                      "required": true,
                      "type": "string",
                      "location": "path",
                      "pattern": "^projects/[^/]+/regions/[^/]+/jobs/[^/]+$",
                      "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://documentation.s3ns.fr/apis/design/resource_names) for the appropriate value for this field."
                    }
                  },
                  "request": {
                    "$ref": "GetIamPolicyRequest"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "ownerName": "Google",
  "protocol": "rest",
  "icons": {
    "x16": "",
    "x32": ""
  },
  "ownerDomain": "google.com",
  "rootUrl": "https://dataproc.s3nsapis.fr/",
  "schemas": {
    "MultiZoneConfig": {
      "properties": {
        "targetShape": {
          "enum": [
            "TARGET_SHAPE_UNSPECIFIED",
            "ANY"
          ],
          "enumDescriptions": [
            "Target shape is unspecified. Setting this will cause error.",
            "Instances may exist in any Zones within the Region."
          ],
          "type": "string",
          "description": "Optional. The distribution shape of the nodes in the multi-zonal cluster."
        }
      },
      "description": "Configuration for multi-zonal clusters that can create instances across multiple Zones within the Region.",
      "id": "MultiZoneConfig",
      "type": "object"
    },
    "DriverSchedulingConfig": {
      "description": "Driver scheduling configuration.",
      "id": "DriverSchedulingConfig",
      "type": "object",
      "properties": {
        "memoryMb": {
          "format": "int32",
          "type": "integer",
          "description": "Required. The amount of memory in MB the driver is requesting."
        },
        "vcores": {
          "format": "int32",
          "type": "integer",
          "description": "Required. The number of vCPUs the driver is requesting."
        }
      }
    },
    "InstanceFlexibilityPolicy": {
      "id": "InstanceFlexibilityPolicy",
      "properties": {
        "instanceSelectionList": {
          "type": "array",
          "description": "Optional. List of instance selection options that the group will use when creating new VMs.",
          "items": {
            "$ref": "InstanceSelection"
          }
        },
        "instanceMachineTypes": {
          "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.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "readOnly": true
        },
        "instanceSelectionResults": {
          "type": "array",
          "items": {
            "$ref": "InstanceSelectionResult"
          },
          "readOnly": true,
          "description": "Output only. A list of instance selection results in the group."
        },
        "provisioningModelMix": {
          "description": "Optional. Defines how the Group selects the provisioning model to ensure required reliability.",
          "$ref": "ProvisioningModelMix"
        }
      },
      "description": "Instance flexibility Policy allowing a mixture of VM shapes and provisioning models.",
      "type": "object"
    },
    "SparkRJob": {
      "properties": {
        "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."
        },
        "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.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "properties": {
          "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",
          "additionalProperties": {
            "type": "string"
          }
        },
        "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."
        },
        "fileUris": {
          "description": "Optional. HCFS URIs of files to be placed in the working directory of each executor. Useful for naively parallel tasks.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "description": "A Dataproc job for running [Apache SparkR](https://spark.apache.org/docs/latest/sparkr.html) applications on YARN.",
      "id": "SparkRJob",
      "type": "object"
    },
    "NodeGroupOperationMetadata": {
      "type": "object",
      "id": "NodeGroupOperationMetadata",
      "properties": {
        "clusterUuid": {
          "readOnly": true,
          "description": "Output only. Cluster UUID associated with the node group operation.",
          "type": "string"
        },
        "statusHistory": {
          "items": {
            "$ref": "ClusterOperationStatus"
          },
          "description": "Output only. The previous operation status.",
          "readOnly": true,
          "type": "array"
        },
        "labels": {
          "description": "Output only. Labels associated with the operation.",
          "readOnly": true,
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "warnings": {
          "description": "Output only. Errors encountered during operation execution.",
          "readOnly": true,
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "status": {
          "readOnly": true,
          "description": "Output only. Current operation status.",
          "$ref": "ClusterOperationStatus"
        },
        "description": {
          "readOnly": true,
          "description": "Output only. Short description of operation.",
          "type": "string"
        },
        "nodeGroupId": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. Node group ID for the operation."
        },
        "operationType": {
          "type": "string",
          "enum": [
            "NODE_GROUP_OPERATION_TYPE_UNSPECIFIED",
            "CREATE",
            "UPDATE",
            "DELETE",
            "RESIZE",
            "REPAIR",
            "UPDATE_LABELS",
            "START",
            "STOP",
            "UPDATE_METADATA_CONFIG"
          ],
          "description": "The operation type.",
          "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": "Metadata describing the node group operation."
    },
    "NodePool": {
      "type": "object",
      "id": "NodePool",
      "description": "indicating a list of workers of same type",
      "properties": {
        "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"
          },
          "description": "Name of instances to be repaired. These instances must belong to specified node pool.",
          "type": "array"
        },
        "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."
        }
      }
    },
    "JobMetadata": {
      "description": "Job Operation metadata.",
      "properties": {
        "startTime": {
          "description": "Output only. Job submission time.",
          "format": "google-datetime",
          "type": "string",
          "readOnly": true
        },
        "jobId": {
          "type": "string",
          "description": "Output only. The job id.",
          "readOnly": true
        },
        "status": {
          "readOnly": true,
          "$ref": "JobStatus",
          "description": "Output only. Most recent job status."
        },
        "operationType": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. Operation type."
        }
      },
      "id": "JobMetadata",
      "type": "object"
    },
    "ClusterConfig": {
      "id": "ClusterConfig",
      "type": "object",
      "description": "The cluster config.",
      "properties": {
        "encryptionConfig": {
          "description": "Optional. Encryption settings for the cluster.",
          "$ref": "EncryptionConfig"
        },
        "workerConfig": {
          "description": "Optional. The Compute Engine config settings for the cluster's worker instances.",
          "$ref": "InstanceGroupConfig"
        },
        "tempBucket": {
          "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, Dataproc 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 [Dataproc staging and temp buckets](https://documentation.s3ns.fr/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"
        },
        "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://documentation.s3ns.fr/dataproc/docs/guides/lightning-engine) cluster."
          ],
          "description": "Optional. The cluster engine.",
          "enum": [
            "ENGINE_UNSPECIFIED",
            "DEFAULT",
            "LIGHTNING"
          ]
        },
        "masterConfig": {
          "description": "Optional. The Compute Engine config settings for the cluster's master instance.",
          "$ref": "InstanceGroupConfig"
        },
        "gkeClusterConfig": {
          "deprecated": true,
          "$ref": "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."
        },
        "schedulingConfig": {
          "$ref": "SchedulingConfig",
          "description": "Optional. Config for scheduling the resources to be allocated when available."
        },
        "secondaryWorkerFlexibleConfig": {
          "description": "Optional. The High Obtainability (HO) config settings for a cluster's secondary worker instances. In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. `num_instances` represents the desired capacity of the secondary worker group and is mutable via cluster updates and autoscaling. Only one of secondary_worker_config or `secondary_worker_flexible_config` can be set. In High Obtainability (HO) mode, secondary workers are optional. If secondary workers are used in an HO cluster, they must be configured using `secondary_worker_flexible_config` (not `secondary_worker_config`).",
          "$ref": "FlexibleInstanceGroupConfig"
        },
        "softwareConfig": {
          "$ref": "SoftwareConfig",
          "description": "Optional. The config settings for cluster software."
        },
        "masterFlexibleConfig": {
          "$ref": "FlexibleInstanceGroupConfig",
          "description": "Optional. The High Obtainability (HO) config settings for the cluster's master instances. In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration across node groups: * For single-node clusters: `master_flexible_config` must be specified, and no worker configs should be set. * For multi-node (standard) clusters: both `master_flexible_config` and worker_flexible_config must be specified. Mixing standard and flexible configs across node groups is not allowed. Only one of master_config or `master_flexible_config` can be set."
        },
        "lifecycleConfig": {
          "$ref": "LifecycleConfig",
          "description": "Optional. Lifecycle setting for the cluster."
        },
        "initializationActions": {
          "type": "array",
          "items": {
            "$ref": "NodeInitializationAction"
          },
          "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"
        },
        "auxiliaryNodeGroups": {
          "description": "Optional. The node group settings.",
          "items": {
            "$ref": "AuxiliaryNodeGroup"
          },
          "type": "array"
        },
        "securityConfig": {
          "description": "Optional. Security settings for the cluster.",
          "$ref": "SecurityConfig"
        },
        "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, Cloud Dataproc 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 [Dataproc staging and temp buckets](https://documentation.s3ns.fr/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"
        },
        "secondaryWorkerConfig": {
          "description": "Optional. The Compute Engine config settings for a cluster's secondary worker instances",
          "$ref": "InstanceGroupConfig"
        },
        "dataprocMetricConfig": {
          "description": "Optional. The config for metrics.",
          "$ref": "DataprocMetricConfig"
        },
        "clusterType": {
          "enum": [
            "CLUSTER_TYPE_UNSPECIFIED",
            "STANDARD",
            "SINGLE_NODE",
            "ZERO_SCALE"
          ],
          "description": "Optional. The type of the cluster.",
          "type": "string",
          "enumDescriptions": [
            "Not set.",
            "Standard dataproc cluster with a minimum of two primary workers.",
            "https://documentation.s3ns.fr/dataproc/docs/concepts/configuring-clusters/single-node-clusters",
            "Clusters that can use only secondary workers and be scaled down to zero secondary worker nodes."
          ]
        },
        "workerFlexibleConfig": {
          "$ref": "FlexibleInstanceGroupConfig",
          "description": "Optional. The High Obtainability (HO) config settings for the cluster's worker instances. In High Obtainability (HO) mode, flexible configs are the single source of truth for desired cluster configuration. `num_instances` represents the desired capacity of the worker group and is mutable via cluster updates and autoscaling. Only one of worker_config or `worker_flexible_config` can be set. In High Obtainability (HO) mode, for multi-node (standard) clusters, both master_flexible_config and `worker_flexible_config` must be specified. Mixing standard and flexible configs across node groups is not allowed. Single-node clusters do not specify worker configs."
        },
        "diagnosticBucket": {
          "description": "Optional. A Cloud Storage bucket used to collect [checkpoint diagnostic data] (https://documentation.s3ns.fr/dataproc/docs/support/diagnose-clusters#checkpoint_diagnostic_data). If you do not specify a diagnostic bucket, Cloud Dataproc will use the Dataproc 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"
        },
        "clusterTier": {
          "enum": [
            "CLUSTER_TIER_UNSPECIFIED",
            "CLUSTER_TIER_STANDARD",
            "CLUSTER_TIER_PREMIUM"
          ],
          "description": "Optional. The cluster tier.",
          "enumDescriptions": [
            "Uses standard tier if unspecified.",
            "Standard cluster tier.",
            "Premium cluster tier."
          ],
          "type": "string"
        },
        "metastoreConfig": {
          "description": "Optional. Metastore configuration.",
          "$ref": "MetastoreConfig"
        },
        "gceClusterConfig": {
          "$ref": "GceClusterConfig",
          "description": "Optional. The shared Compute Engine config settings for all instances in a cluster."
        }
      }
    },
    "Metric": {
      "properties": {
        "metricSource": {
          "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"
          ],
          "type": "string",
          "description": "Required. A standard set of metrics is collected unless `metricOverrides` are specified for the metric source (see [Custom metrics] (https://documentation.s3ns.fr/dataproc/docs/guides/dataproc-metrics#custom_metrics) for more information)."
        },
        "metricOverrides": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Optional. Specify one or more [Custom metrics] (https://documentation.s3ns.fr/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."
        }
      },
      "id": "Metric",
      "description": "A custom metric.",
      "type": "object"
    },
    "GetIamPolicyRequest": {
      "description": "Request message for `GetIamPolicy` method.",
      "type": "object",
      "id": "GetIamPolicyRequest",
      "properties": {
        "options": {
          "$ref": "GetPolicyOptions",
          "description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`."
        }
      }
    },
    "KerberosConfig": {
      "id": "KerberosConfig",
      "type": "object",
      "description": "Specifies Kerberos related configuration.",
      "properties": {
        "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."
        },
        "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."
        },
        "truststorePasswordUri": {
          "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.",
          "type": "string"
        },
        "crossRealmTrustKdc": {
          "description": "Optional. The KDC (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"
        },
        "kmsKeyUri": {
          "type": "string",
          "description": "Optional. The URI of the KMS key used to encrypt sensitive files."
        },
        "kdcDbKeyUri": {
          "type": "string",
          "description": "Optional. The Cloud Storage URI of a KMS encrypted file containing the master key of the KDC database."
        },
        "keystorePasswordUri": {
          "type": "string",
          "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."
        },
        "crossRealmTrustRealm": {
          "type": "string",
          "description": "Optional. The remote realm the on-cluster KDC will trust, should the user enable cross realm trust."
        },
        "rootPrincipalPasswordUri": {
          "description": "Optional. The Cloud Storage URI of a KMS encrypted file containing the root principal password.",
          "type": "string"
        },
        "crossRealmTrustAdminServer": {
          "description": "Optional. The admin server (IP or hostname) for the remote trusted realm in a cross realm trust relationship.",
          "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."
        },
        "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"
        },
        "truststoreUri": {
          "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.",
          "type": "string"
        },
        "tgtLifetimeHours": {
          "type": "integer",
          "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.",
          "format": "int32"
        }
      }
    },
    "CancelJobRequest": {
      "description": "A request to cancel a job.",
      "id": "CancelJobRequest",
      "type": "object",
      "properties": {}
    },
    "LoggingConfig": {
      "type": "object",
      "description": "The runtime logging config of the job.",
      "properties": {
        "driverLogLevels": {
          "type": "object",
          "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'",
          "additionalProperties": {
            "enum": [
              "LEVEL_UNSPECIFIED",
              "ALL",
              "TRACE",
              "DEBUG",
              "INFO",
              "WARN",
              "ERROR",
              "FATAL",
              "OFF"
            ],
            "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."
            ],
            "type": "string"
          }
        }
      },
      "id": "LoggingConfig"
    },
    "Job": {
      "properties": {
        "driverOutputResourceUri": {
          "readOnly": true,
          "description": "Output only. A URI pointing to the location of the stdout of the job's driver program.",
          "type": "string"
        },
        "status": {
          "$ref": "JobStatus",
          "description": "Output only. The job status. Additional application-specific status information might be contained in the type_job and yarn_applications fields.",
          "readOnly": true
        },
        "jobUuid": {
          "type": "string",
          "readOnly": true,
          "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."
        },
        "pysparkJob": {
          "description": "Optional. Job is a PySpark job.",
          "$ref": "PySparkJob"
        },
        "scheduling": {
          "$ref": "JobScheduling",
          "description": "Optional. Job scheduling configuration."
        },
        "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"
        },
        "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."
        },
        "hiveJob": {
          "description": "Optional. Job is a Hive job.",
          "$ref": "HiveJob"
        },
        "yarnApplications": {
          "readOnly": true,
          "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."
        },
        "labels": {
          "additionalProperties": {
            "type": "string"
          },
          "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.",
          "type": "object"
        },
        "driverSchedulingConfig": {
          "$ref": "DriverSchedulingConfig",
          "description": "Optional. Driver scheduling configuration."
        },
        "driverControlFilesUri": {
          "type": "string",
          "readOnly": true,
          "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`."
        },
        "sparkJob": {
          "$ref": "SparkJob",
          "description": "Optional. Job is a Spark job."
        },
        "sparkSqlJob": {
          "$ref": "SparkSqlJob",
          "description": "Optional. Job is a SparkSql job."
        },
        "pigJob": {
          "description": "Optional. Job is a Pig job.",
          "$ref": "PigJob"
        },
        "placement": {
          "$ref": "JobPlacement",
          "description": "Required. Job information, including how, when, and where to run the job."
        },
        "hadoopJob": {
          "$ref": "HadoopJob",
          "description": "Optional. Job is a Hadoop job."
        },
        "statusHistory": {
          "description": "Output only. The previous job status.",
          "readOnly": true,
          "items": {
            "$ref": "JobStatus"
          },
          "type": "array"
        },
        "sparkRJob": {
          "$ref": "SparkRJob",
          "description": "Optional. Job is a SparkR job."
        }
      },
      "description": "A Dataproc job resource.",
      "id": "Job",
      "type": "object"
    },
    "NodeGroupAffinity": {
      "type": "object",
      "id": "NodeGroupAffinity",
      "properties": {
        "nodeGroupUri": {
          "description": "Required. The URI of a sole-tenant [node group resource](https://documentation.s3ns.fr/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"
        }
      },
      "description": "Node Group Affinity for clusters using sole-tenant node groups. **The `NodeGroupAffinity` resource is not related to the NodeGroup resource.**"
    },
    "GetPolicyOptions": {
      "properties": {
        "requestedPolicyVersion": {
          "type": "integer",
          "format": "int32",
          "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://documentation.s3ns.fr/iam/help/conditions/resource-policies)."
        }
      },
      "description": "Encapsulates settings provided to GetIamPolicy.",
      "id": "GetPolicyOptions",
      "type": "object"
    },
    "SessionOperationMetadata": {
      "properties": {
        "operationType": {
          "enumDescriptions": [
            "Session operation type is unknown.",
            "Create Session operation type.",
            "Terminate Session operation type.",
            "Delete Session operation type."
          ],
          "enum": [
            "SESSION_OPERATION_TYPE_UNSPECIFIED",
            "CREATE",
            "TERMINATE",
            "DELETE"
          ],
          "description": "The operation type.",
          "type": "string"
        },
        "createTime": {
          "description": "The time when the operation was created.",
          "type": "string",
          "format": "google-datetime"
        },
        "session": {
          "description": "Name of the session for the operation.",
          "type": "string"
        },
        "warnings": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "Warnings encountered during operation execution."
        },
        "sessionUuid": {
          "description": "Session UUID for the operation.",
          "type": "string"
        },
        "description": {
          "description": "Short description of the operation.",
          "type": "string"
        },
        "labels": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Labels associated with the operation."
        },
        "doneTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "The time when the operation was finished."
        }
      },
      "description": "Metadata describing the Session operation.",
      "type": "object",
      "id": "SessionOperationMetadata"
    },
    "Cluster": {
      "properties": {
        "config": {
          "$ref": "ClusterConfig",
          "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."
        },
        "status": {
          "$ref": "ClusterStatus",
          "description": "Output only. Cluster status.",
          "readOnly": true
        },
        "projectId": {
          "type": "string",
          "description": "Required. The Cloud de Confiance Platform project ID that the cluster belongs to."
        },
        "statusHistory": {
          "type": "array",
          "readOnly": true,
          "description": "Output only. The previous cluster status.",
          "items": {
            "$ref": "ClusterStatus"
          }
        },
        "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"
        },
        "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": {
          "readOnly": true,
          "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.",
          "$ref": "ClusterMetrics"
        },
        "clusterUuid": {
          "description": "Output only. A cluster UUID (Unique Universal Identifier). The service generates this value when it creates the cluster.",
          "type": "string",
          "readOnly": true
        }
      },
      "id": "Cluster",
      "description": "Describes the identifying information, config, and status of a cluster",
      "type": "object"
    },
    "ListOperationsResponse": {
      "description": "The response message for Operations.ListOperations.",
      "id": "ListOperationsResponse",
      "properties": {
        "nextPageToken": {
          "description": "The standard List next-page token.",
          "type": "string"
        },
        "unreachable": {
          "items": {
            "type": "string"
          },
          "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.",
          "type": "array"
        },
        "operations": {
          "type": "array",
          "items": {
            "$ref": "Operation"
          },
          "description": "A list of operations that matches the specified filter in the request."
        }
      },
      "type": "object"
    },
    "ClusterStatus": {
      "properties": {
        "stateStartTime": {
          "type": "string",
          "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"
        },
        "state": {
          "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,
          "type": "string"
        },
        "detail": {
          "description": "Optional. Details of cluster's state.",
          "type": "string"
        },
        "substate": {
          "type": "string",
          "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."
          ],
          "description": "Output only. Additional state information that includes status reported by the agent.",
          "enum": [
            "UNSPECIFIED",
            "UNHEALTHY",
            "STALE_STATUS"
          ],
          "readOnly": true
        }
      },
      "id": "ClusterStatus",
      "description": "The status of a cluster and its instances.",
      "type": "object"
    },
    "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": {
          "description": "Optional. A unique ID used to identify the request. If the server receives two [StartClusterRequest](https://documentation.s3ns.fr/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.",
          "type": "string"
        }
      },
      "id": "StartClusterRequest",
      "description": "A request to start a cluster.",
      "type": "object"
    },
    "MetastoreConfig": {
      "properties": {
        "dataprocMetastoreService": {
          "description": "Required. Resource name of an existing Metastore service. Example: * `projects/[project_id]/locations/[dataproc_region]/services/[service-name]`",
          "type": "string"
        }
      },
      "type": "object",
      "description": "Specifies a Metastore configuration.",
      "id": "MetastoreConfig"
    },
    "GkeClusterConfig": {
      "description": "The cluster's GKE config.",
      "properties": {
        "nodePoolTarget": {
          "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",
          "items": {
            "$ref": "GkeNodePoolTarget"
          }
        },
        "namespacedGkeDeploymentTarget": {
          "$ref": "NamespacedGkeDeploymentTarget",
          "deprecated": true,
          "description": "Optional. Deprecated. Use gkeClusterTarget. Used only for the deprecated beta. A target for the deployment."
        },
        "gkeClusterTarget": {
          "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": "string"
        }
      },
      "id": "GkeClusterConfig",
      "type": "object"
    },
    "ShieldedInstanceConfig": {
      "type": "object",
      "properties": {
        "enableSecureBoot": {
          "type": "boolean",
          "description": "Optional. Defines whether instances have Secure Boot enabled."
        },
        "enableVtpm": {
          "type": "boolean",
          "description": "Optional. Defines whether instances have the vTPM enabled."
        },
        "enableIntegrityMonitoring": {
          "description": "Optional. Defines whether instances have integrity monitoring enabled.",
          "type": "boolean"
        }
      },
      "id": "ShieldedInstanceConfig",
      "description": "Shielded Instance Config for clusters using [Compute Engine Shielded VMs](https://documentation.s3ns.fr/security/shielded-cloud/shielded-vm)."
    },
    "ListClustersResponse": {
      "type": "object",
      "properties": {
        "clusters": {
          "description": "Output only. The clusters in the project.",
          "type": "array",
          "items": {
            "$ref": "Cluster"
          },
          "readOnly": true
        },
        "nextPageToken": {
          "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`.",
          "type": "string",
          "readOnly": true
        }
      },
      "description": "The list of all clusters in a project.",
      "id": "ListClustersResponse"
    },
    "ProvisioningModelMix": {
      "description": "Defines how to create VMs with a mixture of provisioning models.",
      "id": "ProvisioningModelMix",
      "type": "object",
      "properties": {
        "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."
        },
        "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"
        }
      }
    },
    "JobScheduling": {
      "type": "object",
      "description": "Job scheduling options.",
      "id": "JobScheduling",
      "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://documentation.s3ns.fr/dataproc/docs/concepts/workflows/using-workflows#adding_jobs_to_a_template).",
          "format": "int32"
        },
        "maxFailuresPerHour": {
          "type": "integer",
          "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://documentation.s3ns.fr/dataproc/docs/concepts/workflows/using-workflows#adding_jobs_to_a_template).",
          "format": "int32"
        }
      }
    },
    "YarnApplication": {
      "type": "object",
      "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"
        },
        "memoryMbSeconds": {
          "type": "string",
          "description": "Optional. The cumulative memory usage of the application for a job, measured in mb-seconds.",
          "format": "int64"
        },
        "vcoreSeconds": {
          "type": "string",
          "format": "int64",
          "description": "Optional. The cumulative CPU time consumed by the application for a job, measured in vcore-seconds."
        },
        "name": {
          "type": "string",
          "description": "Required. The application name."
        },
        "progress": {
          "description": "Required. The numerical progress of the application, from 1 to 100.",
          "format": "float",
          "type": "number"
        },
        "state": {
          "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."
          ],
          "type": "string",
          "enum": [
            "STATE_UNSPECIFIED",
            "NEW",
            "NEW_SAVING",
            "SUBMITTED",
            "ACCEPTED",
            "RUNNING",
            "FINISHED",
            "FAILED",
            "KILLED"
          ],
          "description": "Required. The application state."
        }
      },
      "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."
    },
    "LifecycleConfig": {
      "id": "LifecycleConfig",
      "type": "object",
      "properties": {
        "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"
        },
        "autoDeleteTtl": {
          "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)).",
          "format": "google-duration"
        },
        "autoDeleteTime": {
          "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)).",
          "type": "string"
        },
        "idleStartTime": {
          "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)).",
          "readOnly": true,
          "format": "google-datetime"
        },
        "idleDeleteTtl": {
          "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)).",
          "format": "google-duration",
          "type": "string"
        },
        "autoStopTime": {
          "description": "Optional. The time when cluster will be auto-stopped (see JSON representation of [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).",
          "type": "string",
          "format": "google-datetime"
        },
        "idleStopTtl": {
          "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)).",
          "format": "google-duration",
          "type": "string"
        }
      },
      "description": "Specifies the cluster auto-delete schedule configuration."
    },
    "ClusterToRepair": {
      "id": "ClusterToRepair",
      "type": "object",
      "properties": {
        "clusterRepairAction": {
          "enum": [
            "CLUSTER_REPAIR_ACTION_UNSPECIFIED",
            "REPAIR_ERROR_DUE_TO_UPDATE_CLUSTER"
          ],
          "description": "Required. Repair action to take on the cluster resource.",
          "type": "string",
          "enumDescriptions": [
            "No action will be taken by default.",
            "Repair cluster in ERROR_DUE_TO_UPDATE states."
          ]
        }
      },
      "description": "Cluster to be repaired"
    },
    "Binding": {
      "id": "Binding",
      "properties": {
        "members": {
          "items": {
            "type": "string"
          },
          "description": "Specifies the principals requesting access for a Cloud de Confiance resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a 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 account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a 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://documentation.s3ns.fr/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 group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `s3nsapis.fr` 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 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"
        },
        "role": {
          "type": "string",
          "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://documentation.s3ns.fr/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://documentation.s3ns.fr/iam/docs/understanding-roles)."
        },
        "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://documentation.s3ns.fr/iam/help/conditions/resource-policies).",
          "$ref": "Expr"
        }
      },
      "type": "object",
      "description": "Associates `members`, or principals, with a `role`."
    },
    "GkeNodePoolAcceleratorConfig": {
      "description": "A GkeNodeConfigAcceleratorConfig represents a Hardware Accelerator request for a node pool.",
      "properties": {
        "gpuPartitionSize": {
          "type": "string",
          "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)."
        },
        "acceleratorType": {
          "description": "The accelerator type resource namename (see GPUs on Compute Engine).",
          "type": "string"
        },
        "acceleratorCount": {
          "description": "The number of accelerator cards exposed to an instance.",
          "format": "int64",
          "type": "string"
        }
      },
      "id": "GkeNodePoolAcceleratorConfig",
      "type": "object"
    },
    "ClusterOperationStatus": {
      "type": "object",
      "properties": {
        "stateStartTime": {
          "format": "google-datetime",
          "readOnly": true,
          "type": "string",
          "description": "Output only. The time this state was entered."
        },
        "details": {
          "description": "Output only. A message containing any operation metadata details.",
          "readOnly": true,
          "type": "string"
        },
        "innerState": {
          "description": "Output only. A message containing the detailed operation state.",
          "readOnly": true,
          "type": "string"
        },
        "state": {
          "enum": [
            "UNKNOWN",
            "PENDING",
            "RUNNING",
            "DONE"
          ],
          "description": "Output only. A message containing the operation state.",
          "type": "string",
          "enumDescriptions": [
            "Unused.",
            "The operation has been created.",
            "The operation is running.",
            "The operation is done; either cancelled or completed."
          ],
          "readOnly": true
        }
      },
      "description": "The status of the operation.",
      "id": "ClusterOperationStatus"
    },
    "FlexibleInstanceGroupConfig": {
      "properties": {
        "coreCount": {
          "description": "Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks.",
          "type": "integer",
          "format": "int32"
        },
        "bootDiskSizeGb": {
          "description": "Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks.",
          "type": "integer",
          "format": "int32"
        },
        "numInstances": {
          "description": "Optional. The number of VM instances requested. For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling.",
          "type": "integer",
          "format": "int32"
        },
        "hardwareClass": {
          "enum": [
            "HARDWARE_CLASS_UNSPECIFIED",
            "STANDARD",
            "PERFORMANCE"
          ],
          "enumDescriptions": [
            "Unspecified hardware class.",
            "Standard hardware class. Provides a balanced compute configuration with approximately 4GB of memory per vCPU and standard disk storage tiers. Candidate machine types include `n4-standard`, `n4d-standard`, `n2-standard`, and `n2d-standard` (Rank 0), and `c4-standard` and `c4d-standard` (Rank 1) (for requested core counts 2, 4, 8, 16, 32). Warning: The specific machine families and types selected for this hardware class are subject to change. Users should not take a dependency on the underlying machine type selection.",
            "Performance hardware class. Provides a high-performance configuration with approximately 8GB of memory per vCPU (e.g. high-memory machine types) and higher-tier disk configurations (e.g. higher IOPS and throughput). Candidate machine types include `n4-highmem`, `n4d-highmem`, `n2-highmem`, and `n2d-highmem` (Rank 0), and `c4-highmem` and `c4d-highmem` (Rank 1) (for requested core counts 2, 4, 8, 16, 32). `n4`, `n4d`, `c4`, and `c4d` use Hyperdisk Balanced with provisioned storage, whereas `n2` and `n2d` use SSD persistent disks. Warning: The specific machine families and types selected for this hardware class are subject to change. Users should not take a dependency on the underlying machine type selection."
          ],
          "description": "Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks.",
          "type": "string"
        }
      },
      "id": "FlexibleInstanceGroupConfig",
      "description": "The configuration for High Obtainability (HO) flexible instance groups. Flexible instance group configs serve as the single source of truth for desired state.",
      "type": "object"
    },
    "Status": {
      "properties": {
        "details": {
          "items": {
            "type": "object",
            "additionalProperties": {
              "type": "any",
              "description": "Properties of the object. Contains field @type with type URL."
            }
          },
          "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.",
          "type": "array"
        },
        "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."
        },
        "code": {
          "type": "integer",
          "description": "The status code, which should be an enum value of google.rpc.Code.",
          "format": "int32"
        }
      },
      "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://documentation.s3ns.fr/apis/design/errors).",
      "id": "Status",
      "type": "object"
    },
    "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": {
        "args": {
          "type": "array",
          "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.",
          "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. Useful for naively parallel tasks."
        },
        "mainPythonFileUri": {
          "description": "Required. The HCFS URI of the main Python file to use as the driver. Must be a .py file.",
          "type": "string"
        },
        "pythonFileUris": {
          "description": "Optional. HCFS file URIs of Python files to pass to the PySpark framework. Supported file types: .py, .egg, and .zip.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "jarFileUris": {
          "description": "Optional. HCFS URIs of jar files to add to the CLASSPATHs of the Python driver and tasks.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "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.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "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.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "loggingConfig": {
          "description": "Optional. The runtime log config for job execution.",
          "$ref": "LoggingConfig"
        }
      },
      "id": "PySparkJob"
    },
    "BatchOperationMetadata": {
      "properties": {
        "doneTime": {
          "description": "The time when the operation finished.",
          "type": "string",
          "format": "google-datetime"
        },
        "operationType": {
          "enum": [
            "BATCH_OPERATION_TYPE_UNSPECIFIED",
            "BATCH"
          ],
          "type": "string",
          "enumDescriptions": [
            "Batch operation type is unknown.",
            "Batch operation type."
          ],
          "description": "The operation type."
        },
        "batchUuid": {
          "description": "Batch UUID for the operation.",
          "type": "string"
        },
        "createTime": {
          "format": "google-datetime",
          "type": "string",
          "description": "The time when the operation was created."
        },
        "labels": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Labels associated with the operation."
        },
        "batch": {
          "type": "string",
          "description": "Name of the batch for the operation."
        },
        "warnings": {
          "items": {
            "type": "string"
          },
          "description": "Warnings encountered during operation execution.",
          "type": "array"
        },
        "description": {
          "type": "string",
          "description": "Short description of the operation."
        }
      },
      "description": "Metadata describing the Batch operation.",
      "type": "object",
      "id": "BatchOperationMetadata"
    },
    "InstanceSelectionResult": {
      "type": "object",
      "properties": {
        "machineType": {
          "readOnly": true,
          "description": "Output only. Full machine-type names, e.g. \"n1-standard-16\".",
          "type": "string"
        },
        "vmCount": {
          "type": "integer",
          "readOnly": true,
          "format": "int32",
          "description": "Output only. Number of VM provisioned with the machine_type."
        }
      },
      "description": "Defines a mapping from machine types to the number of VMs that are created with each machine type.",
      "id": "InstanceSelectionResult"
    },
    "PigJob": {
      "description": "A Dataproc job for running [Apache Pig](https://pig.apache.org/) queries on YARN.",
      "id": "PigJob",
      "type": "object",
      "properties": {
        "queryFileUri": {
          "type": "string",
          "description": "The HCFS URI of the script that contains the Pig queries."
        },
        "loggingConfig": {
          "$ref": "LoggingConfig",
          "description": "Optional. The runtime log config for job execution."
        },
        "jarFileUris": {
          "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.",
          "type": "array"
        },
        "scriptVariables": {
          "description": "Optional. Mapping of query variable names to values (equivalent to the Pig command: `name=[value]`).",
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "properties": {
          "type": "object",
          "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."
        },
        "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."
        }
      }
    },
    "StopClusterRequest": {
      "properties": {
        "requestId": {
          "type": "string",
          "description": "Optional. A unique ID used to identify the request. If the server receives two [StopClusterRequest](https://documentation.s3ns.fr/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"
        }
      },
      "id": "StopClusterRequest",
      "type": "object",
      "description": "A request to stop a cluster."
    },
    "SubmitJobRequest": {
      "description": "A request to submit a job.",
      "id": "SubmitJobRequest",
      "properties": {
        "job": {
          "description": "Required. The job resource.",
          "$ref": "Job"
        },
        "requestId": {
          "type": "string",
          "description": "Optional. A unique id used to identify the request. If the server receives two [SubmitJobRequest](https://documentation.s3ns.fr/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": "object"
    },
    "ConfidentialInstanceConfig": {
      "type": "object",
      "properties": {
        "enableConfidentialCompute": {
          "description": "Optional. Deprecated: Use 'confidential_instance_type' instead. Defines whether the instance should have confidential compute enabled.",
          "deprecated": true,
          "type": "boolean"
        }
      },
      "id": "ConfidentialInstanceConfig",
      "description": "Confidential Instance Config for clusters using [Confidential VMs](https://documentation.s3ns.fr/compute/confidential-vm/docs)"
    },
    "GkeNodePoolAutoscalingConfig": {
      "type": "object",
      "description": "GkeNodePoolAutoscaling contains information the cluster autoscaler needs to adjust the size of the node pool to the current cluster usage.",
      "id": "GkeNodePoolAutoscalingConfig",
      "properties": {
        "minNodeCount": {
          "description": "The minimum number of nodes in the node pool. Must be \u003e= 0 and \u003c= max_node_count.",
          "format": "int32",
          "type": "integer"
        },
        "maxNodeCount": {
          "type": "integer",
          "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"
        }
      }
    },
    "Operation": {
      "description": "This resource represents a long-running operation that is the result of a network API call.",
      "properties": {
        "error": {
          "$ref": "Status",
          "description": "The error result of the operation in case of failure or cancellation."
        },
        "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"
        },
        "metadata": {
          "type": "object",
          "additionalProperties": {
            "description": "Properties of the object. Contains field @type with type URL.",
            "type": "any"
          },
          "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."
        },
        "response": {
          "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`.",
          "type": "object",
          "additionalProperties": {
            "type": "any",
            "description": "Properties of the object. Contains field @type with type URL."
          }
        },
        "name": {
          "type": "string",
          "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": "object",
      "id": "Operation"
    },
    "ListJobsResponse": {
      "id": "ListJobsResponse",
      "type": "object",
      "properties": {
        "jobs": {
          "type": "array",
          "description": "Output only. Jobs list.",
          "items": {
            "$ref": "Job"
          },
          "readOnly": true
        },
        "unreachable": {
          "readOnly": true,
          "items": {
            "type": "string"
          },
          "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.",
          "type": "array"
        },
        "nextPageToken": {
          "type": "string",
          "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."
        }
      },
      "description": "A list of jobs in a project."
    },
    "IdentityConfig": {
      "id": "IdentityConfig",
      "description": "Identity related configuration, including service account based secure multi-tenancy user mappings.",
      "properties": {
        "enableSsh": {
          "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.",
          "type": "boolean"
        },
        "userServiceAccountMapping": {
          "type": "object",
          "description": "Required. Map of user to service account.",
          "additionalProperties": {
            "type": "string"
          }
        }
      },
      "type": "object"
    },
    "NodeInitializationAction": {
      "id": "NodeInitializationAction",
      "description": "Specifies an executable to run on a fully configured node and a timeout period for executable completion.",
      "type": "object",
      "properties": {
        "executionTimeout": {
          "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.",
          "format": "google-duration"
        },
        "executableFile": {
          "type": "string",
          "description": "Required. Cloud Storage URI of executable file."
        }
      }
    },
    "DiagnoseClusterResults": {
      "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"
        }
      },
      "type": "object",
      "id": "DiagnoseClusterResults",
      "description": "The location of diagnostic output."
    },
    "AcceleratorConfig": {
      "id": "AcceleratorConfig",
      "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://documentation.s3ns.fr/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-t4` **Auto Zone Exception**: If you are using the Dataproc [Auto Zone Placement](https://documentation.s3ns.fr/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement) feature, 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."
        }
      },
      "description": "Specifies the type and number of accelerator cards attached to the instances of an instance. See [GPUs on Compute Engine](https://documentation.s3ns.fr/compute/docs/gpus/).",
      "type": "object"
    },
    "JobReference": {
      "id": "JobReference",
      "properties": {
        "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"
        },
        "projectId": {
          "description": "Optional. The ID of the Cloud de Confiance Platform project that the job belongs to. If specified, must match the request project ID.",
          "type": "string"
        }
      },
      "type": "object",
      "description": "Encapsulates the full scoping used to reference a job."
    },
    "ClusterOperationMetadata": {
      "id": "ClusterOperationMetadata",
      "properties": {
        "operationType": {
          "readOnly": true,
          "description": "Output only. The operation type.",
          "type": "string"
        },
        "description": {
          "description": "Output only. Short description of operation.",
          "type": "string",
          "readOnly": true
        },
        "clusterName": {
          "type": "string",
          "description": "Output only. Name of the cluster for the operation.",
          "readOnly": true
        },
        "status": {
          "readOnly": true,
          "description": "Output only. Current operation status.",
          "$ref": "ClusterOperationStatus"
        },
        "labels": {
          "type": "object",
          "readOnly": true,
          "additionalProperties": {
            "type": "string"
          },
          "description": "Output only. Labels associated with the operation"
        },
        "clusterUuid": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. Cluster UUID for the operation."
        },
        "childOperationIds": {
          "items": {
            "type": "string"
          },
          "readOnly": true,
          "description": "Output only. Child operation ids",
          "type": "array"
        },
        "warnings": {
          "type": "array",
          "description": "Output only. Errors encountered during operation execution.",
          "items": {
            "type": "string"
          },
          "readOnly": true
        },
        "statusHistory": {
          "description": "Output only. The previous operation status.",
          "readOnly": true,
          "type": "array",
          "items": {
            "$ref": "ClusterOperationStatus"
          }
        }
      },
      "description": "Metadata describing the operation.",
      "type": "object"
    },
    "InstanceGroupConfig": {
      "properties": {
        "minNumInstances": {
          "format": "int32",
          "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.",
          "type": "integer"
        },
        "startupConfig": {
          "description": "Optional. Configuration to handle the startup of instances during cluster create and update process.",
          "$ref": "StartupConfig"
        },
        "accelerators": {
          "description": "Optional. The Compute Engine accelerator configuration for these instances.",
          "type": "array",
          "items": {
            "$ref": "AcceleratorConfig"
          }
        },
        "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-id` Image 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."
        },
        "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`.",
          "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://documentation.s3ns.fr/compute/docs/instances/preemptible). This option is allowed only for [secondary worker] (https://documentation.s3ns.fr/dataproc/docs/concepts/compute/secondary-vms) groups.",
            "Instances are [Spot VMs] (https://documentation.s3ns.fr/compute/docs/instances/spot). This option is allowed only for [secondary worker] (https://documentation.s3ns.fr/dataproc/docs/concepts/compute/secondary-vms) groups. Spot VMs are the latest version of [preemptible VMs] (https://documentation.s3ns.fr/compute/docs/instances/preemptible), and provide additional features."
          ],
          "type": "string"
        },
        "minCpuPlatform": {
          "description": "Optional. Specifies the minimum cpu platform for the Instance Group. See [Dataproc -\u003e Minimum CPU Platform](https://documentation.s3ns.fr/dataproc/docs/concepts/compute/dataproc-min-cpu).",
          "type": "string"
        },
        "managedGroupConfig": {
          "$ref": "ManagedGroupConfig",
          "description": "Output only. The config for Compute Engine Instance Group Manager that manages this group. This is only used for preemptible instance groups.",
          "readOnly": true
        },
        "isPreemptible": {
          "readOnly": true,
          "description": "Output only. Specifies that this instance group contains preemptible instances.",
          "type": "boolean"
        },
        "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-2` **Auto Zone Exception**: If you are using the Dataproc [Auto Zone Placement](https://documentation.s3ns.fr/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement) feature, you must use the short name of the machine type resource, for example, `n1-standard-2`.",
          "type": "string"
        },
        "instanceFlexibilityPolicy": {
          "$ref": "InstanceFlexibilityPolicy",
          "description": "Optional. Instance flexibility Policy allowing a mixture of VM shapes and provisioning models."
        },
        "instanceNames": {
          "description": "Output only. The list of instance names, derived from `cluster_name`, `num_instances`, and the instance group.",
          "items": {
            "type": "string"
          },
          "type": "array",
          "readOnly": true
        },
        "numInstances": {
          "format": "int32",
          "type": "integer",
          "description": "Optional. The number of VM instances in the instance group. For [HA cluster](/dataproc/docs/concepts/configuring-clusters/high-availability) [master_config](#FIELDS.master_config) groups, **must be set to 3**. For standard cluster [master_config](#FIELDS.master_config) groups, **must be set to 1**."
        },
        "diskConfig": {
          "description": "Optional. Disk option config settings.",
          "$ref": "DiskConfig"
        },
        "instanceReferences": {
          "items": {
            "$ref": "InstanceReference"
          },
          "description": "Output only. List of references to Compute Engine instances.",
          "type": "array",
          "readOnly": true
        }
      },
      "id": "InstanceGroupConfig",
      "type": "object",
      "description": "The config settings for Compute Engine resources in an instance group, such as a master or worker group."
    },
    "InstanceReference": {
      "description": "A reference to a Compute Engine instance.",
      "properties": {
        "instanceId": {
          "description": "The unique identifier of the Compute Engine instance.",
          "type": "string"
        },
        "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": {
          "description": "The user-friendly name of the Compute Engine instance.",
          "type": "string"
        }
      },
      "id": "InstanceReference",
      "type": "object"
    },
    "SecurityConfig": {
      "description": "Security related configuration, including encryption, Kerberos, etc.",
      "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."
        }
      },
      "id": "SecurityConfig"
    },
    "WorkflowMetadata": {
      "type": "object",
      "properties": {
        "createCluster": {
          "readOnly": true,
          "description": "Output only. The create cluster operation metadata.",
          "$ref": "ClusterOperation"
        },
        "parameters": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object",
          "description": "Map from parameter names to values that were used for those parameters."
        },
        "dagEndTime": {
          "format": "google-datetime",
          "readOnly": true,
          "description": "Output only. DAG end time, only set for workflows with dag_timeout when DAG ends.",
          "type": "string"
        },
        "clusterUuid": {
          "type": "string",
          "description": "Output only. The UUID of target cluster.",
          "readOnly": true
        },
        "state": {
          "enum": [
            "UNKNOWN",
            "PENDING",
            "RUNNING",
            "DONE"
          ],
          "enumDescriptions": [
            "Unused.",
            "The operation has been created.",
            "The operation is running.",
            "The operation is done; either cancelled or completed."
          ],
          "readOnly": true,
          "type": "string",
          "description": "Output only. The workflow state."
        },
        "version": {
          "readOnly": true,
          "format": "int32",
          "type": "integer",
          "description": "Output only. The version of template at the time of workflow instantiation."
        },
        "clusterName": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. The name of the target cluster."
        },
        "startTime": {
          "format": "google-datetime",
          "type": "string",
          "readOnly": true,
          "description": "Output only. Workflow start time."
        },
        "endTime": {
          "type": "string",
          "description": "Output only. Workflow end time.",
          "readOnly": true,
          "format": "google-datetime"
        },
        "deleteCluster": {
          "description": "Output only. The delete cluster operation metadata.",
          "$ref": "ClusterOperation",
          "readOnly": true
        },
        "graph": {
          "description": "Output only. The workflow graph.",
          "$ref": "WorkflowGraph",
          "readOnly": true
        },
        "dagStartTime": {
          "description": "Output only. DAG start time, only set for workflows with dag_timeout when DAG begins.",
          "readOnly": true,
          "format": "google-datetime",
          "type": "string"
        },
        "template": {
          "type": "string",
          "description": "Output only. The resource name of the workflow template as described in https://documentation.s3ns.fr/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
        },
        "dagTimeout": {
          "readOnly": true,
          "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)).",
          "format": "google-duration",
          "type": "string"
        }
      },
      "description": "A Dataproc workflow template resource.",
      "id": "WorkflowMetadata"
    },
    "DiskConfig": {
      "id": "DiskConfig",
      "type": "object",
      "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://documentation.s3ns.fr/compute/docs/disks/local-ssd#performance)."
        },
        "bootDiskProvisionedIops": {
          "type": "string",
          "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`.**",
          "format": "int64"
        },
        "attachedDiskConfigs": {
          "description": "Optional. A list of attached disk configs for a group of VM instances.",
          "items": {
            "$ref": "AttachedDiskConfig"
          },
          "type": "array"
        },
        "bootDiskProvisionedThroughput": {
          "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",
          "type": "string"
        },
        "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://documentation.s3ns.fr/compute/docs/disks#disk-types)."
        },
        "numLocalSsds": {
          "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",
          "format": "int32"
        },
        "bootDiskSizeGb": {
          "format": "int32",
          "description": "Optional. Size in GB of the boot disk (default is 500GB).",
          "type": "integer"
        }
      },
      "description": "Specifies the config of boot disk and attached disk options for a group of VM instances."
    },
    "AuxiliaryNodeGroup": {
      "id": "AuxiliaryNodeGroup",
      "properties": {
        "nodeGroup": {
          "description": "Required. Node group configuration.",
          "$ref": "NodeGroup"
        },
        "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"
        }
      },
      "type": "object",
      "description": "Node group identification and configuration information."
    },
    "ClusterOperation": {
      "properties": {
        "done": {
          "type": "boolean",
          "readOnly": true,
          "description": "Output only. Indicates the operation is done."
        },
        "error": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. Error, if operation failed."
        },
        "operationId": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. The id of the cluster operation."
        }
      },
      "description": "The cluster operation triggered by a workflow.",
      "type": "object",
      "id": "ClusterOperation"
    },
    "SparkJob": {
      "description": "A Dataproc job for running [Apache Spark](https://spark.apache.org/) applications on YARN.",
      "properties": {
        "loggingConfig": {
          "description": "Optional. The runtime log config for job execution.",
          "$ref": "LoggingConfig"
        },
        "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"
          }
        },
        "args": {
          "type": "array",
          "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.",
          "items": {
            "type": "string"
          }
        },
        "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": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Optional. HCFS URIs of jar files to add to the CLASSPATHs of the Spark driver and tasks."
        },
        "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."
        },
        "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.",
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "mainJarFileUri": {
          "type": "string",
          "description": "The HCFS URI of the jar file that contains the main class."
        }
      },
      "id": "SparkJob",
      "type": "object"
    },
    "EncryptionConfig": {
      "id": "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://documentation.s3ns.fr//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://documentation.s3ns.fr/dataproc/docs/reference/rest/v1/FlinkJob) * [HadoopJob args](https://documentation.s3ns.fr/dataproc/docs/reference/rest/v1/HadoopJob) * [SparkJob args](https://documentation.s3ns.fr/dataproc/docs/reference/rest/v1/SparkJob) * [SparkRJob args](https://documentation.s3ns.fr/dataproc/docs/reference/rest/v1/SparkRJob) * [PySparkJob args](https://documentation.s3ns.fr/dataproc/docs/reference/rest/v1/PySparkJob) * [SparkSqlJob](https://documentation.s3ns.fr/dataproc/docs/reference/rest/v1/SparkSqlJob) scriptVariables and queryList.queries * [HiveJob](https://documentation.s3ns.fr/dataproc/docs/reference/rest/v1/HiveJob) scriptVariables and queryList.queries * [PigJob](https://documentation.s3ns.fr/dataproc/docs/reference/rest/v1/PigJob) scriptVariables and queryList.queries * [PrestoJob](https://documentation.s3ns.fr/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://documentation.s3ns.fr//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"
    },
    "ResizeNodeGroupRequest": {
      "id": "ResizeNodeGroupRequest",
      "type": "object",
      "properties": {
        "requestId": {
          "description": "Optional. A unique ID used to identify the request. If the server receives two [ResizeNodeGroupRequest](https://documentation.s3ns.fr/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": "string"
        },
        "size": {
          "type": "integer",
          "format": "int32",
          "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."
        },
        "parentOperationId": {
          "description": "Optional. operation id of the parent operation sending the resize request",
          "type": "string"
        },
        "gracefulDecommissionTimeout": {
          "type": "string",
          "format": "google-duration",
          "description": "Optional. Timeout for graceful YARN decommissioning. [Graceful decommissioning] (https://documentation.s3ns.fr/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."
        }
      },
      "description": "A request to resize a node group."
    },
    "HadoopJob": {
      "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).",
      "id": "HadoopJob",
      "properties": {
        "properties": {
          "additionalProperties": {
            "type": "string"
          },
          "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"
        },
        "archiveUris": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "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."
        },
        "mainClass": {
          "type": "string",
          "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`."
        },
        "mainJarFileUri": {
          "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'",
          "type": "string"
        },
        "args": {
          "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.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "jarFileUris": {
          "description": "Optional. Jar file URIs to add to the CLASSPATHs of the Hadoop driver and tasks.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "loggingConfig": {
          "description": "Optional. The runtime log config for job execution.",
          "$ref": "LoggingConfig"
        },
        "fileUris": {
          "items": {
            "type": "string"
          },
          "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.",
          "type": "array"
        }
      },
      "type": "object"
    },
    "ManagedGroupConfig": {
      "properties": {
        "instanceGroupManagerName": {
          "type": "string",
          "readOnly": true,
          "description": "Output only. The name of the Instance Group Manager for this group."
        },
        "instanceTemplateName": {
          "type": "string",
          "description": "Output only. The name of the Instance Template used for the Managed Instance Group.",
          "readOnly": true
        },
        "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
        }
      },
      "description": "Specifies the resources used to actively manage an instance group.",
      "id": "ManagedGroupConfig",
      "type": "object"
    },
    "SchedulingConfig": {
      "type": "object",
      "id": "SchedulingConfig",
      "properties": {
        "schedulingTimeout": {
          "type": "string",
          "format": "google-duration",
          "description": "Optional. How long to wait for worker resources to be allocated before failing the cluster creation request. Max/Default value: 13 days"
        },
        "requestedRunDuration": {
          "description": "Optional. Required lifetime of the resources, once provisioned. Min 10 mins, Max/Default 7 days . Note that the cluster can still be deleted before reaching this time. This time is a maximum amount of time before the cluster is forcibly deleted. Lower times are more likely to start running sooner.",
          "type": "string",
          "format": "google-duration"
        }
      },
      "description": "Config for scheduling the request to create Compute Engine resources for the cluster, when available."
    },
    "JobStatus": {
      "id": "JobStatus",
      "properties": {
        "substate": {
          "readOnly": true,
          "enum": [
            "UNSPECIFIED",
            "SUBMITTED",
            "QUEUED",
            "STALE_STATUS"
          ],
          "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",
          "description": "Output only. Additional state information, which includes status reported by the agent."
        },
        "details": {
          "description": "Optional. Job state details, such as an error description if the state is `ERROR`.",
          "type": "string"
        },
        "state": {
          "description": "Output only. A state message specifying the overall job state.",
          "enum": [
            "STATE_UNSPECIFIED",
            "PENDING",
            "SETUP_DONE",
            "RUNNING",
            "CANCEL_PENDING",
            "CANCEL_STARTED",
            "CANCELLED",
            "DONE",
            "ERROR",
            "ATTEMPT_FAILURE"
          ],
          "readOnly": true,
          "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."
          ],
          "type": "string"
        },
        "stateStartTime": {
          "description": "Output only. The time when this state was entered.",
          "type": "string",
          "readOnly": true,
          "format": "google-datetime"
        }
      },
      "type": "object",
      "description": "Dataproc job status."
    },
    "JobPlacement": {
      "id": "JobPlacement",
      "type": "object",
      "properties": {
        "clusterUuid": {
          "readOnly": true,
          "description": "Output only. A cluster UUID generated by the Dataproc service when the job is submitted.",
          "type": "string"
        },
        "clusterLabels": {
          "type": "object",
          "description": "Optional. Cluster labels to identify a cluster where the job will be submitted.",
          "additionalProperties": {
            "type": "string"
          }
        },
        "clusterName": {
          "description": "Required. The name of the cluster where the job will be submitted.",
          "type": "string"
        }
      },
      "description": "Dataproc job config."
    },
    "GkeNodeConfig": {
      "id": "GkeNodeConfig",
      "type": "object",
      "description": "Parameters that describe cluster nodes.",
      "properties": {
        "minCpuPlatform": {
          "description": "Optional. [Minimum CPU platform](https://documentation.s3ns.fr/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\".",
          "type": "string"
        },
        "bootDiskKmsKey": {
          "description": "Optional. The [Customer Managed Encryption Key (CMEK)] (https://documentation.s3ns.fr/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}`",
          "type": "string"
        },
        "preemptible": {
          "type": "boolean",
          "description": "Optional. Whether the nodes are created as legacy [preemptible VM instances] (https://documentation.s3ns.fr/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] (/dataproc/docs/reference/rest/v1/projects.regions.clusters#role) or in the DEFAULT node pool if the CONTROLLER role is not assigned (the DEFAULT node pool will assume the CONTROLLER role)."
        },
        "localSsdCount": {
          "type": "integer",
          "format": "int32",
          "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://documentation.s3ns.fr/compute/docs/disks/local-ssd))."
        },
        "spot": {
          "type": "boolean",
          "description": "Optional. Whether the nodes are created as [Spot VM instances] (https://documentation.s3ns.fr/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](/dataproc/docs/reference/rest/v1/projects.regions.clusters#role) or in the DEFAULT node pool if the CONTROLLER role is not assigned (the DEFAULT node pool will assume the CONTROLLER role)."
        },
        "accelerators": {
          "type": "array",
          "items": {
            "$ref": "GkeNodePoolAcceleratorConfig"
          },
          "description": "Optional. A list of [hardware accelerators](https://documentation.s3ns.fr/compute/docs/gpus) to attach to each node."
        },
        "machineType": {
          "description": "Optional. The name of a Compute Engine [machine type](https://documentation.s3ns.fr/compute/docs/machine-types).",
          "type": "string"
        },
        "serviceAccount": {
          "type": "string",
          "description": "Optional. Specifies the service account 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}`."
        }
      }
    },
    "AnalyzeOperationMetadata": {
      "properties": {
        "warnings": {
          "readOnly": true,
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Output only. Warnings encountered during operation execution."
        },
        "createTime": {
          "type": "string",
          "description": "Output only. The time when the operation was created.",
          "readOnly": true,
          "format": "google-datetime"
        },
        "labels": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object",
          "description": "Output only. Labels associated with the operation.",
          "readOnly": true
        },
        "analyzedWorkloadType": {
          "enum": [
            "WORKLOAD_TYPE_UNSPECIFIED",
            "BATCH"
          ],
          "readOnly": true,
          "description": "Output only. Type of the workload being analyzed.",
          "type": "string",
          "enumDescriptions": [
            "Undefined option",
            "Serverless batch job"
          ]
        },
        "analyzedWorkloadUuid": {
          "readOnly": true,
          "description": "Output only. unique identifier of the workload typically generated by control plane. E.g. batch uuid.",
          "type": "string"
        },
        "description": {
          "description": "Output only. Short description of the operation.",
          "readOnly": true,
          "type": "string"
        },
        "analyzedWorkloadName": {
          "description": "Output only. name of the workload being analyzed.",
          "readOnly": true,
          "type": "string"
        },
        "doneTime": {
          "readOnly": true,
          "format": "google-datetime",
          "type": "string",
          "description": "Output only. The time when the operation finished."
        }
      },
      "type": "object",
      "description": "Metadata describing the Analyze operation.",
      "id": "AnalyzeOperationMetadata"
    },
    "GkeNodePoolConfig": {
      "id": "GkeNodePoolConfig",
      "type": "object",
      "properties": {
        "config": {
          "$ref": "GkeNodeConfig",
          "description": "Optional. The node pool configuration."
        },
        "locations": {
          "type": "array",
          "description": "Optional. The list of Compute Engine [zones](https://documentation.s3ns.fr/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"
          }
        },
        "autoscaling": {
          "$ref": "GkeNodePoolAutoscalingConfig",
          "description": "Optional. The autoscaler configuration for this node pool. The autoscaler is enabled only when a valid configuration is present."
        }
      },
      "description": "The configuration of a GKE node pool used by a [Dataproc-on-GKE cluster](https://documentation.s3ns.fr/dataproc/docs/concepts/jobs/dataproc-gke#create-a-dataproc-on-gke-cluster)."
    },
    "Empty": {
      "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); }",
      "type": "object",
      "properties": {}
    },
    "GceClusterConfig": {
      "description": "Common config settings for resources of Compute Engine cluster instances, applicable to all instances in the cluster.",
      "type": "object",
      "id": "GceClusterConfig",
      "properties": {
        "networkUri": {
          "type": "string",
          "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://documentation.s3ns.fr/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`"
        },
        "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. * [Cloud de Confiance Private Access] (https://documentation.s3ns.fr/vpc/docs/private-google-access) must be enabled to access Dataproc and other Cloud de Confiance 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"
        },
        "metadata": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object",
          "description": "Optional. The Compute Engine metadata entries to add to all instances (see [Project and instance metadata](https://documentation.s3ns.fr/compute/docs/storing-retrieving-metadata#project_and_instance_metadata))."
        },
        "reservationAffinity": {
          "description": "Optional. Reservation Affinity for consuming Zonal reservation.",
          "$ref": "ReservationAffinity"
        },
        "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"
          }
        },
        "multiZoneConfig": {
          "description": "Optional. Controls how instances within this Cluster are allowed to exist in multiple Zones within the Region. Only one of `zone_uri` or `multi_zone_config` must be set.",
          "$ref": "MultiZoneConfig"
        },
        "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`"
        },
        "serviceAccount": {
          "description": "Optional. The [Dataproc service account](https://documentation.s3ns.fr/dataproc/docs/concepts/configuring-clusters/service-accounts#service_accounts_in_dataproc) (also see [VM Data Plane identity](https://documentation.s3ns.fr/dataproc/docs/concepts/iam/dataproc-principals#vm_service_account_data_plane_identity)) used by Dataproc cluster VM instances to access Cloud de Confiance Platform services. If not specified, the [Compute Engine default service account](https://documentation.s3ns.fr/compute/docs/access/service-accounts#default_service_account) is used.",
          "type": "string"
        },
        "privateIpv6GoogleAccess": {
          "type": "string",
          "description": "Optional. The type of IPv6 access for a cluster.",
          "enumDescriptions": [
            "If unspecified, Compute Engine default behavior will apply, which is the same as INHERIT_FROM_SUBNETWORK.",
            "Private access to and from Cloud de Confiance Services configuration inherited from the subnetwork configuration. This is the default Compute Engine behavior.",
            "Enables outbound private IPv6 access to Cloud de Confiance Services from the Dataproc cluster.",
            "Enables bidirectional private IPv6 access between Cloud de Confiance Services and the Dataproc cluster."
          ],
          "enum": [
            "PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED",
            "INHERIT_FROM_SUBNETWORK",
            "OUTBOUND",
            "BIDIRECTIONAL"
          ]
        },
        "resourceManagerTags": {
          "description": "Optional. [Resource manager tags] (https://documentation.s3ns.fr/resource-manager/docs/tags/tags-creating-and-managing) to add to all instances (see [Use secure tags in Dataproc] (https://documentation.s3ns.fr/dataproc/docs/guides/use-secure-tags)).",
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "zoneUri": {
          "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]`",
          "type": "string"
        },
        "tags": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "description": "The Compute Engine network tags to add to all instances (see [Tagging instances](https://documentation.s3ns.fr/vpc/docs/add-remove-network-tags))."
        },
        "shieldedInstanceConfig": {
          "description": "Optional. Shielded Instance Config for clusters using [Compute Engine Shielded VMs](https://documentation.s3ns.fr/security/shielded-cloud/shielded-vm).",
          "$ref": "ShieldedInstanceConfig"
        },
        "serviceAccountScopes": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "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.write If 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"
        },
        "nodeGroupAffinity": {
          "description": "Optional. Node Group Affinity for sole-tenant clusters.",
          "$ref": "NodeGroupAffinity"
        },
        "confidentialInstanceConfig": {
          "description": "Optional. Confidential Instance Config for clusters using [Confidential VMs](https://documentation.s3ns.fr/compute/confidential-vm/docs).",
          "$ref": "ConfidentialInstanceConfig"
        }
      }
    },
    "TestIamPermissionsRequest": {
      "id": "TestIamPermissionsRequest",
      "description": "Request message for `TestIamPermissions` method.",
      "properties": {
        "permissions": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "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://documentation.s3ns.fr/iam/docs/overview#permissions)."
        }
      },
      "type": "object"
    },
    "GkeNodePoolTarget": {
      "type": "object",
      "properties": {
        "roles": {
          "description": "Required. The roles associated with the GKE node pool.",
          "type": "array",
          "items": {
            "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."
            ],
            "enum": [
              "ROLE_UNSPECIFIED",
              "DEFAULT",
              "CONTROLLER",
              "SPARK_DRIVER",
              "SPARK_EXECUTOR"
            ],
            "type": "string"
          }
        },
        "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"
        }
      },
      "description": "GKE node pools that Dataproc workloads run on.",
      "id": "GkeNodePoolTarget"
    },
    "Policy": {
      "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Cloud de Confiance 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, 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 Cloud de Confiance 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://documentation.s3ns.fr/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:s3nsapis.fr\", \"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:s3nsapis.fr - 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://documentation.s3ns.fr/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 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": {
          "type": "integer",
          "format": "int32",
          "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 conditions **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. 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://documentation.s3ns.fr/iam/help/conditions/resource-policies)."
        }
      },
      "id": "Policy",
      "type": "object"
    },
    "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",
      "description": "Configuration to handle the startup of instances during cluster create and update process.",
      "type": "object"
    },
    "WorkflowGraph": {
      "type": "object",
      "properties": {
        "nodes": {
          "type": "array",
          "items": {
            "$ref": "WorkflowNode"
          },
          "readOnly": true,
          "description": "Output only. The workflow nodes."
        }
      },
      "id": "WorkflowGraph",
      "description": "The workflow graph."
    },
    "ClusterMetrics": {
      "id": "ClusterMetrics",
      "properties": {
        "hdfsMetrics": {
          "description": "The HDFS metrics.",
          "type": "object",
          "additionalProperties": {
            "format": "int64",
            "type": "string"
          }
        },
        "yarnMetrics": {
          "additionalProperties": {
            "type": "string",
            "format": "int64"
          },
          "description": "YARN metrics.",
          "type": "object"
        }
      },
      "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"
    },
    "InstanceSelection": {
      "id": "InstanceSelection",
      "type": "object",
      "description": "Defines machines types and a rank to which the machines types belong.",
      "properties": {
        "machineTypes": {
          "description": "Optional. Full machine-type names, e.g. \"n1-standard-16\".",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "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.",
          "type": "integer",
          "format": "int32"
        },
        "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"
        }
      }
    },
    "QueryList": {
      "type": "object",
      "properties": {
        "queries": {
          "items": {
            "type": "string"
          },
          "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\", ] } }",
          "type": "array"
        }
      },
      "description": "A list of queries to run on a cluster.",
      "id": "QueryList"
    },
    "SetIamPolicyRequest": {
      "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 Cloud de Confiance services (such as Projects) might reject them.",
          "$ref": "Policy"
        }
      },
      "type": "object",
      "id": "SetIamPolicyRequest"
    },
    "RepairClusterRequest": {
      "type": "object",
      "id": "RepairClusterRequest",
      "properties": {
        "gracefulDecommissionTimeout": {
          "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+.",
          "format": "google-duration",
          "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"
        },
        "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"
        },
        "cluster": {
          "description": "Optional. Cluster to be repaired",
          "$ref": "ClusterToRepair"
        },
        "nodePools": {
          "items": {
            "$ref": "NodePool"
          },
          "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."
        },
        "parentOperationId": {
          "type": "string",
          "description": "Optional. operation id of the parent operation sending the repair request"
        },
        "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."
    },
    "ReservationAffinity": {
      "type": "object",
      "properties": {
        "values": {
          "description": "Optional. Corresponds to the label values of reservation resource.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "key": {
          "description": "Optional. Corresponds to the label key of reservation resource.",
          "type": "string"
        },
        "consumeReservationType": {
          "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."
          ],
          "description": "Optional. Type of reservation to consume",
          "enum": [
            "TYPE_UNSPECIFIED",
            "NO_RESERVATION",
            "ANY_RESERVATION",
            "SPECIFIC_RESERVATION"
          ],
          "type": "string"
        }
      },
      "description": "Reservation Affinity for consuming Zonal reservation.",
      "id": "ReservationAffinity"
    },
    "SoftwareConfig": {
      "type": "object",
      "id": "SoftwareConfig",
      "properties": {
        "imageVersion": {
          "description": "Optional. The version of software inside the cluster. It must be one of the supported [Dataproc Versions](https://documentation.s3ns.fr/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://documentation.s3ns.fr/dataproc/docs/concepts/versioning/dataproc-versions#other_versions). If unspecified, it defaults to the latest Debian version.",
          "type": "string"
        },
        "properties": {
          "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.xml` For more information, see [Cluster properties](https://documentation.s3ns.fr/dataproc/docs/concepts/cluster-properties).",
          "type": "object"
        }
      },
      "description": "Specifies the selection and config of software inside the cluster."
    },
    "NodeGroup": {
      "type": "object",
      "description": "Node Group. **The `NodeGroup` resource is not related to the NodeGroupAffinity resource.**",
      "id": "NodeGroup",
      "properties": {
        "labels": {
          "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"
          },
          "type": "object"
        },
        "name": {
          "description": "The Node group [resource name](https://aip.dev/122).",
          "type": "string"
        },
        "roles": {
          "description": "Required. Node group roles.",
          "items": {
            "enum": [
              "ROLE_UNSPECIFIED",
              "DRIVER"
            ],
            "type": "string",
            "enumDescriptions": [
              "Required unspecified role.",
              "Job drivers run on the node pool."
            ]
          },
          "type": "array"
        },
        "nodeGroupConfig": {
          "$ref": "InstanceGroupConfig",
          "description": "Optional. The node group instance group configuration."
        }
      }
    },
    "TestIamPermissionsResponse": {
      "type": "object",
      "description": "Response message for `TestIamPermissions` method.",
      "id": "TestIamPermissionsResponse",
      "properties": {
        "permissions": {
          "description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.",
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      }
    },
    "WorkflowNode": {
      "description": "The workflow node.",
      "id": "WorkflowNode",
      "properties": {
        "jobId": {
          "readOnly": true,
          "description": "Output only. The job id; populated after the node enters RUNNING state.",
          "type": "string"
        },
        "prerequisiteStepIds": {
          "description": "Output only. Node's prerequisite nodes.",
          "type": "array",
          "items": {
            "type": "string"
          },
          "readOnly": true
        },
        "state": {
          "type": "string",
          "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."
          ],
          "description": "Output only. The node state.",
          "readOnly": true,
          "enum": [
            "NODE_STATE_UNSPECIFIED",
            "BLOCKED",
            "RUNNABLE",
            "RUNNING",
            "COMPLETED",
            "FAILED"
          ]
        },
        "stepId": {
          "type": "string",
          "description": "Output only. The name of the node.",
          "readOnly": true
        },
        "error": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The error detail."
        }
      },
      "type": "object"
    },
    "DataprocMetricConfig": {
      "description": "Metric config.",
      "id": "DataprocMetricConfig",
      "type": "object",
      "properties": {
        "metrics": {
          "type": "array",
          "items": {
            "$ref": "Metric"
          },
          "description": "Required. Metrics sources to enable."
        }
      }
    },
    "SparkSqlJob": {
      "properties": {
        "properties": {
          "type": "object",
          "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.",
          "additionalProperties": {
            "type": "string"
          }
        },
        "jarFileUris": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH."
        },
        "queryList": {
          "description": "A list of queries.",
          "$ref": "QueryList"
        },
        "scriptVariables": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object",
          "description": "Optional. Mapping of query variable names to values (equivalent to the Spark SQL command: SET `name=\"value\";`)."
        },
        "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."
        }
      },
      "id": "SparkSqlJob",
      "description": "A Dataproc job for running [Apache Spark SQL](https://spark.apache.org/sql/) queries.",
      "type": "object"
    },
    "NamespacedGkeDeploymentTarget": {
      "description": "Deprecated. Used only for the deprecated beta. A full, namespace-isolated deployment target for an existing GKE cluster.",
      "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"
        }
      },
      "type": "object",
      "id": "NamespacedGkeDeploymentTarget",
      "deprecated": true
    },
    "HiveJob": {
      "type": "object",
      "properties": {
        "scriptVariables": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "Optional. Mapping of query variable names to values (equivalent to the Hive command: `SET name=\"value\";`).",
          "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."
        },
        "queryFileUri": {
          "type": "string",
          "description": "The HCFS URI of the script that contains Hive queries."
        },
        "jarFileUris": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "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."
        },
        "properties": {
          "additionalProperties": {
            "type": "string"
          },
          "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.",
          "type": "object"
        },
        "queryList": {
          "description": "A list of queries.",
          "$ref": "QueryList"
        }
      },
      "description": "A Dataproc job for running [Apache Hive](https://hive.apache.org/) queries on YARN.",
      "id": "HiveJob"
    },
    "Expr": {
      "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": {
        "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."
        },
        "location": {
          "type": "string",
          "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file."
        },
        "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"
        },
        "expression": {
          "description": "Textual representation of an expression in Common Expression Language syntax.",
          "type": "string"
        }
      },
      "id": "Expr",
      "type": "object"
    },
    "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.",
      "type": "object",
      "properties": {
        "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."
        },
        "endTime": {
          "format": "google-datetime",
          "description": "Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.",
          "type": "string"
        }
      }
    },
    "DiagnoseClusterRequest": {
      "description": "A request to collect cluster diagnostic information.",
      "type": "object",
      "id": "DiagnoseClusterRequest",
      "properties": {
        "yarnApplicationId": {
          "description": "Optional. [DEPRECATED] Specifies the yarn application on which diagnosis is to be performed.",
          "deprecated": true,
          "type": "string"
        },
        "tarballAccess": {
          "enumDescriptions": [
            "Tarball Access unspecified. Falls back to default access of the bucket",
            "Cloud de Confiance Support group has read access to the diagnostic tarball",
            "Cloud de Confiance Dataproc Diagnose service account has read access to the diagnostic tarball"
          ],
          "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"
          ],
          "type": "string"
        },
        "jobs": {
          "description": "Optional. Specifies a list of jobs on which diagnosis is to be performed. Format: projects/{project}/regions/{region}/jobs/{job}",
          "type": "array",
          "items": {
            "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"
        },
        "yarnApplicationIds": {
          "type": "array",
          "description": "Optional. Specifies a list of yarn applications on which diagnosis is to be performed.",
          "items": {
            "type": "string"
          }
        },
        "diagnosisInterval": {
          "$ref": "Interval",
          "description": "Optional. Time interval in which diagnosis should be carried out on the cluster."
        },
        "job": {
          "deprecated": true,
          "description": "Optional. [DEPRECATED] Specifies the job on which diagnosis is to be performed. Format: projects/{project}/regions/{region}/jobs/{job}",
          "type": "string"
        }
      }
    },
    "AttachedDiskConfig": {
      "description": "Specifies the config of attached disk options for single VM instance.",
      "type": "object",
      "properties": {
        "diskSizeGb": {
          "format": "int32",
          "type": "integer",
          "description": "Optional. Disk size in GB."
        },
        "diskType": {
          "description": "Optional. Deprecated: Use `type` instead.",
          "enum": [
            "DISK_TYPE_UNSPECIFIED",
            "HYPERDISK_BALANCED",
            "HYPERDISK_EXTREME",
            "HYPERDISK_ML",
            "HYPERDISK_THROUGHPUT"
          ],
          "enumDescriptions": [
            "Disk type is not specified.",
            "Hyperdisk Balanced.",
            "Hyperdisk Extreme.",
            "Hyperdisk ML.",
            "Hyperdisk Throughput."
          ],
          "deprecated": true,
          "type": "string"
        },
        "type": {
          "type": "string",
          "description": "Optional. Attached disk type. Currently only supports Hyperdisks. Hyperdisk Balanced High Availability is not supported. See https://documentation.s3ns.fr/compute/docs/disks/hyperdisks. Allowed values are: * `hyperdisk-balanced` * `hyperdisk-extreme` * `hyperdisk-ml` * `hyperdisk-throughput`"
        },
        "provisionedIops": {
          "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://documentation.s3ns.fr/compute/docs/disks/hyperdisks#hyperdisk-features",
          "type": "string",
          "format": "int64"
        },
        "provisionedThroughput": {
          "type": "string",
          "format": "int64",
          "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://documentation.s3ns.fr/compute/docs/disks/hyperdisks#hyperdisk-features"
        }
      },
      "id": "AttachedDiskConfig"
    }
  },
  "documentationLink": "https://documentation.s3ns.fr/dataproc",
  "version": "v1",
  "kind": "discovery#restDescription",
  "baseUrl": "https://dataproc.s3nsapis.fr/"
}
