CalendarList: patch
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
ব্যবহারকারীর ক্যালেন্ডার তালিকায় বিদ্যমান একটি ক্যালেন্ডার আপডেট করে। এই পদ্ধতি প্যাচ শব্দার্থবিদ্যা সমর্থন করে. মনে রাখবেন যে প্রতিটি প্যাচ অনুরোধ তিনটি কোটা ইউনিট ব্যবহার করে; একটি update
দ্বারা get
করা একটি ব্যবহার পছন্দ. আপনি যে ক্ষেত্রের মানগুলি নির্দিষ্ট করেছেন তা বিদ্যমান মানগুলিকে প্রতিস্থাপন করে। যে ক্ষেত্রগুলি আপনি অনুরোধে নির্দিষ্ট করেননি সেগুলি অপরিবর্তিত থাকে৷ অ্যারে ক্ষেত্র, যদি নির্দিষ্ট করা থাকে, বিদ্যমান অ্যারেগুলি ওভাররাইট করুন; এটি কোনো পূর্ববর্তী অ্যারে উপাদান বাতিল করে। এখনই চেষ্টা করে দেখুন ।
অনুরোধ
HTTP অনুরোধ
PATCH https://www.googleapis.com/calendar/v3/users/me/calendarList/calendarId
পরামিতি
পরামিতি নাম | মান | বর্ণনা |
---|
পাথ প্যারামিটার |
calendarId | string | ক্যালেন্ডার শনাক্তকারী। ক্যালেন্ডার আইডি পুনরুদ্ধার করতে calendarList.list পদ্ধতিতে কল করুন। আপনি যদি বর্তমানে লগ ইন করা ব্যবহারকারীর প্রাথমিক ক্যালেন্ডার অ্যাক্সেস করতে চান তবে " primary " কীওয়ার্ডটি ব্যবহার করুন৷ |
ঐচ্ছিক ক্যোয়ারী পরামিতি |
colorRgbFormat | boolean | ক্যালেন্ডারের রং (RGB) লেখার জন্য foregroundColor এবং backgroundColor ক্ষেত্র ব্যবহার করা হবে কিনা। এই বৈশিষ্ট্যটি ব্যবহার করা হলে, সূচক-ভিত্তিক colorId ক্ষেত্রটি স্বয়ংক্রিয়ভাবে সেরা ম্যাচিং বিকল্পে সেট করা হবে। ঐচ্ছিক। ডিফল্ট হল False. |
অনুমোদন
এই অনুরোধের জন্য নিম্নলিখিত স্কোপের মধ্যে অন্তত একটির সাথে অনুমোদনের প্রয়োজন:
ব্যাপ্তি |
---|
https://www.googleapis.com/auth/calendar |
https://www.googleapis.com/auth/calendar.app.created |
https://www.googleapis.com/auth/calendar.calendarlist |
আরও তথ্যের জন্য, প্রমাণীকরণ এবং অনুমোদন পৃষ্ঠাটি দেখুন।
শরীরের অনুরোধ
অনুরোধের অংশে, প্যাচ শব্দার্থবিদ্যার নিয়ম অনুসারে একটি ক্যালেন্ডারলিস্ট সংস্থানের প্রাসঙ্গিক অংশগুলি সরবরাহ করুন৷
প্রতিক্রিয়া
সফল হলে, এই পদ্ধতিটি প্রতিক্রিয়া বডিতে একটি ক্যালেন্ডারলিস্ট রিসোর্স প্রদান করে।
এটা চেষ্টা করুন!
লাইভ ডেটাতে এই পদ্ধতিতে কল করতে এবং প্রতিক্রিয়া দেখতে নীচের APIs এক্সপ্লোরার ব্যবহার করুন।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট 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,["# CalendarList: patch\n\n| **Note:** Requires [authorization](#auth).\n\nUpdates an existing calendar on the user's calendar list. This method supports patch semantics. Note that each patch request consumes three quota units; prefer using a `get` followed by an `update`. The field values you specify replace the existing values. Fields that you don't specify in the request remain unchanged. Array fields, if specified, overwrite the existing arrays; this discards any previous array elements.\n[Try it now](#try-it).\n\nRequest\n-------\n\n### HTTP request\n\n```\nPATCH https://www.googleapis.com/calendar/v3/users/me/calendarList/calendarId\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| **Optional query parameters** |||\n| `colorRgbFormat` | `boolean` | Whether to use the `foregroundColor` and `backgroundColor` fields to write the calendar colors (RGB). If this feature is used, the index-based `colorId` field will be set to the best matching option automatically. Optional. The default is False. |\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.app.created` |\n| `https://www.googleapis.com/auth/calendar.calendarlist` |\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 the relevant portions of a [CalendarList resource](/workspace/calendar/api/v3/reference/calendarList#resource), according to the rules of patch semantics.\n\nResponse\n--------\n\nIf successful, this method returns a [CalendarList resource](/workspace/calendar/api/v3/reference/calendarList#resource) in the response body.\n\nTry it!\n-------\n\n\nUse the APIs Explorer below to call this method on live data and see the response."]]