Class CalendarEventSeries

CalendarEventSeries

यह इवेंट की सीरीज़ (बार-बार होने वाला इवेंट) को दिखाता है.

तरीके

तरीकारिटर्न टाइपसंक्षिप्त विवरण
addEmailReminder(minutesBefore)CalendarEventSeriesइस इवेंट के लिए, ईमेल से भेजे जाने वाले नए रिमाइंडर को जोड़ता है.
addGuest(email)CalendarEventSeriesइस कुकी का इस्तेमाल, इवेंट में किसी मेहमान को जोड़ने के लिए किया जाता है.
addPopupReminder(minutesBefore)CalendarEventSeriesयह इवेंट में नई पॉप-अप सूचना जोड़ता है.
addSmsReminder(minutesBefore)CalendarEventSeriesइससे इवेंट के लिए एक नया एसएमएस रिमाइंडर जोड़ा जाता है.
anyoneCanAddSelf()Booleanइस कुकी से यह तय होता है कि लोग खुद को Calendar इवेंट में मेहमान के तौर पर जोड़ सकते हैं या नहीं.
deleteEventSeries()voidइससे इवेंट सीरीज़ मिट जाती है.
deleteTag(key)CalendarEventSeriesयह इवेंट से की/वैल्यू टैग मिटाता है.
getAllTagKeys()String[]इस फ़ंक्शन से, इवेंट पर सेट किए गए टैग की सभी कुंजियां मिलती हैं.
getColor()Stringयह फ़ंक्शन, कैलेंडर इवेंट का रंग दिखाता है.
getCreators()String[]किसी इवेंट के क्रिएटर्स की जानकारी मिलती है.
getDateCreated()Dateइस तरीके से, इवेंट बनाए जाने की तारीख मिलती है.
getDescription()Stringइवेंट की जानकारी मिलती है.
getEmailReminders()Integer[]इस कुकी का इस्तेमाल, इवेंट के लिए सेट किए गए सभी ईमेल रिमाइंडर के लिए मिनट की वैल्यू पाने के लिए किया जाता है.
getEventType()EventTypeइस इवेंट का EventType मिलता है.
getGuestByEmail(email)EventGuestईमेल पते के हिसाब से मेहमान की जानकारी मिलती है.
getGuestList()EventGuest[]यह इवेंट के मेहमानों की जानकारी देता है. इसमें इवेंट के मालिक की जानकारी शामिल नहीं होती.
getGuestList(includeOwner)EventGuest[]इस तरीके से, इवेंट में शामिल मेहमानों की जानकारी मिलती है. इसमें इवेंट के मालिक भी शामिल हो सकते हैं.
getId()Stringइससे इवेंट का यूनीक iCalUID मिलता है.
getLastUpdated()Dateइस तरीके से, इवेंट को आखिरी बार अपडेट किए जाने की तारीख मिलती है.
getLocation()Stringइवेंट की जगह की जानकारी मिलती है.
getMyStatus()GuestStatusइससे, ऐप्लिकेशन इस्तेमाल करने वाले व्यक्ति के इवेंट का स्टेटस (जैसे कि शामिल होना या न्योता पाना) मिलता है.
getOriginalCalendarId()Stringउस कैलेंडर का आईडी पाएं जिस पर यह इवेंट बनाया गया था.
getPopupReminders()Integer[]इस कुकी का इस्तेमाल, इवेंट के लिए सेट किए गए सभी पॉप-अप रिमाइंडर के लिए मिनट की वैल्यू पाने के लिए किया जाता है.
getSmsReminders()Integer[]इस कुकी का इस्तेमाल, इवेंट के लिए एसएमएस से भेजे गए सभी रिमाइंडर के लिए मिनट की वैल्यू पाने के लिए किया जाता है.
getTag(key)Stringइस फ़ंक्शन से, इवेंट के टैग की वैल्यू मिलती है.
getTitle()Stringइस तरीके से, इवेंट का टाइटल मिलता है.
getTransparency()EventTransparencyइस इवेंट की पारदर्शिता की जानकारी मिलती है.
getVisibility()Visibilityइस फ़ंक्शन से, इवेंट के दिखने की सेटिंग मिलती है.
guestsCanInviteOthers()Booleanइससे यह तय होता है कि मेहमान, अन्य मेहमानों को न्योता भेज सकते हैं या नहीं.
guestsCanModify()Booleanइससे यह तय होता है कि मेहमान इवेंट में बदलाव कर सकते हैं या नहीं.
guestsCanSeeGuests()Booleanइस कुकी से यह तय होता है कि मेहमानों को अन्य मेहमान दिखेंगे या नहीं.
isOwnedByMe()Booleanयह कुकी तय करती है कि आपके पास इवेंट का मालिकाना हक है या नहीं.
removeAllReminders()CalendarEventSeriesइस विकल्प को चुनने पर, इवेंट से सभी रिमाइंडर हट जाते हैं.
removeGuest(email)CalendarEventSeriesइस कुकी का इस्तेमाल, किसी मेहमान को इवेंट से हटाने के लिए किया जाता है.
resetRemindersToDefault()CalendarEventSeriesकैलेंडर की डिफ़ॉल्ट सेटिंग का इस्तेमाल करके, रिमाइंडर रीसेट करता है.
setAnyoneCanAddSelf(anyoneCanAddSelf)CalendarEventSeriesइससे यह तय किया जाता है कि मेहमान नहीं बने लोग, इवेंट में खुद को जोड़ सकते हैं या नहीं.
setColor(color)CalendarEventSeriesइससे कैलेंडर इवेंट का रंग सेट किया जाता है.
setDescription(description)CalendarEventSeriesइस कुकी का इस्तेमाल, इवेंट की जानकारी सेट करने के लिए किया जाता है.
setGuestsCanInviteOthers(guestsCanInviteOthers)CalendarEventSeriesइससे यह तय किया जाता है कि मेहमान अन्य मेहमानों को न्योता भेज सकते हैं या नहीं.
setGuestsCanModify(guestsCanModify)CalendarEventSeriesइससे यह तय किया जाता है कि मेहमान इवेंट में बदलाव कर सकते हैं या नहीं.
setGuestsCanSeeGuests(guestsCanSeeGuests)CalendarEventSeriesइस कुकी से यह तय होता है कि मेहमानों को अन्य मेहमान दिखेंगे या नहीं.
setLocation(location)CalendarEventSeriesइससे इवेंट की जगह सेट की जाती है.
setMyStatus(status)CalendarEventSeriesयह कुकी, ऐप्लिकेशन इस्तेमाल करने वाले व्यक्ति के इवेंट का स्टेटस सेट करती है. जैसे, इवेंट में शामिल होना या न्योता पाना.
setRecurrence(recurrence, startDate)CalendarEventSeriesइस प्रॉपर्टी का इस्तेमाल, पूरे दिन चलने वाले इवेंट की सीरीज़ के लिए, बार-बार होने के नियम सेट करने के लिए किया जाता है.
setRecurrence(recurrence, startTime, endTime)CalendarEventSeriesइस इवेंट सीरीज़ के लिए, बार-बार होने वाले इवेंट के नियम सेट करता है.
setTag(key, value)CalendarEventSeriesयह इवेंट पर कुंजी/वैल्यू टैग सेट करता है, ताकि कस्टम मेटाडेटा को सेव किया जा सके.
setTitle(title)CalendarEventSeriesइससे इवेंट का टाइटल सेट किया जाता है.
setTransparency(transparency)CalendarEventSeriesइससे इवेंट की पारदर्शिता सेट की जाती है.
setVisibility(visibility)CalendarEventSeriesइससे इवेंट के दिखने की सेटिंग सेट की जाती है.

ज़्यादा जानकारी वाला दस्तावेज़

addEmailReminder(minutesBefore)

इस इवेंट के लिए, ईमेल से भेजे जाने वाले नए रिमाइंडर को जोड़ता है. रिमाइंडर, इवेंट से कम से कम 5 मिनट और ज़्यादा से ज़्यादा 4 हफ़्ते (40,320 मिनट) पहले सेट किया जाना चाहिए.

// Gets an event by its ID. For an event series, use getEventSeriesById(iCalId)
// instead.
// TODO(developer): Replace the string with the event ID that you want to get.
const event = CalendarApp.getEventById('abc123456');

// Adds an email notification for 15 minutes before the event.
event.addEmailReminder(15);

पैरामीटर

नामटाइपब्यौरा
minutesBeforeIntegerइवेंट से पहले के मिनटों की संख्या

वापसी का टिकट

CalendarEventSeries — यह CalendarEventSeries चेनिंग के लिए है

थ्रॉ

Error — अगर इवेंट के लिए पांच से ज़्यादा रिमाइंडर सेट किए गए हैं या समय कानूनी सीमा में नहीं है

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.google.com/calendar/feeds

addGuest(email)

इस कुकी का इस्तेमाल, इवेंट में किसी मेहमान को जोड़ने के लिए किया जाता है.

// Example 1: Add a guest to one event
function addAttendeeToEvent() {
  // Replace the below values with your own
  const attendeeEmail =
      'user@example.com';  // Email address of the person you need to add
  const calendarId =
      'calendar_123@group.calendar.google.com';  // ID of calendar containing
  // event
  const eventId = '123abc';  // ID of event instance

  const calendar = CalendarApp.getCalendarById(calendarId);
  if (calendar === null) {
    // Calendar not found
    console.log('Calendar not found', calendarId);
    return;
  }
  const event = calendar.getEventById(eventId);
  if (event === null) {
    // Event not found
    console.log('Event not found', eventId);
    return;
  }
  event.addGuest(attendeeEmail);
}

// Example 2: Add a guest to all events on a calendar within a specified
// timeframe
function addAttendeeToAllEvents() {
  // Replace the following values with your own
  const attendeeEmail =
      'user@example.com';  // Email address of the person you need to add
  const calendarId =
      'calendar_123@group.calendar.google.com';  // ID of calendar with the
  // events
  const startDate =
      new Date('YYYY-MM-DD');  // The first date to add the guest to the events
  const endDate =
      new Date('YYYY-MM-DD');  // The last date to add the guest to the events

  const calendar = CalendarApp.getCalendarById(calendarId);
  if (calendar === null) {
    // Calendar not found
    console.log('Calendar not found', calendarId);
    return;
  }
  // Get the events within the specified timeframe
  const calEvents = calendar.getEvents(startDate, endDate);
  console.log(calEvents.length);  // Checks how many events are found
  // Loop through all events and add the attendee to each of them
  for (let i = 0; i < calEvents.length; i++) {
    const event = calEvents[i];
    event.addGuest(attendeeEmail);
  }
}

पैरामीटर

नामटाइपब्यौरा
emailStringमेहमान का ईमेल पता.

वापसी का टिकट

CalendarEventSeries — This CalendarEventSeries for chaining.

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.google.com/calendar/feeds

addPopupReminder(minutesBefore)

यह इवेंट में नई पॉप-अप सूचना जोड़ता है. सूचना, इवेंट से कम से कम 5 मिनट और ज़्यादा से ज़्यादा 4 हफ़्ते (40,320 मिनट) पहले दी जानी चाहिए.

// Gets an event by its ID. For an event series, use getEventSeriesById(iCalId)
// instead.
// TODO(developer): Replace the string with the event ID that you want to get.
const event = CalendarApp.getEventById('abc123456');

// Adds a pop-up notification for 15 minutes before the event.
event.addPopupReminder(15);

पैरामीटर

नामटाइपब्यौरा
minutesBeforeIntegerइवेंट से पहले के मिनटों की संख्या

वापसी का टिकट

CalendarEventSeries — यह CalendarEventSeries चेनिंग के लिए है

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.google.com/calendar/feeds

addSmsReminder(minutesBefore)

इससे इवेंट के लिए एक नया एसएमएस रिमाइंडर जोड़ा जाता है. रिमाइंडर, इवेंट से कम से कम 5 मिनट और ज़्यादा से ज़्यादा 4 हफ़्ते (40,320 मिनट) पहले सेट किया जाना चाहिए.

पैरामीटर

नामटाइपब्यौरा
minutesBeforeIntegerइवेंट से पहले के मिनटों की संख्या

वापसी का टिकट

CalendarEventSeries — यह CalendarEventSeries चेनिंग के लिए है

थ्रॉ

Error — अगर इवेंट के लिए पांच से ज़्यादा रिमाइंडर सेट किए गए हैं या समय कानूनी सीमा में नहीं है

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.google.com/calendar/feeds

anyoneCanAddSelf()

इस कुकी से यह तय होता है कि लोग खुद को Calendar इवेंट में मेहमान के तौर पर जोड़ सकते हैं या नहीं.

// Gets an event by its ID. For an event series, use getEventSeriesById(iCalId)
// instead.
// TODO(developer): Replace the string with the event ID that you want to get.
const event = CalendarApp.getEventById('abc123456');

// Determines whether people can add themselves as guests to the event and logs
// it.
console.log(event.anyoneCanAddSelf());

वापसी का टिकट

Booleantrue अगर मेहमान नहीं बने लोग, इवेंट में खुद को जोड़ सकते हैं; false अगर नहीं

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.googleapis.com/auth/calendar.readonly
  • https://www.google.com/calendar/feeds

deleteEventSeries()

इससे इवेंट सीरीज़ मिट जाती है.

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.google.com/calendar/feeds

deleteTag(key)

यह इवेंट से की/वैल्यू टैग मिटाता है.

पैरामीटर

नामटाइपब्यौरा
keyStringटैग की कुंजी

वापसी का टिकट

CalendarEventSeries — यह CalendarEventSeries चेनिंग के लिए है

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.google.com/calendar/feeds

getAllTagKeys()

इस फ़ंक्शन से, इवेंट पर सेट किए गए टैग की सभी कुंजियां मिलती हैं.

वापसी का टिकट

String[] — स्ट्रिंग कुंजियों का कलेक्शन

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.googleapis.com/auth/calendar.readonly
  • https://www.google.com/calendar/feeds

getColor()

यह फ़ंक्शन, कैलेंडर इवेंट का रंग दिखाता है.

// Gets an event by its ID. For an event series, use getEventSeriesById(iCalId)
// instead.
// TODO(developer): Replace the string with the event ID that you want to get.
const event = CalendarApp.getEventById('abc123456');

// Gets the color of the calendar event and logs it.
const eventColor = event.getColor();
console.log(eventColor);

वापसी का टिकट

String — यह इवेंट के रंग का स्ट्रिंग फ़ॉर्मैट है. यह CalendarApp.EventColor में मौजूद वैल्यू के इंडेक्स (1 से 11) के तौर पर होता है.

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.googleapis.com/auth/calendar.readonly
  • https://www.google.com/calendar/feeds

getCreators()

किसी इवेंट के क्रिएटर्स की जानकारी मिलती है.

// Gets an event by its ID. For an event series, use getEventSeriesById(iCalId)
// instead.
// TODO(developer): Replace the string with the event ID that you want to get.
const event = CalendarApp.getEventById('abc123456');

// Gets a list of the creators of the event and logs it.
console.log(event.getCreators());

वापसी का टिकट

String[] — इवेंट के क्रिएटर्स के ईमेल पते

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.googleapis.com/auth/calendar.readonly
  • https://www.google.com/calendar/feeds

getDateCreated()

इस तरीके से, इवेंट बनाए जाने की तारीख मिलती है. आपके पास कैलेंडर का ऐक्सेस होना चाहिए.

// Opens the calendar by using its ID.
// To get the user's default calendar use CalendarApp.getDefault() instead.
// TODO(developer): Replace the calendar ID with your own.
const calendar = CalendarApp.getCalendarById(
    'abc123456@group.calendar.google.com',
);

// Gets the first event from the calendar for February 1st, 2023 that takes
// place between 8:10 AM and 4:25 PM. For an event series, use
// calendar.getEventSeriesById('abc123456@google.com'); and replace the series
// ID with your own.
const event = calendar.getEvents(
    new Date('Feb 01, 2023 08:10:00'),
    new Date('Feb 01, 2023 16:25:00'),
    )[0];

if (event) {
  // If an event exists within the given time frame, gets the date that the
  // event was created and logs it.
  const eventCreated = event.getDateCreated();
  console.log(eventCreated);
} else {
  // If no event exists within the given time frame, logs that information to
  // the console.
  console.log('No events exist for the specified range');
}

वापसी का टिकट

Date — इसे बनाने की तारीख

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.googleapis.com/auth/calendar.readonly
  • https://www.google.com/calendar/feeds

getDescription()

इवेंट की जानकारी मिलती है. आपके पास कैलेंडर में बदलाव करने का ऐक्सेस होना चाहिए.

// Opens the calendar by its ID.
// To get the user's default calendar use CalendarApp.getDefault() instead.
// TODO(developer): Replace the ID with your own.
const calendar = CalendarApp.getCalendarById(
    'abc123456@group.calendar.google.com',
);

// Gets the first event from the calendar for February 4th, 2023 that takes
// place between 4:00 PM and 5:00 PM. For an event series, use
// calendar.getEventSeriesById('abc123456@google.com'); and replace the series
// ID with your own.
const event = calendar.getEvents(
    new Date('Feb 04, 2023 16:00:00'),
    new Date('Feb 04, 2023 17:00:00'),
    )[0];

if (event) {
  // If an event exists within the given time frame, sets the description of the
  // event.
  event.setDescription('Important meeting');

  // Gets the description of the event and logs it.
  const description = event.getDescription();
  console.log(description);
} else {
  // If no event exists within the given time frame, logs that information to
  // the console.
  console.log('No events exist for the specified range');
}

वापसी का टिकट

String — ब्यौरा

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.googleapis.com/auth/calendar.readonly
  • https://www.google.com/calendar/feeds

getEmailReminders()

इस कुकी का इस्तेमाल, इवेंट के लिए सेट किए गए सभी ईमेल रिमाइंडर के लिए मिनट की वैल्यू पाने के लिए किया जाता है. आपके पास कैलेंडर में बदलाव करने का ऐक्सेस होना चाहिए.

// Opens the calendar by its ID.
// TODO(developer): Replace the ID with your own.
const calendar = CalendarApp.getCalendarById(
    'abc123456@group.calendar.google.com',
);

// Gets the first event from the calendar for February 4th, 2023 that takes
// place between 5:00 PM and 6:00 PM. For an event series, use
// calendar.getEventSeriesById('abc123456@google.com'); and replace the series
// ID with your own.
const event = calendar.getEvents(
    new Date('Feb 04, 2023 15:00:00'),
    new Date('Feb 04, 2023 18:00:00'),
    )[0];

if (event) {
  // If an event exists within the given time frame, adds email reminders for
  // the user to be sent at 4 and 7 minutes before the event.
  event.addEmailReminder(4);
  event.addEmailReminder(7);

  // Gets the minute values for all email reminders that are set up for the user
  // for this event and logs it.
  const emailReminder = event.getEmailReminders();
  console.log(emailReminder);
} else {
  // If no event exists within the given time frame, logs that information to
  // the console.
  console.log('No events exist for the specified range');
}

वापसी का टिकट

Integer[] — एक ऐसा ऐरे जिसमें हर वैल्यू, इवेंट से पहले के उन मिनटों की संख्या से मेल खाती है जब रिमाइंडर ट्रिगर होता है

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.googleapis.com/auth/calendar.readonly
  • https://www.google.com/calendar/feeds

getEventType()

इस इवेंट का EventType मिलता है.

// Opens the default calendar and logs all out-of-office events for the current day.
const calendar = CalendarApp.getDefaultCalendar();
const events = calendar.getEventsForDay(new Date());
console.log(events.filter(e => e.getEventType() === CalendarApp.EventType.OUT_OF_OFFICE));

वापसी का टिकट

EventType — इवेंट का टाइप.

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.googleapis.com/auth/calendar.readonly
  • https://www.google.com/calendar/feeds

getGuestByEmail(email)

ईमेल पते के हिसाब से मेहमान की जानकारी मिलती है.

// Opens the calendar by its ID. You must have edit access to the calendar.
// TODO(developer): Replace the ID with your own.
const calendar = CalendarApp.getCalendarById(
    'abc123456@group.calendar.google.com',
);

// Gets the first event from the calendar for February 25th, 2023 that takes
// place between 5:00 PM and 5:25 PM. For an event series, use
// calendar.getEventSeriesById('abc123456@google.com'); and replace the series
// ID with your own.
const event = calendar.getEvents(
    new Date('Feb 25,2023 17:00:00'),
    new Date('Feb 25,2023 17:25:00'),
    )[0];

// Gets a guest by email address.
const guestEmailId = event.getGuestByEmail('alex@example.com');

// If the email address corresponds to an event guest, logs the email address.
if (guestEmailId) {
  console.log(guestEmailId.getEmail());
}

पैरामीटर

नामटाइपब्यौरा
emailStringमेहमान का पता

वापसी का टिकट

EventGuest — मेहमान या अगर ईमेल पता किसी मेहमान से मेल नहीं खाता है, तो null

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.google.com/calendar/feeds

getGuestList()

यह इवेंट के मेहमानों की जानकारी देता है. इसमें इवेंट के मालिक की जानकारी शामिल नहीं होती.

// Opens the calendar by its ID. You must have edit access to the calendar.
// TODO(developer): Replace the ID with your own.
const calendar = CalendarApp.getCalendarById(
    'abc123456@group.calendar.google.com',
);

// Gets the first event from the calendar for February 25th, 2023 that takes
// place between 5:00 PM and 5:25 PM. For an event series, use
// calendar.getEventSeriesById('abc123456@google.com'); and replace the series
// ID with your own.
const event = calendar.getEvents(
    new Date('Feb 25,2023 17:00:00'),
    new Date('Feb 25,2023 17:25:00'),
    )[0];

// Adds two guests to the event by using their email addresses.
event.addGuest('alex@example.com');
event.addGuest('cruz@example.com');

// Gets the guests list for the event.
const guestList = event.getGuestList();

// Loops through the list to get all the guests and logs their email addresses.
for (const guest of guestList) {
  console.log(guest.getEmail());
}

वापसी का टिकट

EventGuest[] — मेहमानों की एक कैटगरी

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.googleapis.com/auth/calendar.readonly
  • https://www.google.com/calendar/feeds

getGuestList(includeOwner)

इस तरीके से, इवेंट में शामिल मेहमानों की जानकारी मिलती है. इसमें इवेंट के मालिक भी शामिल हो सकते हैं.

// Opens the calendar by its ID. You must have edit access to the calendar.
// TODO(developer): Replace the ID with your own.
const calendar = CalendarApp.getCalendarById(
    'abc123456@group.calendar.google.com',
);

// Gets the first event from the calendar for February 25th, 2023 that takes
// place between 5:00 PM and 5:25 PM. For an event series, use
// calendar.getEventSeriesById('abc123456@google.com'); and replace the series
// ID with your own.
const event = calendar.getEvents(
    new Date('Feb 25,2023 17:00:00'),
    new Date('Feb 25,2023 17:25:00'),
    )[0];

// Gets the guests list for the event, including the owner of the event.
const guestList = event.getGuestList(true);

// Loops through the list to get all the guests and logs it.
for (const guest of guestList) {
  console.log(guest.getEmail());
}

पैरामीटर

नामटाइपब्यौरा
includeOwnerBooleanमालिकों को मेहमान के तौर पर शामिल करना है या नहीं

वापसी का टिकट

EventGuest[] — मेहमानों की एक कैटगरी

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.googleapis.com/auth/calendar.readonly
  • https://www.google.com/calendar/feeds

getId()

इससे इवेंट का यूनीक iCalUID मिलता है. ध्यान दें कि Calendar v3 API और Calendar की ऐडवांस सेवा के ज़रिए इस्तेमाल किया गया iCalUID और इवेंट id एक जैसे नहीं होते. साथ ही, इनका इस्तेमाल एक-दूसरे की जगह नहीं किया जा सकता. इनके सिमैंटिक में एक अंतर यह है कि बार-बार होने वाले इवेंट में, एक इवेंट के सभी इंस्टेंस के लिए अलग-अलग ids होते हैं. हालांकि, उन सभी के लिए iCalUID एक ही होता है.

// Opens the calendar by its ID. You must have edit access to the calendar.
// TODO(developer): Replace the ID with your own.
const calendar = CalendarApp.getCalendarById(
    'abc123456@group.calendar.google.com',
);

// Gets the first event from the calendar for January 5th, 2023 that takes place
// between 9:00 AM and 9:25 AM.
// For an event series, use calendar.getEventSeriesById('abc123456@google.com');
// and replace the series ID with your own.
const event = calendar.getEvents(
    new Date('Jan 05, 2023 09:00:00'),
    new Date('Jan 05, 2023 09:25:00'),
    )[0];

// Gets the ID of the event and logs it.
console.log(event.getId());

वापसी का टिकट

String — इवेंट का iCalUID

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.googleapis.com/auth/calendar.readonly
  • https://www.google.com/calendar/feeds

getLastUpdated()

इस तरीके से, इवेंट को आखिरी बार अपडेट किए जाने की तारीख मिलती है.

// Opens the calendar by its ID. You must have view access to the calendar.
// TODO(developer): Replace the ID with your own.
const calendar = CalendarApp.getCalendarById(
    'abc123456@group.calendar.google.com',
);

// Gets the first event from the calendar for February 1st, 2023 that takes
// place between 4:00 PM and 5:00 PM. For an event series, use
// calendar.getEventSeriesById('abc123456@google.com'); and replace the series
// ID with your own.
const event = calendar.getEvents(
    new Date('Feb 01, 2023 16:00:00'),
    new Date('Feb 01, 2023 17:00:00'),
    )[0];

// Gets the date the event was last updated and logs it.
const eventUpdatedDate = event.getLastUpdated();
console.log(eventUpdatedDate);

वापसी का टिकट

Date — पिछली बार अपडेट करने की तारीख

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.googleapis.com/auth/calendar.readonly
  • https://www.google.com/calendar/feeds

getLocation()

इवेंट की जगह की जानकारी मिलती है.

// Opens the calendar by its ID. You must have edit access to the calendar.
// TODO(developer): Replace the ID with your own.
const calendar = CalendarApp.getCalendarById(
    'abc123456@group.calendar.google.com',
);

// Gets the first event from the calendar for February 1st, 2023 that takes
// place between 4:10 PM and 4:25 PM. For an event series, use
// calendar.getEventSeriesById('abc123456@google.com'); and replace the series
// ID with your own.
const event = calendar.getEvents(
    new Date('Feb 01, 2023 16:10:00'),
    new Date('Feb 01, 2023 16:25:00'),
    )[0];

if (event) {
  // If an event exists within the given time frame, sets the location of the
  // event to Mumbai.
  event.setLocation('Mumbai');

  // Gets the location of the event and logs it.
  const eventLocation = event.getLocation();
  console.log(eventLocation);
} else {
  // If no event exists within the given time frame, logs that information to
  // the console.
  console.log('No events exist for the specified range');
}

वापसी का टिकट

String — इवेंट की जगह

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.googleapis.com/auth/calendar.readonly
  • https://www.google.com/calendar/feeds

getMyStatus()

इससे, ऐप्लिकेशन इस्तेमाल करने वाले व्यक्ति के इवेंट का स्टेटस (जैसे कि शामिल होना या न्योता पाना) मिलता है. अगर इवेंट का मालिक ही उपयोगकर्ता है, तो हमेशा GuestStatus.OWNER दिखाता है.

// Opens the calendar by its ID.
// TODO(developer): Replace the ID with your own.
const calendar = CalendarApp.getCalendarById(
    'abc123456@group.calendar.google.',
);

// Gets the first event from the calendar for February 1st, 2023 that takes
// place between 4:10 PM and 4:25 PM. For an event series, use
// calendar.getEventSeriesById('abc123456@google.com'); and replace the series
// ID with your own.
const event = calendar.getEvents(
    new Date('Feb 01, 2023 16:10:00'),
    new Date('Feb 01, 2023 16:25:00'),
    )[0];

if (event) {
  // If an event exists within the given time frame, gets the event status of
  // the effective user and logs it.
  const myStatus = event.getMyStatus();
  console.log(myStatus.toString());
} else {
  // If no event exists within the given time frame, logs that information to
  // the console.
  console.log('No events exist for the specified range');
}

वापसी का टिकट

GuestStatus — स्टेटस

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.googleapis.com/auth/calendar.readonly
  • https://www.google.com/calendar/feeds

getOriginalCalendarId()

उस कैलेंडर का आईडी पाएं जिस पर यह इवेंट बनाया गया था.

// Opens the calendar by its ID. You must have edit access to the calendar.
// TODO(developer): Replace the ID with your own.
const calendar = CalendarApp.getCalendarById(
    'abc123456@group.calendar.google.com',
);

// Gets the first event from the calendar for February 25th, 2023 that takes
// place between 4:00 PM and 4:25 PM. For an event series, use
// calendar.getEventSeriesById('abc123456@google.com'); and replace the series
// ID with your own.
const event = calendar.getEvents(
    new Date('Feb 25,2023 16:00:00'),
    new Date('Feb 25,2023 16:25:00'),
    )[0];

if (event) {
  // If an event exists within the given time frame, gets the ID of the calendar
  // where the event was originally created and logs it.
  const calendarId = event.getOriginalCalendarId();
  console.log(calendarId);
} else {
  // If no event exists within the given time frame, logs that information to
  // the console.
  console.log('No events exist for the specified range');
}

वापसी का टिकट

String — ओरिजनल कैलेंडर का आईडी

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.googleapis.com/auth/calendar.readonly
  • https://www.google.com/calendar/feeds

getPopupReminders()

इस कुकी का इस्तेमाल, इवेंट के लिए सेट किए गए सभी पॉप-अप रिमाइंडर के लिए मिनट की वैल्यू पाने के लिए किया जाता है.

// Opens the calendar by its ID. You must have edit access to the calendar.
// TODO(developer): Replace the ID with your own.
const calendar = CalendarApp.getCalendarById(
    'abc123456@group.calendar.google.com',
);

// Gets the first event from the calendar for February 4th, 2023 that takes
// place between 5:05 PM and 5:35 PM. For an event series, use
// calendar.getEventSeriesById('abc123456@google.com'); and replace the series
// ID with your own.
const event = calendar.getEvents(
    new Date('Feb 04, 2023 17:05:00'),
    new Date('Feb 04, 2023 17:35:00'),
    )[0];

if (event) {
  // If an event exists within the given time frame, adds two pop-up reminders
  // to the event. The first reminder pops up 5 minutes before the event starts
  // and the second reminder pops up 3 minutes before the event starts.
  event.addPopupReminder(3);
  event.addPopupReminder(5);

  // Gets the minute values for all pop-up reminders for the event and logs it.
  const popUpReminder = event.getPopupReminders();
  console.log(popUpReminder);
} else {
  // If no event exists within the given time frame, logs that information to
  // the console.
  console.log('No events exist for the specified range');
}

वापसी का टिकट

Integer[] — एक ऐसा ऐरे जिसमें हर वैल्यू, इवेंट से पहले के उन मिनटों की संख्या से मेल खाती है जब रिमाइंडर ट्रिगर होता है

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.googleapis.com/auth/calendar.readonly
  • https://www.google.com/calendar/feeds

getSmsReminders()

इस कुकी का इस्तेमाल, इवेंट के लिए एसएमएस से भेजे गए सभी रिमाइंडर के लिए मिनट की वैल्यू पाने के लिए किया जाता है.

वापसी का टिकट

Integer[] — एक ऐसा ऐरे जिसमें हर वैल्यू, इवेंट से पहले के उन मिनटों की संख्या से मेल खाती है जब रिमाइंडर ट्रिगर होता है

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.googleapis.com/auth/calendar.readonly
  • https://www.google.com/calendar/feeds

getTag(key)

इस फ़ंक्शन से, इवेंट के टैग की वैल्यू मिलती है.

पैरामीटर

नामटाइपब्यौरा
keyStringकुंजी

वापसी का टिकट

String — टैग की वैल्यू

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.googleapis.com/auth/calendar.readonly
  • https://www.google.com/calendar/feeds

getTitle()

इस तरीके से, इवेंट का टाइटल मिलता है.

// Opens the calendar by its ID. You must have edit access to the calendar.
// TODO(developer): Replace the ID with your own.
const calendar = CalendarApp.getCalendarById(
    'abc123456@group.calendar.google.com',
);

// Gets the first event from the calendar for January 31st, 2023 that takes
// place between 9:05 AM and 9:15 AM. For an event series, use
// calendar.getEventSeriesById('abc123456@example.com'); and replace the series
// ID with your own.
const event = calendar.getEvents(
    new Date('Jan 31, 2023 09:05:00'),
    new Date('Jan 31, 2023 09:15:00'),
    )[0];

if (event) {
  // If an event exists within the given time frame, logs the title of the
  // event.
  console.log(event.getTitle());
} else {
  // If no event exists within the given time frame, logs that information to
  // the console.
  console.log('No events exist for the specified range');
}

वापसी का टिकट

String — टाइटल

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.googleapis.com/auth/calendar.readonly
  • https://www.google.com/calendar/feeds

getTransparency()

इस इवेंट की पारदर्शिता की जानकारी मिलती है. इस तरीके का इस्तेमाल करके यह पता लगाया जा सकता है कि कोई इवेंट TRANSPARENT है या OPAQUE . इसका मतलब है कि कैलेंडर में उस समय के लिए, 'उपलब्ध है' या 'व्यस्त है' के तौर पर दिखाया गया है.

// Gets the first event from the default calendar for today.
const today = new Date();
const event = CalendarApp.getDefaultCalendar().getEventsForDay(today)[0];
// Gets the event's transparency and logs it.
const transparency = event.getTransparency();
Logger.log(transparency);

वापसी का टिकट

EventTransparency — पारदर्शिता की वैल्यू.

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.googleapis.com/auth/calendar.readonly
  • https://www.google.com/calendar/feeds

getVisibility()

इस फ़ंक्शन से, इवेंट के दिखने की सेटिंग मिलती है.

// Opens the calendar by its ID. You must have edit access to the calendar.
// TODO(developer): Replace the ID with your own.
const calendar = CalendarApp.getCalendarById(
    'abc123456@group.calendar.google.com',
);

// Gets the first event from the calendar for February 1st, 2023 that takes
// place between 4:10 PM and 4:25 PM. For an event series, use
// calendar.getEventSeriesById('abc123456@google.com'); and replace the series
// ID with your own.
const event = calendar.getEvents(
    new Date('Feb 01, 2023 16:10:00'),
    new Date('Feb 01, 2023 16:25:00'),
    )[0];

if (event) {
  // If an event exists within the given time frame, gets the visibility of the
  // event and logs it.
  const eventVisibility = event.getVisibility();
  console.log(eventVisibility.toString());
} else {
  // If no event exists within the given time frame, logs that information to
  // the console.
  console.log('No events exist for the specified range');
}

वापसी का टिकट

Visibility — विज़िबिलिटी की वैल्यू

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.googleapis.com/auth/calendar.readonly
  • https://www.google.com/calendar/feeds

guestsCanInviteOthers()

इससे यह तय होता है कि मेहमान, अन्य मेहमानों को न्योता भेज सकते हैं या नहीं.

// Opens the calendar by its ID. You must have view access to the calendar.
// TODO(developer): Replace the ID with your own.
const calendar = CalendarApp.getCalendarById(
    'abc123456@group.calendar.google.com',
);

// Gets the first event from the calendar for February 1st, 2023 that takes
// place between 9:35 AM and 9:40 AM. For an event series, use
// calendar.getEventSeriesById('abc123456@google.com'); and replace the series
// ID with your own.
const event = calendar.getEvents(
    new Date('Feb 01, 2023 09:35:00'),
    new Date('Feb 01, 2023 09:40:00'),
    )[0];

if (event) {
  // If an event exists within the given time frame, determines whether guests
  // can invite other guests and logs it.
  console.log(event.guestsCanInviteOthers());
} else {
  // If no event exists within the given time frame, logs that information to
  // the console.
  console.log('No events exist for the specified range');
}

वापसी का टिकट

Booleantrue अगर मेहमानों को अन्य लोगों को न्योता भेजने की अनुमति है; false अगर नहीं है

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.googleapis.com/auth/calendar.readonly
  • https://www.google.com/calendar/feeds

guestsCanModify()

इससे यह तय होता है कि मेहमान इवेंट में बदलाव कर सकते हैं या नहीं.

// Opens the calendar by its ID. You must have edit access to the calendar.
// TODO(developer): Replace the ID with your own.
const calendar = CalendarApp.getCalendarById(
    'abc123456@group.calendar.google.com',
);

// Gets the first event from the calendar for February 1st, 2023 that takes
// place between 9:35 AM and 9:40 AM. For an event series, use
// calendar.getEventSeriesById('abc123456@google.com'); and replace the series
// ID with your own.
const event = calendar.getEvents(
    new Date('Feb 01, 2023 09:35:00'),
    new Date('Feb 01, 2023 09:40:00'),
    )[0];

if (event) {
  // If an event exists within the given time frame, sets the event so that
  // guests can't modify it.
  event.setGuestsCanModify(false);

  // Determines whether guests can modify the event and logs it.
  console.log(event.guestsCanModify());
} else {
  // If no event exists within the given time frame, logs that information to
  // the console.
  console.log('No events exist for the specified range');
}

वापसी का टिकट

Booleantrue अगर मेहमान इवेंट में बदलाव कर सकते हैं; false अगर नहीं

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.googleapis.com/auth/calendar.readonly
  • https://www.google.com/calendar/feeds

guestsCanSeeGuests()

इस कुकी से यह तय होता है कि मेहमानों को अन्य मेहमान दिखेंगे या नहीं.

// Opens the calendar by its ID. You must have view access to the calendar.
// TODO(developer): Replace the ID with your own.
const calendar = CalendarApp.getCalendarById(
    'abc123456@group.calendar.google.com',
);

// Gets the first event from the calendar for February 1st, 2023 that takes
// place between 9:35 AM and 9:40 AM. For an event series, use
// calendar.getEventSeriesById('abc123456@google.com'); and replace the series
// ID with your own.
const event = calendar.getEvents(
    new Date('Feb 01, 2023 09:35:00'),
    new Date('Feb 01, 2023 09:40:00'),
    )[0];

if (event) {
  // If an event exists within the given time frame, determines whether guests
  // can see other guests and logs it.
  console.log(event.guestsCanSeeGuests());
} else {
  // If no event exists within the given time frame, logs that information to
  // the console.
  console.log('No events exist for the specified range');
}

वापसी का टिकट

Booleantrue अगर मेहमान अन्य मेहमानों को देख सकते हैं; false अगर नहीं

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.googleapis.com/auth/calendar.readonly
  • https://www.google.com/calendar/feeds

isOwnedByMe()

यह कुकी तय करती है कि आपके पास इवेंट का मालिकाना हक है या नहीं.

// Opens the calendar by its ID. You must have view access to the calendar.
// TODO(developer): Replace the ID with your own.
const calendar = CalendarApp.getCalendarById(
    'abc123456@group.calendar.google.com',
);

// Gets the first event from the calendar for January 31st, 2023 that takes
// place between 9:05 AM and 9:15 AM. For an event series, use
// calendar.getEventSeriesById('abc123456@google.com'); and replace the series
// ID with your own.
const event = calendar.getEvents(
    new Date('Jan 31, 2023 09:05:00'),
    new Date('Jan 31, 2023 09:15:00'),
    )[0];

if (event) {
  // If an event exists within the given time frame, determines whether you're
  // the owner of the event and logs it.
  console.log(event.isOwnedByMe());
} else {
  // If no event exists within the given time frame, logs that information to
  // the console.
  console.log('No events exist for the specified range');
}

वापसी का टिकट

Boolean — अगर इवेंट का मालिकाना हक असरदार यूज़र आईडी के पास है, तो true; अगर नहीं है, तो false

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.googleapis.com/auth/calendar.readonly
  • https://www.google.com/calendar/feeds

removeAllReminders()

इस विकल्प को चुनने पर, इवेंट से सभी रिमाइंडर हट जाते हैं.

// Opens the calendar by its ID. You must have edit access to the calendar
// TODO(developer): Replace the ID with your own.
const calendar = CalendarApp.getCalendarById(
    'abc123456@group.calendar.google.com',
);

// Gets the first event from the calendar for February 1st, 2023 that takes
// place between 4:10 PM and 4:25 PM. For an event series, use
// calendar.getEventSeriesById('abc123456@google.com'); and replace the series
// ID with your own.
const event = calendar.getEvents(
    new Date('Feb 1,2023 16:10:00'),
    new Date('Feb 1,2023 16:25:00'),
    )[0];

if (event) {
  // If an event exists within the given time frame, removes all reminders from
  // the event.
  event.removeAllReminders();
} else {
  // If no event exists within the given time frame, logs that information to
  // the console.
  console.log('No events exist for the specified range');
}

वापसी का टिकट

CalendarEventSeries — यह CalendarEventSeries चेनिंग के लिए है

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.google.com/calendar/feeds

removeGuest(email)

इस कुकी का इस्तेमाल, किसी मेहमान को इवेंट से हटाने के लिए किया जाता है.

// Example 1: Remove a guest from one event
function removeGuestFromEvent() {
  // Replace the below values with your own
  const attendeeEmail =
      'user@example.com';  // Email address of the person you need to remove
  const calendarId =
      'calendar_123@group.calendar.google.com';  // ID of calendar containing
  // event
  const eventId = '123abc';  // ID of event instance

  const calendar = CalendarApp.getCalendarById(calendarId);
  if (calendar === null) {
    // Calendar not found
    console.log('Calendar not found', calendarId);
    return;
  }
  const event = calendar.getEventById(eventId);
  if (event === null) {
    // Event not found
    console.log('Event not found', eventId);
    return;
  }
  event.removeGuest(attendeeEmail);
}

// Example 2: Remove a guest from all events on a calendar within a specified
// timeframe
function removeGuestFromAllEvents() {
  // Replace the following values with your own
  const attendeeEmail =
      'user@example.com';  // Email address of the person you need to remove
  const calendarId =
      'calendar_123@group.calendar.google.com';  // ID of calendar with the
  // events
  const startDate = new Date(
      'YYYY-MM-DD');  // The first date to remove the guest from the events
  const endDate = new Date(
      'YYYY-MM-DD');  // The last date to remove the attendee from the events

  const calendar = CalendarApp.getCalendarById(calendarId);
  if (calendar === null) {
    // Calendar not found
    console.log('Calendar not found', calendarId);
    return;
  }
  // Get the events within the specified timeframe
  const calEvents = calendar.getEvents(startDate, endDate);
  console.log(calEvents.length);  // Checks how many events are found
  // Loop through all events and remove the attendee from each of them
  for (let i = 0; i < calEvents.length; i++) {
    const event = calEvents[i];
    event.removeGuest(attendeeEmail);
  }
}

पैरामीटर

नामटाइपब्यौरा
emailStringमेहमान का ईमेल पता

वापसी का टिकट

CalendarEventSeries — यह CalendarEventSeries चेनिंग के लिए है

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.google.com/calendar/feeds

resetRemindersToDefault()

कैलेंडर की डिफ़ॉल्ट सेटिंग का इस्तेमाल करके, रिमाइंडर रीसेट करता है.

// Opens the calendar by its ID. You must have edit access to the calendar.
// TODO(developer): Replace the ID with your own.
const calendar = CalendarApp.getCalendarById(
    'abc123456@group.calendar.google.com',
);

// Gets the first event from the calendar for February 1st, 2023 that takes
// place between 4:10 PM and 4:25 PM. For an event series, use
// calendar.getEventSeriesById('abc123456@google.com'); and replace the series
// ID with your own.
const event = calendar.getEvents(
    new Date('Feb 1, 2023 16:10:00'),
    new Date('Feb 1, 2023 16:25:00'),
    )[0];

if (event) {
  // If an event exists within the given time frame, resets the reminders using
  // the calendar's default settings.
  event.resetRemindersToDefault();
} else {
  // If no event exists within the given time frame, logs that information to
  // the console.
  console.log('No events exist for the specified range');
}

वापसी का टिकट

CalendarEventSeries — यह CalendarEventSeries चेनिंग के लिए है

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.google.com/calendar/feeds

setAnyoneCanAddSelf(anyoneCanAddSelf)

इससे यह तय किया जाता है कि मेहमान नहीं बने लोग, इवेंट में खुद को जोड़ सकते हैं या नहीं.

// Opens the calendar by its ID. You must have edit access to the calendar.
// TODO(developer): Replace the ID with your own.
const calendar = CalendarApp.getCalendarById(
    'abc123456@group.calendar.google.com',
);

// Gets the first event from the calendar for February 15th, 2023 that takes
// place between 3:30 PM and 4:30 PM. For an event series, use
// calendar.getEventSeriesById('abc123456@google.com'); and replace the series
// ID with your own.
const event = calendar.getEvents(
    new Date('Feb 15, 2023 15:30:00'),
    new Date('Feb 15, 2023 16:30:00'),
    )[0];

if (event) {
  // If an event exists within the given time frame, sets the event so that
  // non-guests can't add themselves to the event.
  event.setAnyoneCanAddSelf(false);
} else {
  // If no event exists within the given time frame, logs that information to
  // the console.
  console.log('No events exist for the specified range');
}

पैरामीटर

नामटाइपब्यौरा
anyoneCanAddSelfBooleanक्या कोई भी व्यक्ति खुद को न्योता भेज सकता है

वापसी का टिकट

CalendarEventSeries — यह CalendarEventSeries चेनिंग के लिए है

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.google.com/calendar/feeds

setColor(color)

इससे कैलेंडर इवेंट का रंग सेट किया जाता है.

// Opens the calendar by its ID. You must have edit access to the calendar.
// TODO(developer): Replace the ID with your own.
const calendar = CalendarApp.getCalendarById(
    'abc123456@group.calendar.google.com',
);

// Gets the first event from the calendar for February 1st, 2023 that takes
// place between 4:10 PM and 4:25 PM. For an event series, use
// calendar.getEventSeriesById('abc123456@google.com'); and replace the series
// ID with your own.
const event = calendar.getEvents(
    new Date('Feb 01, 2023 16:10:00'),
    new Date('Feb 01, 2023 16:25:00'),
    )[0];

if (event) {
  // If an event exists within the given time frame, sets the color of the
  // calendar event to green.
  event.setColor(CalendarApp.EventColor.GREEN);
} else {
  // If no event exists within the given time frame, logs that information to
  // the console.
  console.log('No events exist for the specified range');
}

पैरामीटर

नामटाइपब्यौरा
colorStringस्ट्रिंग के तौर पर पूर्णांक रंग इंडेक्स या CalendarApp.EventColor से कोई वैल्यू.

वापसी का टिकट

CalendarEventSeries — यह कैलेंडर इवेंट, चेन बनाने के लिए है.

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.google.com/calendar/feeds

setDescription(description)

इस कुकी का इस्तेमाल, इवेंट की जानकारी सेट करने के लिए किया जाता है.

// Opens the calendar by its ID. You must have edit access to the calendar.
// TODO(developer): Replace the ID with your own.
const calendar = CalendarApp.getCalendarById(
    'abc123456@group.calendar.google.com',
);

// Gets the first event from the calendar for February 4th, 2023 that takes
// place between 5:05 PM and 5:35 PM. For an event series, use
// calendar.getEventSeriesById('abc123456@google.com'); and replace the series
// ID with your own.
const event = calendar.getEvents(
    new Date('Feb 04, 2023 17:05:00'),
    new Date('Feb 04, 2023 17:35:00'),
    )[0];

if (event) {
  // If an event exists within the given time frame, sets the description of the
  // event to 'Meeting.'
  event.setDescription('Meeting');
} else {
  // If no event exists within the given time frame, logs that information to
  // the console.
  console.log('No events exist for the specified range');
}

पैरामीटर

नामटाइपब्यौरा
descriptionStringनई जानकारी

वापसी का टिकट

CalendarEventSeries — यह CalendarEventSeries चेनिंग के लिए है

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.google.com/calendar/feeds

setGuestsCanInviteOthers(guestsCanInviteOthers)

इससे यह तय किया जाता है कि मेहमान अन्य मेहमानों को न्योता भेज सकते हैं या नहीं.

// Opens the calendar by its ID.
// TODO(developer): Replace the ID with your own. You must have edit access to
// the calendar.
const calendar = CalendarApp.getCalendarById(
    'abc123456@group.calendar.google.com',
);

// Gets the first event from the calendar for February 1st, 2023 that takes
// place between 9:35 AM and 9:40 AM. For an event series, use
// calendar.getEventSeriesById('abc123456@google.com'); and replace the series
// ID with your own.
const event = calendar.getEvents(
    new Date('Feb 01, 2023 09:35:00'),
    new Date('Feb 01, 2023 09:40:00'),
    )[0];

if (event) {
  // If an event exists within the given time frame, sets the event so that
  // guests can invite other guests.
  event.setGuestsCanInviteOthers(true);
} else {
  // If no event exists within the given time frame, logs that information to
  // the console.
  console.log('No events exist for the specified range');
}

पैरामीटर

नामटाइपब्यौरा
guestsCanInviteOthersBooleanमेहमानों को अन्य लोगों को न्योता भेजने की अनुमति है या नहीं

वापसी का टिकट

CalendarEventSeries — यह CalendarEventSeries चेनिंग के लिए है

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.google.com/calendar/feeds

setGuestsCanModify(guestsCanModify)

इससे यह तय किया जाता है कि मेहमान इवेंट में बदलाव कर सकते हैं या नहीं.

पैरामीटर

नामटाइपब्यौरा
guestsCanModifyBooleanमेहमानों को इवेंट में बदलाव करने की अनुमति है या नहीं

वापसी का टिकट

CalendarEventSeries — यह CalendarEventSeries चेनिंग के लिए है

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.google.com/calendar/feeds

setGuestsCanSeeGuests(guestsCanSeeGuests)

इस कुकी से यह तय होता है कि मेहमानों को अन्य मेहमान दिखेंगे या नहीं.

पैरामीटर

नामटाइपब्यौरा
guestsCanSeeGuestsBooleanमेहमानों को अन्य मेहमानों की जानकारी दिखेगी या नहीं

वापसी का टिकट

CalendarEventSeries — यह CalendarEventSeries चेनिंग के लिए है

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.google.com/calendar/feeds

setLocation(location)

इससे इवेंट की जगह सेट की जाती है.

// Opens the calendar by its ID. You must have edit access to the calendar.
// TODO(developer): Replace the ID with your own.
const calendar = CalendarApp.getCalendarById(
    'abc123456@group.calendar.google.com',
);

// Gets the first event from the calendar for February 1st, 2023 that takes
// place between 4:10 PM and 4:25 PM. For an event series, use
// calendar.getEventSeriesById('abc123456@google.com'); and replace the series
// ID with your own.
const event = calendar.getEvents(
    new Date('Feb 01, 2023 16:10:00'),
    new Date('Feb 01, 2023 16:25:00'),
    )[0];

if (event) {
  // If an event exists within the given time frame, sets the location of the
  // event to Noida.
  event.setLocation('Noida');
} else {
  // If no event exists within the given time frame, logs that information to
  // the console.
  console.log('No events exist for the specified range');
}

पैरामीटर

नामटाइपब्यौरा
locationStringनई जगह की जानकारी

वापसी का टिकट

CalendarEventSeries — यह CalendarEventSeries चेनिंग के लिए है

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.google.com/calendar/feeds

setMyStatus(status)

यह कुकी, ऐप्लिकेशन इस्तेमाल करने वाले व्यक्ति के इवेंट का स्टेटस सेट करती है. जैसे, इवेंट में शामिल होना या न्योता पाना.

// Opens the calendar by its ID. You must have edit access to the calendar.
// TODO(developer): Replace the ID with your own.
const calendar = CalendarApp.getCalendarById(
    'abc123456@group.calendar.google.com',
);

// Gets the first event from the calendar for February 1st, 2023 that takes
// place between 4:10 PM and 4:25 PM. For an event series, use
// calendar.getEventSeriesById('abc123456@google.com'); and replace the series
// ID with your own.
const event = calendar.getEvents(
    new Date('Feb 01, 2023 16:10:00'),
    new Date('Feb 01, 2023 16:25:00'),
    )[0];

if (event) {
  // If an event exists within the given time frame, sets the event status for
  // the current user to maybe.
  event.setMyStatus(CalendarApp.GuestStatus.MAYBE);
} else {
  // If no event exists within the given time frame, logs that information to
  // the console.
  console.log('No events exist for the specified range');
}

पैरामीटर

नामटाइपब्यौरा
statusGuestStatusनया स्टेटस

वापसी का टिकट

CalendarEventSeries — यह CalendarEventSeries चेनिंग के लिए है

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.googleapis.com/auth/calendar.readonly
  • https://www.google.com/calendar/feeds

setRecurrence(recurrence, startDate)

इस प्रॉपर्टी का इस्तेमाल, पूरे दिन चलने वाले इवेंट की सीरीज़ के लिए, बार-बार होने के नियम सेट करने के लिए किया जाता है. इस तरीके का इस्तेमाल करके, एक बार होने वाले इवेंट की सीरीज़ को पूरे दिन के इवेंट की सीरीज़ में बदला जा सकता है.

// Sets the events in a series to take place every Wednesday in 2013.
const eventSeries = CalendarApp.getDefaultCalendar().getEventSeriesById(
    '123456789@example.com',
);
const startDate = new Date('January 2, 2013 03:00:00 PM EST');
const recurrence = CalendarApp.newRecurrence()
                       .addWeeklyRule()
                       .onlyOnWeekday(CalendarApp.Weekday.WEDNESDAY)
                       .until(new Date('January 1, 2014'));
eventSeries.setRecurrence(recurrence, startDate);

पैरामीटर

नामटाइपब्यौरा
recurrenceEventRecurrenceदोहराए जाने के नियमों का इस्तेमाल करना
startDateDateसीरीज़ में शामिल पहले इवेंट की तारीख (सिर्फ़ दिन का इस्तेमाल किया जाता है; समय को अनदेखा कर दिया जाता है)

वापसी का टिकट

CalendarEventSeries — यह CalendarEventSeries, चेनिंग के लिए है

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.google.com/calendar/feeds

setRecurrence(recurrence, startTime, endTime)

इस इवेंट सीरीज़ के लिए, बार-बार होने वाले इवेंट के नियम सेट करता है. इस तरीके का इस्तेमाल करने पर, पूरे दिन के इवेंट की सीरीज़, एक बार होने वाले इवेंट की सीरीज़ में बदल जाती है.

// Sets the events in a series to take place from 3pm to 4pm every Tuesday and
// Thursday in 2013.
const eventSeries = CalendarApp.getDefaultCalendar().getEventSeriesById(
    '123456789@example.com',
);
const startTime = new Date('January 1, 2013 03:00:00 PM EST');
const endTime = new Date('January 1, 2013 04:00:00 PM EST');
const recurrence =
    CalendarApp.newRecurrence()
        .addWeeklyRule()
        .onlyOnWeekdays(
            [CalendarApp.Weekday.TUESDAY, CalendarApp.Weekday.THURSDAY])
        .until(new Date('January 1, 2014'));
eventSeries.setRecurrence(recurrence, startTime, endTime);

पैरामीटर

नामटाइपब्यौरा
recurrenceEventRecurrenceदोहराए जाने के नियमों का इस्तेमाल करना
startTimeDateसीरीज़ का पहला इवेंट शुरू होने की तारीख और समय
endTimeDateसीरीज़ का पहला इवेंट खत्म होने की तारीख और समय

वापसी का टिकट

CalendarEventSeries — यह CalendarEventSeries, चेनिंग के लिए है

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.google.com/calendar/feeds

setTag(key, value)

यह इवेंट पर कुंजी/वैल्यू टैग सेट करता है, ताकि कस्टम मेटाडेटा को सेव किया जा सके.

पैरामीटर

नामटाइपब्यौरा
keyStringटैग की कुंजी
valueStringटैग की वैल्यू

वापसी का टिकट

CalendarEventSeries — यह CalendarEventSeries चेनिंग के लिए है

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.google.com/calendar/feeds

setTitle(title)

इससे इवेंट का टाइटल सेट किया जाता है.

// Opens the calendar by its ID. You must have edit access to the calendar.
// TODO(developer): Replace the ID with your own.
const calendar = CalendarApp.getCalendarById(
    'abc123456@group.calendar.google.com',
);

// Gets the first event from the calendar for January 31st, 2023 that takes
// place between 9:05 AM and 9:15 AM. For an event series, use
// calendar.getEventSeriesById('abc123456@example.com'); and replace the series
// ID with your own.
const event = calendar.getEvents(
    new Date('Jan 31, 2023 09:05:00'),
    new Date('Jan 31, 2023 09:15:00'),
    )[0];

if (event) {
  // If an event exists within the given time frame, changes its title to
  // Event1.
  event.setTitle('Event1');
} else {
  // If no event exists within the given time frame, logs that information to
  // the console.
  console.log('No events exist for the specified range');
}

पैरामीटर

नामटाइपब्यौरा
titleStringनया टाइटल

वापसी का टिकट

CalendarEventSeries — यह CalendarEventSeries चेनिंग के लिए है

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.google.com/calendar/feeds

setTransparency(transparency)

इससे इवेंट की पारदर्शिता सेट की जाती है. इस तरीके का इस्तेमाल करके, यह सेट करें कि कोई इवेंट TRANSPARENT है या OPAQUE . TRANSPARENT का मतलब है कि कैलेंडर में उस समय के लिए 'उपलब्ध है' स्टेटस दिखेगा. वहीं, OPAQUE का मतलब है कि कैलेंडर में उस समय के लिए 'व्यस्त है' स्टेटस दिखेगा.

// Gets an event by its ID. For an event series, use getEventSeriesById(iCalId)
// instead.
// TODO(developer): Replace the string with the event ID that you want to get.
const event = CalendarApp.getEventById('abc123456');
// Sets the event's transparency to TRANSPARENT.
event.setTransparency(CalendarApp.EventTransparency.TRANSPARENT);

पैरामीटर

नामटाइपब्यौरा
transparencyEventTransparencyपारदर्शिता की वैल्यू.

वापसी का टिकट

CalendarEventSeries — This CalendarEventSeries for chaining.

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.google.com/calendar/feeds

setVisibility(visibility)

इससे इवेंट के दिखने की सेटिंग सेट की जाती है.

पैरामीटर

नामटाइपब्यौरा
visibilityVisibility

वापसी का टिकट

CalendarEventSeries — यह CalendarEventSeries चेनिंग के लिए है

अनुमति देना

इस तरीके का इस्तेमाल करने वाली स्क्रिप्ट के लिए, यहां दिए गए एक या उससे ज़्यादा स्कोप या मिलते-जुलते REST API से सही स्कोप के साथ अनुमति लेना ज़रूरी है:

  • https://www.googleapis.com/auth/calendar
  • https://www.google.com/calendar/feeds