Skip to content

Commit

Permalink
feat: add new types QueryMode, QueryPlan, ResultSetStats (#1911)
Browse files Browse the repository at this point in the history
feat: add new types QueryMode, QueryPlan, ResultSetStats
feat: add QueryMode field to RunQueryRequest
feat: add ResultSetStats field to RunQueryResponse
feat: add QueryMode field to RunAggregationQueryRequest
feat: add ResultSetStats field to RunAggregationQueryResponse

PiperOrigin-RevId: 595771083

Source-Link: googleapis/googleapis@2027807

Source-Link: googleapis/googleapis-gen@5407e2b
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTQwN2UyYjY4NjM5MjhjMjZmNTJkYjlmMzQ3YzZiNTU1NmU3MDJmMiJ9

fix: correct long audio synthesis HTTP binding
docs: Deprecate the custom voice usage field

PiperOrigin-RevId: 595119987

Source-Link: googleapis/googleapis@c22f408

Source-Link: googleapis/googleapis-gen@4e9ca63
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNGU5Y2E2M2QyY2M3OTMzZWI3YzM4M2NlOGI3OTRmY2UxNTJlYTJmYyJ9

feat: add DeleteDatabase API and delete protection
docs: update Database API description

PiperOrigin-RevId: 591922567

Source-Link: googleapis/googleapis@204f2ae

Source-Link: googleapis/googleapis-gen@bd98650
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYmQ5ODY1MDAwMzUwNDY1MjcxOTExZDk5Njg5Yjc1NjExNTg4NTVkNCJ9

feat: expose Firestore PITR fields in Database to stable
feat: expose Firestore snapshot_time field in export API to stable
feat: expose Firestore namespace ID fields in import/export APIs to stable
docs: assorted typo fixes and whitespace updates

PiperOrigin-RevId: 587811576

Source-Link: googleapis/googleapis@fbe1c8e

Source-Link: googleapis/googleapis-gen@5fe704d
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNWZlNzA0ZDk0ZmEyZDlhMWRjZTc1Mjk0MmI3MzA4ODczMTI0YjdkZCJ9

build: update Node.js generator to compile protos

PiperOrigin-RevId: 582493526

Source-Link: googleapis/googleapis@7c4e4b5

Source-Link: googleapis/googleapis-gen@368cfb6
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMzY4Y2ZiNjUxMDE2ZDZhOTNjYTZlNDg4Y2JjMzRlMmQxZDlkMjEyYyJ9

chore: expand Target.target_id docs
chore: improve FieldReference.field_path docs
chore: (preview only) expose Query Profile API

PiperOrigin-RevId: 570489360

Source-Link: googleapis/googleapis@5c5f6b7

Source-Link: googleapis/googleapis-gen@cb29ed5
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2IyOWVkNTZiNzM4YWIwNDM2MGQyZTFjYmYzYjFiYzg3ODVmOGNhMSJ9

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: sofisl <55454395+sofisl@users.noreply.github.com>
  • Loading branch information
3 people committed Jan 10, 2024
1 parent 1d76546 commit 8f77b68
Show file tree
Hide file tree
Showing 31 changed files with 2,484 additions and 145 deletions.
4 changes: 2 additions & 2 deletions .jsdoc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 Google LLC
// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -40,7 +40,7 @@ module.exports = {
includePattern: '\\.js$'
},
templates: {
copyright: 'Copyright 2023 Google LLC',
copyright: 'Copyright 2024 Google LLC',
includeDate: false,
sourceFiles: false,
systemName: '@google-cloud/firestore',
Expand Down
143 changes: 142 additions & 1 deletion dev/protos/admin_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,27 @@
"type": "string",
"id": 1
},
"uid": {
"type": "string",
"id": 3,
"options": {
"(google.api.field_behavior)": "OUTPUT_ONLY"
}
},
"createTime": {
"type": "google.protobuf.Timestamp",
"id": 5,
"options": {
"(google.api.field_behavior)": "OUTPUT_ONLY"
}
},
"updateTime": {
"type": "google.protobuf.Timestamp",
"id": 6,
"options": {
"(google.api.field_behavior)": "OUTPUT_ONLY"
}
},
"locationId": {
"type": "string",
"id": 9
Expand All @@ -43,6 +64,24 @@
"type": "ConcurrencyMode",
"id": 15
},
"versionRetentionPeriod": {
"type": "google.protobuf.Duration",
"id": 17,
"options": {
"(google.api.field_behavior)": "OUTPUT_ONLY"
}
},
"earliestVersionTime": {
"type": "google.protobuf.Timestamp",
"id": 18,
"options": {
"(google.api.field_behavior)": "OUTPUT_ONLY"
}
},
"pointInTimeRecoveryEnablement": {
"type": "PointInTimeRecoveryEnablement",
"id": 21
},
"appEngineIntegrationMode": {
"type": "AppEngineIntegrationMode",
"id": 19
Expand All @@ -54,6 +93,10 @@
"(google.api.field_behavior)": "OUTPUT_ONLY"
}
},
"deleteProtectionState": {
"type": "DeleteProtectionState",
"id": 22
},
"etag": {
"type": "string",
"id": 99
Expand All @@ -75,12 +118,26 @@
"OPTIMISTIC_WITH_ENTITY_GROUPS": 3
}
},
"PointInTimeRecoveryEnablement": {
"values": {
"POINT_IN_TIME_RECOVERY_ENABLEMENT_UNSPECIFIED": 0,
"POINT_IN_TIME_RECOVERY_ENABLED": 1,
"POINT_IN_TIME_RECOVERY_DISABLED": 2
}
},
"AppEngineIntegrationMode": {
"values": {
"APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED": 0,
"ENABLED": 1,
"DISABLED": 2
}
},
"DeleteProtectionState": {
"values": {
"DELETE_PROTECTION_STATE_UNSPECIFIED": 0,
"DELETE_PROTECTION_DISABLED": 1,
"DELETE_PROTECTION_ENABLED": 2
}
}
}
},
Expand Down Expand Up @@ -450,6 +507,32 @@
}
}
]
},
"DeleteDatabase": {
"requestType": "DeleteDatabaseRequest",
"responseType": "google.longrunning.Operation",
"options": {
"(google.api.http).delete": "/v1/{name=projects/*/databases/*}",
"(google.api.method_signature)": "name",
"(google.longrunning.operation_info).response_type": "Database",
"(google.longrunning.operation_info).metadata_type": "DeleteDatabaseMetadata"
},
"parsedOptions": [
{
"(google.api.http)": {
"delete": "/v1/{name=projects/*/databases/*}"
}
},
{
"(google.api.method_signature)": "name"
},
{
"(google.longrunning.operation_info)": {
"response_type": "Database",
"metadata_type": "DeleteDatabaseMetadata"
}
}
]
}
}
},
Expand Down Expand Up @@ -500,6 +583,11 @@
"rule": "repeated",
"type": "Database",
"id": 1
},
"unreachable": {
"rule": "repeated",
"type": "string",
"id": 3
}
}
},
Expand Down Expand Up @@ -533,6 +621,25 @@
"UpdateDatabaseMetadata": {
"fields": {}
},
"DeleteDatabaseRequest": {
"fields": {
"name": {
"type": "string",
"id": 1,
"options": {
"(google.api.field_behavior)": "REQUIRED",
"(google.api.resource_reference).type": "firestore.googleapis.com/Database"
}
},
"etag": {
"type": "string",
"id": 3
}
}
},
"DeleteDatabaseMetadata": {
"fields": {}
},
"CreateIndexRequest": {
"fields": {
"parent": {
Expand Down Expand Up @@ -695,6 +802,15 @@
"outputUriPrefix": {
"type": "string",
"id": 3
},
"namespaceIds": {
"rule": "repeated",
"type": "string",
"id": 4
},
"snapshotTime": {
"type": "google.protobuf.Timestamp",
"id": 5
}
}
},
Expand All @@ -716,6 +832,11 @@
"inputUriPrefix": {
"type": "string",
"id": 3
},
"namespaceIds": {
"rule": "repeated",
"type": "string",
"id": 4
}
}
},
Expand Down Expand Up @@ -949,6 +1070,15 @@
"outputUriPrefix": {
"type": "string",
"id": 7
},
"namespaceIds": {
"rule": "repeated",
"type": "string",
"id": 8
},
"snapshotTime": {
"type": "google.protobuf.Timestamp",
"id": 9
}
}
},
Expand Down Expand Up @@ -982,6 +1112,11 @@
"inputUriPrefix": {
"type": "string",
"id": 7
},
"namespaceIds": {
"rule": "repeated",
"type": "string",
"id": 8
}
}
},
Expand Down Expand Up @@ -1346,6 +1481,11 @@
"longRunning": {
"type": "LongRunning",
"id": 2
},
"autoPopulatedFields": {
"rule": "repeated",
"type": "string",
"id": 3
}
},
"nested": {
Expand Down Expand Up @@ -1405,7 +1545,8 @@
"INPUT_ONLY": 4,
"IMMUTABLE": 5,
"UNORDERED_LIST": 6,
"NON_EMPTY_DEFAULT": 7
"NON_EMPTY_DEFAULT": 7,
"IDENTIFIER": 8
}
},
"LaunchStage": {
Expand Down
Loading

0 comments on commit 8f77b68

Please sign in to comment.