Acl: watch
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
ACL সম্পদে পরিবর্তনের জন্য দেখুন।
অনুরোধ
HTTP অনুরোধ
POST https://www.googleapis.com/calendar/v3/calendars/calendarId/acl/watch
পরামিতি
পরামিতি নাম | মান | বর্ণনা |
---|
পাথ প্যারামিটার |
calendarId | string | ক্যালেন্ডার শনাক্তকারী। ক্যালেন্ডার আইডি পুনরুদ্ধার করতে calendarList.list পদ্ধতিতে কল করুন। আপনি যদি বর্তমানে লগ ইন করা ব্যবহারকারীর প্রাথমিক ক্যালেন্ডার অ্যাক্সেস করতে চান তবে " primary " কীওয়ার্ডটি ব্যবহার করুন৷ |
অনুমোদন
এই অনুরোধের জন্য নিম্নলিখিত স্কোপের মধ্যে অন্তত একটির সাথে অনুমোদনের প্রয়োজন:
ব্যাপ্তি |
---|
https://www.googleapis.com/auth/calendar |
https://www.googleapis.com/auth/calendar.acls |
https://www.googleapis.com/auth/calendar.acls.readonly |
আরও তথ্যের জন্য, প্রমাণীকরণ এবং অনুমোদন পৃষ্ঠাটি দেখুন।
শরীরের অনুরোধ
অনুরোধের অংশে, নিম্নলিখিত কাঠামোর সাথে ডেটা সরবরাহ করুন:
{
"id": string,
"token": string,
"type": string,
"address": string,
"params": {
"ttl": string
}
}
সম্পত্তির নাম | মান | বর্ণনা | নোট |
---|
id | string | একটি UUID বা অনুরূপ অনন্য স্ট্রিং যা এই চ্যানেলটিকে সনাক্ত করে৷ | |
token | string | এই চ্যানেলে বিতরিত প্রতিটি বিজ্ঞপ্তির সাথে লক্ষ্য ঠিকানায় একটি নির্বিচারে স্ট্রিং বিতরণ করা হয়। ঐচ্ছিক। | |
type | string | এই চ্যানেলের জন্য ব্যবহৃত ডেলিভারি মেকানিজমের ধরন। বৈধ মান হল " web_hook " (বা " webhook ")। উভয় মানই একটি চ্যানেলকে নির্দেশ করে যেখানে Http অনুরোধগুলি বার্তা সরবরাহ করতে ব্যবহৃত হয়। | |
address | string | ঠিকানা যেখানে এই চ্যানেলের জন্য বিজ্ঞপ্তি বিতরণ করা হয়৷ | |
params | object | ডেলিভারি চ্যানেলের আচরণ নিয়ন্ত্রণকারী অতিরিক্ত পরামিতি। ঐচ্ছিক। | |
params. ttl | string | বিজ্ঞপ্তি চ্যানেলের জন্য সেকেন্ডে লাইভ সময়। ডিফল্ট 604800 সেকেন্ড। | |
প্রতিক্রিয়া
সফল হলে, এই পদ্ধতিটি নিম্নলিখিত কাঠামো সহ একটি প্রতিক্রিয়া বডি প্রদান করে:
{
"kind": "api#channel",
"id": string,
"resourceId": string,
"resourceUri": string,
"token": string,
"expiration": long
}
সম্পত্তির নাম | মান | বর্ণনা | নোট |
---|
kind | string | এটিকে একটি রিসোর্সের পরিবর্তন দেখার জন্য ব্যবহৃত একটি বিজ্ঞপ্তি চ্যানেল হিসাবে চিহ্নিত করে, যা হল " api#channel "৷ | |
id | string | একটি UUID বা অনুরূপ অনন্য স্ট্রিং যা এই চ্যানেলটিকে সনাক্ত করে৷ | |
resourceId | string | একটি অস্বচ্ছ আইডি যা এই চ্যানেলে যে সংস্থান দেখা হচ্ছে তা শনাক্ত করে৷ বিভিন্ন API সংস্করণ জুড়ে স্থিতিশীল। | |
resourceUri | string | দেখা সম্পদের জন্য একটি সংস্করণ-নির্দিষ্ট শনাক্তকারী। | |
token | string | এই চ্যানেলে বিতরিত প্রতিটি বিজ্ঞপ্তির সাথে লক্ষ্য ঠিকানায় একটি নির্বিচারে স্ট্রিং বিতরণ করা হয়। ঐচ্ছিক। | |
expiration | long | মিলিসেকেন্ডে ইউনিক্স টাইমস্ট্যাম্প হিসাবে প্রকাশ করা বিজ্ঞপ্তি চ্যানেলের মেয়াদ শেষ হওয়ার তারিখ এবং সময়। ঐচ্ছিক। | |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট 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,["# Acl: watch\n\n| **Note:** Requires [authorization](#auth).\n\nWatch for changes to ACL resources.\n\nRequest\n-------\n\n### HTTP request\n\n```\nPOST https://www.googleapis.com/calendar/v3/calendars/calendarId/acl/watch\n```\n\n### Parameters\n\n| Parameter name | Value | Description |\n|----------------|----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **Path parameters** |||\n| `calendarId` | `string` | Calendar identifier. To retrieve calendar IDs call the [calendarList.list](/workspace/calendar/api/v3/reference/calendarList/list) method. If you want to access the primary calendar of the currently logged in user, use the \"`primary`\" keyword. |\n\n### Authorization\n\nThis request requires authorization with at least one of the following scopes:\n\n| Scope |\n|----------------------------------------------------------|\n| `https://www.googleapis.com/auth/calendar` |\n| `https://www.googleapis.com/auth/calendar.acls` |\n| `https://www.googleapis.com/auth/calendar.acls.readonly` |\n\nFor more information, see the [authentication and authorization](/workspace/guides/configure-oauth-consent) page.\n\n### Request body\n\nIn the request body, supply data with the following structure:\n\n```carbon\n{\n \"id\": string,\n \"token\": string,\n \"type\": string,\n \"address\": string,\n \"params\": {\n \"ttl\": string\n }\n}\n```\n\n| Property name | Value | Description | Notes |\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| `type` | `string` | The type of delivery mechanism used for this channel. Valid values are \"`web_hook`\" (or \"`webhook`\"). Both values refer to a channel where Http requests are used to deliver messages. | |\n| `address` | `string` | The address where notifications are delivered for this channel. | |\n| `params` | `object` | Additional parameters controlling delivery channel behavior. Optional. | |\n| params.`ttl` | `string` | The time-to-live in seconds for the notification channel. Default is 604800 seconds. | |\n\nResponse\n--------\n\nIf successful, this method returns a response body with the following structure:\n\n```text\n{\n \"kind\": \"api#channel\",\n \"id\": string,\n \"resourceId\": string,\n \"resourceUri\": string,\n \"token\": string,\n \"expiration\": long\n}\n```\n\n| Property name | Value | Description | Notes |\n|---------------|----------|-------------------------------------------------------------------------------------------------------------------|-------|\n| `kind` | `string` | Identifies this as a notification channel used to watch for changes to a resource, which is \"`api#channel`\". | |\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` | `long` | Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional. | |"]]