Debian Codegraph @

docs/dyn/calendar_v3.calendars.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="calendar_v3.html">Calendar API</a> . <a href="calendar_v3.calendars.html">calendars</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#clear">clear(calendarId)</a></code></p>
79 <p class="firstline">Clears a primary calendar. This operation deletes all events associated with the primary calendar of an account.</p>
80 <p class="toc_element">
81 <code><a href="#close">close()</a></code></p>
82 <p class="firstline">Close httplib2 connections.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(calendarId)</a></code></p>
85 <p class="firstline">Deletes a secondary calendar. Use calendars.clear for clearing all events on primary calendars.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(calendarId)</a></code></p>
88 <p class="firstline">Returns metadata for a calendar.</p>
89 <p class="toc_element">
90 <code><a href="#insert">insert(body=None)</a></code></p>
91 <p class="firstline">Creates a secondary calendar.</p>
92 <p class="toc_element">
93 <code><a href="#patch">patch(calendarId, body=None)</a></code></p>
94 <p class="firstline">Updates metadata for a calendar. This method supports patch semantics.</p>
95 <p class="toc_element">
96 <code><a href="#update">update(calendarId, body=None)</a></code></p>
97 <p class="firstline">Updates metadata for a calendar.</p>
98 <h3>Method Details</h3>
99 <div class="method">
100 <code class="details" id="clear">clear(calendarId)</code>
101 <pre>Clears a primary calendar. This operation deletes all events associated with the primary calendar of an account.
102
103 Args:
104 calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the &quot;primary&quot; keyword. (required)
105 </pre>
106 </div>
107
108 <div class="method">
109 <code class="details" id="close">close()</code>
110 <pre>Close httplib2 connections.</pre>
111 </div>
112
113 <div class="method">
114 <code class="details" id="delete">delete(calendarId)</code>
115 <pre>Deletes a secondary calendar. Use calendars.clear for clearing all events on primary calendars.
116
117 Args:
118 calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the &quot;primary&quot; keyword. (required)
119 </pre>
120 </div>
121
122 <div class="method">
123 <code class="details" id="get">get(calendarId)</code>
124 <pre>Returns metadata for a calendar.
125
126 Args:
127 calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the &quot;primary&quot; keyword. (required)
128
129 Returns:
130 An object of the form:
131
132 {
133 &quot;autoAcceptInvitations&quot;: True or False, # Whether this calendar automatically accepts invitations. Only valid for resource calendars.
134 &quot;conferenceProperties&quot;: { # Conferencing properties for this calendar, for example what types of conferences are allowed.
135 &quot;allowedConferenceSolutionTypes&quot;: [ # The types of conference solutions that are supported for this calendar.
136 # The possible values are:
137 # - &quot;eventHangout&quot;
138 # - &quot;eventNamedHangout&quot;
139 # - &quot;hangoutsMeet&quot; Optional.
140 &quot;A String&quot;,
141 ],
142 },
143 &quot;dataOwner&quot;: &quot;A String&quot;, # The email of the owner of the calendar. Set only for secondary calendars. Read-only.
144 &quot;description&quot;: &quot;A String&quot;, # Description of the calendar. Optional.
145 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
146 &quot;id&quot;: &quot;A String&quot;, # Identifier of the calendar. To retrieve IDs call the calendarList.list() method.
147 &quot;kind&quot;: &quot;calendar#calendar&quot;, # Type of the resource (&quot;calendar#calendar&quot;).
148 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the calendar as free-form text. Optional.
149 &quot;summary&quot;: &quot;A String&quot;, # Title of the calendar.
150 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone of the calendar. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) Optional.
151 }</pre>
152 </div>
153
154 <div class="method">
155 <code class="details" id="insert">insert(body=None)</code>
156 <pre>Creates a secondary calendar.
157 The authenticated user for the request is made the data owner of the new calendar.
158
159 Note: 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&#x27;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.
160
161 Args:
162 body: object, The request body.
163 The object takes the form of:
164
165 {
166 &quot;autoAcceptInvitations&quot;: True or False, # Whether this calendar automatically accepts invitations. Only valid for resource calendars.
167 &quot;conferenceProperties&quot;: { # Conferencing properties for this calendar, for example what types of conferences are allowed.
168 &quot;allowedConferenceSolutionTypes&quot;: [ # The types of conference solutions that are supported for this calendar.
169 # The possible values are:
170 # - &quot;eventHangout&quot;
171 # - &quot;eventNamedHangout&quot;
172 # - &quot;hangoutsMeet&quot; Optional.
173 &quot;A String&quot;,
174 ],
175 },
176 &quot;dataOwner&quot;: &quot;A String&quot;, # The email of the owner of the calendar. Set only for secondary calendars. Read-only.
177 &quot;description&quot;: &quot;A String&quot;, # Description of the calendar. Optional.
178 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
179 &quot;id&quot;: &quot;A String&quot;, # Identifier of the calendar. To retrieve IDs call the calendarList.list() method.
180 &quot;kind&quot;: &quot;calendar#calendar&quot;, # Type of the resource (&quot;calendar#calendar&quot;).
181 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the calendar as free-form text. Optional.
182 &quot;summary&quot;: &quot;A String&quot;, # Title of the calendar.
183 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone of the calendar. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) Optional.
184 }
185
186
187 Returns:
188 An object of the form:
189
190 {
191 &quot;autoAcceptInvitations&quot;: True or False, # Whether this calendar automatically accepts invitations. Only valid for resource calendars.
192 &quot;conferenceProperties&quot;: { # Conferencing properties for this calendar, for example what types of conferences are allowed.
193 &quot;allowedConferenceSolutionTypes&quot;: [ # The types of conference solutions that are supported for this calendar.
194 # The possible values are:
195 # - &quot;eventHangout&quot;
196 # - &quot;eventNamedHangout&quot;
197 # - &quot;hangoutsMeet&quot; Optional.
198 &quot;A String&quot;,
199 ],
200 },
201 &quot;dataOwner&quot;: &quot;A String&quot;, # The email of the owner of the calendar. Set only for secondary calendars. Read-only.
202 &quot;description&quot;: &quot;A String&quot;, # Description of the calendar. Optional.
203 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
204 &quot;id&quot;: &quot;A String&quot;, # Identifier of the calendar. To retrieve IDs call the calendarList.list() method.
205 &quot;kind&quot;: &quot;calendar#calendar&quot;, # Type of the resource (&quot;calendar#calendar&quot;).
206 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the calendar as free-form text. Optional.
207 &quot;summary&quot;: &quot;A String&quot;, # Title of the calendar.
208 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone of the calendar. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) Optional.
209 }</pre>
210 </div>
211
212 <div class="method">
213 <code class="details" id="patch">patch(calendarId, body=None)</code>
214 <pre>Updates metadata for a calendar. This method supports patch semantics.
215
216 Args:
217 calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the &quot;primary&quot; keyword. (required)
218 body: object, The request body.
219 The object takes the form of:
220
221 {
222 &quot;autoAcceptInvitations&quot;: True or False, # Whether this calendar automatically accepts invitations. Only valid for resource calendars.
223 &quot;conferenceProperties&quot;: { # Conferencing properties for this calendar, for example what types of conferences are allowed.
224 &quot;allowedConferenceSolutionTypes&quot;: [ # The types of conference solutions that are supported for this calendar.
225 # The possible values are:
226 # - &quot;eventHangout&quot;
227 # - &quot;eventNamedHangout&quot;
228 # - &quot;hangoutsMeet&quot; Optional.
229 &quot;A String&quot;,
230 ],
231 },
232 &quot;dataOwner&quot;: &quot;A String&quot;, # The email of the owner of the calendar. Set only for secondary calendars. Read-only.
233 &quot;description&quot;: &quot;A String&quot;, # Description of the calendar. Optional.
234 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
235 &quot;id&quot;: &quot;A String&quot;, # Identifier of the calendar. To retrieve IDs call the calendarList.list() method.
236 &quot;kind&quot;: &quot;calendar#calendar&quot;, # Type of the resource (&quot;calendar#calendar&quot;).
237 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the calendar as free-form text. Optional.
238 &quot;summary&quot;: &quot;A String&quot;, # Title of the calendar.
239 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone of the calendar. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) Optional.
240 }
241
242
243 Returns:
244 An object of the form:
245
246 {
247 &quot;autoAcceptInvitations&quot;: True or False, # Whether this calendar automatically accepts invitations. Only valid for resource calendars.
248 &quot;conferenceProperties&quot;: { # Conferencing properties for this calendar, for example what types of conferences are allowed.
249 &quot;allowedConferenceSolutionTypes&quot;: [ # The types of conference solutions that are supported for this calendar.
250 # The possible values are:
251 # - &quot;eventHangout&quot;
252 # - &quot;eventNamedHangout&quot;
253 # - &quot;hangoutsMeet&quot; Optional.
254 &quot;A String&quot;,
255 ],
256 },
257 &quot;dataOwner&quot;: &quot;A String&quot;, # The email of the owner of the calendar. Set only for secondary calendars. Read-only.
258 &quot;description&quot;: &quot;A String&quot;, # Description of the calendar. Optional.
259 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
260 &quot;id&quot;: &quot;A String&quot;, # Identifier of the calendar. To retrieve IDs call the calendarList.list() method.
261 &quot;kind&quot;: &quot;calendar#calendar&quot;, # Type of the resource (&quot;calendar#calendar&quot;).
262 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the calendar as free-form text. Optional.
263 &quot;summary&quot;: &quot;A String&quot;, # Title of the calendar.
264 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone of the calendar. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) Optional.
265 }</pre>
266 </div>
267
268 <div class="method">
269 <code class="details" id="update">update(calendarId, body=None)</code>
270 <pre>Updates metadata for a calendar.
271
272 Args:
273 calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the &quot;primary&quot; keyword. (required)
274 body: object, The request body.
275 The object takes the form of:
276
277 {
278 &quot;autoAcceptInvitations&quot;: True or False, # Whether this calendar automatically accepts invitations. Only valid for resource calendars.
279 &quot;conferenceProperties&quot;: { # Conferencing properties for this calendar, for example what types of conferences are allowed.
280 &quot;allowedConferenceSolutionTypes&quot;: [ # The types of conference solutions that are supported for this calendar.
281 # The possible values are:
282 # - &quot;eventHangout&quot;
283 # - &quot;eventNamedHangout&quot;
284 # - &quot;hangoutsMeet&quot; Optional.
285 &quot;A String&quot;,
286 ],
287 },
288 &quot;dataOwner&quot;: &quot;A String&quot;, # The email of the owner of the calendar. Set only for secondary calendars. Read-only.
289 &quot;description&quot;: &quot;A String&quot;, # Description of the calendar. Optional.
290 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
291 &quot;id&quot;: &quot;A String&quot;, # Identifier of the calendar. To retrieve IDs call the calendarList.list() method.
292 &quot;kind&quot;: &quot;calendar#calendar&quot;, # Type of the resource (&quot;calendar#calendar&quot;).
293 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the calendar as free-form text. Optional.
294 &quot;summary&quot;: &quot;A String&quot;, # Title of the calendar.
295 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone of the calendar. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) Optional.
296 }
297
298
299 Returns:
300 An object of the form:
301
302 {
303 &quot;autoAcceptInvitations&quot;: True or False, # Whether this calendar automatically accepts invitations. Only valid for resource calendars.
304 &quot;conferenceProperties&quot;: { # Conferencing properties for this calendar, for example what types of conferences are allowed.
305 &quot;allowedConferenceSolutionTypes&quot;: [ # The types of conference solutions that are supported for this calendar.
306 # The possible values are:
307 # - &quot;eventHangout&quot;
308 # - &quot;eventNamedHangout&quot;
309 # - &quot;hangoutsMeet&quot; Optional.
310 &quot;A String&quot;,
311 ],
312 },
313 &quot;dataOwner&quot;: &quot;A String&quot;, # The email of the owner of the calendar. Set only for secondary calendars. Read-only.
314 &quot;description&quot;: &quot;A String&quot;, # Description of the calendar. Optional.
315 &quot;etag&quot;: &quot;A String&quot;, # ETag of the resource.
316 &quot;id&quot;: &quot;A String&quot;, # Identifier of the calendar. To retrieve IDs call the calendarList.list() method.
317 &quot;kind&quot;: &quot;calendar#calendar&quot;, # Type of the resource (&quot;calendar#calendar&quot;).
318 &quot;location&quot;: &quot;A String&quot;, # Geographic location of the calendar as free-form text. Optional.
319 &quot;summary&quot;: &quot;A String&quot;, # Title of the calendar.
320 &quot;timeZone&quot;: &quot;A String&quot;, # The time zone of the calendar. (Formatted as an IANA Time Zone Database name, e.g. &quot;Europe/Zurich&quot;.) Optional.
321 }</pre>
322 </div>
323
324 </body></html>