|
736 | 736 | ] |
737 | 737 | }, |
738 | 738 | "insert": { |
739 | | - "description": "Creates a secondary calendar.", |
| 739 | + "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.", |
740 | 740 | "httpMethod": "POST", |
741 | 741 | "id": "calendar.calendars.insert", |
742 | 742 | "path": "calendars", |
|
1890 | 1890 | } |
1891 | 1891 | } |
1892 | 1892 | }, |
1893 | | - "revision": "20250404", |
| 1893 | + "revision": "20251028", |
1894 | 1894 | "rootUrl": "https://www.googleapis.com/", |
1895 | 1895 | "schemas": { |
1896 | 1896 | "Acl": { |
|
1945 | 1945 | "calendar.acl.insert" |
1946 | 1946 | ] |
1947 | 1947 | }, |
1948 | | - "description": "The role assigned to the scope. Possible values are: \n- \"none\" - Provides no access. \n- \"freeBusyReader\" - Provides read access to free/busy information. \n- \"reader\" - Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden. \n- \"writer\" - Provides read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible. Provides read access to the calendar's ACLs. \n- \"owner\" - Provides ownership of the calendar. This role has all of the permissions of the writer role with the additional ability to manipulate ACLs.", |
| 1948 | + "description": "The role assigned to the scope. Possible values are: \n- \"none\" - Provides no access. \n- \"freeBusyReader\" - Provides read access to free/busy information. \n- \"reader\" - Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden. \n- \"writer\" - Provides read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible. Provides read access to the calendar's ACLs. \n- \"owner\" - Provides manager access to the calendar. This role has all of the permissions of the writer role with the additional ability to modify access levels of other users.\nImportant: the owner role is different from the calendar's data owner. A calendar has a single data owner, but can have multiple users with owner role.", |
1949 | 1949 | "type": "string" |
1950 | 1950 | }, |
1951 | 1951 | "scope": { |
|
1984 | 1984 | "$ref": "ConferenceProperties", |
1985 | 1985 | "description": "Conferencing properties for this calendar, for example what types of conferences are allowed." |
1986 | 1986 | }, |
| 1987 | + "dataOwner": { |
| 1988 | + "description": "The email of the owner of the calendar. Set only for secondary calendars. Read-only.", |
| 1989 | + "type": "string" |
| 1990 | + }, |
1987 | 1991 | "description": { |
1988 | 1992 | "description": "Description of the calendar. Optional.", |
1989 | 1993 | "type": "string" |
|
2055 | 2059 | "id": "CalendarListEntry", |
2056 | 2060 | "properties": { |
2057 | 2061 | "accessRole": { |
2058 | | - "description": "The effective access role that the authenticated user has on the calendar. Read-only. Possible values are: \n- \"freeBusyReader\" - Provides read access to free/busy information. \n- \"reader\" - Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden. \n- \"writer\" - Provides read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible. \n- \"owner\" - Provides ownership of the calendar. This role has all of the permissions of the writer role with the additional ability to see and manipulate ACLs.", |
| 2062 | + "description": "The effective access role that the authenticated user has on the calendar. Read-only. Possible values are: \n- \"freeBusyReader\" - Provides read access to free/busy information. \n- \"reader\" - Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden. \n- \"writer\" - Provides read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible. \n- \"owner\" - Provides manager access to the calendar. This role has all of the permissions of the writer role with the additional ability to see and modify access levels of other users.\nImportant: the owner role is different from the calendar's data owner. A calendar has a single data owner, but can have multiple users with owner role.", |
2059 | 2063 | "type": "string" |
2060 | 2064 | }, |
2061 | 2065 | "backgroundColor": { |
|
2070 | 2074 | "$ref": "ConferenceProperties", |
2071 | 2075 | "description": "Conferencing properties for this calendar, for example what types of conferences are allowed." |
2072 | 2076 | }, |
| 2077 | + "dataOwner": { |
| 2078 | + "description": "The email of the owner of the calendar. Set only for secondary calendars. Read-only.", |
| 2079 | + "type": "string" |
| 2080 | + }, |
2073 | 2081 | "defaultReminders": { |
2074 | 2082 | "description": "The default reminders that the authenticated user has for this calendar.", |
2075 | 2083 | "items": { |
|
3015 | 3023 | "id": "Events", |
3016 | 3024 | "properties": { |
3017 | 3025 | "accessRole": { |
3018 | | - "description": "The user's access role for this calendar. Read-only. Possible values are: \n- \"none\" - The user has no access. \n- \"freeBusyReader\" - The user has read access to free/busy information. \n- \"reader\" - The user has read access to the calendar. Private events will appear to users with reader access, but event details will be hidden. \n- \"writer\" - The user has read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible. \n- \"owner\" - The user has ownership of the calendar. This role has all of the permissions of the writer role with the additional ability to see and manipulate ACLs.", |
| 3026 | + "description": "The user's access role for this calendar. Read-only. Possible values are: \n- \"none\" - The user has no access. \n- \"freeBusyReader\" - The user has read access to free/busy information. \n- \"reader\" - The user has read access to the calendar. Private events will appear to users with reader access, but event details will be hidden. \n- \"writer\" - The user has read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible. \n- \"owner\" - The user has manager access to the calendar. This role has all of the permissions of the writer role with the additional ability to see and modify access levels of other users.\nImportant: the owner role is different from the calendar's data owner. A calendar has a single data owner, but can have multiple users with owner role.", |
3019 | 3027 | "type": "string" |
3020 | 3028 | }, |
3021 | 3029 | "defaultReminders": { |
|
0 commit comments