{ "uuid": "c43b3063-220d-429c-81ba-f47cbcae6e99", "lastMigration": 29, "name": "Cloud Spanner API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "f78a6142-844c-47f8-ac2e-835b704fcd61", "documentation": "Drops (aka deletes) a Cloud Spanner database. Completed backups for the database will be retained according to their `expire_time`. Note: Cloud Spanner might continue to accept requests for a few seconds after the database has been deleted.", "method": "delete", "endpoint": "v1/:database", "responses": [ { "uuid": "21aab5b8-1bb3-4202-8f8c-2af840918a7b", "body": "{}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "fed7eb95-d164-43dd-ba6b-f74a39fed106", "documentation": "Returns the schema of a Cloud Spanner database as a list of formatted DDL statements. This method does not show pending schema updates, those may be queried using the Operations API.", "method": "get", "endpoint": "v1/:database/ddl", "responses": [ { "uuid": "6e6e1eed-eee2-44c8-a7bc-857cf49c3e51", "body": "{\n \"statements\": [\n \"\"\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "813db75b-a502-4b4f-8efe-2e123782b150", "documentation": "Updates the schema of a Cloud Spanner database by creating/altering/dropping tables, columns, indexes, etc. The returned long-running operation will have a name of the format `/operations/` and can be used to track execution of the schema change(s). The metadata field type is UpdateDatabaseDdlMetadata. The operation has no response.", "method": "patch", "endpoint": "v1/:database/ddl", "responses": [ { "uuid": "f7ca8f60-5789-43ab-94bf-5b7da5793999", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "24afb60b-5d18-449c-bac2-1fb02024604e", "documentation": "Lists all sessions in a given database.", "method": "get", "endpoint": "v1/:database/sessions", "responses": [ { "uuid": "7364cc56-5393-4fd2-805f-deb047a87ec0", "body": "{\n \"nextPageToken\": \"\",\n \"sessions\": [\n {\n \"approximateLastUseTime\": \"\",\n \"createTime\": \"\",\n \"creatorRole\": \"\",\n \"labels\": {},\n \"name\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "050ca539-ddb8-4377-a5ea-f2862f93bfe9", "documentation": "Creates a new session. A session can be used to perform transactions that read and/or modify data in a Cloud Spanner database. Sessions are meant to be reused for many consecutive transactions. Sessions can only execute one transaction at a time. To execute multiple concurrent read-write/write-only transactions, create multiple sessions. Note that standalone reads and queries use a transaction internally, and count toward the one transaction limit. Active sessions use additional server resources, so it is a good idea to delete idle and unneeded sessions. Aside from explicit deletes, Cloud Spanner may delete sessions for which no operations are sent for more than an hour. If a session is deleted, requests to it return `NOT_FOUND`. Idle sessions can be kept alive by sending a trivial SQL query periodically, e.g., `\"SELECT 1\"`.", "method": "post", "endpoint": "v1/:database/sessions", "responses": [ { "uuid": "8f5d5809-ec04-42c9-b29b-f71f8869f10b", "body": "{\n \"approximateLastUseTime\": \"\",\n \"createTime\": \"\",\n \"creatorRole\": \"\",\n \"labels\": {},\n \"name\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5e136c76-6ea8-4fb3-8ab2-f717f0b371b9", "documentation": "Creates multiple new sessions. This API can be used to initialize a session cache on the clients. See https://goo.gl/TgSFN2 for best practices on session cache management.", "method": "post", "endpoint": "v1/:database/sessions:batchCreate", "responses": [ { "uuid": "e9e8a6b1-ca21-4041-9341-b10cf5b91691", "body": "{\n \"session\": [\n {\n \"approximateLastUseTime\": \"\",\n \"createTime\": \"\",\n \"creatorRole\": \"\",\n \"labels\": {},\n \"name\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "55bd11d4-22a8-497c-a928-e80d046a208d", "documentation": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", "method": "delete", "endpoint": "v1/:name", "responses": [ { "uuid": "bc1fb3ea-b278-4191-a4b5-379ee456d3c4", "body": "{}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "cf80b7d1-ac92-45c5-b4fc-b9e324d696b9", "documentation": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", "method": "get", "endpoint": "v1/:name", "responses": [ { "uuid": "1684f080-f95b-45da-b8bc-05850297704d", "body": "{\n \"nextPageToken\": \"\",\n \"operations\": [\n {\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c73b8550-d0dc-4d65-add6-3b6a4a760dc1", "documentation": "Updates a pending or completed Backup.", "method": "patch", "endpoint": "v1/:name", "responses": [ { "uuid": "29cf23c2-d56c-4501-b3f2-b0b0bd8c7c95", "body": "{\n \"createTime\": \"\",\n \"database\": \"\",\n \"databaseDialect\": \"{{oneOf (array 'DATABASE_DIALECT_UNSPECIFIED' 'GOOGLE_STANDARD_SQL' 'POSTGRESQL')}}\",\n \"encryptionInfo\": {\n \"encryptionStatus\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"encryptionType\": \"{{oneOf (array 'TYPE_UNSPECIFIED' 'GOOGLE_DEFAULT_ENCRYPTION' 'CUSTOMER_MANAGED_ENCRYPTION')}}\",\n \"kmsKeyVersion\": \"\"\n },\n \"expireTime\": \"\",\n \"maxExpireTime\": \"\",\n \"name\": \"\",\n \"referencingBackups\": [\n \"\"\n ],\n \"referencingDatabases\": [\n \"\"\n ],\n \"sizeBytes\": \"\",\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'CREATING' 'READY')}}\",\n \"versionTime\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "60c4586a-3e66-4c6f-b804-23312ead8e86", "documentation": "Request a specific scan with Database-specific data for Cloud Key Visualizer.", "method": "get", "endpoint": "v1/:name/scans", "responses": [ { "uuid": "198bb77d-4219-4338-8e0a-ad116256d476", "body": "{\n \"details\": {},\n \"endTime\": \"\",\n \"name\": \"\",\n \"scanData\": {\n \"data\": {\n \"dataSourceEndToken\": \"\",\n \"dataSourceSeparatorToken\": \"\",\n \"diagnosticMessages\": [\n {\n \"info\": {\n \"args\": {},\n \"message\": \"\",\n \"token\": \"\"\n },\n \"metric\": {\n \"args\": {},\n \"message\": \"\",\n \"token\": \"\"\n },\n \"metricSpecific\": {{faker 'datatype.boolean'}},\n \"severity\": \"{{oneOf (array 'SEVERITY_UNSPECIFIED' 'INFO' 'WARNING' 'ERROR' 'FATAL')}}\",\n \"shortMessage\": {\n \"args\": {},\n \"message\": \"\",\n \"token\": \"\"\n }\n }\n ],\n \"endKeyStrings\": [\n \"\"\n ],\n \"hasPii\": {{faker 'datatype.boolean'}},\n \"indexedKeys\": [\n \"\"\n ],\n \"keySeparator\": \"\",\n \"keyUnit\": \"{{oneOf (array 'KEY_UNIT_UNSPECIFIED' 'KEY' 'CHUNK')}}\",\n \"metrics\": [\n {\n \"aggregation\": \"{{oneOf (array 'AGGREGATION_UNSPECIFIED' 'MAX' 'SUM')}}\",\n \"category\": {\n \"args\": {},\n \"message\": \"\",\n \"token\": \"\"\n },\n \"derived\": {\n \"denominator\": {\n \"args\": {},\n \"message\": \"\",\n \"token\": \"\"\n },\n \"numerator\": {\n \"args\": {},\n \"message\": \"\",\n \"token\": \"\"\n }\n },\n \"displayLabel\": {\n \"args\": {},\n \"message\": \"\",\n \"token\": \"\"\n },\n \"hasNonzeroData\": {{faker 'datatype.boolean'}},\n \"hotValue\": {{faker 'number.float'}},\n \"indexedHotKeys\": {},\n \"indexedKeyRangeInfos\": {},\n \"info\": {\n \"args\": {},\n \"message\": \"\",\n \"token\": \"\"\n },\n \"matrix\": {\n \"rows\": [\n {\n \"cols\": [\n {{faker 'number.float'}}\n ]\n }\n ]\n },\n \"unit\": {\n \"args\": {},\n \"message\": \"\",\n \"token\": \"\"\n },\n \"visible\": {{faker 'datatype.boolean'}}\n }\n ],\n \"prefixNodes\": [\n {\n \"dataSourceNode\": {{faker 'datatype.boolean'}},\n \"depth\": {{faker 'number.int' max=99999}},\n \"endIndex\": {{faker 'number.int' max=99999}},\n \"startIndex\": {{faker 'number.int' max=99999}},\n \"word\": \"\"\n }\n ]\n },\n \"endTime\": \"\",\n \"startTime\": \"\"\n },\n \"startTime\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9fe8ddf3-737c-44a0-bc15-bc02a1f68e69", "documentation": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", "method": "post", "endpoint": "v1/:name:cancel", "responses": [ { "uuid": "46e57614-9e5e-41bb-a974-9dc818f2449c", "body": "{}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "6968e598-96fd-45a1-bbb7-cadfc1ef7b86", "documentation": "Return available scans given a Database-specific resource name.", "method": "get", "endpoint": "v1/:parent", "responses": [ { "uuid": "56e2f858-b499-43fe-9092-d31a5c8c7d8a", "body": "{\n \"nextPageToken\": \"\",\n \"scans\": [\n {\n \"details\": {},\n \"endTime\": \"\",\n \"name\": \"\",\n \"scanData\": {\n \"data\": {\n \"dataSourceEndToken\": \"\",\n \"dataSourceSeparatorToken\": \"\",\n \"diagnosticMessages\": [\n {\n \"info\": {\n \"args\": {},\n \"message\": \"\",\n \"token\": \"\"\n },\n \"metric\": {\n \"args\": {},\n \"message\": \"\",\n \"token\": \"\"\n },\n \"metricSpecific\": {{faker 'datatype.boolean'}},\n \"severity\": \"{{oneOf (array 'SEVERITY_UNSPECIFIED' 'INFO' 'WARNING' 'ERROR' 'FATAL')}}\",\n \"shortMessage\": {\n \"args\": {},\n \"message\": \"\",\n \"token\": \"\"\n }\n }\n ],\n \"endKeyStrings\": [\n \"\"\n ],\n \"hasPii\": {{faker 'datatype.boolean'}},\n \"indexedKeys\": [\n \"\"\n ],\n \"keySeparator\": \"\",\n \"keyUnit\": \"{{oneOf (array 'KEY_UNIT_UNSPECIFIED' 'KEY' 'CHUNK')}}\",\n \"metrics\": [\n {\n \"aggregation\": \"{{oneOf (array 'AGGREGATION_UNSPECIFIED' 'MAX' 'SUM')}}\",\n \"category\": {\n \"args\": {},\n \"message\": \"\",\n \"token\": \"\"\n },\n \"derived\": {\n \"denominator\": {\n \"args\": {},\n \"message\": \"\",\n \"token\": \"\"\n },\n \"numerator\": {\n \"args\": {},\n \"message\": \"\",\n \"token\": \"\"\n }\n },\n \"displayLabel\": {\n \"args\": {},\n \"message\": \"\",\n \"token\": \"\"\n },\n \"hasNonzeroData\": {{faker 'datatype.boolean'}},\n \"hotValue\": {{faker 'number.float'}},\n \"indexedHotKeys\": {},\n \"indexedKeyRangeInfos\": {},\n \"info\": {\n \"args\": {},\n \"message\": \"\",\n \"token\": \"\"\n },\n \"matrix\": {\n \"rows\": [\n {\n \"cols\": [\n {{faker 'number.float'}}\n ]\n }\n ]\n },\n \"unit\": {\n \"args\": {},\n \"message\": \"\",\n \"token\": \"\"\n },\n \"visible\": {{faker 'datatype.boolean'}}\n }\n ],\n \"prefixNodes\": [\n {\n \"dataSourceNode\": {{faker 'datatype.boolean'}},\n \"depth\": {{faker 'number.int' max=99999}},\n \"endIndex\": {{faker 'number.int' max=99999}},\n \"startIndex\": {{faker 'number.int' max=99999}},\n \"word\": \"\"\n }\n ]\n },\n \"endTime\": \"\",\n \"startTime\": \"\"\n },\n \"startTime\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "94336ca4-c4ae-4961-bdf6-303bc874d718", "documentation": "Lists the backup long-running operations in the given instance. A backup operation has a name of the form `projects//instances//backups//operations/`. The long-running operation metadata field type `metadata.type_url` describes the type of the metadata. Operations returned include those that have completed/failed/canceled within the last 7 days, and pending operations. Operations returned are ordered by `operation.metadata.value.progress.start_time` in descending order starting from the most recently started operation.", "method": "get", "endpoint": "v1/:parent/backupOperations", "responses": [ { "uuid": "6fc496dd-5e7f-42a0-a7bd-c97aaa0d489c", "body": "{\n \"nextPageToken\": \"\",\n \"operations\": [\n {\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e94d52bd-6054-455f-aa7b-694083651e32", "documentation": "Lists completed and pending backups. Backups returned are ordered by `create_time` in descending order, starting from the most recent `create_time`.", "method": "get", "endpoint": "v1/:parent/backups", "responses": [ { "uuid": "367cf3b4-1192-42a6-b2ef-b58f4ce93253", "body": "{\n \"backups\": [\n {\n \"createTime\": \"\",\n \"database\": \"\",\n \"databaseDialect\": \"{{oneOf (array 'DATABASE_DIALECT_UNSPECIFIED' 'GOOGLE_STANDARD_SQL' 'POSTGRESQL')}}\",\n \"encryptionInfo\": {\n \"encryptionStatus\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"encryptionType\": \"{{oneOf (array 'TYPE_UNSPECIFIED' 'GOOGLE_DEFAULT_ENCRYPTION' 'CUSTOMER_MANAGED_ENCRYPTION')}}\",\n \"kmsKeyVersion\": \"\"\n },\n \"expireTime\": \"\",\n \"maxExpireTime\": \"\",\n \"name\": \"\",\n \"referencingBackups\": [\n \"\"\n ],\n \"referencingDatabases\": [\n \"\"\n ],\n \"sizeBytes\": \"\",\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'CREATING' 'READY')}}\",\n \"versionTime\": \"\"\n }\n ],\n \"nextPageToken\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "cc611fe7-b8f4-4acc-829a-fdbc8b3709d4", "documentation": "Starts creating a new Cloud Spanner Backup. The returned backup long-running operation will have a name of the format `projects//instances//backups//operations/` and can be used to track creation of the backup. The metadata field type is CreateBackupMetadata. The response field type is Backup, if successful. Cancelling the returned operation will stop the creation and delete the backup. There can be only one pending backup creation per database. Backup creation of different databases can run concurrently.", "method": "post", "endpoint": "v1/:parent/backups", "responses": [ { "uuid": "3d2b5a25-bd45-486c-8088-5150a3f8c3e6", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "cff8f9c9-6e84-4537-8376-90cd469ecc59", "documentation": "Starts copying a Cloud Spanner Backup. The returned backup long-running operation will have a name of the format `projects//instances//backups//operations/` and can be used to track copying of the backup. The operation is associated with the destination backup. The metadata field type is CopyBackupMetadata. The response field type is Backup, if successful. Cancelling the returned operation will stop the copying and delete the backup. Concurrent CopyBackup requests can run on the same source backup.", "method": "post", "endpoint": "v1/:parent/backups:copy", "responses": [ { "uuid": "3e15f62e-87d6-4f92-b472-eb3435cdc50f", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "7767035a-9bca-4a38-84e4-b720eafee5e6", "documentation": "Lists database longrunning-operations. A database operation has a name of the form `projects//instances//databases//operations/`. The long-running operation metadata field type `metadata.type_url` describes the type of the metadata. Operations returned include those that have completed/failed/canceled within the last 7 days, and pending operations.", "method": "get", "endpoint": "v1/:parent/databaseOperations", "responses": [ { "uuid": "4babaaae-5af1-48ac-8941-be43265d5dae", "body": "{\n \"nextPageToken\": \"\",\n \"operations\": [\n {\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b6f0f446-39b7-47af-8b5d-7b1fd4aa7651", "documentation": "Lists Cloud Spanner database roles.", "method": "get", "endpoint": "v1/:parent/databaseRoles", "responses": [ { "uuid": "b5323bc7-a9d9-453f-9127-598eb416b104", "body": "{\n \"databaseRoles\": [\n {\n \"name\": \"\"\n }\n ],\n \"nextPageToken\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a4413759-615c-4576-8a0f-a6833697e84c", "documentation": "Lists Cloud Spanner databases.", "method": "get", "endpoint": "v1/:parent/databases", "responses": [ { "uuid": "65e6d781-26b6-4355-badb-471b8d2cab6f", "body": "{\n \"databases\": [\n {\n \"createTime\": \"\",\n \"databaseDialect\": \"{{oneOf (array 'DATABASE_DIALECT_UNSPECIFIED' 'GOOGLE_STANDARD_SQL' 'POSTGRESQL')}}\",\n \"defaultLeader\": \"\",\n \"earliestVersionTime\": \"\",\n \"encryptionConfig\": {\n \"kmsKeyName\": \"\"\n },\n \"encryptionInfo\": [\n {\n \"encryptionStatus\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"encryptionType\": \"{{oneOf (array 'TYPE_UNSPECIFIED' 'GOOGLE_DEFAULT_ENCRYPTION' 'CUSTOMER_MANAGED_ENCRYPTION')}}\",\n \"kmsKeyVersion\": \"\"\n }\n ],\n \"name\": \"\",\n \"restoreInfo\": {\n \"backupInfo\": {\n \"backup\": \"\",\n \"createTime\": \"\",\n \"sourceDatabase\": \"\",\n \"versionTime\": \"\"\n },\n \"sourceType\": \"{{oneOf (array 'TYPE_UNSPECIFIED' 'BACKUP')}}\"\n },\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'CREATING' 'READY' 'READY_OPTIMIZING')}}\",\n \"versionRetentionPeriod\": \"\"\n }\n ],\n \"nextPageToken\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b764f473-fef0-4cd5-9fc6-d80359183011", "documentation": "Creates a new Cloud Spanner database and starts to prepare it for serving. The returned long-running operation will have a name of the format `/operations/` and can be used to track preparation of the database. The metadata field type is CreateDatabaseMetadata. The response field type is Database, if successful.", "method": "post", "endpoint": "v1/:parent/databases", "responses": [ { "uuid": "8844c512-42e1-47e4-aa9b-5f0bbbb188cd", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "00d3fd9e-4bf6-4084-b432-05f53469e9d4", "documentation": "Create a new database by restoring from a completed backup. The new database must be in the same project and in an instance with the same instance configuration as the instance containing the backup. The returned database long-running operation has a name of the format `projects//instances//databases//operations/`, and can be used to track the progress of the operation, and to cancel it. The metadata field type is RestoreDatabaseMetadata. The response type is Database, if successful. Cancelling the returned operation will stop the restore and delete the database. There can be only one database being restored into an instance at a time. Once the restore operation completes, a new restore operation can be initiated, without waiting for the optimize operation associated with the first restore to complete.", "method": "post", "endpoint": "v1/:parent/databases:restore", "responses": [ { "uuid": "d790a26f-8c01-466e-86fa-1abd320772ee", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "af644534-8dcb-4368-aaab-a8505bf96dfd", "documentation": "Lists the user-managed instance config long-running operations in the given project. An instance config operation has a name of the form `projects//instanceConfigs//operations/`. The long-running operation metadata field type `metadata.type_url` describes the type of the metadata. Operations returned include those that have completed/failed/canceled within the last 7 days, and pending operations. Operations returned are ordered by `operation.metadata.value.start_time` in descending order starting from the most recently started operation.", "method": "get", "endpoint": "v1/:parent/instanceConfigOperations", "responses": [ { "uuid": "03001e6a-6a86-4498-adfd-2f312bda84d7", "body": "{\n \"nextPageToken\": \"\",\n \"operations\": [\n {\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9c2219f9-8a11-4d70-95b8-0f68e2e971cd", "documentation": "Lists the supported instance configurations for a given project.", "method": "get", "endpoint": "v1/:parent/instanceConfigs", "responses": [ { "uuid": "2a925a03-94f7-46fb-a217-3702a573fca4", "body": "{\n \"instanceConfigs\": [\n {\n \"baseConfig\": \"\",\n \"configType\": \"{{oneOf (array 'TYPE_UNSPECIFIED' 'GOOGLE_MANAGED' 'USER_MANAGED')}}\",\n \"displayName\": \"\",\n \"etag\": \"\",\n \"freeInstanceAvailability\": \"{{oneOf (array 'FREE_INSTANCE_AVAILABILITY_UNSPECIFIED' 'AVAILABLE' 'UNSUPPORTED' 'DISABLED' 'QUOTA_EXCEEDED')}}\",\n \"labels\": {},\n \"leaderOptions\": [\n \"\"\n ],\n \"name\": \"\",\n \"optionalReplicas\": [\n {\n \"defaultLeaderLocation\": {{faker 'datatype.boolean'}},\n \"location\": \"\",\n \"type\": \"{{oneOf (array 'TYPE_UNSPECIFIED' 'READ_WRITE' 'READ_ONLY' 'WITNESS')}}\"\n }\n ],\n \"reconciling\": {{faker 'datatype.boolean'}},\n \"replicas\": [\n {\n \"defaultLeaderLocation\": {{faker 'datatype.boolean'}},\n \"location\": \"\",\n \"type\": \"{{oneOf (array 'TYPE_UNSPECIFIED' 'READ_WRITE' 'READ_ONLY' 'WITNESS')}}\"\n }\n ],\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'CREATING' 'READY')}}\"\n }\n ],\n \"nextPageToken\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a380dba4-d59d-4a82-9940-7c82387086a3", "documentation": "Creates an instance config and begins preparing it to be used. The returned long-running operation can be used to track the progress of preparing the new instance config. The instance config name is assigned by the caller. If the named instance config already exists, `CreateInstanceConfig` returns `ALREADY_EXISTS`. Immediately after the request returns: * The instance config is readable via the API, with all requested attributes. The instance config's reconciling field is set to true. Its state is `CREATING`. While the operation is pending: * Cancelling the operation renders the instance config immediately unreadable via the API. * Except for deleting the creating resource, all other attempts to modify the instance config are rejected. Upon completion of the returned operation: * Instances can be created using the instance configuration. * The instance config's reconciling field becomes false. Its state becomes `READY`. The returned long-running operation will have a name of the format `/operations/` and can be used to track creation of the instance config. The metadata field type is CreateInstanceConfigMetadata. The response field type is InstanceConfig, if successful. Authorization requires `spanner.instanceConfigs.create` permission on the resource parent.", "method": "post", "endpoint": "v1/:parent/instanceConfigs", "responses": [ { "uuid": "e92289b9-eef9-44a1-af4d-d041784970e3", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a1914f7b-3c0e-4866-8831-f1f96acd1c49", "documentation": "Lists all instances in the given project.", "method": "get", "endpoint": "v1/:parent/instances", "responses": [ { "uuid": "0fb5bdba-6ce9-4482-9416-95c20dfd43f9", "body": "{\n \"instances\": [\n {\n \"config\": \"\",\n \"createTime\": \"\",\n \"displayName\": \"\",\n \"endpointUris\": [\n \"\"\n ],\n \"freeInstanceMetadata\": {\n \"expireBehavior\": \"{{oneOf (array 'EXPIRE_BEHAVIOR_UNSPECIFIED' 'FREE_TO_PROVISIONED' 'REMOVE_AFTER_GRACE_PERIOD')}}\",\n \"expireTime\": \"\",\n \"upgradeTime\": \"\"\n },\n \"instanceType\": \"{{oneOf (array 'INSTANCE_TYPE_UNSPECIFIED' 'PROVISIONED' 'FREE_INSTANCE')}}\",\n \"labels\": {},\n \"name\": \"\",\n \"nodeCount\": {{faker 'number.int' max=99999}},\n \"processingUnits\": {{faker 'number.int' max=99999}},\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'CREATING' 'READY')}}\",\n \"updateTime\": \"\"\n }\n ],\n \"nextPageToken\": \"\",\n \"unreachable\": [\n \"\"\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "19af6209-5081-47c8-958d-dea24b19cf94", "documentation": "Creates an instance and begins preparing it to begin serving. The returned long-running operation can be used to track the progress of preparing the new instance. The instance name is assigned by the caller. If the named instance already exists, `CreateInstance` returns `ALREADY_EXISTS`. Immediately upon completion of this request: * The instance is readable via the API, with all requested attributes but no allocated resources. Its state is `CREATING`. Until completion of the returned operation: * Cancelling the operation renders the instance immediately unreadable via the API. * The instance can be deleted. * All other attempts to modify the instance are rejected. Upon completion of the returned operation: * Billing for all successfully-allocated resources begins (some types may have lower than the requested levels). * Databases can be created in the instance. * The instance's allocated resource levels are readable via the API. * The instance's state becomes `READY`. The returned long-running operation will have a name of the format `/operations/` and can be used to track creation of the instance. The metadata field type is CreateInstanceMetadata. The response field type is Instance, if successful.", "method": "post", "endpoint": "v1/:parent/instances", "responses": [ { "uuid": "9a6bafe0-4cd2-4708-84b6-65a378246906", "body": "{\n \"done\": {{faker 'datatype.boolean'}},\n \"error\": {\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": [\n {}\n ],\n \"message\": \"\"\n },\n \"metadata\": {},\n \"name\": \"\",\n \"response\": {}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "facbc2d8-5650-4305-bdc7-84fcb29f423d", "documentation": "Gets the access control policy for a database or backup resource. Returns an empty policy if a database or backup exists but does not have a policy set. Authorization requires `spanner.databases.getIamPolicy` permission on resource. For backups, authorization requires `spanner.backups.getIamPolicy` permission on resource.", "method": "post", "endpoint": "v1/:resource:getIamPolicy", "responses": [ { "uuid": "4f91cd36-8df8-4da6-8f2a-2702a205f146", "body": "{\n \"bindings\": [\n {\n \"condition\": {\n \"description\": \"\",\n \"expression\": \"\",\n \"location\": \"\",\n \"title\": \"\"\n },\n \"members\": [\n \"\"\n ],\n \"role\": \"\"\n }\n ],\n \"etag\": \"\",\n \"version\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "053fd07a-a121-4dc0-8841-8c59408d6301", "documentation": "Sets the access control policy on a database or backup resource. Replaces any existing policy. Authorization requires `spanner.databases.setIamPolicy` permission on resource. For backups, authorization requires `spanner.backups.setIamPolicy` permission on resource.", "method": "post", "endpoint": "v1/:resource:setIamPolicy", "responses": [ { "uuid": "c2e7b758-8662-4760-99f9-532397d03f1b", "body": "{\n \"bindings\": [\n {\n \"condition\": {\n \"description\": \"\",\n \"expression\": \"\",\n \"location\": \"\",\n \"title\": \"\"\n },\n \"members\": [\n \"\"\n ],\n \"role\": \"\"\n }\n ],\n \"etag\": \"\",\n \"version\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "7c13e2ba-91dc-4d2f-976b-e629d57f2e33", "documentation": "Returns permissions that the caller has on the specified database or backup resource. Attempting this RPC on a non-existent Cloud Spanner database will result in a NOT_FOUND error if the user has `spanner.databases.list` permission on the containing Cloud Spanner instance. Otherwise returns an empty set of permissions. Calling this method on a backup that does not exist will result in a NOT_FOUND error if the user has `spanner.backups.list` permission on the containing instance.", "method": "post", "endpoint": "v1/:resource:testIamPermissions", "responses": [ { "uuid": "ef54be15-af02-4689-be0e-f5d9922fceed", "body": "{\n \"permissions\": [\n \"\"\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "558a9438-f00c-48bc-8b6b-6987c8e16561", "documentation": "Begins a new transaction. This step can often be skipped: Read, ExecuteSql and Commit can begin a new transaction as a side-effect.", "method": "post", "endpoint": "v1/:session:beginTransaction", "responses": [ { "uuid": "2977ddf2-0ae2-4c0a-8770-244cc2c49353", "body": "{\n \"id\": \"\",\n \"readTimestamp\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e99b0a5f-f1b9-48e6-8453-ceb0a5eece51", "documentation": "Commits a transaction. The request includes the mutations to be applied to rows in the database. `Commit` might return an `ABORTED` error. This can occur at any time; commonly, the cause is conflicts with concurrent transactions. However, it can also happen for a variety of other reasons. If `Commit` returns `ABORTED`, the caller should re-attempt the transaction from the beginning, re-using the same session. On very rare occasions, `Commit` might return `UNKNOWN`. This can happen, for example, if the client job experiences a 1+ hour networking failure. At that point, Cloud Spanner has lost track of the transaction outcome and we recommend that you perform another read from the database to see the state of things as they are now.", "method": "post", "endpoint": "v1/:session:commit", "responses": [ { "uuid": "d275c356-3435-4e9a-b901-6b352aa5e61d", "body": "{\n \"commitStats\": {\n \"mutationCount\": \"\"\n },\n \"commitTimestamp\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b3d48e03-7914-4ddb-a003-7f1ffe0ea83b", "documentation": "Executes a batch of SQL DML statements. This method allows many statements to be run with lower latency than submitting them sequentially with ExecuteSql. Statements are executed in sequential order. A request can succeed even if a statement fails. The ExecuteBatchDmlResponse.status field in the response provides information about the statement that failed. Clients must inspect this field to determine whether an error occurred. Execution stops after the first failed statement; the remaining statements are not executed.", "method": "post", "endpoint": "v1/:session:executeBatchDml", "responses": [ { "uuid": "3265ed92-8a5c-47ca-9740-a8c0542d1660", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "97420d06-59f1-4348-b708-b41bae571b9b", "documentation": "Executes an SQL statement, returning all results in a single reply. This method cannot be used to return a result set larger than 10 MiB; if the query yields more data than that, the query fails with a `FAILED_PRECONDITION` error. Operations inside read-write transactions might return `ABORTED`. If this occurs, the application should restart the transaction from the beginning. See Transaction for more details. Larger result sets can be fetched in streaming fashion by calling ExecuteStreamingSql instead.", "method": "post", "endpoint": "v1/:session:executeSql", "responses": [ { "uuid": "9ac889bc-c4c2-4226-8336-3f8bd04b0649", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8cdaa65c-9bde-4bdf-baf6-9ed24b0d178d", "documentation": "Like ExecuteSql, except returns the result set as a stream. Unlike ExecuteSql, there is no limit on the size of the returned result set. However, no individual row in the result set can exceed 100 MiB, and no column value can exceed 10 MiB.", "method": "post", "endpoint": "v1/:session:executeStreamingSql", "responses": [ { "uuid": "2631b5a6-e7fa-446b-8924-8680edc91e74", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f3cd04fa-a304-44af-88e1-648a4f9b952b", "documentation": "Creates a set of partition tokens that can be used to execute a query operation in parallel. Each of the returned partition tokens can be used by ExecuteStreamingSql to specify a subset of the query result to read. The same session and read-only transaction must be used by the PartitionQueryRequest used to create the partition tokens and the ExecuteSqlRequests that use the partition tokens. Partition tokens become invalid when the session used to create them is deleted, is idle for too long, begins a new transaction, or becomes too old. When any of these happen, it is not possible to resume the query, and the whole operation must be restarted from the beginning.", "method": "post", "endpoint": "v1/:session:partitionQuery", "responses": [ { "uuid": "860a7ff0-527a-433b-ade0-1cde56112b90", "body": "{\n \"partitions\": [\n {\n \"partitionToken\": \"\"\n }\n ],\n \"transaction\": {\n \"id\": \"\",\n \"readTimestamp\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8e5f62d5-dd4e-4b7f-94d6-d7e3bd70d5f4", "documentation": "Creates a set of partition tokens that can be used to execute a read operation in parallel. Each of the returned partition tokens can be used by StreamingRead to specify a subset of the read result to read. The same session and read-only transaction must be used by the PartitionReadRequest used to create the partition tokens and the ReadRequests that use the partition tokens. There are no ordering guarantees on rows returned among the returned partition tokens, or even within each individual StreamingRead call issued with a partition_token. Partition tokens become invalid when the session used to create them is deleted, is idle for too long, begins a new transaction, or becomes too old. When any of these happen, it is not possible to resume the read, and the whole operation must be restarted from the beginning.", "method": "post", "endpoint": "v1/:session:partitionRead", "responses": [ { "uuid": "edd20c22-b978-42b6-843d-5836cceb9fa4", "body": "{\n \"partitions\": [\n {\n \"partitionToken\": \"\"\n }\n ],\n \"transaction\": {\n \"id\": \"\",\n \"readTimestamp\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e0db9ac0-1bea-4169-a032-18f67fa2b35f", "documentation": "Reads rows from the database using key lookups and scans, as a simple key/value style alternative to ExecuteSql. This method cannot be used to return a result set larger than 10 MiB; if the read matches more data than that, the read fails with a `FAILED_PRECONDITION` error. Reads inside read-write transactions might return `ABORTED`. If this occurs, the application should restart the transaction from the beginning. See Transaction for more details. Larger result sets can be yielded in streaming fashion by calling StreamingRead instead.", "method": "post", "endpoint": "v1/:session:read", "responses": [ { "uuid": "ecba4fb1-88a5-47f8-ac61-9b00633d2388", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "4e39c473-1bdc-4fd8-9dff-9c4c7ac6326c", "documentation": "Rolls back a transaction, releasing any locks it holds. It is a good idea to call this for any transaction that includes one or more Read or ExecuteSql requests and ultimately decides not to commit. `Rollback` returns `OK` if it successfully aborts the transaction, the transaction was already aborted, or the transaction is not found. `Rollback` never returns `ABORTED`.", "method": "post", "endpoint": "v1/:session:rollback", "responses": [ { "uuid": "816ee9aa-8ae8-4392-83c5-8744e5ed919f", "body": "{}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a9fca210-2c6f-4322-9386-07006df8e9d1", "documentation": "Like Read, except returns the result set as a stream. Unlike Read, there is no limit on the size of the returned result set. However, no individual row in the result set can exceed 100 MiB, and no column value can exceed 10 MiB.", "method": "post", "endpoint": "v1/:session:streamingRead", "responses": [ { "uuid": "f6649b4a-3c89-47f7-be62-1b7bbf1329cd", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "f78a6142-844c-47f8-ac2e-835b704fcd61" }, { "type": "route", "uuid": "fed7eb95-d164-43dd-ba6b-f74a39fed106" }, { "type": "route", "uuid": "813db75b-a502-4b4f-8efe-2e123782b150" }, { "type": "route", "uuid": "24afb60b-5d18-449c-bac2-1fb02024604e" }, { "type": "route", "uuid": "050ca539-ddb8-4377-a5ea-f2862f93bfe9" }, { "type": "route", "uuid": "5e136c76-6ea8-4fb3-8ab2-f717f0b371b9" }, { "type": "route", "uuid": "55bd11d4-22a8-497c-a928-e80d046a208d" }, { "type": "route", "uuid": "cf80b7d1-ac92-45c5-b4fc-b9e324d696b9" }, { "type": "route", "uuid": "c73b8550-d0dc-4d65-add6-3b6a4a760dc1" }, { "type": "route", "uuid": "60c4586a-3e66-4c6f-b804-23312ead8e86" }, { "type": "route", "uuid": "9fe8ddf3-737c-44a0-bc15-bc02a1f68e69" }, { "type": "route", "uuid": "6968e598-96fd-45a1-bbb7-cadfc1ef7b86" }, { "type": "route", "uuid": "94336ca4-c4ae-4961-bdf6-303bc874d718" }, { "type": "route", "uuid": "e94d52bd-6054-455f-aa7b-694083651e32" }, { "type": "route", "uuid": "cc611fe7-b8f4-4acc-829a-fdbc8b3709d4" }, { "type": "route", "uuid": "cff8f9c9-6e84-4537-8376-90cd469ecc59" }, { "type": "route", "uuid": "7767035a-9bca-4a38-84e4-b720eafee5e6" }, { "type": "route", "uuid": "b6f0f446-39b7-47af-8b5d-7b1fd4aa7651" }, { "type": "route", "uuid": "a4413759-615c-4576-8a0f-a6833697e84c" }, { "type": "route", "uuid": "b764f473-fef0-4cd5-9fc6-d80359183011" }, { "type": "route", "uuid": "00d3fd9e-4bf6-4084-b432-05f53469e9d4" }, { "type": "route", "uuid": "af644534-8dcb-4368-aaab-a8505bf96dfd" }, { "type": "route", "uuid": "9c2219f9-8a11-4d70-95b8-0f68e2e971cd" }, { "type": "route", "uuid": "a380dba4-d59d-4a82-9940-7c82387086a3" }, { "type": "route", "uuid": "a1914f7b-3c0e-4866-8831-f1f96acd1c49" }, { "type": "route", "uuid": "19af6209-5081-47c8-958d-dea24b19cf94" }, { "type": "route", "uuid": "facbc2d8-5650-4305-bdc7-84fcb29f423d" }, { "type": "route", "uuid": "053fd07a-a121-4dc0-8841-8c59408d6301" }, { "type": "route", "uuid": "7c13e2ba-91dc-4d2f-976b-e629d57f2e33" }, { "type": "route", "uuid": "558a9438-f00c-48bc-8b6b-6987c8e16561" }, { "type": "route", "uuid": "e99b0a5f-f1b9-48e6-8453-ceb0a5eece51" }, { "type": "route", "uuid": "b3d48e03-7914-4ddb-a003-7f1ffe0ea83b" }, { "type": "route", "uuid": "97420d06-59f1-4348-b708-b41bae571b9b" }, { "type": "route", "uuid": "8cdaa65c-9bde-4bdf-baf6-9ed24b0d178d" }, { "type": "route", "uuid": "f3cd04fa-a304-44af-88e1-648a4f9b952b" }, { "type": "route", "uuid": "8e5f62d5-dd4e-4b7f-94d6-d7e3bd70d5f4" }, { "type": "route", "uuid": "e0db9ac0-1bea-4169-a032-18f67fa2b35f" }, { "type": "route", "uuid": "4e39c473-1bdc-4fd8-9dff-9c4c7ac6326c" }, { "type": "route", "uuid": "a9fca210-2c6f-4322-9386-07006df8e9d1" } ] }