Host Controls update using Calendar API

Viewed 264

How can I update/set the host controls' Quick Add settings to off while creating event using google calendar api. I want to achieve that when the host is not present in the meeting, no one else can join.

Image showing host controls:

hostControls

My current api call in javascript is provided below which successfully creates the event.

gapi.client.calendar.events.insert({
                "calendarId": "primary",
                "conferenceDataVersion": 1,
                "resource": {
                    "end": {
                        "date": eDate
                    },
                    "start": {
                        "date": sDate
                    },
                    "conferenceData": {
                        "createRequest": {
                            "conferenceSolutionKey": {
                                "type": "hangoutsMeet"
                            },
                            "requestId": "@(new Guid().ToString())"
                        }
                    },
                    "summary": "@(Model.Title+" Class Meeting")"
                }
            })

I have read the documentation as well but cannot find this setting. https://developers.google.com/calendar/api/v3/reference/events/insert

0 Answers
Related