mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
Update to latest versions of API declarations
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/scONkfl8xf1hlctGIhfPw6jkAJ8\"",
|
||||
"etag": "\"J3WqvAcMk4eQjJXvfSI4Yr8VouA/a36_uBoi3HOoPcM986UMcorr9VU\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "calendar:v3",
|
||||
"name": "calendar",
|
||||
"version": "v3",
|
||||
"revision": "20171205",
|
||||
"revision": "20181009",
|
||||
"title": "Calendar API",
|
||||
"description": "Manipulates events and other calendar data.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -57,12 +57,12 @@
|
||||
},
|
||||
"quotaUser": {
|
||||
"type": "string",
|
||||
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.",
|
||||
"description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.",
|
||||
"location": "query"
|
||||
},
|
||||
"userIp": {
|
||||
"type": "string",
|
||||
"description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
|
||||
"description": "Deprecated. Please use quotaUser instead.",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
@@ -72,8 +72,17 @@
|
||||
"https://www.googleapis.com/auth/calendar": {
|
||||
"description": "Manage your calendars"
|
||||
},
|
||||
"https://www.googleapis.com/auth/calendar.events": {
|
||||
"description": "View and edit events on all your calendars"
|
||||
},
|
||||
"https://www.googleapis.com/auth/calendar.events.readonly": {
|
||||
"description": "View events on all your calendars"
|
||||
},
|
||||
"https://www.googleapis.com/auth/calendar.readonly": {
|
||||
"description": "View your calendars"
|
||||
},
|
||||
"https://www.googleapis.com/auth/calendar.settings.readonly": {
|
||||
"description": "View your Calendar settings"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -165,6 +174,10 @@
|
||||
"id": "Calendar",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"conferenceProperties": {
|
||||
"$ref": "ConferenceProperties",
|
||||
"description": "Conferencing properties for this calendar, for example what types of conferences are allowed."
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"description": "Description of the calendar. Optional."
|
||||
@@ -247,6 +260,10 @@
|
||||
"type": "string",
|
||||
"description": "The color of the calendar. This is an ID referring to an entry in the calendar section of the colors definition (see the colors endpoint). This property is superseded by the backgroundColor and foregroundColor properties and can be ignored when using these properties. Optional."
|
||||
},
|
||||
"conferenceProperties": {
|
||||
"$ref": "ConferenceProperties",
|
||||
"description": "Conferencing properties for this calendar, for example what types of conferences are allowed."
|
||||
},
|
||||
"defaultReminders": {
|
||||
"type": "array",
|
||||
"description": "The default reminders that the authenticated user has for this calendar.",
|
||||
@@ -337,23 +354,11 @@
|
||||
"properties": {
|
||||
"method": {
|
||||
"type": "string",
|
||||
"description": "The method used to deliver the notification. Possible values are: \n- \"email\" - Reminders are sent via email. \n- \"sms\" - Reminders are sent via SMS. This value is read-only and is ignored on inserts and updates. SMS reminders are only available for G Suite customers.",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"calendar.calendarList.insert",
|
||||
"calendar.calendarList.update"
|
||||
]
|
||||
}
|
||||
"description": "The method used to deliver the notification. Possible values are: \n- \"email\" - Reminders are sent via email. \n- \"sms\" - Reminders are sent via SMS. This value is read-only and is ignored on inserts and updates. SMS reminders are only available for G Suite customers. \nRequired when adding a notification."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"description": "The type of notification. Possible values are: \n- \"eventCreation\" - Notification sent when a new event is put on the calendar. \n- \"eventChange\" - Notification sent when an event is changed. \n- \"eventCancellation\" - Notification sent when an event is cancelled. \n- \"eventResponse\" - Notification sent when an event is changed. \n- \"agenda\" - An agenda with the events of the day (sent out in the morning).",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"calendar.calendarList.insert",
|
||||
"calendar.calendarList.update"
|
||||
]
|
||||
}
|
||||
"description": "The type of notification. Possible values are: \n- \"eventCreation\" - Notification sent when a new event is put on the calendar. \n- \"eventChange\" - Notification sent when an event is changed. \n- \"eventCancellation\" - Notification sent when an event is cancelled. \n- \"eventResponse\" - Notification sent when an attendee responds to the event invitation. \n- \"agenda\" - An agenda with the events of the day (sent out in the morning). \nRequired when adding a notification."
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -455,6 +460,183 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"ConferenceData": {
|
||||
"id": "ConferenceData",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"conferenceId": {
|
||||
"type": "string",
|
||||
"description": "The ID of the conference.\nCan be used by developers to keep track of conferences, should not be displayed to users.\nValues for solution types: \n- \"eventHangout\": unset.\n- \"eventNamedHangout\": the name of the Hangout.\n- \"hangoutsMeet\": the 10-letter meeting code, for example \"aaa-bbbb-ccc\". Optional."
|
||||
},
|
||||
"conferenceSolution": {
|
||||
"$ref": "ConferenceSolution",
|
||||
"description": "The conference solution, such as Hangouts or Hangouts Meet.\nUnset for a conference with a failed create request.\nEither conferenceSolution and at least one entryPoint, or createRequest is required."
|
||||
},
|
||||
"createRequest": {
|
||||
"$ref": "CreateConferenceRequest",
|
||||
"description": "A request to generate a new conference and attach it to the event. The data is generated asynchronously. To see whether the data is present check the status field.\nEither conferenceSolution and at least one entryPoint, or createRequest is required."
|
||||
},
|
||||
"entryPoints": {
|
||||
"type": "array",
|
||||
"description": "Information about individual conference entry points, such as URLs or phone numbers.\nAll of them must belong to the same conference.\nEither conferenceSolution and at least one entryPoint, or createRequest is required.",
|
||||
"items": {
|
||||
"$ref": "EntryPoint"
|
||||
}
|
||||
},
|
||||
"notes": {
|
||||
"type": "string",
|
||||
"description": "Additional notes (such as instructions from the domain administrator, legal notices) to display to the user. Can contain HTML. The maximum length is 2048 characters. Optional."
|
||||
},
|
||||
"parameters": {
|
||||
"$ref": "ConferenceParameters",
|
||||
"description": "Additional properties related to a conference. An example would be a solution-specific setting for enabling video streaming."
|
||||
},
|
||||
"signature": {
|
||||
"type": "string",
|
||||
"description": "The signature of the conference data.\nGenereated on server side. Must be preserved while copying the conference data between events, otherwise the conference data will not be copied.\nUnset for a conference with a failed create request.\nOptional for a conference with a pending create request."
|
||||
}
|
||||
}
|
||||
},
|
||||
"ConferenceParameters": {
|
||||
"id": "ConferenceParameters",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"addOnParameters": {
|
||||
"$ref": "ConferenceParametersAddOnParameters",
|
||||
"description": "Additional add-on specific data."
|
||||
}
|
||||
}
|
||||
},
|
||||
"ConferenceParametersAddOnParameters": {
|
||||
"id": "ConferenceParametersAddOnParameters",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ConferenceProperties": {
|
||||
"id": "ConferenceProperties",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"allowedConferenceSolutionTypes": {
|
||||
"type": "array",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ConferenceRequestStatus": {
|
||||
"id": "ConferenceRequestStatus",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"statusCode": {
|
||||
"type": "string",
|
||||
"description": "The current status of the conference create request. Read-only.\nThe possible values are: \n- \"pending\": the conference create request is still being processed.\n- \"success\": the conference create request succeeded, the entry points are populated.\n- \"failure\": the conference create request failed, there are no entry points."
|
||||
}
|
||||
}
|
||||
},
|
||||
"ConferenceSolution": {
|
||||
"id": "ConferenceSolution",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"iconUri": {
|
||||
"type": "string",
|
||||
"description": "The user-visible icon for this solution."
|
||||
},
|
||||
"key": {
|
||||
"$ref": "ConferenceSolutionKey",
|
||||
"description": "The key which can uniquely identify the conference solution for this event."
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The user-visible name of this solution. Not localized."
|
||||
}
|
||||
}
|
||||
},
|
||||
"ConferenceSolutionKey": {
|
||||
"id": "ConferenceSolutionKey",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"description": "The conference solution type.\nIf a client encounters an unfamiliar or empty type, it should still be able to display the entry points. However, it should disallow modifications.\nThe possible values are: \n- \"eventHangout\" for Hangouts for consumers (http://hangouts.google.com)\n- \"eventNamedHangout\" for classic Hangouts for G Suite users (http://hangouts.google.com)\n- \"hangoutsMeet\" for Hangouts Meet (http://meet.google.com)"
|
||||
}
|
||||
}
|
||||
},
|
||||
"CreateConferenceRequest": {
|
||||
"id": "CreateConferenceRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"conferenceSolutionKey": {
|
||||
"$ref": "ConferenceSolutionKey",
|
||||
"description": "The conference solution, such as Hangouts or Hangouts Meet."
|
||||
},
|
||||
"requestId": {
|
||||
"type": "string",
|
||||
"description": "The client-generated unique ID for this request.\nClients should regenerate this ID for every new request. If an ID provided is the same as for the previous request, the request is ignored."
|
||||
},
|
||||
"status": {
|
||||
"$ref": "ConferenceRequestStatus",
|
||||
"description": "The status of the conference create request."
|
||||
}
|
||||
}
|
||||
},
|
||||
"EntryPoint": {
|
||||
"id": "EntryPoint",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"accessCode": {
|
||||
"type": "string",
|
||||
"description": "The access code to access the conference. The maximum length is 128 characters.\nWhen creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.\nOptional."
|
||||
},
|
||||
"entryPointFeatures": {
|
||||
"type": "array",
|
||||
"description": "Features of the entry point, such as being toll or toll-free. One entry point can have multiple features. However, toll and toll-free cannot be both set on the same entry point.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"entryPointType": {
|
||||
"type": "string",
|
||||
"description": "The type of the conference entry point.\nPossible values are: \n- \"video\" - joining a conference over HTTP. A conference can have zero or one video entry point.\n- \"phone\" - joining a conference by dialing a phone number. A conference can have zero or more phone entry points.\n- \"sip\" - joining a conference over SIP. A conference can have zero or one sip entry point.\n- \"more\" - further conference joining instructions, for example additional phone numbers. A conference can have zero or one more entry point. A conference with only a more entry point is not a valid conference."
|
||||
},
|
||||
"label": {
|
||||
"type": "string",
|
||||
"description": "The label for the URI. Visible to end users. Not localized. The maximum length is 512 characters.\nExamples: \n- for video: meet.google.com/aaa-bbbb-ccc\n- for phone: +1 123 268 2601\n- for sip: 12345678@altostrat.com\n- for more: should not be filled \nOptional."
|
||||
},
|
||||
"meetingCode": {
|
||||
"type": "string",
|
||||
"description": "The meeting code to access the conference. The maximum length is 128 characters.\nWhen creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.\nOptional."
|
||||
},
|
||||
"passcode": {
|
||||
"type": "string",
|
||||
"description": "The passcode to access the conference. The maximum length is 128 characters.\nWhen creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed."
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"description": "The password to access the conference. The maximum length is 128 characters.\nWhen creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.\nOptional."
|
||||
},
|
||||
"pin": {
|
||||
"type": "string",
|
||||
"description": "The PIN to access the conference. The maximum length is 128 characters.\nWhen creating new conference data, populate only the subset of {meetingCode, accessCode, passcode, password, pin} fields that match the terminology that the conference provider uses. Only the populated fields should be displayed.\nOptional."
|
||||
},
|
||||
"regionCode": {
|
||||
"type": "string",
|
||||
"description": "The CLDR/ISO 3166 region code for the country associated with this phone access. Example: \"SE\" for Sweden.\nCalendar backend will populate this field only for EntryPointType.PHONE."
|
||||
},
|
||||
"uri": {
|
||||
"type": "string",
|
||||
"description": "The URI of the entry point. The maximum length is 1300 characters.\nFormat: \n- for video, http: or https: schema is required.\n- for phone, tel: schema is required. The URI should include the entire dial sequence (e.g., tel:+12345678900,,,123456789;1234).\n- for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.\n- for more, http: or https: schema is required."
|
||||
}
|
||||
}
|
||||
},
|
||||
"Error": {
|
||||
"id": "Error",
|
||||
"type": "object",
|
||||
@@ -501,6 +683,10 @@
|
||||
"type": "string",
|
||||
"description": "The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional."
|
||||
},
|
||||
"conferenceData": {
|
||||
"$ref": "ConferenceData",
|
||||
"description": "The conference-related information, such as details of a Hangouts Meet conference. To create new conference details use the createRequest field. To persist your changes, remember to set the conferenceDataVersion request parameter to 1 for all event modification requests."
|
||||
},
|
||||
"created": {
|
||||
"type": "string",
|
||||
"description": "Creation time of the event (as a RFC3339 timestamp). Read-only.",
|
||||
@@ -520,7 +706,7 @@
|
||||
},
|
||||
"id": {
|
||||
"type": "string",
|
||||
"description": "The creator's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API"
|
||||
"description": "The creator's Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API"
|
||||
},
|
||||
"self": {
|
||||
"type": "boolean",
|
||||
@@ -683,7 +869,7 @@
|
||||
},
|
||||
"id": {
|
||||
"type": "string",
|
||||
"description": "The organizer's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API"
|
||||
"description": "The organizer's Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API"
|
||||
},
|
||||
"self": {
|
||||
"type": "boolean",
|
||||
@@ -694,7 +880,7 @@
|
||||
},
|
||||
"originalStartTime": {
|
||||
"$ref": "EventDateTime",
|
||||
"description": "For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. Immutable."
|
||||
"description": "For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. It uniquely identifies the instance within the recurring event series even if the instance was moved to a different time. Immutable."
|
||||
},
|
||||
"privateCopy": {
|
||||
"type": "boolean",
|
||||
@@ -761,7 +947,7 @@
|
||||
},
|
||||
"status": {
|
||||
"type": "string",
|
||||
"description": "Status of the event. Optional. Possible values are: \n- \"confirmed\" - The event is confirmed. This is the default status. \n- \"tentative\" - The event is tentatively confirmed. \n- \"cancelled\" - The event is cancelled."
|
||||
"description": "Status of the event. Optional. Possible values are: \n- \"confirmed\" - The event is confirmed. This is the default status. \n- \"tentative\" - The event is tentatively confirmed. \n- \"cancelled\" - The event is cancelled (deleted). The list method returns cancelled events only on incremental sync (when syncToken or updatedMin are specified) or if the showDeleted flag is set to true. The get method always returns them.\nA cancelled status represents two different states depending on the event type: \n- Cancelled exceptions of an uncancelled recurring event indicate that this instance should no longer be presented to the user. Clients should store these events for the lifetime of the parent recurring event.\nCancelled exceptions are only guaranteed to have values for the id, recurringEventId and originalStartTime fields populated. The other fields might be empty. \n- All other cancelled events represent deleted events. Clients should remove their locally synced copies. Such cancelled events will eventually disappear, so do not rely on them being available indefinitely.\nDeleted events are only guaranteed to have the id field populated. On the organizer's calendar, cancelled events continue to expose event details (summary, location, etc.) so that they can be restored (undeleted). Similarly, the events to which the user was invited and that they manually removed continue to provide details. However, incremental sync requests with showDeleted set to false will not return these details.\nIf an event changes its organizer (for example via the move operation) and the original organizer is not on the attendee list, it will leave behind a cancelled event where only the id field is guaranteed to be populated."
|
||||
},
|
||||
"summary": {
|
||||
"type": "string",
|
||||
@@ -794,14 +980,7 @@
|
||||
},
|
||||
"fileUrl": {
|
||||
"type": "string",
|
||||
"description": "URL link to the attachment.\nFor adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"calendar.events.import",
|
||||
"calendar.events.insert",
|
||||
"calendar.events.update"
|
||||
]
|
||||
}
|
||||
"description": "URL link to the attachment.\nFor adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.\nRequired when adding an attachment."
|
||||
},
|
||||
"iconLink": {
|
||||
"type": "string",
|
||||
@@ -837,18 +1016,11 @@
|
||||
},
|
||||
"email": {
|
||||
"type": "string",
|
||||
"description": "The attendee's email address, if available. This field must be present when adding an attendee. It must be a valid email address as per RFC5322.",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"calendar.events.import",
|
||||
"calendar.events.insert",
|
||||
"calendar.events.update"
|
||||
]
|
||||
}
|
||||
"description": "The attendee's email address, if available. This field must be present when adding an attendee. It must be a valid email address as per RFC5322.\nRequired when adding an attendee."
|
||||
},
|
||||
"id": {
|
||||
"type": "string",
|
||||
"description": "The attendee's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API"
|
||||
"description": "The attendee's Profile ID, if available. It corresponds to the id field in the People collection of the Google+ API"
|
||||
},
|
||||
"optional": {
|
||||
"type": "boolean",
|
||||
@@ -861,7 +1033,7 @@
|
||||
},
|
||||
"resource": {
|
||||
"type": "boolean",
|
||||
"description": "Whether the attendee is a resource. Read-only. The default is False.",
|
||||
"description": "Whether the attendee is a resource. Can only be set when the attendee is added to the event for the first time. Subsequent modifications are ignored. Optional. The default is False.",
|
||||
"default": "false"
|
||||
},
|
||||
"responseStatus": {
|
||||
@@ -901,30 +1073,12 @@
|
||||
"properties": {
|
||||
"method": {
|
||||
"type": "string",
|
||||
"description": "The method used by this reminder. Possible values are: \n- \"email\" - Reminders are sent via email. \n- \"sms\" - Reminders are sent via SMS. These are only available for G Suite customers. Requests to set SMS reminders for other account types are ignored. \n- \"popup\" - Reminders are sent via a UI popup.",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"calendar.calendarList.insert",
|
||||
"calendar.calendarList.update",
|
||||
"calendar.events.import",
|
||||
"calendar.events.insert",
|
||||
"calendar.events.update"
|
||||
]
|
||||
}
|
||||
"description": "The method used by this reminder. Possible values are: \n- \"email\" - Reminders are sent via email. \n- \"sms\" - Reminders are sent via SMS. These are only available for G Suite customers. Requests to set SMS reminders for other account types are ignored. \n- \"popup\" - Reminders are sent via a UI popup. \nRequired when adding a reminder."
|
||||
},
|
||||
"minutes": {
|
||||
"type": "integer",
|
||||
"description": "Number of minutes before the start of the event when the reminder should trigger. Valid values are between 0 and 40320 (4 weeks in minutes).",
|
||||
"format": "int32",
|
||||
"annotations": {
|
||||
"required": [
|
||||
"calendar.calendarList.insert",
|
||||
"calendar.calendarList.update",
|
||||
"calendar.events.import",
|
||||
"calendar.events.insert",
|
||||
"calendar.events.update"
|
||||
]
|
||||
}
|
||||
"description": "Number of minutes before the start of the event when the reminder should trigger. Valid values are between 0 and 40320 (4 weeks in minutes).\nRequired when adding a reminder.",
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1032,12 +1186,12 @@
|
||||
"properties": {
|
||||
"calendarExpansionMax": {
|
||||
"type": "integer",
|
||||
"description": "Maximal number of calendars for which FreeBusy information is to be provided. Optional.",
|
||||
"description": "Maximal number of calendars for which FreeBusy information is to be provided. Optional. Maximum value is 50.",
|
||||
"format": "int32"
|
||||
},
|
||||
"groupExpansionMax": {
|
||||
"type": "integer",
|
||||
"description": "Maximal number of calendar identifiers to be provided for a single group. Optional. An error will be returned for a group with more members than this value.",
|
||||
"description": "Maximal number of calendar identifiers to be provided for a single group. Optional. An error is returned for a group with more members than this value. Maximum value is 100.",
|
||||
"format": "int32"
|
||||
},
|
||||
"items": {
|
||||
@@ -1049,12 +1203,12 @@
|
||||
},
|
||||
"timeMax": {
|
||||
"type": "string",
|
||||
"description": "The end of the interval for the query.",
|
||||
"description": "The end of the interval for the query formatted as per RFC3339.",
|
||||
"format": "date-time"
|
||||
},
|
||||
"timeMin": {
|
||||
"type": "string",
|
||||
"description": "The start of the interval for the query.",
|
||||
"description": "The start of the interval for the query formatted as per RFC3339.",
|
||||
"format": "date-time"
|
||||
},
|
||||
"timeZone": {
|
||||
@@ -1453,7 +1607,7 @@
|
||||
"id": "calendar.calendarList.delete",
|
||||
"path": "users/me/calendarList/{calendarId}",
|
||||
"httpMethod": "DELETE",
|
||||
"description": "Deletes an entry on the user's calendar list.",
|
||||
"description": "Removes a calendar from the user's calendar list.",
|
||||
"parameters": {
|
||||
"calendarId": {
|
||||
"type": "string",
|
||||
@@ -1473,7 +1627,7 @@
|
||||
"id": "calendar.calendarList.get",
|
||||
"path": "users/me/calendarList/{calendarId}",
|
||||
"httpMethod": "GET",
|
||||
"description": "Returns an entry on the user's calendar list.",
|
||||
"description": "Returns a calendar from the user's calendar list.",
|
||||
"parameters": {
|
||||
"calendarId": {
|
||||
"type": "string",
|
||||
@@ -1497,7 +1651,7 @@
|
||||
"id": "calendar.calendarList.insert",
|
||||
"path": "users/me/calendarList",
|
||||
"httpMethod": "POST",
|
||||
"description": "Adds an entry to the user's calendar list.",
|
||||
"description": "Inserts an existing calendar into the user's calendar list.",
|
||||
"parameters": {
|
||||
"colorRgbFormat": {
|
||||
"type": "boolean",
|
||||
@@ -1519,7 +1673,7 @@
|
||||
"id": "calendar.calendarList.list",
|
||||
"path": "users/me/calendarList",
|
||||
"httpMethod": "GET",
|
||||
"description": "Returns entries on the user's calendar list.",
|
||||
"description": "Returns the calendars on the user's calendar list.",
|
||||
"parameters": {
|
||||
"maxResults": {
|
||||
"type": "integer",
|
||||
@@ -1579,7 +1733,7 @@
|
||||
"id": "calendar.calendarList.patch",
|
||||
"path": "users/me/calendarList/{calendarId}",
|
||||
"httpMethod": "PATCH",
|
||||
"description": "Updates an entry on the user's calendar list. This method supports patch semantics.",
|
||||
"description": "Updates an existing calendar on the user's calendar list. This method supports patch semantics.",
|
||||
"parameters": {
|
||||
"calendarId": {
|
||||
"type": "string",
|
||||
@@ -1610,7 +1764,7 @@
|
||||
"id": "calendar.calendarList.update",
|
||||
"path": "users/me/calendarList/{calendarId}",
|
||||
"httpMethod": "PUT",
|
||||
"description": "Updates an entry on the user's calendar list.",
|
||||
"description": "Updates an existing calendar on the user's calendar list.",
|
||||
"parameters": {
|
||||
"calendarId": {
|
||||
"type": "string",
|
||||
@@ -1851,7 +2005,10 @@
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/calendar",
|
||||
"https://www.googleapis.com/auth/calendar.readonly"
|
||||
"https://www.googleapis.com/auth/calendar.events",
|
||||
"https://www.googleapis.com/auth/calendar.events.readonly",
|
||||
"https://www.googleapis.com/auth/calendar.readonly",
|
||||
"https://www.googleapis.com/auth/calendar.settings.readonly"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -1895,7 +2052,22 @@
|
||||
},
|
||||
"sendNotifications": {
|
||||
"type": "boolean",
|
||||
"description": "Whether to send notifications about the deletion of the event. Optional. The default is False.",
|
||||
"description": "Deprecated. Please use sendUpdates instead.\n\nWhether to send notifications about the deletion of the event. Note that some emails might still be sent even if you set the value to false. The default is false.",
|
||||
"location": "query"
|
||||
},
|
||||
"sendUpdates": {
|
||||
"type": "string",
|
||||
"description": "Guests who should receive notifications about the deletion of the event.",
|
||||
"enum": [
|
||||
"all",
|
||||
"externalOnly",
|
||||
"none"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Notifications are sent to all guests.",
|
||||
"Notifications are sent to non-Google Calendar guests only.",
|
||||
"No notifications are sent. This value should only be used for migration use cases (note that in most migration cases the import method should be used)."
|
||||
],
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
@@ -1904,7 +2076,8 @@
|
||||
"eventId"
|
||||
],
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/calendar"
|
||||
"https://www.googleapis.com/auth/calendar",
|
||||
"https://www.googleapis.com/auth/calendar.events"
|
||||
]
|
||||
},
|
||||
"get": {
|
||||
@@ -1952,6 +2125,8 @@
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/calendar",
|
||||
"https://www.googleapis.com/auth/calendar.events",
|
||||
"https://www.googleapis.com/auth/calendar.events.readonly",
|
||||
"https://www.googleapis.com/auth/calendar.readonly"
|
||||
]
|
||||
},
|
||||
@@ -1967,6 +2142,14 @@
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"conferenceDataVersion": {
|
||||
"type": "integer",
|
||||
"description": "Version number of conference data supported by the API client. Version 0 assumes no conference data support and ignores conference data in the event's body. Version 1 enables support for copying of ConferenceData as well as for creating new conferences using the createRequest field of conferenceData. The default is 0.",
|
||||
"format": "int32",
|
||||
"minimum": "0",
|
||||
"maximum": "1",
|
||||
"location": "query"
|
||||
},
|
||||
"supportsAttachments": {
|
||||
"type": "boolean",
|
||||
"description": "Whether API client performing operation supports event attachments. Optional. The default is False.",
|
||||
@@ -1983,7 +2166,8 @@
|
||||
"$ref": "Event"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/calendar"
|
||||
"https://www.googleapis.com/auth/calendar",
|
||||
"https://www.googleapis.com/auth/calendar.events"
|
||||
]
|
||||
},
|
||||
"insert": {
|
||||
@@ -1998,6 +2182,14 @@
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"conferenceDataVersion": {
|
||||
"type": "integer",
|
||||
"description": "Version number of conference data supported by the API client. Version 0 assumes no conference data support and ignores conference data in the event's body. Version 1 enables support for copying of ConferenceData as well as for creating new conferences using the createRequest field of conferenceData. The default is 0.",
|
||||
"format": "int32",
|
||||
"minimum": "0",
|
||||
"maximum": "1",
|
||||
"location": "query"
|
||||
},
|
||||
"maxAttendees": {
|
||||
"type": "integer",
|
||||
"description": "The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.",
|
||||
@@ -2007,7 +2199,22 @@
|
||||
},
|
||||
"sendNotifications": {
|
||||
"type": "boolean",
|
||||
"description": "Whether to send notifications about the creation of the new event. Optional. The default is False.",
|
||||
"description": "Deprecated. Please use sendUpdates instead.\n\nWhether to send notifications about the creation of the new event. Note that some emails might still be sent even if you set the value to false. The default is false.",
|
||||
"location": "query"
|
||||
},
|
||||
"sendUpdates": {
|
||||
"type": "string",
|
||||
"description": "Whether to send notifications about the creation of the new event. Note that some emails might still be sent. The default is false.",
|
||||
"enum": [
|
||||
"all",
|
||||
"externalOnly",
|
||||
"none"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Notifications are sent to all guests.",
|
||||
"Notifications are sent to non-Google Calendar guests only.",
|
||||
"No notifications are sent. This value should only be used for migration use cases (note that in most migration cases the import method should be used)."
|
||||
],
|
||||
"location": "query"
|
||||
},
|
||||
"supportsAttachments": {
|
||||
@@ -2026,7 +2233,8 @@
|
||||
"$ref": "Event"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/calendar"
|
||||
"https://www.googleapis.com/auth/calendar",
|
||||
"https://www.googleapis.com/auth/calendar.events"
|
||||
]
|
||||
},
|
||||
"instances": {
|
||||
@@ -2108,6 +2316,8 @@
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/calendar",
|
||||
"https://www.googleapis.com/auth/calendar.events",
|
||||
"https://www.googleapis.com/auth/calendar.events.readonly",
|
||||
"https://www.googleapis.com/auth/calendar.readonly"
|
||||
],
|
||||
"supportsSubscription": true
|
||||
@@ -2236,6 +2446,8 @@
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/calendar",
|
||||
"https://www.googleapis.com/auth/calendar.events",
|
||||
"https://www.googleapis.com/auth/calendar.events.readonly",
|
||||
"https://www.googleapis.com/auth/calendar.readonly"
|
||||
],
|
||||
"supportsSubscription": true
|
||||
@@ -2266,7 +2478,22 @@
|
||||
},
|
||||
"sendNotifications": {
|
||||
"type": "boolean",
|
||||
"description": "Whether to send notifications about the change of the event's organizer. Optional. The default is False.",
|
||||
"description": "Deprecated. Please use sendUpdates instead.\n\nWhether to send notifications about the change of the event's organizer. Note that some emails might still be sent even if you set the value to false. The default is false.",
|
||||
"location": "query"
|
||||
},
|
||||
"sendUpdates": {
|
||||
"type": "string",
|
||||
"description": "Guests who should receive notifications about the change of the event's organizer.",
|
||||
"enum": [
|
||||
"all",
|
||||
"externalOnly",
|
||||
"none"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Notifications are sent to all guests.",
|
||||
"Notifications are sent to non-Google Calendar guests only.",
|
||||
"No notifications are sent. This value should only be used for migration use cases (note that in most migration cases the import method should be used)."
|
||||
],
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
@@ -2279,7 +2506,8 @@
|
||||
"$ref": "Event"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/calendar"
|
||||
"https://www.googleapis.com/auth/calendar",
|
||||
"https://www.googleapis.com/auth/calendar.events"
|
||||
]
|
||||
},
|
||||
"patch": {
|
||||
@@ -2299,6 +2527,14 @@
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"conferenceDataVersion": {
|
||||
"type": "integer",
|
||||
"description": "Version number of conference data supported by the API client. Version 0 assumes no conference data support and ignores conference data in the event's body. Version 1 enables support for copying of ConferenceData as well as for creating new conferences using the createRequest field of conferenceData. The default is 0.",
|
||||
"format": "int32",
|
||||
"minimum": "0",
|
||||
"maximum": "1",
|
||||
"location": "query"
|
||||
},
|
||||
"eventId": {
|
||||
"type": "string",
|
||||
"description": "Event identifier.",
|
||||
@@ -2314,7 +2550,22 @@
|
||||
},
|
||||
"sendNotifications": {
|
||||
"type": "boolean",
|
||||
"description": "Whether to send notifications about the event update (e.g. attendee's responses, title changes, etc.). Optional. The default is False.",
|
||||
"description": "Deprecated. Please use sendUpdates instead.\n\nWhether to send notifications about the event update (for example, description changes, etc.). Note that some emails might still be sent even if you set the value to false. The default is false.",
|
||||
"location": "query"
|
||||
},
|
||||
"sendUpdates": {
|
||||
"type": "string",
|
||||
"description": "Guests who should receive notifications about the event update (for example, title changes, etc.).",
|
||||
"enum": [
|
||||
"all",
|
||||
"externalOnly",
|
||||
"none"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Notifications are sent to all guests.",
|
||||
"Notifications are sent to non-Google Calendar guests only.",
|
||||
"No notifications are sent. This value should only be used for migration use cases (note that in most migration cases the import method should be used)."
|
||||
],
|
||||
"location": "query"
|
||||
},
|
||||
"supportsAttachments": {
|
||||
@@ -2334,7 +2585,8 @@
|
||||
"$ref": "Event"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/calendar"
|
||||
"https://www.googleapis.com/auth/calendar",
|
||||
"https://www.googleapis.com/auth/calendar.events"
|
||||
]
|
||||
},
|
||||
"quickAdd": {
|
||||
@@ -2351,7 +2603,22 @@
|
||||
},
|
||||
"sendNotifications": {
|
||||
"type": "boolean",
|
||||
"description": "Whether to send notifications about the creation of the event. Optional. The default is False.",
|
||||
"description": "Deprecated. Please use sendUpdates instead.\n\nWhether to send notifications about the creation of the event. Note that some emails might still be sent even if you set the value to false. The default is false.",
|
||||
"location": "query"
|
||||
},
|
||||
"sendUpdates": {
|
||||
"type": "string",
|
||||
"description": "Guests who should receive notifications about the creation of the new event.",
|
||||
"enum": [
|
||||
"all",
|
||||
"externalOnly",
|
||||
"none"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Notifications are sent to all guests.",
|
||||
"Notifications are sent to non-Google Calendar guests only.",
|
||||
"No notifications are sent. This value should only be used for migration use cases (note that in most migration cases the import method should be used)."
|
||||
],
|
||||
"location": "query"
|
||||
},
|
||||
"text": {
|
||||
@@ -2369,7 +2636,8 @@
|
||||
"$ref": "Event"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/calendar"
|
||||
"https://www.googleapis.com/auth/calendar",
|
||||
"https://www.googleapis.com/auth/calendar.events"
|
||||
]
|
||||
},
|
||||
"update": {
|
||||
@@ -2389,6 +2657,14 @@
|
||||
"required": true,
|
||||
"location": "path"
|
||||
},
|
||||
"conferenceDataVersion": {
|
||||
"type": "integer",
|
||||
"description": "Version number of conference data supported by the API client. Version 0 assumes no conference data support and ignores conference data in the event's body. Version 1 enables support for copying of ConferenceData as well as for creating new conferences using the createRequest field of conferenceData. The default is 0.",
|
||||
"format": "int32",
|
||||
"minimum": "0",
|
||||
"maximum": "1",
|
||||
"location": "query"
|
||||
},
|
||||
"eventId": {
|
||||
"type": "string",
|
||||
"description": "Event identifier.",
|
||||
@@ -2404,7 +2680,22 @@
|
||||
},
|
||||
"sendNotifications": {
|
||||
"type": "boolean",
|
||||
"description": "Whether to send notifications about the event update (e.g. attendee's responses, title changes, etc.). Optional. The default is False.",
|
||||
"description": "Deprecated. Please use sendUpdates instead.\n\nWhether to send notifications about the event update (for example, description changes, etc.). Note that some emails might still be sent even if you set the value to false. The default is false.",
|
||||
"location": "query"
|
||||
},
|
||||
"sendUpdates": {
|
||||
"type": "string",
|
||||
"description": "Guests who should receive notifications about the event update (for example, title changes, etc.).",
|
||||
"enum": [
|
||||
"all",
|
||||
"externalOnly",
|
||||
"none"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Notifications are sent to all guests.",
|
||||
"Notifications are sent to non-Google Calendar guests only.",
|
||||
"No notifications are sent. This value should only be used for migration use cases (note that in most migration cases the import method should be used)."
|
||||
],
|
||||
"location": "query"
|
||||
},
|
||||
"supportsAttachments": {
|
||||
@@ -2424,7 +2715,8 @@
|
||||
"$ref": "Event"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/calendar"
|
||||
"https://www.googleapis.com/auth/calendar",
|
||||
"https://www.googleapis.com/auth/calendar.events"
|
||||
]
|
||||
},
|
||||
"watch": {
|
||||
@@ -2555,6 +2847,8 @@
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/calendar",
|
||||
"https://www.googleapis.com/auth/calendar.events",
|
||||
"https://www.googleapis.com/auth/calendar.events.readonly",
|
||||
"https://www.googleapis.com/auth/calendar.readonly"
|
||||
],
|
||||
"supportsSubscription": true
|
||||
@@ -2604,7 +2898,8 @@
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/calendar",
|
||||
"https://www.googleapis.com/auth/calendar.readonly"
|
||||
"https://www.googleapis.com/auth/calendar.readonly",
|
||||
"https://www.googleapis.com/auth/calendar.settings.readonly"
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
@@ -2636,7 +2931,8 @@
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/calendar",
|
||||
"https://www.googleapis.com/auth/calendar.readonly"
|
||||
"https://www.googleapis.com/auth/calendar.readonly",
|
||||
"https://www.googleapis.com/auth/calendar.settings.readonly"
|
||||
],
|
||||
"supportsSubscription": true
|
||||
},
|
||||
@@ -2673,7 +2969,8 @@
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/calendar",
|
||||
"https://www.googleapis.com/auth/calendar.readonly"
|
||||
"https://www.googleapis.com/auth/calendar.readonly",
|
||||
"https://www.googleapis.com/auth/calendar.settings.readonly"
|
||||
],
|
||||
"supportsSubscription": true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user