ThreatEntry
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
একটি পৃথক হুমকি; উদাহরণস্বরূপ, একটি দূষিত URL বা এর হ্যাশ উপস্থাপনা। এই ক্ষেত্রগুলির মধ্যে শুধুমাত্র একটি সেট করা উচিত।
JSON প্রতিনিধিত্ব |
---|
{
"hash": string,
"url": string,
"digest": string
} |
ক্ষেত্র |
---|
hash | string ( bytes format) একটি হ্যাশ উপসর্গ, একটি SHA256 হ্যাশের সবচেয়ে উল্লেখযোগ্য 4-32 বাইট সমন্বিত। এই ক্ষেত্রটি বাইনারি বিন্যাসে রয়েছে। JSON অনুরোধের জন্য, হ্যাশগুলি বেস64-এনকোডেড। একটি base64-এনকোডেড স্ট্রিং। |
url | string একটি URL. |
digest | string ( bytes format) SHA256 ফর্ম্যাটে একটি এক্সিকিউটেবলের ডাইজেস্ট। API বাইনারি এবং হেক্স ডাইজেস্ট উভয় সমর্থন করে। JSON অনুরোধের জন্য, ডাইজেস্ট বেস64-এনকোড করা হয়। একটি base64-এনকোডেড স্ট্রিং। |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eThreatEntry defines an individual threat using either a hash, a URL, or a digest, but only one field should be populated at a time.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ehash\u003c/code\u003e field represents a SHA256 hash prefix in binary format (base64-encoded for JSON).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eurl\u003c/code\u003e field simply contains a URL string to specify the threat.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003edigest\u003c/code\u003e field holds the SHA256 digest of an executable, supporting both binary and hex formats (base64-encoded for JSON).\u003c/p\u003e\n"]]],["The JSON data represents a single threat, using either a `hash`, `url`, or `digest`. The `hash` is a base64-encoded SHA256 hash prefix (4-32 bytes). The `url` is a string representing a URL. The `digest` is a base64-encoded SHA256 digest of an executable, supporting both binary and hex. Only one of these fields should be populated in any given representation of this threat data.\n"],null,["# ThreatEntry\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nAn individual threat; for example, a malicious URL or its hash representation. Only one of these fields should be set.\n\n| JSON representation |\n|-------------------------------------------------------------|\n| ``` { \"hash\": string, \"url\": string, \"digest\": string } ``` |\n\n| Fields ||\n|----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `hash` | `string (`[bytes](https://developers.google.com/discovery/v1/type-format)` format)` A hash prefix, consisting of the most significant 4-32 bytes of a SHA256 hash. This field is in binary format. For JSON requests, hashes are base64-encoded. A base64-encoded string. |\n| `url` | `string` A URL. |\n| `digest` | `string (`[bytes](https://developers.google.com/discovery/v1/type-format)` format)` The digest of an executable in SHA256 format. The API supports both binary and hex digests. For JSON requests, digests are base64-encoded. A base64-encoded string. |"]]