Cloud SQL Admin API (sqladmin:v1)

2023-03-15

3 new methods

Additions

    Methods
  • sql.projects.instances.getDiskShrinkConfig

      Flat Path : v1/projects/{project}/instances/{instance}/getDiskShrinkConfig

      Parameters :

        project

          Description : Project ID of the project that contains the instance.

          Required : Yes

          Type : string

          Location : path

        instance

          Required : Yes

          Type : string

          Description : Cloud SQL instance ID. This does not include the project ID.

          Location : path

      Path : v1/projects/{project}/instances/{instance}/getDiskShrinkConfig

      Description : Get Disk Shrink Config for a given instance.

      Parameter Order :

    • project
    • instance
    • HTTP Method : GET

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/sqlservice.admin
  • sql.projects.instances.resetReplicaSize

      Flat Path : v1/projects/{project}/instances/{instance}/resetReplicaSize

      Parameter Order :

    • project
    • instance
    • Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/sqlservice.admin
    • Parameters :

        project

          Type : string

          Location : path

          Required : Yes

          Description : ID of the project that contains the read replica.

        instance

          Type : string

          Description : Cloud SQL read replica instance name.

          Required : Yes

          Location : path

      HTTP Method : POST

      Path : v1/projects/{project}/instances/{instance}/resetReplicaSize

      Description : Reset Replica Size to primary instance disk size.

  • sql.projects.instances.performDiskShrink

      Description : Perform Disk Shrink on primary instance.

      Flat Path : v1/projects/{project}/instances/{instance}/performDiskShrink

      Parameter Order :

    • project
    • instance
    • Path : v1/projects/{project}/instances/{instance}/performDiskShrink

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/sqlservice.admin
    • Parameters :

        instance

          Location : path

          Required : Yes

          Type : string

          Description : Cloud SQL instance ID. This does not include the project ID.

        project

          Description : Project ID of the project that contains the instance.

          Required : Yes

          Location : path

          Type : string

      HTTP Method : POST