update dependencies

This commit is contained in:
Sebastian Thiel
2023-01-25 11:39:00 +01:00
parent 37ccd2238d
commit 3edefb7f01
357 changed files with 128026 additions and 16259 deletions

View File

@@ -277,6 +277,34 @@
"https://www.googleapis.com/auth/datastore"
]
},
"runAggregationQuery": {
"description": "Runs an aggregation query.",
"flatPath": "v1beta3/projects/{projectId}:runAggregationQuery",
"httpMethod": "POST",
"id": "datastore.projects.runAggregationQuery",
"parameterOrder": [
"projectId"
],
"parameters": {
"projectId": {
"description": "Required. The ID of the project against which to make the request.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta3/projects/{projectId}:runAggregationQuery",
"request": {
"$ref": "RunAggregationQueryRequest"
},
"response": {
"$ref": "RunAggregationQueryResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/datastore"
]
},
"runQuery": {
"description": "Queries for entities.",
"flatPath": "v1beta3/projects/{projectId}:runQuery",
@@ -308,9 +336,93 @@
}
}
},
"revision": "20220221",
"revision": "20230118",
"rootUrl": "https://datastore.googleapis.com/",
"schemas": {
"Aggregation": {
"description": "Defines a aggregation that produces a single result.",
"id": "Aggregation",
"properties": {
"alias": {
"description": "Optional. Optional name of the property to store the result of the aggregation. If not provided, Datastore will pick a default name following the format `property_`. For example: ``` AGGREGATE COUNT_UP_TO(1) AS count_up_to_1, COUNT_UP_TO(2), COUNT_UP_TO(3) AS count_up_to_3, COUNT_UP_TO(4) OVER ( ... ); ``` becomes: ``` AGGREGATE COUNT_UP_TO(1) AS count_up_to_1, COUNT_UP_TO(2) AS property_1, COUNT_UP_TO(3) AS count_up_to_3, COUNT_UP_TO(4) AS property_2 OVER ( ... ); ``` Requires: * Must be unique across all aggregation aliases. * Conform to entity property name limitations.",
"type": "string"
},
"count": {
"$ref": "Count",
"description": "Count aggregator."
}
},
"type": "object"
},
"AggregationQuery": {
"description": "Datastore query for running an aggregation over a Query.",
"id": "AggregationQuery",
"properties": {
"aggregations": {
"description": "Optional. Series of aggregations to apply over the results of the `nested_query`. Requires: * A minimum of one and maximum of five aggregations per query.",
"items": {
"$ref": "Aggregation"
},
"type": "array"
},
"nestedQuery": {
"$ref": "Query",
"description": "Nested query for aggregation"
}
},
"type": "object"
},
"AggregationResult": {
"description": "The result of a single bucket from a Datastore aggregation query. The keys of `aggregate_properties` are the same for all results in an aggregation query, unlike entity queries which can have different fields present for each result.",
"id": "AggregationResult",
"properties": {
"aggregateProperties": {
"additionalProperties": {
"$ref": "Value"
},
"description": "The result of the aggregation functions, ex: `COUNT(*) AS total_entities`. The key is the alias assigned to the aggregation function on input and the size of this map equals the number of aggregation functions in the query.",
"type": "object"
}
},
"type": "object"
},
"AggregationResultBatch": {
"description": "A batch of aggregation results produced by an aggregation query.",
"id": "AggregationResultBatch",
"properties": {
"aggregationResults": {
"description": "The aggregation results for this batch.",
"items": {
"$ref": "AggregationResult"
},
"type": "array"
},
"moreResults": {
"description": "The state of the query after the current batch. Only COUNT(*) aggregations are supported in the initial launch. Therefore, expected result type is limited to `NO_MORE_RESULTS`.",
"enum": [
"MORE_RESULTS_TYPE_UNSPECIFIED",
"NOT_FINISHED",
"MORE_RESULTS_AFTER_LIMIT",
"MORE_RESULTS_AFTER_CURSOR",
"NO_MORE_RESULTS"
],
"enumDescriptions": [
"Unspecified. This value is never used.",
"There may be additional batches to fetch from this query.",
"The query is finished, but there may be more results after the limit.",
"The query is finished, but there may be more results after the end cursor.",
"The query is finished, and there are no more results."
],
"type": "string"
},
"readTime": {
"description": "Read timestamp this batch was returned from. In a single transaction, subsequent query result batches for the same query can have a greater timestamp. Each batch's read timestamp is valid for all preceding batches.",
"format": "google-datetime",
"type": "string"
}
},
"type": "object"
},
"AllocateIdsRequest": {
"description": "The request for Datastore.AllocateIds.",
"id": "AllocateIdsRequest",
@@ -413,6 +525,11 @@
"description": "The response for Datastore.Commit.",
"id": "CommitResponse",
"properties": {
"commitTime": {
"description": "The transaction commit timestamp. Not set for non-transactional commits.",
"format": "google-datetime",
"type": "string"
},
"indexUpdates": {
"description": "The number of index entries updated during the commit, or zero if none were updated.",
"format": "int32",
@@ -433,7 +550,7 @@
"id": "CompositeFilter",
"properties": {
"filters": {
"description": "The list of filters to combine. Must contain at least one filter.",
"description": "The list of filters to combine. Requires: * At least one filter is present.",
"items": {
"$ref": "Filter"
},
@@ -454,6 +571,18 @@
},
"type": "object"
},
"Count": {
"description": "Count of entities that match the query. The `COUNT(*)` aggregation function operates on the entire entity so it does not require a field reference.",
"id": "Count",
"properties": {
"upTo": {
"description": "Optional. Optional constraint on the maximum number of entities to count. This provides a way to set an upper bound on the number of entities to scan, limiting latency and cost. Unspecified is interpreted as no bound. If a zero value is provided, a count result of zero should always be expected. High-Level Example: ``` AGGREGATE COUNT_UP_TO(1000) OVER ( SELECT * FROM k ); ``` Requires: * Must be non-negative when present.",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"Entity": {
"description": "A Datastore data object. An entity is limited to 1 megabyte when stored. That _roughly_ corresponds to a limit of 1 megabyte for the serialized form of this message.",
"id": "Entity",
@@ -476,6 +605,11 @@
"description": "The result of fetching an entity from Datastore.",
"id": "EntityResult",
"properties": {
"createTime": {
"description": "The time at which the entity was created. This field is set for `FULL` entity results. If this entity is missing, this field will not be set.",
"format": "google-datetime",
"type": "string"
},
"cursor": {
"description": "A cursor that points to the position after the result entity. Set only when the `EntityResult` is part of a `QueryResultBatch` message.",
"format": "byte",
@@ -485,6 +619,11 @@
"$ref": "Entity",
"description": "The resulting entity."
},
"updateTime": {
"description": "The time at which the entity was last changed. This field is set for `FULL` entity results. If this entity is missing, this field will not be set.",
"format": "google-datetime",
"type": "string"
},
"version": {
"description": "The version of the entity, a strictly positive number that monotonically increases with changes to the entity. This field is set for `FULL` entity results. For missing entities in `LookupResponse`, this is the version of the snapshot that was used to look up the entity, and it is always set except for eventually consistent reads.",
"format": "int64",
@@ -1149,6 +1288,11 @@
"$ref": "EntityResult"
},
"type": "array"
},
"readTime": {
"description": "The time at which these entities were read or found missing.",
"format": "google-datetime",
"type": "string"
}
},
"type": "object"
@@ -1174,6 +1318,11 @@
"$ref": "Entity",
"description": "The entity to update. The entity must already exist. Must have a complete key path."
},
"updateTime": {
"description": "The update time of the entity that this mutation is being applied to. If this does not match the current update time on the server, the mutation conflicts.",
"format": "google-datetime",
"type": "string"
},
"upsert": {
"$ref": "Entity",
"description": "The entity to upsert. The entity may or may not already exist. The entity key's final path element may be incomplete."
@@ -1189,10 +1338,20 @@
"description": "Whether a conflict was detected for this mutation. Always false when a conflict detection strategy field is not set in the mutation.",
"type": "boolean"
},
"createTime": {
"description": "The create time of the entity. This field will not be set after a 'delete'.",
"format": "google-datetime",
"type": "string"
},
"key": {
"$ref": "Key",
"description": "The automatically allocated key. Set only when the mutation allocated a key."
},
"updateTime": {
"description": "The update time of the entity on the server after processing the mutation. If the mutation doesn't change anything on the server, then the timestamp will be the update timestamp of the current entity. This field will not be set after a 'delete'.",
"format": "google-datetime",
"type": "string"
},
"version": {
"description": "The version of the entity on the server after processing the mutation. If the mutation doesn't change anything on the server, then the version will be the version of the current entity or, if no entity is present, a version that is strictly greater than the version of any previous entity and less than the version of any possible future entity.",
"format": "int64",
@@ -1226,11 +1385,11 @@
"type": "string"
},
"kind": {
"description": "The kind of the entity. A kind matching regex `__.*__` is reserved/read-only. A kind must not contain more than 1500 bytes when UTF-8 encoded. Cannot be `\"\"`.",
"description": "The kind of the entity. A kind matching regex `__.*__` is reserved/read-only. A kind must not contain more than 1500 bytes when UTF-8 encoded. Cannot be `\"\"`. Must be valid UTF-8 bytes. Legacy values that are not valid UTF-8 are encoded as `__bytes__` where `` is the base-64 encoding of the bytes.",
"type": "string"
},
"name": {
"description": "The name of the entity. A name matching regex `__.*__` is reserved/read-only. A name must not be more than 1500 bytes when UTF-8 encoded. Cannot be `\"\"`.",
"description": "The name of the entity. A name matching regex `__.*__` is reserved/read-only. A name must not be more than 1500 bytes when UTF-8 encoded. Cannot be `\"\"`. Must be valid UTF-8 bytes. Legacy values that are not valid UTF-8 are encoded as `__bytes__` where `` is the base-64 encoding of the bytes.",
"type": "string"
}
},
@@ -1260,7 +1419,10 @@
"GREATER_THAN",
"GREATER_THAN_OR_EQUAL",
"EQUAL",
"HAS_ANCESTOR"
"IN",
"NOT_EQUAL",
"HAS_ANCESTOR",
"NOT_IN"
],
"enumDescriptions": [
"Unspecified. This value must not be used.",
@@ -1269,7 +1431,10 @@
"The given `property` is greater than the given `value`. Requires: * That `property` comes first in `order_by`.",
"The given `property` is greater than or equal to the given `value`. Requires: * That `property` comes first in `order_by`.",
"The given `property` is equal to the given `value`.",
"Limit the result set to the given entity and its descendants. Requires: * That `value` is an entity key."
"The given `property` is equal to at least one value in the given array. Requires: * That `value` is a non-empty `ArrayValue` with at most 10 values. * No other `IN` or `NOT_IN` is in the same query.",
"The given `property` is not equal to the given `value`. Requires: * No other `NOT_EQUAL` or `NOT_IN` is in the same query. * That `property` comes first in the `order_by`.",
"Limit the result set to the given entity and its descendants. Requires: * That `value` is an entity key. * No other `HAS_ANCESTOR` is in the same query.",
"The value of the `property` is not in the given array. Requires: * That `value` is a non-empty `ArrayValue` with at most 10 values. * No other `IN`, `NOT_IN`, `NOT_EQUAL` is in the same query. * That `field` comes first in the `order_by`."
],
"type": "string"
},
@@ -1429,6 +1594,11 @@
],
"type": "string"
},
"readTime": {
"description": "Read timestamp this batch was returned from. This applies to the range of results from the query's `start_cursor` (or the beginning of the query if no cursor was given) to this batch's `end_cursor` (not the query's `end_cursor`). In a single transaction, subsequent query result batches for the same query can have a greater timestamp. Each batch's read timestamp is valid for all preceding batches. This value will not be set for eventually consistent queries in Cloud Datastore.",
"format": "google-datetime",
"type": "string"
},
"skippedCursor": {
"description": "A cursor that points to the position after the last skipped result. Will be set when `skipped_results` != 0.",
"format": "byte",
@@ -1450,7 +1620,13 @@
"ReadOnly": {
"description": "Options specific to read-only transactions.",
"id": "ReadOnly",
"properties": {},
"properties": {
"readTime": {
"description": "Reads entities at the given time. This may not be older than 60 seconds.",
"format": "google-datetime",
"type": "string"
}
},
"type": "object"
},
"ReadOptions": {
@@ -1458,7 +1634,7 @@
"id": "ReadOptions",
"properties": {
"readConsistency": {
"description": "The non-transactional read consistency to use. Cannot be set to `STRONG` for global queries.",
"description": "The non-transactional read consistency to use.",
"enum": [
"READ_CONSISTENCY_UNSPECIFIED",
"STRONG",
@@ -1471,6 +1647,11 @@
],
"type": "string"
},
"readTime": {
"description": "Reads entities as they were at the given time. This may not be older than 270 seconds. This value is only supported for Cloud Firestore in Datastore mode.",
"format": "google-datetime",
"type": "string"
},
"transaction": {
"description": "The identifier of the transaction in which to read. A transaction identifier is returned by a call to Datastore.BeginTransaction.",
"format": "byte",
@@ -1496,7 +1677,7 @@
"id": "ReserveIdsRequest",
"properties": {
"databaseId": {
"description": "If not empty, the ID of the database against which to make the request.",
"description": "The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database.",
"type": "string"
},
"keys": {
@@ -1533,13 +1714,51 @@
"properties": {},
"type": "object"
},
"RunAggregationQueryRequest": {
"description": "The request for Datastore.RunAggregationQuery.",
"id": "RunAggregationQueryRequest",
"properties": {
"aggregationQuery": {
"$ref": "AggregationQuery",
"description": "The query to run."
},
"gqlQuery": {
"$ref": "GqlQuery",
"description": "The GQL query to run. This query must be an aggregation query."
},
"partitionId": {
"$ref": "PartitionId",
"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."
},
"readOptions": {
"$ref": "ReadOptions",
"description": "The options for this query."
}
},
"type": "object"
},
"RunAggregationQueryResponse": {
"description": "The response for Datastore.RunAggregationQuery.",
"id": "RunAggregationQueryResponse",
"properties": {
"batch": {
"$ref": "AggregationResultBatch",
"description": "A batch of aggregation results. Always present."
},
"query": {
"$ref": "AggregationQuery",
"description": "The parsed form of the `GqlQuery` from the request, if it was set."
}
},
"type": "object"
},
"RunQueryRequest": {
"description": "The request for Datastore.RunQuery.",
"id": "RunQueryRequest",
"properties": {
"gqlQuery": {
"$ref": "GqlQuery",
"description": "The GQL query to run."
"description": "The GQL query to run. This query must be a non-aggregation query."
},
"partitionId": {
"$ref": "PartitionId",