A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://cloud.google.com/spanner/docs/reference/rest/v1/projects.instances.databases/addSplitPoints below:

Method: projects.instances.databases.addSplitPoints | Spanner | Google Cloud

Method: projects.instances.databases.addSplitPoints

Stay organized with collections Save and categorize content based on your preferences.

Adds split points to specified tables and indexes of a database.

HTTP request

Choose a location:

The URLs use gRPC Transcoding syntax.

Path parameters Parameters database

string

Required. The database on whose tables or indexes the split points are to be added. Values are of the form projects/<project>/instances/<instance>/databases/<database>.

Authorization requires the following IAM permission on the specified resource database:

Request body

The request body contains data with the following structure:

JSON representation
{
  "splitPoints": [
    {
      object (SplitPoints)
    }
  ],
  "initiator": string
}
Fields splitPoints[]

object (SplitPoints)

Required. The split points to add.

initiator

string

Optional. A user-supplied tag associated with the split points. For example, "initial_data_load", "special_event_1". Defaults to "CloudAddSplitPointsAPI" if not specified. The length of the tag must not exceed 50 characters, or else it is trimmed. Only valid UTF8 characters are allowed.

Response body

If successful, the response body is empty.

Requires one of the following OAuth scopes:

For more information, see the Authentication Overview.

SplitPoints

The split points of a table or an index.

JSON representation
{
  "table": string,
  "index": string,
  "keys": [
    {
      object (Key)
    }
  ],
  "expireTime": string
}
Fields table

string

The table to split.

index

string

The index to split. If specified, the table field must refer to the index's base table.

keys[]

object (Key)

Required. The list of split keys. In essence, the split boundaries.

expireTime

string (Timestamp format)

Optional. The expiration timestamp of the split points. A timestamp in the past means immediate expiration. The maximum value can be 30 days in the future. Defaults to 10 days in the future if not specified.

Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

Key

A split key.

JSON representation
{
  "keyParts": array
}
Fields keyParts

array (ListValue format)

Required. The column values making up the split key.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-06-18 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-18 UTC."],[],[]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4