{
  "opencollection": "1.0.0",
  "info": {
    "name": "Google Cloud Spanner Databases Instances API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "Instances",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Google Cloud Spanner List instances",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://spanner.googleapis.com/v1/projects/:project/instances",
            "params": [
              {
                "name": "project",
                "value": "",
                "type": "path"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query"
              },
              {
                "name": "pageToken",
                "value": "",
                "type": "query"
              },
              {
                "name": "filter",
                "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 instances in the given project."
        },
        {
          "info": {
            "name": "Google Cloud Spanner Create an instance",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://spanner.googleapis.com/v1/projects/:project/instances",
            "params": [
              {
                "name": "project",
                "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 an instance and begins preparing it to be used."
        },
        {
          "info": {
            "name": "Google Cloud Spanner Get an instance",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://spanner.googleapis.com/v1/projects/:project/instances/:instance",
            "params": [
              {
                "name": "project",
                "value": "",
                "type": "path"
              },
              {
                "name": "instance",
                "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 information about a particular instance."
        },
        {
          "info": {
            "name": "Google Cloud Spanner Update an instance",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://spanner.googleapis.com/v1/projects/:project/instances/:instance",
            "params": [
              {
                "name": "project",
                "value": "",
                "type": "path"
              },
              {
                "name": "instance",
                "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": "Updates an instance, and begins allocating or releasing resources as requested."
        },
        {
          "info": {
            "name": "Google Cloud Spanner Delete an instance",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://spanner.googleapis.com/v1/projects/:project/instances/:instance",
            "params": [
              {
                "name": "project",
                "value": "",
                "type": "path"
              },
              {
                "name": "instance",
                "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 an instance. Immediately upon completion of the request, the instance and all its databases are deleted."
        }
      ]
    }
  ],
  "bundled": true
}