Skip to content

Commit cc45b1f

Browse files
feat(cloudsearch): update the api
#### cloudsearch:v1 The following keys were added: - schemas.RewrittenQueries (Total Keys: 6) - schemas.RewrittenQuery (Total Keys: 6)
1 parent 6dcef10 commit cc45b1f

File tree

1 file changed

+63
-1
lines changed

1 file changed

+63
-1
lines changed

googleapiclient/discovery_cache/documents/cloudsearch.v1.json

Lines changed: 63 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2096,7 +2096,7 @@
20962096
}
20972097
}
20982098
},
2099-
"revision": "20240419",
2099+
"revision": "20240501",
21002100
"rootUrl": "https://cloudsearch.googleapis.com/",
21012101
"schemas": {
21022102
"Action": {
@@ -7002,6 +7002,68 @@ false
70027002
},
70037003
"type": "object"
70047004
},
7005+
"RewrittenQueries": {
7006+
"description": "The rewritten queries returned by Apps Search Query Understanding service.",
7007+
"id": "RewrittenQueries",
7008+
"properties": {
7009+
"rewrittenQueries": {
7010+
"items": {
7011+
"$ref": "RewrittenQuery"
7012+
},
7013+
"type": "array"
7014+
},
7015+
"selectedQueryIndex": {
7016+
"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.",
7017+
"format": "int32",
7018+
"type": "integer"
7019+
}
7020+
},
7021+
"type": "object"
7022+
},
7023+
"RewrittenQuery": {
7024+
"id": "RewrittenQuery",
7025+
"properties": {
7026+
"rewrittenQuery": {
7027+
"type": "string"
7028+
},
7029+
"score": {
7030+
"format": "double",
7031+
"type": "number"
7032+
},
7033+
"sortBy": {
7034+
"enum": [
7035+
"SORTBY_UNSUPPORTED",
7036+
"SORTBY_RELEVANCY",
7037+
"SORTBY_LATEST",
7038+
"SORTBY_OLDEST",
7039+
"SORTBY_LARGEST",
7040+
"SORTBY_SMALLEST",
7041+
"SORTBY_MODIFY_LATEST",
7042+
"SORTBY_MODIFY_OLDEST",
7043+
"SORTBY_VIEW_LATEST",
7044+
"SORTBY_VIEW_OLDEST",
7045+
"SORTBY_CREATE_LATEST",
7046+
"SORTBY_CREATE_OLDEST"
7047+
],
7048+
"enumDescriptions": [
7049+
"",
7050+
"",
7051+
"",
7052+
"",
7053+
"",
7054+
"",
7055+
"",
7056+
"",
7057+
"",
7058+
"",
7059+
"",
7060+
""
7061+
],
7062+
"type": "string"
7063+
}
7064+
},
7065+
"type": "object"
7066+
},
70057067
"SafeHtmlProto": {
70067068
"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.",
70077069
"id": "SafeHtmlProto",

0 commit comments

Comments
 (0)