Method: stats.getSearchapplication
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
お客様の検索アプリの統計情報を取得します。注: この API を実行するには、標準のエンドユーザー アカウントが必要です。
HTTP リクエスト
GET https://cloudsearch.googleapis.com/v1/stats/searchapplication
この URL は gRPC Transcoding 構文を使用します。
クエリ パラメータ
パラメータ |
startDate |
object (Date )
startDate から endDate までの利用可能なすべての統計情報が返されます。endDate - startDate <= 6 か月。
|
endDate |
object (Date )
統計情報を返す期間の終了日。
|
リクエストの本文
リクエストの本文は空にする必要があります。
レスポンスの本文
お客様の検索アプリの統計情報のレスポンス形式。
成功した場合、レスポンスの本文には次の構造のデータが含まれます。
フィールド |
stats[] |
object (CustomerSearchApplicationStats )
日付で検索アプリの統計情報。
|
averageSearchApplicationCount |
string (int64 format)
指定した期間の平均検索アプリ数。
|
認可スコープ
以下のいずれかの OAuth スコープが必要です。
https://www.googleapis.com/auth/cloud_search.stats.indexing
https://www.googleapis.com/auth/cloud_search.stats
https://www.googleapis.com/auth/cloud_search
詳しくは、認可ガイドをご覧ください。
CustomerSearchApplicationStats
指定した日付のお客様のアプリの統計情報を検索します。
JSON 表現 |
{
"date": {
object (Date )
},
"count": string
} |
フィールド |
date |
object (Date )
検索アプリの統計情報が計算された日付。
|
count |
string (int64 format)
当日における検索アプリの数。
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 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. |"]]