Method: resources.calendars.update
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
कैलेंडर संसाधन को अपडेट करता है.
यह तरीका पैच सेमेंटेक्स के साथ काम करता है. इसका मतलब है कि आपको सिर्फ़ उन फ़ील्ड को शामिल करना होगा जिन्हें अपडेट करना है. अनुरोध में मौजूद नहीं होने वाले फ़ील्ड को सुरक्षित रखा जाएगा.
एचटीटीपी अनुरोध
PUT https://admin.googleapis.com/admin/directory/v1/customer/{customer}/resources/calendars/{calendarResourceId}
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
customer |
string
ग्राहक के Google Workspace खाते का यूनीक आईडी. खाते के एडमिन के तौर पर, अपने खाते के ग्राहक आईडी को दिखाने के लिए, my_customer उपनाम का भी इस्तेमाल किया जा सकता है.
|
calendarResourceId |
string
अपडेट किए जाने वाले कैलेंडर संसाधन का यूनीक आईडी.
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में CalendarResource
का उदाहरण है.
जवाब का मुख्य भाग
कामयाब रहने पर, जवाब के मुख्य हिस्से में CalendarResource
का एक इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
इसके लिए, OAuth के इनमें से किसी एक स्कोप की ज़रूरत होती है:
https://apps-apis.google.com/a/feeds/calendar/resource/
https://www.googleapis.com/auth/admin.directory.resource.calendar
ज़्यादा जानकारी के लिए, अनुमति से जुड़ी गाइड देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[],[],null,["# Method: resources.calendars.update\n\nUpdates a calendar resource. \n\nThis method supports patch semantics, meaning you only need to include the fields you wish to update. Fields that are not present in the request will be preserved.\n\n### HTTP request\n\n`PUT https://admin.googleapis.com/admin/directory/v1/customer/{customer}/resources/calendars/{calendarResourceId}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `customer` | `string` The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID. |\n| `calendarResourceId` | `string` The unique ID of the calendar resource to update. |\n\n### Request body\n\nThe request body contains an instance of [CalendarResource](/workspace/admin/directory/reference/rest/v1/resources.calendars#CalendarResource).\n\n### Response body\n\nIf successful, the response body contains an instance of [CalendarResource](/workspace/admin/directory/reference/rest/v1/resources.calendars#CalendarResource).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://apps-apis.google.com/a/feeds/calendar/resource/`\n- `\n https://www.googleapis.com/auth/admin.directory.resource.calendar`\n\nFor more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent)."]]