SubscriptionChannel
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
সম্পদ পরিবর্তনের জন্য দেখার জন্য একটি বিজ্ঞপ্তি চ্যানেল ব্যবহার করা হয়।
JSON প্রতিনিধিত্ব |
---|
{
"id": string,
"token": string,
"expiration": string,
"type": string,
"address": string,
"payload": boolean,
"params": {
string: string,
...
},
"resourceId": string,
"resourceUri": string,
"kind": string
} |
ক্ষেত্র |
---|
id | string একটি UUID বা অনুরূপ অনন্য স্ট্রিং যা এই চ্যানেলটিকে সনাক্ত করে৷ |
token | string এই চ্যানেলে বিতরিত প্রতিটি বিজ্ঞপ্তির সাথে লক্ষ্য ঠিকানায় একটি নির্বিচারে স্ট্রিং বিতরণ করা হয়। ঐচ্ছিক। |
expiration | string ( int64 format) মিলিসেকেন্ডে ইউনিক্স টাইমস্ট্যাম্প হিসাবে প্রকাশ করা বিজ্ঞপ্তি চ্যানেলের মেয়াদ শেষ হওয়ার তারিখ এবং সময়। ঐচ্ছিক। |
type | string এই চ্যানেলের জন্য ব্যবহৃত ডেলিভারি মেকানিজমের ধরন। |
address | string ঠিকানা যেখানে এই চ্যানেলের জন্য বিজ্ঞপ্তি বিতরণ করা হয়৷ |
payload | boolean পেলোড চাই কিনা তা নির্দেশ করার জন্য একটি বুলিয়ান মান। ঐচ্ছিক। |
params | map (key: string, value: string) ডেলিভারি চ্যানেলের আচরণ নিয়ন্ত্রণকারী অতিরিক্ত পরামিতি। ঐচ্ছিক। উদাহরণস্বরূপ, params.ttl বিজ্ঞপ্তি চ্যানেলের জন্য সেকেন্ডে লাইভ-টু-লিভ নির্দিষ্ট করে, যেখানে ডিফল্ট 2 ঘন্টা এবং সর্বাধিক TTL হল 2 দিন। "key": value জোড়া। উদাহরণ: { "name": "wrench", "mass": "1.3kg", "count": "3" } । |
resourceId | string একটি অস্বচ্ছ আইডি যা এই চ্যানেলে যে সংস্থান দেখা হচ্ছে তা শনাক্ত করে৷ বিভিন্ন API সংস্করণ জুড়ে স্থিতিশীল। |
resourceUri | string দেখা সম্পদের জন্য একটি সংস্করণ-নির্দিষ্ট শনাক্তকারী। |
kind | string এটিকে একটি রিসোর্সের পরিবর্তন দেখার জন্য ব্যবহৃত একটি বিজ্ঞপ্তি চ্যানেল হিসেবে চিহ্নিত করে, যা হল api#channel । |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-28 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-28 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# SubscriptionChannel\n\nAn notification channel used to watch for resource changes.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"id\": string, \"token\": string, \"expiration\": string, \"type\": string, \"address\": string, \"payload\": boolean, \"params\": { string: string, ... }, \"resourceId\": string, \"resourceUri\": string, \"kind\": string } ``` |\n\n| Fields ||\n|---------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `id` | `string` A UUID or similar unique string that identifies this channel. |\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. |\n| `address` | `string` The address where notifications are delivered for this channel. |\n| `payload` | `boolean` A Boolean value to indicate whether payload is wanted. Optional. |\n| `params` | `map (key: string, value: string)` Additional parameters controlling delivery channel behavior. Optional. For example, `params.ttl` specifies the time-to-live in seconds for the notification channel, where the default is 2 hours and the maximum TTL is 2 days. An object containing a list of `\"key\": value` pairs. Example: `{ \"name\": \"wrench\", \"mass\": \"1.3kg\", \"count\": \"3\" }`. |\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| `kind` | `string` Identifies this as a notification channel used to watch for changes to a resource, which is `api#channel`. |"]]