Method: fullHashes.find
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ค้นหาแฮชแบบเต็มที่ตรงกับคำนำหน้าแฮชที่ขอ
คำขอ HTTP
POST https://safebrowsing.googleapis.com/v4/fullHashes:find
URL ใช้ไวยากรณ์การแปลง gRPC
เนื้อหาของคำขอ
เนื้อหาของคำขอมีข้อมูลที่มีโครงสร้างต่อไปนี้
การแสดง JSON |
{
"client": {
object (ClientInfo )
},
"clientStates": [
string
],
"threatInfo": {
object (ThreatInfo )
},
"apiClient": {
object (ClientInfo )
}
} |
ช่อง |
client |
object (ClientInfo )
ข้อมูลเมตาของไคลเอ็นต์
|
clientStates[] |
string (bytes format)
สถานะปัจจุบันของไคลเอ็นต์สำหรับรายการภัยคุกคามในท้องถิ่นแต่ละรายการของลูกค้า สตริงที่เข้ารหัสฐาน 64
|
threatInfo |
object (ThreatInfo )
รายการและแฮชที่จะตรวจสอบ
|
apiClient |
object (ClientInfo )
ข้อมูลเมตาของไคลเอ็นต์ที่เชื่อมโยงกับผู้เรียกใช้ API ระดับสูงกว่าซึ่งสร้างขึ้นต่อยอดจากการใช้งานของไคลเอ็นต์
|
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีข้อมูลซึ่งมีโครงสร้างดังต่อไปนี้
การแสดง JSON |
{
"matches": [
{
object (ThreatMatch )
}
],
"minimumWaitDuration": string,
"negativeCacheDuration": string
} |
ช่อง |
matches[] |
object (ThreatMatch )
แฮชแบบเต็มที่ตรงกับคำนำหน้าที่ขอ
|
minimumWaitDuration |
string (Duration format)
ระยะเวลาขั้นต่ำที่ลูกค้าต้องรอก่อนออกคำขอค้นหาแฮช หากไม่ได้ตั้งค่าช่องนี้ ลูกค้าสามารถส่งคำขอได้ทันทีที่ต้องการ ระยะเวลาเป็นวินาทีโดยมีเลขเศษส่วนไม่เกิน 9 หลัก ลงท้ายด้วย "s " ตัวอย่างเช่น "3.5s"
|
negativeCacheDuration |
string (Duration format)
สำหรับเอนทิตีที่ขอซึ่งไม่ตรงกับรายการภัยคุกคาม จะแคชการตอบสนองไว้นานเท่าใด ระยะเวลาเป็นวินาทีโดยมีเลขเศษส่วนไม่เกิน 9 หลัก ลงท้ายด้วย "s " ตัวอย่างเช่น "3.5s"
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-03-06 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2025-03-06 UTC"],[[["This API finds full hashes that match requested hash prefixes using a POST request to `https://safebrowsing.googleapis.com/v4/fullHashes:find`."],["The request body includes client metadata, client states, threat information, and API client details, structured according to the provided JSON schema."],["The response body provides matching full hashes, minimum wait duration before the next request, and negative cache duration for non-matching entities, all formatted as described in the schema."]]],["This document details the process for finding full hashes matching requested hash prefixes via the `fullHashes:find` API. A `POST` request to the specified URL includes a JSON request body with client metadata (`client`, `apiClient`), client states (`clientStates`), and threat information (`threatInfo`). The response, if successful, contains matched full hashes (`matches`), a minimum wait duration (`minimumWaitDuration`) before the next request, and a negative cache duration (`negativeCacheDuration`).\n"]]