Skip to content

Commit

Permalink
feat(cloudsearch): update the api
Browse files Browse the repository at this point in the history
#### cloudsearch:v1

The following keys were added:
- schemas.RewrittenQueries (Total Keys: 6)
- schemas.RewrittenQuery (Total Keys: 6)
  • Loading branch information
yoshi-automation committed May 10, 2024
1 parent 6dcef10 commit cc45b1f
Showing 1 changed file with 63 additions and 1 deletion.
64 changes: 63 additions & 1 deletion googleapiclient/discovery_cache/documents/cloudsearch.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2096,7 +2096,7 @@
}
}
},
"revision": "20240419",
"revision": "20240501",
"rootUrl": "https://cloudsearch.googleapis.com/",
"schemas": {
"Action": {
Expand Down Expand Up @@ -7002,6 +7002,68 @@ false
},
"type": "object"
},
"RewrittenQueries": {
"description": "The rewritten queries returned by Apps Search Query Understanding service.",
"id": "RewrittenQueries",
"properties": {
"rewrittenQueries": {
"items": {
"$ref": "RewrittenQuery"
},
"type": "array"
},
"selectedQueryIndex": {
"description": "The index of the selected query in `rewritten_queries` that is used by QAPI to call CSSR to get search results. If none of the queries were used (i.e. they all give empty search results), `selected_query_index` would default to -1.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"RewrittenQuery": {
"id": "RewrittenQuery",
"properties": {
"rewrittenQuery": {
"type": "string"
},
"score": {
"format": "double",
"type": "number"
},
"sortBy": {
"enum": [
"SORTBY_UNSUPPORTED",
"SORTBY_RELEVANCY",
"SORTBY_LATEST",
"SORTBY_OLDEST",
"SORTBY_LARGEST",
"SORTBY_SMALLEST",
"SORTBY_MODIFY_LATEST",
"SORTBY_MODIFY_OLDEST",
"SORTBY_VIEW_LATEST",
"SORTBY_VIEW_OLDEST",
"SORTBY_CREATE_LATEST",
"SORTBY_CREATE_OLDEST"
],
"enumDescriptions": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"type": "string"
}
},
"type": "object"
},
"SafeHtmlProto": {
"description": "IMPORTANT: It is unsafe to accept this message from an untrusted source, since it's trivial for an attacker to forge serialized messages that don't fulfill the type's safety contract -- for example, it could contain attacker controlled script. A system which receives a SafeHtmlProto implicitly trusts the producer of the SafeHtmlProto. So, it's generally safe to return this message in RPC responses, but generally unsafe to accept it in RPC requests.",
"id": "SafeHtmlProto",
Expand Down

0 comments on commit cc45b1f

Please sign in to comment.