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)
클라이언트의 각 로컬 위협 목록에 대한 현재 클라이언트 상태입니다. base64 인코딩 문자열입니다.
|
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" 입니다.
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-09-07(UTC)
[null,null,["최종 업데이트: 2024-09-07(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"]]