I’ve been working on integrating Google Meet with my application using the Google Calendar API in .NET. The requirement is: 1. Create a Google Meet meeting in advance. 2. Save the meeting link and share it with attendees. 3. Disable the Google Meet link until the scheduled start time (for security reasons). 4. When the meeting starts, my scheduler will re-enable access automatically.
I have successfully implemented this for Microsoft Teams, Zoom, and other platforms, where they provide API-level controls to enable/disable a meeting link dynamically. However, I am struggling to achieve the same with Google Meet.
What I Tried: 1. Setting GuestsCanModify = false in the event creation - This prevents guests from modifying the event but does not disable the Meet link. 2. Removing the ConferenceData from the event before the meeting starts
*calendarEvent.ConferenceData = null;
var updateRequest = service.Events.Update(calendarEvent, "primary", eventId);
updateRequest.ConferenceDataVersion = 1;
updateRequest.Execute();*
• This successfully removes the Meet link, but it does not allow re-enabling the link later.
3. Moving the event to a future date
*calendarEvent.Start.DateTime = calendarEvent.Start.DateTime.Value.AddHours(2);
calendarEvent.End.DateTime = calendarEvent.End.DateTime.Value.AddHours(2);*
• This reschedules the event but does not restrict early joining if attendees have the original link.
4. Marking the event as Status = "cancelled" before the meeting starts and restoring it later
calendarEvent.Status = "cancelled"; // Disables event temporarily
• This grays out the event but does not prevent people from using the Meet link if they have it.
Expected Behavior:
I need a way to: • Create the Google Meet event and store the link. • Ensure that the Meet link does not allow entry until the scheduled start time. • Re-enable the Meet link when the meeting starts.
Key Constraints: • I am using .NET API for Google Meet (Google Calendar API). • The Google Admin Console option (disabling Quick Access) is not a preferred solution because I need per-meeting control via API.
Question:
Is there any way to temporarily disable access to a Google Meet link until the meeting starts, using the Google Calendar API in .NET? If Google Meet does not support this, is there an alternative approach?
Would appreciate any insights! Thanks.
I’ve been working on integrating Google Meet with my application using the Google Calendar API in .NET. The requirement is: 1. Create a Google Meet meeting in advance. 2. Save the meeting link and share it with attendees. 3. Disable the Google Meet link until the scheduled start time (for security reasons). 4. When the meeting starts, my scheduler will re-enable access automatically.
I have successfully implemented this for Microsoft Teams, Zoom, and other platforms, where they provide API-level controls to enable/disable a meeting link dynamically. However, I am struggling to achieve the same with Google Meet.
What I Tried: 1. Setting GuestsCanModify = false in the event creation - This prevents guests from modifying the event but does not disable the Meet link. 2. Removing the ConferenceData from the event before the meeting starts
*calendarEvent.ConferenceData = null;
var updateRequest = service.Events.Update(calendarEvent, "primary", eventId);
updateRequest.ConferenceDataVersion = 1;
updateRequest.Execute();*
• This successfully removes the Meet link, but it does not allow re-enabling the link later.
3. Moving the event to a future date
*calendarEvent.Start.DateTime = calendarEvent.Start.DateTime.Value.AddHours(2);
calendarEvent.End.DateTime = calendarEvent.End.DateTime.Value.AddHours(2);*
• This reschedules the event but does not restrict early joining if attendees have the original link.
4. Marking the event as Status = "cancelled" before the meeting starts and restoring it later
calendarEvent.Status = "cancelled"; // Disables event temporarily
• This grays out the event but does not prevent people from using the Meet link if they have it.
Expected Behavior:
I need a way to: • Create the Google Meet event and store the link. • Ensure that the Meet link does not allow entry until the scheduled start time. • Re-enable the Meet link when the meeting starts.
Key Constraints: • I am using .NET API for Google Meet (Google Calendar API). • The Google Admin Console option (disabling Quick Access) is not a preferred solution because I need per-meeting control via API.
Question:
Is there any way to temporarily disable access to a Google Meet link until the meeting starts, using the Google Calendar API in .NET? If Google Meet does not support this, is there an alternative approach?
Would appreciate any insights! Thanks.
Share Improve this question asked 2 days ago OmranOmran 334 bronze badges1 Answer
Reset to default 1Alternative to disabling an event's Google Meet link
After exploring the Google Calendar API through available documentation and using the API Explorer here it seems that there is no way to directly accomplish what you want but one alternative that you can explore is creating an event that has no Google Meet Link and then in your code set a timer(when the meeting will start) before running the function that will update the same event and add an associated Google Meet link to it.
To update and add a Google Meet link to an existing event, you will need to set the value of the parameter called conferenceDataVersion
to 1
and then add the following fields:
"conferenceData": {
"createRequest": {
"requestId": "samp111",
"conferenceSolutionKey": {
"type": "hangoutsMeet"
}
Sample Output
Before running the API
After running the API
References:
Using Calendar API to create events with Meet