Method: stats.getUser
고객에 대한 사용자 통계를 가져옵니다.
참고: 이 API를 실행하려면 표준 최종 사용자 계정이 필요합니다.
HTTP 요청
GET https://cloudsearch.googleapis.com/v1/stats/user
URL은 gRPC 트랜스코딩 구문을 사용합니다.
쿼리 매개변수
매개변수 |
fromDate |
object (Date )
fromDate에서 toDate까지 사용 가능한 모든 통계가 반환됩니다. fromDate는 연도 이내이고 toDate >= fromDate여야 합니다.
|
toDate |
object (Date )
|
응답 본문
성공한 경우 응답 본문은 다음과 같은 구조의 데이터를 포함합니다.
승인 범위
다음 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
자세한 내용은 승인 가이드를 참조하세요.
CustomerUserStats
JSON 표현 |
{
"date": {
object (Date )
},
"oneDayActiveUsersCount": string,
"sevenDaysActiveUsersCount": string,
"thirtyDaysActiveUsersCount": string
} |
필드 |
date |
object (Date )
세션 통계가 계산된 날짜입니다. 다음 날 자정이 다가오면 계산된 통계가 반환됩니다.
|
oneDayActiveUsersCount |
string (int64 format)
지난 1일간의 순 활성 사용자 수
|
sevenDaysActiveUsersCount |
string (int64 format)
지난 7일간의 순 활성 사용자 수
|
thirtyDaysActiveUsersCount |
string (int64 format)
지난 30일간의 순 활성 사용자 수입니다.
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-09-03(UTC)
[null,null,["최종 업데이트: 2024-09-03(UTC)"],[[["Retrieves user statistics for a customer, requiring a standard end user account."],["Accepts optional `fromDate` and `toDate` parameters to specify the date range for statistics."],["Returns daily, 7-day, and 30-day active user counts within the specified date range."],["Requires authorization with specific OAuth scopes related to Cloud Search statistics."],["Provides data in JSON format with details on active user counts for each date."]]],[]]