From 73375debf0d9badea525baaa76992829957d01ea Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 27 Feb 2024 07:08:33 +0000 Subject: [PATCH] feat(datastore): update the api #### datastore:v1 The following keys were deleted: - schemas.ExplainOptions (Total Keys: 3) - schemas.RunAggregationQueryRequest.properties.explainOptions.$ref (Total Keys: 1) - schemas.RunQueryRequest.properties.explainOptions.$ref (Total Keys: 1) #### datastore:v1beta3 The following keys were deleted: - schemas.ExplainOptions (Total Keys: 3) - schemas.RunAggregationQueryRequest.properties.explainOptions.$ref (Total Keys: 1) - schemas.RunQueryRequest.properties.explainOptions.$ref (Total Keys: 1) --- docs/dyn/datastore_v1.projects.html | 6 ------ docs/dyn/datastore_v1beta3.projects.html | 6 ------ .../documents/datastore.v1.json | 21 +------------------ .../documents/datastore.v1beta1.json | 2 +- .../documents/datastore.v1beta3.json | 21 +------------------ 5 files changed, 3 insertions(+), 53 deletions(-) diff --git a/docs/dyn/datastore_v1.projects.html b/docs/dyn/datastore_v1.projects.html index a15962330a6..5927476408c 100644 --- a/docs/dyn/datastore_v1.projects.html +++ b/docs/dyn/datastore_v1.projects.html @@ -930,9 +930,6 @@

Method Details

}, }, "databaseId": "A String", # The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database. - "explainOptions": { # Explain options for the query. # Optional. Explain options for the query. If set, additional query statistics will be returned. If not, only query results will be returned. - "analyze": True or False, # Optional. Whether to execute this query. When false (the default), the query will be planned, returning only metrics from the planning stages. When true, the query will be planned and executed, returning the full query results along with both planning and execution stage metrics. - }, "gqlQuery": { # A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference). # The GQL query to run. This query must be an aggregation query. "allowLiterals": True or False, # When false, the query string must not contain any literals and instead must bind all values. For example, `SELECT * FROM Kind WHERE a = 'string literal'` is not allowed, while `SELECT * FROM Kind WHERE a = @value` is. "namedBindings": { # For each non-reserved named binding site in the query string, there must be a named parameter with that name, but not necessarily the inverse. Key must match regex `A-Za-z_$*`, must not match regex `__.*__`, and must not be `""`. @@ -1206,9 +1203,6 @@

Method Details

{ # The request for Datastore.RunQuery. "databaseId": "A String", # The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database. - "explainOptions": { # Explain options for the query. # Optional. Explain options for the query. If set, additional query statistics will be returned. If not, only query results will be returned. - "analyze": True or False, # Optional. Whether to execute this query. When false (the default), the query will be planned, returning only metrics from the planning stages. When true, the query will be planned and executed, returning the full query results along with both planning and execution stage metrics. - }, "gqlQuery": { # A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference). # The GQL query to run. This query must be a non-aggregation query. "allowLiterals": True or False, # When false, the query string must not contain any literals and instead must bind all values. For example, `SELECT * FROM Kind WHERE a = 'string literal'` is not allowed, while `SELECT * FROM Kind WHERE a = @value` is. "namedBindings": { # For each non-reserved named binding site in the query string, there must be a named parameter with that name, but not necessarily the inverse. Key must match regex `A-Za-z_$*`, must not match regex `__.*__`, and must not be `""`. diff --git a/docs/dyn/datastore_v1beta3.projects.html b/docs/dyn/datastore_v1beta3.projects.html index 79800a97681..b5e36b989a0 100644 --- a/docs/dyn/datastore_v1beta3.projects.html +++ b/docs/dyn/datastore_v1beta3.projects.html @@ -767,9 +767,6 @@

Method Details

"startCursor": "A String", # 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). }, }, - "explainOptions": { # Explain options for the query. # Optional. Explain options for the query. If set, additional query statistics will be returned. If not, only query results will be returned. - "analyze": True or False, # Optional. Whether to execute this query. When false (the default), the query will be planned, returning only metrics from the planning stages. When true, the query will be planned and executed, returning the full query results along with both planning and execution stage metrics. - }, "gqlQuery": { # A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference). # The GQL query to run. This query must be an aggregation query. "allowLiterals": True or False, # When false, the query string must not contain any literals and instead must bind all values. For example, `SELECT * FROM Kind WHERE a = 'string literal'` is not allowed, while `SELECT * FROM Kind WHERE a = @value` is. "namedBindings": { # For each non-reserved named binding site in the query string, there must be a named parameter with that name, but not necessarily the inverse. Key must match regex `A-Za-z_$*`, must not match regex `__.*__`, and must not be `""`. @@ -1028,9 +1025,6 @@

Method Details

The object takes the form of: { # The request for Datastore.RunQuery. - "explainOptions": { # Explain options for the query. # Optional. Explain options for the query. If set, additional query statistics will be returned. If not, only query results will be returned. - "analyze": True or False, # Optional. Whether to execute this query. When false (the default), the query will be planned, returning only metrics from the planning stages. When true, the query will be planned and executed, returning the full query results along with both planning and execution stage metrics. - }, "gqlQuery": { # A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference). # The GQL query to run. This query must be a non-aggregation query. "allowLiterals": True or False, # When false, the query string must not contain any literals and instead must bind all values. For example, `SELECT * FROM Kind WHERE a = 'string literal'` is not allowed, while `SELECT * FROM Kind WHERE a = @value` is. "namedBindings": { # For each non-reserved named binding site in the query string, there must be a named parameter with that name, but not necessarily the inverse. Key must match regex `A-Za-z_$*`, must not match regex `__.*__`, and must not be `""`. diff --git a/googleapiclient/discovery_cache/documents/datastore.v1.json b/googleapiclient/discovery_cache/documents/datastore.v1.json index 4854e0fe494..809638d9927 100644 --- a/googleapiclient/discovery_cache/documents/datastore.v1.json +++ b/googleapiclient/discovery_cache/documents/datastore.v1.json @@ -654,7 +654,7 @@ } } }, -"revision": "20240208", +"revision": "20240215", "rootUrl": "https://datastore.googleapis.com/", "schemas": { "Aggregation": { @@ -993,17 +993,6 @@ }, "type": "object" }, -"ExplainOptions": { -"description": "Explain options for the query.", -"id": "ExplainOptions", -"properties": { -"analyze": { -"description": "Optional. Whether to execute this query. When false (the default), the query will be planned, returning only metrics from the planning stages. When true, the query will be planned and executed, returning the full query results along with both planning and execution stage metrics.", -"type": "boolean" -} -}, -"type": "object" -}, "Filter": { "description": "A holder for any type of filter.", "id": "Filter", @@ -2320,10 +2309,6 @@ "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" }, -"explainOptions": { -"$ref": "ExplainOptions", -"description": "Optional. Explain options for the query. If set, additional query statistics will be returned. If not, only query results will be returned." -}, "gqlQuery": { "$ref": "GqlQuery", "description": "The GQL query to run. This query must be an aggregation query." @@ -2367,10 +2352,6 @@ "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" }, -"explainOptions": { -"$ref": "ExplainOptions", -"description": "Optional. Explain options for the query. If set, additional query statistics will be returned. If not, only query results will be returned." -}, "gqlQuery": { "$ref": "GqlQuery", "description": "The GQL query to run. This query must be a non-aggregation query." diff --git a/googleapiclient/discovery_cache/documents/datastore.v1beta1.json b/googleapiclient/discovery_cache/documents/datastore.v1beta1.json index 70419dd1484..c7133ff2943 100644 --- a/googleapiclient/discovery_cache/documents/datastore.v1beta1.json +++ b/googleapiclient/discovery_cache/documents/datastore.v1beta1.json @@ -168,7 +168,7 @@ } } }, -"revision": "20240208", +"revision": "20240215", "rootUrl": "https://datastore.googleapis.com/", "schemas": { "GoogleDatastoreAdminV1CommonMetadata": { diff --git a/googleapiclient/discovery_cache/documents/datastore.v1beta3.json b/googleapiclient/discovery_cache/documents/datastore.v1beta3.json index 62c5a85857f..3d727b9643e 100644 --- a/googleapiclient/discovery_cache/documents/datastore.v1beta3.json +++ b/googleapiclient/discovery_cache/documents/datastore.v1beta3.json @@ -336,7 +336,7 @@ } } }, -"revision": "20240208", +"revision": "20240215", "rootUrl": "https://datastore.googleapis.com/", "schemas": { "Aggregation": { @@ -653,17 +653,6 @@ }, "type": "object" }, -"ExplainOptions": { -"description": "Explain options for the query.", -"id": "ExplainOptions", -"properties": { -"analyze": { -"description": "Optional. Whether to execute this query. When false (the default), the query will be planned, returning only metrics from the planning stages. When true, the query will be planned and executed, returning the full query results along with both planning and execution stage metrics.", -"type": "boolean" -} -}, -"type": "object" -}, "Filter": { "description": "A holder for any type of filter.", "id": "Filter", @@ -1754,10 +1743,6 @@ "$ref": "AggregationQuery", "description": "The query to run." }, -"explainOptions": { -"$ref": "ExplainOptions", -"description": "Optional. Explain options for the query. If set, additional query statistics will be returned. If not, only query results will be returned." -}, "gqlQuery": { "$ref": "GqlQuery", "description": "The GQL query to run. This query must be an aggregation query." @@ -1792,10 +1777,6 @@ "description": "The request for Datastore.RunQuery.", "id": "RunQueryRequest", "properties": { -"explainOptions": { -"$ref": "ExplainOptions", -"description": "Optional. Explain options for the query. If set, additional query statistics will be returned. If not, only query results will be returned." -}, "gqlQuery": { "$ref": "GqlQuery", "description": "The GQL query to run. This query must be a non-aggregation query."