Skip to content

Commit

Permalink
feat(datastore): update the api
Browse files Browse the repository at this point in the history
#### 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)
  • Loading branch information
yoshi-automation committed Feb 27, 2024
1 parent 4d2f788 commit 73375de
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 53 deletions.
6 changes: 0 additions & 6 deletions docs/dyn/datastore_v1.projects.html
Expand Up @@ -930,9 +930,6 @@ <h3>Method Details</h3>
},
},
&quot;databaseId&quot;: &quot;A String&quot;, # The ID of the database against which to make the request. &#x27;(default)&#x27; is not allowed; please use empty string &#x27;&#x27; to refer the default database.
&quot;explainOptions&quot;: { # 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.
&quot;analyze&quot;: 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.
},
&quot;gqlQuery&quot;: { # 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.
&quot;allowLiterals&quot;: 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 = &#x27;string literal&#x27;` is not allowed, while `SELECT * FROM Kind WHERE a = @value` is.
&quot;namedBindings&quot;: { # 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 `&quot;&quot;`.
Expand Down Expand Up @@ -1206,9 +1203,6 @@ <h3>Method Details</h3>

{ # The request for Datastore.RunQuery.
&quot;databaseId&quot;: &quot;A String&quot;, # The ID of the database against which to make the request. &#x27;(default)&#x27; is not allowed; please use empty string &#x27;&#x27; to refer the default database.
&quot;explainOptions&quot;: { # 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.
&quot;analyze&quot;: 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.
},
&quot;gqlQuery&quot;: { # 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.
&quot;allowLiterals&quot;: 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 = &#x27;string literal&#x27;` is not allowed, while `SELECT * FROM Kind WHERE a = @value` is.
&quot;namedBindings&quot;: { # 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 `&quot;&quot;`.
Expand Down
6 changes: 0 additions & 6 deletions docs/dyn/datastore_v1beta3.projects.html
Expand Up @@ -767,9 +767,6 @@ <h3>Method Details</h3>
&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).
},
},
&quot;explainOptions&quot;: { # 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.
&quot;analyze&quot;: 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.
},
&quot;gqlQuery&quot;: { # 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.
&quot;allowLiterals&quot;: 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 = &#x27;string literal&#x27;` is not allowed, while `SELECT * FROM Kind WHERE a = @value` is.
&quot;namedBindings&quot;: { # 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 `&quot;&quot;`.
Expand Down Expand Up @@ -1028,9 +1025,6 @@ <h3>Method Details</h3>
The object takes the form of:

{ # The request for Datastore.RunQuery.
&quot;explainOptions&quot;: { # 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.
&quot;analyze&quot;: 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.
},
&quot;gqlQuery&quot;: { # 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.
&quot;allowLiterals&quot;: 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 = &#x27;string literal&#x27;` is not allowed, while `SELECT * FROM Kind WHERE a = @value` is.
&quot;namedBindings&quot;: { # 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 `&quot;&quot;`.
Expand Down
21 changes: 1 addition & 20 deletions googleapiclient/discovery_cache/documents/datastore.v1.json
Expand Up @@ -654,7 +654,7 @@
}
}
},
"revision": "20240208",
"revision": "20240215",
"rootUrl": "https://datastore.googleapis.com/",
"schemas": {
"Aggregation": {
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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."
Expand Down Expand Up @@ -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."
Expand Down
Expand Up @@ -168,7 +168,7 @@
}
}
},
"revision": "20240208",
"revision": "20240215",
"rootUrl": "https://datastore.googleapis.com/",
"schemas": {
"GoogleDatastoreAdminV1CommonMetadata": {
Expand Down
21 changes: 1 addition & 20 deletions googleapiclient/discovery_cache/documents/datastore.v1beta3.json
Expand Up @@ -336,7 +336,7 @@
}
}
},
"revision": "20240208",
"revision": "20240215",
"rootUrl": "https://datastore.googleapis.com/",
"schemas": {
"Aggregation": {
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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."
Expand Down Expand Up @@ -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."
Expand Down

0 comments on commit 73375de

Please sign in to comment.