Cloud Spanner API (spanner:v1)

2025-02-27

2 new methods

Additions

    Methods
  • spanner.projects.instances.databases.sessions.adapter

      Path : v1/{+parent}/sessions:adapter

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

      HTTP Method : POST

      Parameters :

        parent

          Description : Required. The database in which the new session is created.

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

          Location : path

          Required : Yes

          Type : string

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/spanner.data
    • Description : Creates a new session to be used for requests made by the adapter. A session identifies a specific incarnation of a database resource and is meant to be reused across many `AdaptMessage` calls.

  • spanner.projects.instances.databases.sessions.adaptMessage

      Path : v1/{+name}:adaptMessage

      Flat Path : v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/sessions/{sessionsId}:adaptMessage

      HTTP Method : POST

      Parameters :

        name

          Description : Required. The database session in which the adapter request is processed.

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

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/spanner.data
    • Description : Handles a single message from the client and returns the result as a stream. The server will interpret the message frame and respond with message frames to the client.