Cloud Spanner API (spanner:v1)

2024-05-29

1 new method

Additions

    Methods
  • spanner.projects.instances.databases.changequorum

      Path: v1/{+name}:changequorum

      Flat Path: v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}:changequorum

      HTTP Method: POST

      Parameters:

        name

          Description: Required. Name of the database in which to apply the ChangeQuorum. Values are of the form `projects//instances//databases/`.

          Pattern: ^projects/[^/]+/instances/[^/]+/databases/[^/]+$

          Location: path

          Required: Yes

          Type: string

      Parameter Order: name

      Scopes:

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/spanner.admin
    • Description: ChangeQuorum is strictly restricted to databases that use dual region instance configurations. Initiates a background operation to change quorum a database from dual-region mode to single-region mode and vice versa. The returned long-running operation will have a name of the format `projects//instances//databases//operations/` and can be used to track execution of the ChangeQuorum. The metadata field type is ChangeQuorumMetadata. Authorization requires `spanner.databases.changequorum` permission on the resource database.