Cloud SQL Admin API (sqladmin:v1beta4)

2024-09-10

3 new methods

Additions

    Methods
  • sql.instances.addServerCertificate

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

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

      HTTP Method : POST

      Parameters :

        project

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

          Location : path

          Required : Yes

          Type : string

        instance

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

          Location : path

          Required : Yes

          Type : string

      Parameter Order :

    • project
    • instance
    • Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/sqlservice.admin
    • Description : Add a new trusted server certificate version for the specified instance using Certificate Authority Service (CAS) server CA. Required to prepare for a certificate rotation. If a server certificate version was previously added but never used in a certificate rotation, this operation replaces that version. There cannot be more than one certificate version waiting to be rotated in. For instances not using CAS server CA, please use AddServerCa instead.

  • sql.instances.ListServerCertificates

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

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

      HTTP Method : GET

      Parameters :

        project

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

          Location : path

          Required : Yes

          Type : string

        instance

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

          Location : path

          Required : Yes

          Type : string

      Parameter Order :

    • project
    • instance
    • Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/sqlservice.admin
    • Description : Lists all versions of server certificates and certificate authorities (CAs) for the specified instance. There can be up to three sets of certs listed: the certificate that is currently in use, a future that has been added but not yet used to sign a certificate, and a certificate that has been rotated out.

  • sql.instances.RotateServerCertificate

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

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

      HTTP Method : POST

      Parameters :

        project

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

          Location : path

          Required : Yes

          Type : string

        instance

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

          Location : path

          Required : Yes

          Type : string

      Parameter Order :

    • project
    • instance
    • Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/sqlservice.admin
    • Description : Rotates the server certificate version to one previously added with the addServerCertificate method. For instances not using Certificate Authority Service (CAS) server CA, please use RotateServerCa instead.