Method: stats.user.searchapplications.get
ดูสถิติของผู้ใช้สำหรับแอปพลิเคชันการค้นหา
หมายเหตุ: ต้องใช้บัญชีผู้ใช้ปลายทางมาตรฐานจึงจะใช้งาน API นี้ได้
คำขอ HTTP
GET https://cloudsearch.googleapis.com/v1/stats/user/{name=searchapplications/*}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
name |
string
รหัสทรัพยากรของสถิติเซสชันของแอปพลิเคชันการค้นหาในรูปแบบต่อไปนี้: searchapplications/{applicationId}
|
พารามิเตอร์การค้นหา
พารามิเตอร์ |
fromDate |
object (Date )
สถิติทั้งหมดที่มีอยู่ตั้งแต่วันที่ fromDate ถึงวันที่ ถึงวัน จะถูกส่งกลับ fromDate ควรอยู่ภายในปีและ toDate >= fromDate
|
toDate |
object (Date )
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ GetSearchApplicationUserStatsResponse
ขอบเขตการให้สิทธิ์
ต้องมีขอบเขต 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
โปรดดูข้อมูลเพิ่มเติมที่คู่มือการให้สิทธิ์
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-09-03 UTC
[null,null,["อัปเดตล่าสุด 2024-09-03 UTC"],[[["This API retrieves user statistics for a specified search application within a given date range."],["It requires a standard end user account and uses a GET request to the provided endpoint."],["The request must specify the search application ID via the `name` path parameter and can optionally include `fromDate` and `toDate` query parameters for filtering the statistics."],["Authorization is required using one of the specified OAuth scopes."],["A successful response will contain a `GetSearchApplicationUserStatsResponse` object with the requested user statistics."]]],[]]