Skip to content

Commit f2e61ea

Browse files
feat(datastore): update the api
#### datastore:v1 The following keys were deleted: - schemas.QueryPlan (Total Keys: 4) - schemas.ResultSetStats (Total Keys: 5) - schemas.RunAggregationQueryRequest.properties.mode.type (Total Keys: 1) - schemas.RunAggregationQueryResponse.properties.stats.$ref (Total Keys: 1) - schemas.RunQueryRequest.properties.mode.type (Total Keys: 1) - schemas.RunQueryResponse.properties.stats.$ref (Total Keys: 1) #### datastore:v1beta3 The following keys were deleted: - schemas.QueryPlan (Total Keys: 4) - schemas.ResultSetStats (Total Keys: 5) - schemas.RunAggregationQueryRequest.properties.mode.type (Total Keys: 1) - schemas.RunAggregationQueryResponse.properties.stats.$ref (Total Keys: 1) - schemas.RunQueryRequest.properties.mode.type (Total Keys: 1) - schemas.RunQueryResponse.properties.stats.$ref (Total Keys: 1)
1 parent b837f57 commit f2e61ea

File tree

5 files changed

+3
-187
lines changed

5 files changed

+3
-187
lines changed

docs/dyn/datastore_v1.projects.html

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1014,7 +1014,6 @@ <h3>Method Details</h3>
10141014
],
10151015
&quot;queryString&quot;: &quot;A String&quot;, # A string of the format described [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
10161016
},
1017-
&quot;mode&quot;: &quot;A String&quot;, # Optional. The mode in which the query request is processed. This field is optional, and when not provided, it defaults to `NORMAL` mode where no additional statistics will be returned with the query results.
10181017
&quot;partitionId&quot;: { # A partition ID identifies a grouping of entities. The grouping is always by project and namespace, however the namespace ID may be empty. A partition ID contains several dimensions: project ID and namespace ID. Partition dimensions: - May be `&quot;&quot;`. - Must be valid UTF-8 bytes. - Must have values that match regex `[A-Za-z\d\.\-_]{1,100}` If the value of any dimension matches regex `__.*__`, the partition is reserved/read-only. A reserved/read-only partition ID is forbidden in certain documented contexts. Foreign partition IDs (in which the project ID does not match the context project ID ) are discouraged. Reads and writes of foreign partition IDs may fail if the project is not in an active state. # Entities are partitioned into subsets, identified by a partition ID. Queries are scoped to a single partition. This partition ID is normalized with the standard default context partition ID.
10191018
&quot;databaseId&quot;: &quot;A String&quot;, # If not empty, the ID of the database to which the entities belong.
10201019
&quot;namespaceId&quot;: &quot;A String&quot;, # If not empty, the ID of the namespace to which the entities belong.
@@ -1189,16 +1188,6 @@ <h3>Method Details</h3>
11891188
&quot;startCursor&quot;: &quot;A String&quot;, # A starting point for the query results. Query cursors are returned in query result batches and [can only be used to continue the same query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).
11901189
},
11911190
},
1192-
&quot;stats&quot;: { # Planning and execution statistics for the query. # Query plan and execution statistics. Note that the returned stats are subject to change as Firestore evolves. This is only present when the request specifies a mode other than `NORMAL`.
1193-
&quot;queryPlan&quot;: { # Plan for the query. # Plan for the query.
1194-
&quot;planInfo&quot;: { # Planning phase information for the query. It will include: { &quot;indexes_used&quot;: [ {&quot;query_scope&quot;: &quot;Collection&quot;, &quot;properties&quot;: &quot;(foo ASC, __name__ ASC)&quot;}, {&quot;query_scope&quot;: &quot;Collection&quot;, &quot;properties&quot;: &quot;(bar ASC, __name__ ASC)&quot;} ] }
1195-
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1196-
},
1197-
},
1198-
&quot;queryStats&quot;: { # Aggregated statistics from the execution of the query. This will only be present when the request specifies `PROFILE` mode. For example, a query will return the statistics including: { &quot;results_returned&quot;: &quot;20&quot;, &quot;documents_scanned&quot;: &quot;20&quot;, &quot;indexes_entries_scanned&quot;: &quot;10050&quot;, &quot;total_execution_time&quot;: &quot;100.7 msecs&quot; }
1199-
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1200-
},
1201-
},
12021191
&quot;transaction&quot;: &quot;A String&quot;, # The identifier of the transaction that was started as part of this RunAggregationQuery request. Set only when ReadOptions.new_transaction was set in RunAggregationQueryRequest.read_options.
12031192
}</pre>
12041193
</div>
@@ -1298,7 +1287,6 @@ <h3>Method Details</h3>
12981287
],
12991288
&quot;queryString&quot;: &quot;A String&quot;, # A string of the format described [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
13001289
},
1301-
&quot;mode&quot;: &quot;A String&quot;, # Optional. The mode in which the query request is processed. This field is optional, and when not provided, it defaults to `NORMAL` mode where no additional statistics will be returned with the query results.
13021290
&quot;partitionId&quot;: { # A partition ID identifies a grouping of entities. The grouping is always by project and namespace, however the namespace ID may be empty. A partition ID contains several dimensions: project ID and namespace ID. Partition dimensions: - May be `&quot;&quot;`. - Must be valid UTF-8 bytes. - Must have values that match regex `[A-Za-z\d\.\-_]{1,100}` If the value of any dimension matches regex `__.*__`, the partition is reserved/read-only. A reserved/read-only partition ID is forbidden in certain documented contexts. Foreign partition IDs (in which the project ID does not match the context project ID ) are discouraged. Reads and writes of foreign partition IDs may fail if the project is not in an active state. # Entities are partitioned into subsets, identified by a partition ID. Queries are scoped to a single partition. This partition ID is normalized with the standard default context partition ID.
13031291
&quot;databaseId&quot;: &quot;A String&quot;, # If not empty, the ID of the database to which the entities belong.
13041292
&quot;namespaceId&quot;: &quot;A String&quot;, # If not empty, the ID of the namespace to which the entities belong.
@@ -1558,16 +1546,6 @@ <h3>Method Details</h3>
15581546
],
15591547
&quot;startCursor&quot;: &quot;A String&quot;, # A starting point for the query results. Query cursors are returned in query result batches and [can only be used to continue the same query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).
15601548
},
1561-
&quot;stats&quot;: { # Planning and execution statistics for the query. # Query plan and execution statistics. Note that the returned stats are subject to change as Firestore evolves. This is only present when the request specifies a mode other than `NORMAL`.
1562-
&quot;queryPlan&quot;: { # Plan for the query. # Plan for the query.
1563-
&quot;planInfo&quot;: { # Planning phase information for the query. It will include: { &quot;indexes_used&quot;: [ {&quot;query_scope&quot;: &quot;Collection&quot;, &quot;properties&quot;: &quot;(foo ASC, __name__ ASC)&quot;}, {&quot;query_scope&quot;: &quot;Collection&quot;, &quot;properties&quot;: &quot;(bar ASC, __name__ ASC)&quot;} ] }
1564-
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1565-
},
1566-
},
1567-
&quot;queryStats&quot;: { # Aggregated statistics from the execution of the query. This will only be present when the request specifies `PROFILE` mode. For example, a query will return the statistics including: { &quot;results_returned&quot;: &quot;20&quot;, &quot;documents_scanned&quot;: &quot;20&quot;, &quot;indexes_entries_scanned&quot;: &quot;10050&quot;, &quot;total_execution_time&quot;: &quot;100.7 msecs&quot; }
1568-
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1569-
},
1570-
},
15711549
&quot;transaction&quot;: &quot;A String&quot;, # The identifier of the transaction that was started as part of this RunQuery request. Set only when ReadOptions.new_transaction was set in RunQueryRequest.read_options.
15721550
}</pre>
15731551
</div>

docs/dyn/datastore_v1beta3.projects.html

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -849,7 +849,6 @@ <h3>Method Details</h3>
849849
],
850850
&quot;queryString&quot;: &quot;A String&quot;, # A string of the format described [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
851851
},
852-
&quot;mode&quot;: &quot;A String&quot;, # Optional. The mode in which the query request is processed. This field is optional, and when not provided, it defaults to `NORMAL` mode where no additional statistics will be returned with the query results.
853852
&quot;partitionId&quot;: { # A partition ID identifies a grouping of entities. The grouping is always by project and namespace, however the namespace ID may be empty. A partition ID contains several dimensions: project ID and namespace ID. Partition dimensions: - May be `&quot;&quot;`. - Must be valid UTF-8 bytes. - Must have values that match regex `[A-Za-z\d\.\-_]{1,100}` If the value of any dimension matches regex `__.*__`, the partition is reserved/read-only. A reserved/read-only partition ID is forbidden in certain documented contexts. Foreign partition IDs (in which the project ID does not match the context project ID ) are discouraged. Reads and writes of foreign partition IDs may fail if the project is not in an active state. # Entities are partitioned into subsets, identified by a partition ID. Queries are scoped to a single partition. This partition ID is normalized with the standard default context partition ID.
854853
&quot;namespaceId&quot;: &quot;A String&quot;, # If not empty, the ID of the namespace to which the entities belong.
855854
&quot;projectId&quot;: &quot;A String&quot;, # The ID of the project to which the entities belong.
@@ -1013,16 +1012,6 @@ <h3>Method Details</h3>
10131012
&quot;startCursor&quot;: &quot;A String&quot;, # A starting point for the query results. Query cursors are returned in query result batches and [can only be used to continue the same query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).
10141013
},
10151014
},
1016-
&quot;stats&quot;: { # Planning and execution statistics for the query. # Query plan and execution statistics. Note that the returned stats are subject to change as Firestore evolves. This is only present when the request specifies a mode other than `NORMAL`.
1017-
&quot;queryPlan&quot;: { # Plan for the query. # Plan for the query.
1018-
&quot;planInfo&quot;: { # Planning phase information for the query. It will include: { &quot;indexes_used&quot;: [ {&quot;query_scope&quot;: &quot;Collection&quot;, &quot;properties&quot;: &quot;(foo ASC, __name__ ASC)&quot;}, {&quot;query_scope&quot;: &quot;Collection&quot;, &quot;properties&quot;: &quot;(bar ASC, __name__ ASC)&quot;} ] }
1019-
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1020-
},
1021-
},
1022-
&quot;queryStats&quot;: { # Aggregated statistics from the execution of the query. This will only be present when the request specifies `PROFILE` mode. For example, a query will return the statistics including: { &quot;results_returned&quot;: &quot;20&quot;, &quot;documents_scanned&quot;: &quot;20&quot;, &quot;indexes_entries_scanned&quot;: &quot;10050&quot;, &quot;total_execution_time&quot;: &quot;100.7 msecs&quot; }
1023-
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1024-
},
1025-
},
10261015
}</pre>
10271016
</div>
10281017

@@ -1118,7 +1107,6 @@ <h3>Method Details</h3>
11181107
],
11191108
&quot;queryString&quot;: &quot;A String&quot;, # A string of the format described [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
11201109
},
1121-
&quot;mode&quot;: &quot;A String&quot;, # Optional. The mode in which the query request is processed. This field is optional, and when not provided, it defaults to `NORMAL` mode where no additional statistics will be returned with the query results.
11221110
&quot;partitionId&quot;: { # A partition ID identifies a grouping of entities. The grouping is always by project and namespace, however the namespace ID may be empty. A partition ID contains several dimensions: project ID and namespace ID. Partition dimensions: - May be `&quot;&quot;`. - Must be valid UTF-8 bytes. - Must have values that match regex `[A-Za-z\d\.\-_]{1,100}` If the value of any dimension matches regex `__.*__`, the partition is reserved/read-only. A reserved/read-only partition ID is forbidden in certain documented contexts. Foreign partition IDs (in which the project ID does not match the context project ID ) are discouraged. Reads and writes of foreign partition IDs may fail if the project is not in an active state. # Entities are partitioned into subsets, identified by a partition ID. Queries are scoped to a single partition. This partition ID is normalized with the standard default context partition ID.
11231111
&quot;namespaceId&quot;: &quot;A String&quot;, # If not empty, the ID of the namespace to which the entities belong.
11241112
&quot;projectId&quot;: &quot;A String&quot;, # The ID of the project to which the entities belong.
@@ -1365,16 +1353,6 @@ <h3>Method Details</h3>
13651353
],
13661354
&quot;startCursor&quot;: &quot;A String&quot;, # A starting point for the query results. Query cursors are returned in query result batches and [can only be used to continue the same query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).
13671355
},
1368-
&quot;stats&quot;: { # Planning and execution statistics for the query. # Query plan and execution statistics. Note that the returned stats are subject to change as Firestore evolves. This is only present when the request specifies a mode other than `NORMAL`.
1369-
&quot;queryPlan&quot;: { # Plan for the query. # Plan for the query.
1370-
&quot;planInfo&quot;: { # Planning phase information for the query. It will include: { &quot;indexes_used&quot;: [ {&quot;query_scope&quot;: &quot;Collection&quot;, &quot;properties&quot;: &quot;(foo ASC, __name__ ASC)&quot;}, {&quot;query_scope&quot;: &quot;Collection&quot;, &quot;properties&quot;: &quot;(bar ASC, __name__ ASC)&quot;} ] }
1371-
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1372-
},
1373-
},
1374-
&quot;queryStats&quot;: { # Aggregated statistics from the execution of the query. This will only be present when the request specifies `PROFILE` mode. For example, a query will return the statistics including: { &quot;results_returned&quot;: &quot;20&quot;, &quot;documents_scanned&quot;: &quot;20&quot;, &quot;indexes_entries_scanned&quot;: &quot;10050&quot;, &quot;total_execution_time&quot;: &quot;100.7 msecs&quot; }
1375-
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1376-
},
1377-
},
13781356
}</pre>
13791357
</div>
13801358

googleapiclient/discovery_cache/documents/datastore.v1.json

Lines changed: 1 addition & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@
654654
}
655655
}
656656
},
657-
"revision": "20240117",
657+
"revision": "20240131",
658658
"rootUrl": "https://datastore.googleapis.com/",
659659
"schemas": {
660660
"Aggregation": {
@@ -2119,21 +2119,6 @@
21192119
},
21202120
"type": "object"
21212121
},
2122-
"QueryPlan": {
2123-
"description": "Plan for the query.",
2124-
"id": "QueryPlan",
2125-
"properties": {
2126-
"planInfo": {
2127-
"additionalProperties": {
2128-
"description": "Properties of the object.",
2129-
"type": "any"
2130-
},
2131-
"description": "Planning phase information for the query. It will include: { \"indexes_used\": [ {\"query_scope\": \"Collection\", \"properties\": \"(foo ASC, __name__ ASC)\"}, {\"query_scope\": \"Collection\", \"properties\": \"(bar ASC, __name__ ASC)\"} ] }",
2132-
"type": "object"
2133-
}
2134-
},
2135-
"type": "object"
2136-
},
21372122
"QueryResultBatch": {
21382123
"description": "A batch of results produced by a query.",
21392124
"id": "QueryResultBatch",
@@ -2290,25 +2275,6 @@
22902275
"properties": {},
22912276
"type": "object"
22922277
},
2293-
"ResultSetStats": {
2294-
"description": "Planning and execution statistics for the query.",
2295-
"id": "ResultSetStats",
2296-
"properties": {
2297-
"queryPlan": {
2298-
"$ref": "QueryPlan",
2299-
"description": "Plan for the query."
2300-
},
2301-
"queryStats": {
2302-
"additionalProperties": {
2303-
"description": "Properties of the object.",
2304-
"type": "any"
2305-
},
2306-
"description": "Aggregated statistics from the execution of the query. This will only be present when the request specifies `PROFILE` mode. For example, a query will return the statistics including: { \"results_returned\": \"20\", \"documents_scanned\": \"20\", \"indexes_entries_scanned\": \"10050\", \"total_execution_time\": \"100.7 msecs\" }",
2307-
"type": "object"
2308-
}
2309-
},
2310-
"type": "object"
2311-
},
23122278
"RollbackRequest": {
23132279
"description": "The request for Datastore.Rollback.",
23142280
"id": "RollbackRequest",
@@ -2347,20 +2313,6 @@
23472313
"$ref": "GqlQuery",
23482314
"description": "The GQL query to run. This query must be an aggregation query."
23492315
},
2350-
"mode": {
2351-
"description": "Optional. The mode in which the query request is processed. This field is optional, and when not provided, it defaults to `NORMAL` mode where no additional statistics will be returned with the query results.",
2352-
"enum": [
2353-
"NORMAL",
2354-
"PLAN",
2355-
"PROFILE"
2356-
],
2357-
"enumDescriptions": [
2358-
"The default mode. Only the query results are returned.",
2359-
"This mode returns only the query plan, without any results or execution statistics information.",
2360-
"This mode returns both the query plan and the execution statistics along with the results."
2361-
],
2362-
"type": "string"
2363-
},
23642316
"partitionId": {
23652317
"$ref": "PartitionId",
23662318
"description": "Entities are partitioned into subsets, identified by a partition ID. Queries are scoped to a single partition. This partition ID is normalized with the standard default context partition ID."
@@ -2384,10 +2336,6 @@
23842336
"$ref": "AggregationQuery",
23852337
"description": "The parsed form of the `GqlQuery` from the request, if it was set."
23862338
},
2387-
"stats": {
2388-
"$ref": "ResultSetStats",
2389-
"description": "Query plan and execution statistics. Note that the returned stats are subject to change as Firestore evolves. This is only present when the request specifies a mode other than `NORMAL`."
2390-
},
23912339
"transaction": {
23922340
"description": "The identifier of the transaction that was started as part of this RunAggregationQuery request. Set only when ReadOptions.new_transaction was set in RunAggregationQueryRequest.read_options.",
23932341
"format": "byte",
@@ -2408,20 +2356,6 @@
24082356
"$ref": "GqlQuery",
24092357
"description": "The GQL query to run. This query must be a non-aggregation query."
24102358
},
2411-
"mode": {
2412-
"description": "Optional. The mode in which the query request is processed. This field is optional, and when not provided, it defaults to `NORMAL` mode where no additional statistics will be returned with the query results.",
2413-
"enum": [
2414-
"NORMAL",
2415-
"PLAN",
2416-
"PROFILE"
2417-
],
2418-
"enumDescriptions": [
2419-
"The default mode. Only the query results are returned.",
2420-
"This mode returns only the query plan, without any results or execution statistics information.",
2421-
"This mode returns both the query plan and the execution statistics along with the results."
2422-
],
2423-
"type": "string"
2424-
},
24252359
"partitionId": {
24262360
"$ref": "PartitionId",
24272361
"description": "Entities are partitioned into subsets, identified by a partition ID. Queries are scoped to a single partition. This partition ID is normalized with the standard default context partition ID."
@@ -2449,10 +2383,6 @@
24492383
"$ref": "Query",
24502384
"description": "The parsed form of the `GqlQuery` from the request, if it was set."
24512385
},
2452-
"stats": {
2453-
"$ref": "ResultSetStats",
2454-
"description": "Query plan and execution statistics. Note that the returned stats are subject to change as Firestore evolves. This is only present when the request specifies a mode other than `NORMAL`."
2455-
},
24562386
"transaction": {
24572387
"description": "The identifier of the transaction that was started as part of this RunQuery request. Set only when ReadOptions.new_transaction was set in RunQueryRequest.read_options.",
24582388
"format": "byte",

googleapiclient/discovery_cache/documents/datastore.v1beta1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168
}
169169
}
170170
},
171-
"revision": "20240117",
171+
"revision": "20240131",
172172
"rootUrl": "https://datastore.googleapis.com/",
173173
"schemas": {
174174
"GoogleDatastoreAdminV1CommonMetadata": {

0 commit comments

Comments
 (0)