Cloud SQL Admin API (sqladmin:v1beta4)

2023-03-15

3 new methods

Additions

    Methods
  • sql.projects.instances.getDiskShrinkConfig

      Description : Get Disk Shrink Config for a given instance.

      Flat Path : sql/v1beta4/projects/{project}/instances/{instance}/getDiskShrinkConfig

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/sqlservice.admin
    • Path : sql/v1beta4/projects/{project}/instances/{instance}/getDiskShrinkConfig

      HTTP Method : GET

      Parameter Order :

    • project
    • instance
    • Parameters :

        project

          Type : string

          Location : path

          Required : Yes

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

        instance

          Location : path

          Required : Yes

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

          Type : string

  • sql.projects.instances.performDiskShrink

      Parameter Order :

    • project
    • instance
    • Parameters :

        project

          Required : Yes

          Type : string

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

          Location : path

        instance

          Type : string

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

          Required : Yes

          Location : path

      HTTP Method : POST

      Description : Perform Disk Shrink on primary instance.

      Path : sql/v1beta4/projects/{project}/instances/{instance}/performDiskShrink

      Flat Path : sql/v1beta4/projects/{project}/instances/{instance}/performDiskShrink

      Scopes :

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

      HTTP Method : POST

      Scopes :

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

        project

          Location : path

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

          Required : Yes

          Type : string

        instance

          Description : Cloud SQL read replica instance name.

          Location : path

          Type : string

          Required : Yes

      Flat Path : sql/v1beta4/projects/{project}/instances/{instance}/resetReplicaSize

      Parameter Order :

    • project
    • instance
    • Path : sql/v1beta4/projects/{project}/instances/{instance}/resetReplicaSize

      Description : Reset Replica Size to primary instance disk size.