Method: stats.getSearchapplication
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
고객의 검색 애플리케이션 통계를 가져옵니다. 참고: 이 API를 실행하려면 표준 최종 사용자 계정이 필요합니다.
HTTP 요청
GET https://cloudsearch.googleapis.com/v1/stats/searchapplication
URL은 gRPC 트랜스코딩 구문을 사용합니다.
쿼리 매개변수
매개변수 |
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)
해당 날짜의 검색 신청 건수입니다.
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 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. |"]]