Method: stats.getSearchapplication
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Statistiken zur Suchanwendung für den Kunden abrufen Hinweis:Für die Ausführung dieser API ist ein Standardendnutzerkonto erforderlich.
HTTP-Anfrage
GET https://cloudsearch.googleapis.com/v1/stats/searchapplication
Die URL verwendet die Syntax der gRPC-Transcodierung.
Abfrageparameter
Parameter |
startDate |
object (Date )
Alle verfügbaren Statistiken von startDate bis endDate werden zurückgegeben. endDate – startDate <= 6 Monate.
|
endDate |
object (Date )
Enddatum, bis zu dem Statistiken zurückgegeben werden.
|
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Antwortformat für Statistiken zu Suchanwendungen für einen Kunden.
Bei Erfolg enthält der Antworttext Daten mit der folgenden Struktur:
Felder |
stats[] |
object (CustomerSearchApplicationStats )
Suchen Sie nach Anwendungsstatistiken nach Datum.
|
averageSearchApplicationCount |
string (int64 format)
Durchschnittliche Anzahl der Suchanfragen für den angegebenen Zeitraum.
|
Autorisierungsbereiche
Erfordert einen der folgenden OAuth-Bereiche:
https://www.googleapis.com/auth/cloud_search.stats.indexing
https://www.googleapis.com/auth/cloud_search.stats
https://www.googleapis.com/auth/cloud_search
Weitere Informationen finden Sie im Leitfaden zur Autorisierung.
CustomerSearchApplicationStats
Suche nach Anwendungsstatistiken für einen Kunden für das angegebene Datum.
JSON-Darstellung |
{
"date": {
object (Date )
},
"count": string
} |
Felder |
date |
object (Date )
Das Datum, für das die Statistiken für die Suchanwendung berechnet wurden.
|
count |
string (int64 format)
Die Anzahl der Suchanwendungen für das Datum.
|
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-25 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-25 (UTC)."],[],[],null,["# Method: stats.getSearchapplication\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.GetCustomerSearchApplicationStatsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [CustomerSearchApplicationStats](#CustomerSearchApplicationStats)\n - [JSON representation](#CustomerSearchApplicationStats.SCHEMA_REPRESENTATION)\n- [Try it!](#try-it)\n\nGet search application stats for customer. **Note:** This API requires a standard end user account to execute.\n\n### HTTP request\n\n`GET https://cloudsearch.googleapis.com/v1/stats/searchapplication`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Query parameters\n\n| Parameters ||\n|-------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `startDate` | `object (`[Date](/workspace/cloud-search/docs/reference/rest/v1/Date)`)` All available stats from startDate to endDate are returned. endDate - startDate \\\u003c= 6 months. |\n| `endDate` | `object (`[Date](/workspace/cloud-search/docs/reference/rest/v1/Date)`)` End date upto which stats are going to be returned. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse format for search application stats for a customer.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"stats\": [ { object (/workspace/cloud-search/docs/reference/rest/v1/stats/getSearchapplication#CustomerSearchApplicationStats) } ], \"averageSearchApplicationCount\": string } ``` |\n\n| Fields ||\n|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `stats[]` | `object (`[CustomerSearchApplicationStats](/workspace/cloud-search/docs/reference/rest/v1/stats/getSearchapplication#CustomerSearchApplicationStats)`)` Search application stats by date. |\n| `averageSearchApplicationCount` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Average search application count for the given date range. |\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud_search.stats.indexing`\n- `https://www.googleapis.com/auth/cloud_search.stats`\n- `https://www.googleapis.com/auth/cloud_search`\n\nFor more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent).\n\nCustomerSearchApplicationStats\n------------------------------\n\nSearch application stats for a customer for the given date.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------|\n| ``` { \"date\": { object (/workspace/cloud-search/docs/reference/rest/v1/Date) }, \"count\": string } ``` |\n\n| Fields ||\n|---------|---------------------------------------------------------------------------------------------------------------------------------------|\n| `date` | `object (`[Date](/workspace/cloud-search/docs/reference/rest/v1/Date)`)` The date for which search application stats were calculated. |\n| `count` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The count of search applications for the date. |"]]