{
  "opencollection": "1.0.0",
  "info": {
    "name": "Google Cloud Build API",
    "version": "v1"
  },
  "request": {
    "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}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Builds",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Google Cloud Build List builds",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://cloudbuild.googleapis.com/v1/projects/:projectId/builds",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query"
              },
              {
                "name": "pageToken",
                "value": "",
                "type": "query"
              },
              {
                "name": "filter",
                "value": "",
                "type": "query",
                "description": "The raw filter text to constrain the results"
              }
            ]
          },
          "docs": "Lists previously requested builds for a project."
        },
        {
          "info": {
            "name": "Google Cloud Build Create a build",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://cloudbuild.googleapis.com/v1/projects/:projectId/builds",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Starts a build with the specified configuration."
        },
        {
          "info": {
            "name": "Google Cloud Build Get a build",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://cloudbuild.googleapis.com/v1/projects/:projectId/builds/:buildId",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path"
              },
              {
                "name": "buildId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Returns information about a previously requested build."
        },
        {
          "info": {
            "name": "Google Cloud Build Cancel a build",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://cloudbuild.googleapis.com/v1/projects/:projectId/builds/:buildId:cancel",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path"
              },
              {
                "name": "buildId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Cancels a build in progress."
        }
      ]
    },
    {
      "info": {
        "name": "Triggers",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Google Cloud Build List build triggers",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://cloudbuild.googleapis.com/v1/projects/:projectId/triggers",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query"
              },
              {
                "name": "pageToken",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Lists existing build triggers for a project."
        },
        {
          "info": {
            "name": "Google Cloud Build Create a build trigger",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://cloudbuild.googleapis.com/v1/projects/:projectId/triggers",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new build trigger."
        },
        {
          "info": {
            "name": "Google Cloud Build Get a build trigger",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://cloudbuild.googleapis.com/v1/projects/:projectId/triggers/:triggerId",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path"
              },
              {
                "name": "triggerId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Returns information about a build trigger."
        },
        {
          "info": {
            "name": "Google Cloud Build Update a build trigger",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://cloudbuild.googleapis.com/v1/projects/:projectId/triggers/:triggerId",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path"
              },
              {
                "name": "triggerId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates a build trigger by its project ID and trigger ID."
        },
        {
          "info": {
            "name": "Google Cloud Build Delete a build trigger",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://cloudbuild.googleapis.com/v1/projects/:projectId/triggers/:triggerId",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path"
              },
              {
                "name": "triggerId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Deletes a build trigger by its project ID and trigger ID."
        }
      ]
    },
    {
      "info": {
        "name": "WorkerPools",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Google Cloud Build List worker pools",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://cloudbuild.googleapis.com/v1/projects/:projectId/locations/:location/workerPools",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path"
              },
              {
                "name": "location",
                "value": "",
                "type": "path"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query"
              },
              {
                "name": "pageToken",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Lists worker pools for a given project."
        },
        {
          "info": {
            "name": "Google Cloud Build Create a worker pool",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://cloudbuild.googleapis.com/v1/projects/:projectId/locations/:location/workerPools",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path"
              },
              {
                "name": "location",
                "value": "",
                "type": "path"
              },
              {
                "name": "workerPoolId",
                "value": "",
                "type": "query"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new worker pool."
        }
      ]
    }
  ],
  "bundled": true
}