Cloud Firestore API (firestore:v1)

2022-06-09

1 new method

Additions

    Methods
  • firestore.projects.databases.create

      Flat Path: v1/projects/{projectsId}/databases

      Parameters:

        parent

          Type: string

          Description: Required. A parent name of the form `projects/{project_id}`

          Location: path

          Pattern: ^projects/[^/]+$

          Required: Yes

        databaseId

          Type: string

          Location: query

          Description: Required. The ID to use for the database, which will become the final component of the database's resource name. This value should be 4-63 characters. Valid characters are /a-z-/ with first character a letter and the last a letter or a number. Must not be UUID-like /[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}/. "(default)" database id is also valid.

        validateOnly

          Description: If set, validate the request and preview the response, but do not actually create the database.

          Location: query

          Type: boolean

      Path: v1/{+parent}/databases

      Scopes:

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/datastore
    • HTTP Method: POST

      Description: Create a database.

      Parameter Order: parent