{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Creates a secondary calendar.\nThe authenticated user for the request is made the data owner of the new calendar.\n\nNote: We recommend to authenticate as the intended data owner of the calendar. You can use domain-wide delegation of authority to allow applications to act on behalf of a specific user. Don't use a service account for authentication. If you use a service account for authentication, the service account is the data owner, which can lead to unexpected behavior. For example, if a service account is the data owner, data ownership cannot be transferred.","properties":{"query":{"type":"object","properties":{"fields":{"description":"Selector specifying which fields to include in a partial response.","type":"string"},"prettyPrint":{"default":true,"description":"Returns response with indentations and line breaks.","type":"boolean"}},"required":[],"additionalProperties":false},"body":{"$ref":"#/definitions/Calendar"}},"required":["body"],"additionalProperties":false,"definitions":{"Calendar":{"properties":{"autoAcceptInvitations":{"description":"Whether this calendar automatically accepts invitations. Only valid for resource calendars.","type":"boolean"},"conferenceProperties":{"$ref":"#/definitions/ConferenceProperties"},"dataOwner":{"description":"The email of the owner of the calendar. Set only for secondary calendars. Read-only.","type":"string"},"description":{"description":"Description of the calendar. Optional.","type":"string"},"etag":{"description":"ETag of the resource.","type":"string"},"id":{"description":"Identifier of the calendar. To retrieve IDs call the calendarList.list() method.","type":"string"},"kind":{"default":"calendar#calendar","description":"Type of the resource (\"calendar#calendar\").","type":"string"},"labelProperties":{"$ref":"#/definitions/LabelProperties"},"location":{"description":"Geographic location of the calendar as free-form text. Optional.","type":"string"},"summary":{"description":"Title of the calendar.","type":"string"},"timeZone":{"description":"The time zone of the calendar. (Formatted as an IANA Time Zone Database name, e.g. \"Europe/Zurich\".) Optional.","type":"string"}},"required":["summary"],"type":"object"},"ConferenceProperties":{"properties":{"allowedConferenceSolutionTypes":{"description":"The types of conference solutions that are supported for this calendar.\nThe possible values are:  \n- \"eventHangout\" \n- \"eventNamedHangout\" \n- \"hangoutsMeet\"  Optional.","items":{"type":"string"},"type":"array"}},"type":"object"},"LabelProperties":{"properties":{"eventLabels":{"description":"Event labels defined on this calendar. If this is present when updating the calendar, it will replace the existing event labels.\nExtend the list to add a new event label, and remove entities from the list to delete a label from calendar.\nEach calendar can have a maximum of 200 labels.","items":{"$ref":"#/definitions/EventLabel"},"type":"array"}},"type":"object"},"EventLabel":{"properties":{"backgroundColor":{"description":"Background color of the label in hexadecimal format, such as \"#039be5\". Events with this label are displayed in this color. Required.","type":"string"},"id":{"description":"The ID of the label. Optional when inserting a new label. If not provided, a unique ID will be generated. Required when updating a label.\nIf provided, the ID must be unique within the calendar and follow UUID format.","type":"string"},"name":{"description":"Name of the label. Optional.\nIf provided this must have at most 50 characters.","type":"string"}},"type":"object"}}},"name":"Creates a secondary calendar","id":"google-calendar.calendar.calendars.insert","example":{"body":{"summary":"example"}},"maxRequests":1,"summary":false}}