1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-05-22 10:05:29 +02:00
Files
OpenIntegrations/docs/en/md/Google_Calendar/Calendar-metadata-management/Edit-calendar-metadata.md
T
Vitaly the Alpaca (bot) cac41ea00b Main build (Jenkins)
2024-10-12 18:42:55 +03:00

1.6 KiB

sidebar_position
sidebar_position
3

Edit calendar

Edits properties of an existing calendar

Function EditCalendarMetadata(Val Token, Val Calendar, Val Name = "", Val Description = "") Export

Parameter CLI option Type Description
Token --token String Token
Calendar --calendar String Calendar ID
Name --title String New name
Description --description String New calendar description

Returns: Map Of KeyAndValue - serialized JSON response from Google


    Token       = "ya29.a0AcM612yqBU-Js-ZwvMX9kOgTqr1bzVlotSXxpjuDiy-VQFNrbVcJqWC-p_l2W_Ng_se_7j6PbCOWHu1waCLQEAilKYg3xb2Q18DG_cMfA...";
    Calendar    = "9776ffc9103041e891559c22442cd210f397ca598957939d3a9fa15edfccfd62@group.calendar.google.com";
    Name        = "New name";
    Description = "New description";

    Result = OPI_GoogleCalendar.EditCalendarMetadata(Token, Calendar, Name, Description);
    
  oint gcalendar EditCalendarMetadata --token %token% --calendar %calendar% --title "TestCalendar (change.)" --description "TestDescription"

{
 "kind": "calendar#calendar",
 "etag": "\"TKmlUu-rCWvGCZLbQ4hTqd8_K3U\"",
 "id": "48ff105e488eea0a588031479250116f2e769f150c2ca1274b7e79c4b057b46b@group.calendar.google.com",
 "summary": "New name",
 "description": "New description",
 "timeZone": "Europe/Moscow",
 "conferenceProperties": {
  "allowedConferenceSolutionTypes": [
   "hangoutsMeet"
  ]
 }
}