Method: stats.session.searchapplications.get
รับ # เซสชันการค้นหา % ของเซสชันที่ประสบความสำเร็จซึ่งมีสถิติการค้นหาการคลิกสำหรับแอปพลิเคชันการค้นหา
หมายเหตุ: ต้องใช้บัญชีผู้ใช้ปลายทางมาตรฐานจึงจะใช้งาน API นี้ได้
คำขอ HTTP
GET https://cloudsearch.googleapis.com/v1/stats/session/{name=searchapplications/*}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
name |
string
รหัสทรัพยากรของสถิติเซสชันของแอปพลิเคชันการค้นหาในรูปแบบต่อไปนี้: searchapplications/{applicationId}
|
พารามิเตอร์การค้นหา
พารามิเตอร์ |
fromDate |
object (Date )
สถิติทั้งหมดที่มีอยู่ตั้งแต่วันที่ fromDate ถึงวันที่ ถึงวัน จะถูกส่งกลับ fromDate ควรอยู่ภายในปีและ toDate >= fromDate
|
toDate |
object (Date )
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ GetSearchApplicationSessionStatsResponse
ขอบเขตการให้สิทธิ์
ต้องมีขอบเขต 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"],[[["Retrieve session statistics, such as the number of search sessions and click-through rates, for a specified search application using this API."],["The API requires a standard end user account and uses a `GET` request to `https://cloudsearch.googleapis.com/v1/stats/session/{name=searchapplications/*}`."],["You can specify a date range (`fromDate` and `toDate`) within the past year to filter the session statistics returned."],["Proper authorization is needed using one of the provided OAuth scopes: `https://www.googleapis.com/auth/cloud_search.stats.indexing`, `https://www.googleapis.com/auth/cloud_search.stats`, or `https://www.googleapis.com/auth/cloud_search`."]]],[]]