ThreatMatch
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
세이프 브라우징 위협 목록에서 위협 항목을 확인할 때 일치하는 항목입니다.
필드 |
threatType |
enum (ThreatType )
이 위협과 일치하는 위협 유형입니다.
|
platformType |
enum (PlatformType )
이 위협과 일치하는 플랫폼 유형입니다.
|
threatEntryType |
enum (ThreatEntryType )
이 위협과 일치하는 위협 항목 유형입니다.
|
threat |
object (ThreatEntry )
이 위협과 일치하는 위협입니다.
|
threatEntryMetadata |
object (ThreatEntryMetadata )
이 위협과 관련된 메타데이터(선택사항)입니다.
|
cacheDuration |
string (Duration format)
반환된 일치 항목의 캐시 수명입니다. 거짓양성을 방지하기 위해 클라이언트는 이 기간을 초과하여 이 응답을 캐시해서는 안 됩니다. 소수점 아래가 최대 9자리까지이고 's '로 끝나는 초 단위 기간입니다. 예를 들면 "3.5s" 입니다.
|
ThreatEntryMetadata
특정 위협 항목과 관련된 메타데이터. 클라이언트는 각 위협 유형과 관련된 메타데이터 키/값 쌍을 알아야 합니다.
MetadataEntry
JSON 표현 |
{
"key": string,
"value": string
} |
필드 |
key |
string (bytes format)
메타데이터 엔트리 키입니다. JSON 요청의 경우 키는 base64로 인코딩됩니다. base64 인코딩 문자열입니다.
|
value |
string (bytes format)
메타데이터 항목 값입니다. JSON 요청의 경우 값은 base64로 인코딩됩니다. base64 인코딩 문자열입니다.
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-09-12(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"]],["최종 업데이트: 2024-09-12(UTC)"],[[["ThreatMatch indicates a match when checking for threats in Safe Browsing threat lists, containing information about the threat type, platform, and entry type."],["It includes optional metadata associated with the specific threat entry, which may provide additional context."],["ThreatEntryMetadata stores this metadata as key-value pairs, understood by the client based on the threat type."],["MetadataEntry represents a single metadata entry, where both the key and value are base64-encoded for JSON requests."]]],["The document defines data structures for threat matches in Safe Browsing. A threat match includes `threatType`, `platformType`, `threatEntryType`, and the matching `threat`. It may optionally contain `threatEntryMetadata`, consisting of `MetadataEntry` objects with `key` and `value` string pairs. Each match also specifies `cacheDuration`, dictating how long the match should be considered valid, to avoid false positives. Data representation is in JSON format with specific structure for `ThreatEntryMetadata` and `MetadataEntry`.\n"]]