{
  "opencollection": "1.0.0",
  "info": {
    "name": "Google Cloud Dataproc Clusters API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "Clusters",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Google Cloud Dataproc List clusters",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://dataproc.googleapis.com/v1/projects/:project/regions/:region/clusters",
            "params": [
              {
                "name": "project",
                "value": "",
                "type": "path"
              },
              {
                "name": "region",
                "value": "",
                "type": "path"
              },
              {
                "name": "filter",
                "value": "",
                "type": "query"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query"
              },
              {
                "name": "pageToken",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://accounts.google.com/o/oauth2/auth",
              "accessTokenUrl": "https://oauth2.googleapis.com/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Lists all regions/{region}/clusters in a project."
        },
        {
          "info": {
            "name": "Google Cloud Dataproc Create a cluster",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://dataproc.googleapis.com/v1/projects/:project/regions/:region/clusters",
            "params": [
              {
                "name": "project",
                "value": "",
                "type": "path"
              },
              {
                "name": "region",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://accounts.google.com/o/oauth2/auth",
              "accessTokenUrl": "https://oauth2.googleapis.com/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Creates a cluster in a project. The returned Operation.metadata will be ClusterOperationMetadata."
        },
        {
          "info": {
            "name": "Google Cloud Dataproc Get a cluster",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://dataproc.googleapis.com/v1/projects/:project/regions/:region/clusters/:cluster",
            "params": [
              {
                "name": "project",
                "value": "",
                "type": "path"
              },
              {
                "name": "region",
                "value": "",
                "type": "path"
              },
              {
                "name": "cluster",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://accounts.google.com/o/oauth2/auth",
              "accessTokenUrl": "https://oauth2.googleapis.com/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Gets the resource representation for a cluster in a project."
        },
        {
          "info": {
            "name": "Google Cloud Dataproc Update a cluster",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://dataproc.googleapis.com/v1/projects/:project/regions/:region/clusters/:cluster",
            "params": [
              {
                "name": "project",
                "value": "",
                "type": "path"
              },
              {
                "name": "region",
                "value": "",
                "type": "path"
              },
              {
                "name": "cluster",
                "value": "",
                "type": "path"
              },
              {
                "name": "updateMask",
                "value": "",
                "type": "query"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://accounts.google.com/o/oauth2/auth",
              "accessTokenUrl": "https://oauth2.googleapis.com/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Updates a cluster in a project. The returned Operation.metadata will be ClusterOperationMetadata."
        },
        {
          "info": {
            "name": "Google Cloud Dataproc Delete a cluster",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://dataproc.googleapis.com/v1/projects/:project/regions/:region/clusters/:cluster",
            "params": [
              {
                "name": "project",
                "value": "",
                "type": "path"
              },
              {
                "name": "region",
                "value": "",
                "type": "path"
              },
              {
                "name": "cluster",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://accounts.google.com/o/oauth2/auth",
              "accessTokenUrl": "https://oauth2.googleapis.com/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Deletes a cluster in a project. The returned Operation.metadata will be ClusterOperationMetadata."
        }
      ]
    }
  ],
  "bundled": true
}