REST Resource: channels
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
সম্পদ: চ্যানেল
সম্পদ পরিবর্তনের জন্য দেখার জন্য ব্যবহৃত একটি বিজ্ঞপ্তি চ্যানেল।
JSON প্রতিনিধিত্ব |
---|
{
"params": {
string: string,
...
},
"payload": boolean,
"id": string,
"resourceId": string,
"resourceUri": string,
"token": string,
"expiration": string,
"type": string,
"address": string,
"kind": string
} |
ক্ষেত্র |
---|
params | map (key: string, value: string) ডেলিভারি চ্যানেলের আচরণ নিয়ন্ত্রণকারী অতিরিক্ত পরামিতি। ঐচ্ছিক। "key": value জোড়া। উদাহরণ: { "name": "wrench", "mass": "1.3kg", "count": "3" } । |
payload | boolean পেলোড চাই কিনা তা নির্দেশ করার জন্য একটি বুলিয়ান মান। ঐচ্ছিক। |
id | string একটি UUID বা অনুরূপ অনন্য স্ট্রিং যা এই চ্যানেলটিকে সনাক্ত করে৷ |
resourceId | string একটি অস্বচ্ছ আইডি যা এই চ্যানেলে যে সংস্থান দেখা হচ্ছে তা শনাক্ত করে৷ বিভিন্ন API সংস্করণ জুড়ে স্থিতিশীল। |
resourceUri | string দেখা সম্পদের জন্য একটি সংস্করণ-নির্দিষ্ট শনাক্তকারী। |
token | string এই চ্যানেলে বিতরিত প্রতিটি বিজ্ঞপ্তির সাথে লক্ষ্য ঠিকানায় একটি নির্বিচারে স্ট্রিং বিতরণ করা হয়। ঐচ্ছিক। |
expiration | string ( int64 format) মিলিসেকেন্ডে ইউনিক্স টাইমস্ট্যাম্প হিসাবে প্রকাশ করা বিজ্ঞপ্তি চ্যানেলের মেয়াদ শেষ হওয়ার তারিখ এবং সময়। ঐচ্ছিক। |
type | string এই চ্যানেলের জন্য ব্যবহৃত ডেলিভারি মেকানিজমের ধরন। বৈধ মান হল "web_hook" বা "webhook"। |
address | string ঠিকানা যেখানে এই চ্যানেলের জন্য বিজ্ঞপ্তি বিতরণ করা হয়৷ |
kind | string এটিকে একটি রিসোর্সের পরিবর্তন দেখার জন্য ব্যবহৃত একটি বিজ্ঞপ্তি চ্যানেল হিসেবে চিহ্নিত করে, যা হল api#channel । |
পদ্ধতি |
---|
| এই চ্যানেলের মাধ্যমে সম্পদ দেখা বন্ধ করে। |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# REST Resource: channels\n\n- [Resource: Channel](#Channel)\n - [JSON representation](#Channel.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Channel\n-----------------\n\nA notification channel used to watch for resource changes.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"params\": { string: string, ... }, \"payload\": boolean, \"id\": string, \"resourceId\": string, \"resourceUri\": string, \"token\": string, \"expiration\": string, \"type\": string, \"address\": string, \"kind\": string } ``` |\n\n| Fields ||\n|---------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `params` | `map (key: string, value: string)` Additional parameters controlling delivery channel behavior. Optional. An object containing a list of `\"key\": value` pairs. Example: `{ \"name\": \"wrench\", \"mass\": \"1.3kg\", \"count\": \"3\" }`. |\n| `payload` | `boolean` A Boolean value to indicate whether payload is wanted. Optional. |\n| `id` | `string` A UUID or similar unique string that identifies this channel. |\n| `resourceId` | `string` An opaque ID that identifies the resource being watched on this channel. Stable across different API versions. |\n| `resourceUri` | `string` A version-specific identifier for the watched resource. |\n| `token` | `string` An arbitrary string delivered to the target address with each notification delivered over this channel. Optional. |\n| `expiration` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional. |\n| `type` | `string` The type of delivery mechanism used for this channel. Valid values are \"web_hook\" or \"webhook\". |\n| `address` | `string` The address where notifications are delivered for this channel. |\n| `kind` | `string` Identifies this as a notification channel used to watch for changes to a resource, which is `api#channel`. |\n\n| Methods ------- ||\n|------------------------------------------------------------------|------------------------------------------------|\n| ### [stop](/workspace/drive/api/reference/rest/v3/channels/stop) | Stops watching resources through this channel. |"]]