{
  "opencollection": "1.0.0",
  "info": {
    "name": "Google Cloud SQL Admin API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "Instances",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Google Cloud SQL List instances",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sqladmin.googleapis.com/v1/projects/:project/instances",
            "params": [
              {
                "name": "project",
                "value": "",
                "type": "path"
              },
              {
                "name": "maxResults",
                "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 instances under a given project."
        },
        {
          "info": {
            "name": "Google Cloud SQL Create an instance",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://sqladmin.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 a new Cloud SQL instance."
        },
        {
          "info": {
            "name": "Google Cloud SQL Get an instance",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sqladmin.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": "Retrieves a resource containing information about a Cloud SQL instance."
        },
        {
          "info": {
            "name": "Google Cloud SQL Update an instance",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://sqladmin.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 settings of a Cloud SQL instance using patch semantics."
        },
        {
          "info": {
            "name": "Google Cloud SQL Delete an instance",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://sqladmin.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 a Cloud SQL instance."
        }
      ]
    },
    {
      "info": {
        "name": "Databases",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Google Cloud SQL List databases",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sqladmin.googleapis.com/v1/projects/:project/instances/:instance/databases",
            "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": "Lists databases in the specified Cloud SQL instance."
        },
        {
          "info": {
            "name": "Google Cloud SQL Create a database",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://sqladmin.googleapis.com/v1/projects/:project/instances/:instance/databases",
            "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": "Inserts a resource containing information about a database inside a Cloud SQL instance."
        },
        {
          "info": {
            "name": "Google Cloud SQL Get a database",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sqladmin.googleapis.com/v1/projects/:project/instances/:instance/databases/:database",
            "params": [
              {
                "name": "project",
                "value": "",
                "type": "path"
              },
              {
                "name": "instance",
                "value": "",
                "type": "path"
              },
              {
                "name": "database",
                "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": "Retrieves a resource containing information about a database inside a Cloud SQL instance."
        },
        {
          "info": {
            "name": "Google Cloud SQL Delete a database",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://sqladmin.googleapis.com/v1/projects/:project/instances/:instance/databases/:database",
            "params": [
              {
                "name": "project",
                "value": "",
                "type": "path"
              },
              {
                "name": "instance",
                "value": "",
                "type": "path"
              },
              {
                "name": "database",
                "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 database from a Cloud SQL instance."
        }
      ]
    },
    {
      "info": {
        "name": "Users",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Google Cloud SQL List users",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sqladmin.googleapis.com/v1/projects/:project/instances/:instance/users",
            "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": "Lists users in the specified Cloud SQL instance."
        },
        {
          "info": {
            "name": "Google Cloud SQL Create a user",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://sqladmin.googleapis.com/v1/projects/:project/instances/:instance/users",
            "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": "Creates a new user in a Cloud SQL instance."
        }
      ]
    },
    {
      "info": {
        "name": "BackupRuns",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Google Cloud SQL List backup runs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sqladmin.googleapis.com/v1/projects/:project/instances/:instance/backupRuns",
            "params": [
              {
                "name": "project",
                "value": "",
                "type": "path"
              },
              {
                "name": "instance",
                "value": "",
                "type": "path"
              },
              {
                "name": "maxResults",
                "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 backup runs associated with a given instance in reverse chronological order."
        }
      ]
    }
  ],
  "bundled": true
}