This file is indexed.

/usr/share/gtk-doc/html/gdata/GDataDocumentsEntry.html is in libgdata-doc 0.14.1-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GData Reference Manual: GDataDocumentsEntry</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="GData Reference Manual">
<link rel="up" href="ch16.html" title="Google Documents API">
<link rel="prev" href="GDataDocumentsUploadQuery.html" title="GDataDocumentsUploadQuery">
<link rel="next" href="GDataDocumentsDocument.html" title="GDataDocumentsDocument">
<meta name="generator" content="GTK-Doc V1.19.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
<td width="100%" align="left">
<a href="#" class="shortcut">Top</a>
                   | 
                  <a href="#GDataDocumentsEntry.description" class="shortcut">Description</a>
                   | 
                  <a href="#GDataDocumentsEntry.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#GDataDocumentsEntry.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
                   | 
                  <a href="#GDataDocumentsEntry.properties" class="shortcut">Properties</a>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch16.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GDataDocumentsUploadQuery.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="GDataDocumentsDocument.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GDataDocumentsEntry"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GDataDocumentsEntry.top_of_page"></a>GDataDocumentsEntry</span></h2>
<p>GDataDocumentsEntry — GData document object abstract class</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GDataDocumentsEntry.stability-level"></a><h2>Stability Level</h2>
Unstable, unless otherwise indicated
</div>
<div class="refsynopsisdiv">
<a name="GDataDocumentsEntry.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;gdata/services/documents/gdata-documents-entry.h&gt;

#define             <a class="link" href="GDataDocumentsEntry.html#GDATA-DOCUMENTS-ACCESS-ROLE-OWNER:CAPS" title="GDATA_DOCUMENTS_ACCESS_ROLE_OWNER">GDATA_DOCUMENTS_ACCESS_ROLE_OWNER</a>
#define             <a class="link" href="GDataDocumentsEntry.html#GDATA-DOCUMENTS-ACCESS-ROLE-WRITER:CAPS" title="GDATA_DOCUMENTS_ACCESS_ROLE_WRITER">GDATA_DOCUMENTS_ACCESS_ROLE_WRITER</a>
#define             <a class="link" href="GDataDocumentsEntry.html#GDATA-DOCUMENTS-ACCESS-ROLE-READER:CAPS" title="GDATA_DOCUMENTS_ACCESS_ROLE_READER">GDATA_DOCUMENTS_ACCESS_ROLE_READER</a>
                    <a class="link" href="GDataDocumentsEntry.html#GDataDocumentsEntry-struct" title="GDataDocumentsEntry">GDataDocumentsEntry</a>;
                    <a class="link" href="GDataDocumentsEntry.html#GDataDocumentsEntryClass" title="GDataDocumentsEntryClass">GDataDocumentsEntryClass</a>;
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             <a class="link" href="GDataDocumentsEntry.html#gdata-documents-entry-get-path" title="gdata_documents_entry_get_path ()">gdata_documents_entry_get_path</a>      (<em class="parameter"><code><a class="link" href="GDataDocumentsEntry.html" title="GDataDocumentsEntry"><span class="type">GDataDocumentsEntry</span></a> *self</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="GDataDocumentsEntry.html#gdata-documents-entry-get-resource-id" title="gdata_documents_entry_get_resource_id ()">gdata_documents_entry_get_resource_id</a>
                                                        (<em class="parameter"><code><a class="link" href="GDataDocumentsEntry.html" title="GDataDocumentsEntry"><span class="type">GDataDocumentsEntry</span></a> *self</code></em>);
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="GDataDocumentsEntry.html#gdata-documents-entry-get-document-id" title="gdata_documents_entry_get_document_id ()">gdata_documents_entry_get_document_id</a>
                                                        (<em class="parameter"><code><a class="link" href="GDataDocumentsEntry.html" title="GDataDocumentsEntry"><span class="type">GDataDocumentsEntry</span></a> *self</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>              <a class="link" href="GDataDocumentsEntry.html#gdata-documents-entry-get-edited" title="gdata_documents_entry_get_edited ()">gdata_documents_entry_get_edited</a>    (<em class="parameter"><code><a class="link" href="GDataDocumentsEntry.html" title="GDataDocumentsEntry"><span class="type">GDataDocumentsEntry</span></a> *self</code></em>);
<a class="link" href="GDataAuthor.html" title="GDataAuthor"><span class="returnvalue">GDataAuthor</span></a> *       <a class="link" href="GDataDocumentsEntry.html#gdata-documents-entry-get-last-modified-by" title="gdata_documents_entry_get_last_modified_by ()">gdata_documents_entry_get_last_modified_by</a>
                                                        (<em class="parameter"><code><a class="link" href="GDataDocumentsEntry.html" title="GDataDocumentsEntry"><span class="type">GDataDocumentsEntry</span></a> *self</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>              <a class="link" href="GDataDocumentsEntry.html#gdata-documents-entry-get-last-viewed" title="gdata_documents_entry_get_last_viewed ()">gdata_documents_entry_get_last_viewed</a>
                                                        (<em class="parameter"><code><a class="link" href="GDataDocumentsEntry.html" title="GDataDocumentsEntry"><span class="type">GDataDocumentsEntry</span></a> *self</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#goffset"><span class="returnvalue">goffset</span></a>             <a class="link" href="GDataDocumentsEntry.html#gdata-documents-entry-get-quota-used" title="gdata_documents_entry_get_quota_used ()">gdata_documents_entry_get_quota_used</a>
                                                        (<em class="parameter"><code><a class="link" href="GDataDocumentsEntry.html" title="GDataDocumentsEntry"><span class="type">GDataDocumentsEntry</span></a> *self</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GDataDocumentsEntry.html#gdata-documents-entry-writers-can-invite" title="gdata_documents_entry_writers_can_invite ()">gdata_documents_entry_writers_can_invite</a>
                                                        (<em class="parameter"><code><a class="link" href="GDataDocumentsEntry.html" title="GDataDocumentsEntry"><span class="type">GDataDocumentsEntry</span></a> *self</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GDataDocumentsEntry.html#gdata-documents-entry-set-writers-can-invite" title="gdata_documents_entry_set_writers_can_invite ()">gdata_documents_entry_set_writers_can_invite</a>
                                                        (<em class="parameter"><code><a class="link" href="GDataDocumentsEntry.html" title="GDataDocumentsEntry"><span class="type">GDataDocumentsEntry</span></a> *self</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> writers_can_invite</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GDataDocumentsEntry.html#gdata-documents-entry-is-deleted" title="gdata_documents_entry_is_deleted ()">gdata_documents_entry_is_deleted</a>    (<em class="parameter"><code><a class="link" href="GDataDocumentsEntry.html" title="GDataDocumentsEntry"><span class="type">GDataDocumentsEntry</span></a> *self</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="GDataDocumentsEntry.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
   +----<a class="link" href="GDataParsable.html" title="GDataParsable">GDataParsable</a>
         +----<a class="link" href="GDataEntry.html" title="GDataEntry">GDataEntry</a>
               +----GDataDocumentsEntry
                     +----<a class="link" href="GDataDocumentsDocument.html" title="GDataDocumentsDocument">GDataDocumentsDocument</a>
                     +----<a class="link" href="GDataDocumentsFolder.html" title="GDataDocumentsFolder">GDataDocumentsFolder</a>
</pre>
</div>
<div class="refsect1">
<a name="GDataDocumentsEntry.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GDataDocumentsEntry implements
 <a class="link" href="GDataAccessHandler.html" title="GDataAccessHandler">GDataAccessHandler</a>.</p>
</div>
<div class="refsect1">
<a name="GDataDocumentsEntry.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="GDataDocumentsEntry.html#GDataDocumentsEntry--document-id" title='The "document-id" property'>document-id</a>"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read
  "<a class="link" href="GDataDocumentsEntry.html#GDataDocumentsEntry--edited" title='The "edited" property'>edited</a>"                   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a>                : Read
  "<a class="link" href="GDataDocumentsEntry.html#GDataDocumentsEntry--is-deleted" title='The "is-deleted" property'>is-deleted</a>"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GDataDocumentsEntry.html#GDataDocumentsEntry--last-modified-by" title='The "last-modified-by" property'>last-modified-by</a>"         <a class="link" href="GDataAuthor.html" title="GDataAuthor"><span class="type">GDataAuthor</span></a>*          : Read
  "<a class="link" href="GDataDocumentsEntry.html#GDataDocumentsEntry--last-viewed" title='The "last-viewed" property'>last-viewed</a>"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a>                : Read
  "<a class="link" href="GDataDocumentsEntry.html#GDataDocumentsEntry--quota-used" title='The "quota-used" property'>quota-used</a>"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a>                : Read
  "<a class="link" href="GDataDocumentsEntry.html#GDataDocumentsEntry--resource-id" title='The "resource-id" property'>resource-id</a>"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read
  "<a class="link" href="GDataDocumentsEntry.html#GDataDocumentsEntry--writers-can-invite" title='The "writers-can-invite" property'>writers-can-invite</a>"       <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
</pre>
</div>
<div class="refsect1">
<a name="GDataDocumentsEntry.description"></a><h2>Description</h2>
<p>
<a class="link" href="GDataDocumentsEntry.html" title="GDataDocumentsEntry"><span class="type">GDataDocumentsEntry</span></a> is a subclass of <a class="link" href="GDataEntry.html" title="GDataEntry"><span class="type">GDataEntry</span></a> to represent a Google Documents entry, which is then further subclassed
to give specific document types.
</p>
<p>
<a class="link" href="GDataDocumentsEntry.html" title="GDataDocumentsEntry"><span class="type">GDataDocumentsEntry</span></a> implements <a class="link" href="GDataAccessHandler.html" title="GDataAccessHandler"><span class="type">GDataAccessHandler</span></a>, meaning the access rules to it can be modified using that interface. As well as the
access roles defined for the base <a class="link" href="GDataAccessRule.html" title="GDataAccessRule"><span class="type">GDataAccessRule</span></a> (e.g. <a class="link" href="GDataAccessRule.html#GDATA-ACCESS-ROLE-NONE:CAPS" title="GDATA_ACCESS_ROLE_NONE"><code class="literal">GDATA_ACCESS_ROLE_NONE</code></a>), <a class="link" href="GDataDocumentsEntry.html" title="GDataDocumentsEntry"><span class="type">GDataDocumentsEntry</span></a> has its own, such as
<a class="link" href="GDataDocumentsEntry.html#GDATA-DOCUMENTS-ACCESS-ROLE-OWNER:CAPS" title="GDATA_DOCUMENTS_ACCESS_ROLE_OWNER"><code class="literal">GDATA_DOCUMENTS_ACCESS_ROLE_OWNER</code></a> and <a class="link" href="GDataDocumentsEntry.html#GDATA-DOCUMENTS-ACCESS-ROLE-READER:CAPS" title="GDATA_DOCUMENTS_ACCESS_ROLE_READER"><code class="literal">GDATA_DOCUMENTS_ACCESS_ROLE_READER</code></a>.
</p>
<p>
Documents can (confusingly) be referenced by three different types of IDs: their entry ID, their resource ID and their document ID (untyped resource
ID). Each is a substring of the previous ones (i.e. the entry ID contains the resource ID, which in turn contains the document ID). The resource ID
and document ID should almost always be considered as internal, and thus entry IDs (<a class="link" href="GDataEntry.html#GDataEntry--id" title='The "id" property'><span class="type">"id"</span></a>) should normally be used to uniquely identify
documents. For more information, see <a class="link" href="GDataDocumentsEntry.html#GDataDocumentsEntry--resource-id" title='The "resource-id" property'><span class="type">"resource-id"</span></a>.
</p>
<p>
For more details of Google Documents' GData API, see the
<a class="ulink" href="https://developers.google.com/google-apps/documents-list/" target="_top">online documentation</a>.
</p>
<p>
</p>
<div class="example">
<a name="id-1.5.5.6.8.6.1"></a><p class="title"><b>Example 32. Moving an Entry Between Folders</b></p>
<div class="example-contents">
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
    <tbody>
      <tr>
        <td class="listing_lines" align="right"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46</pre></td>
        <td class="listing_code"><pre class="programlisting"><span class="usertype">GDataDocumentsService</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">service</span><span class="symbol">;</span>
<span class="usertype">GDataDocumentsEntry</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">entry</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">intermediate_entry</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">updated_entry</span><span class="symbol">;</span>
<span class="usertype">GDataDocumentsFolder</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">old_folder</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">new_folder</span><span class="symbol">;</span>
<span class="usertype">GError</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">error </span><span class="symbol">=</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>

<span class="comment">/* Create a service */</span>
<span class="normal">service </span><span class="symbol">=</span><span class="normal"> </span><span class="function">create_documents_service</span><span class="normal"> </span><span class="symbol">();</span>

<span class="comment">/* Get the entry, the folder it's being moved out of, and the folder it's being moved into. The entry can either be a document or</span>
<span class="comment"> * another folder, allowing hierarchies of folders to be constructed. */</span>
<span class="normal">entry </span><span class="symbol">=</span><span class="normal"> </span><span class="function">query_user_for_entry</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">service</span><span class="symbol">);</span>
<span class="normal">old_folder </span><span class="symbol">=</span><span class="normal"> </span><span class="function">query_user_for_old_folder</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">service</span><span class="symbol">);</span>
<span class="normal">new_folder </span><span class="symbol">=</span><span class="normal"> </span><span class="function">query_user_for_new_folder</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">service</span><span class="symbol">);</span>

<span class="comment">/* Add the entry to the new folder */</span>
<span class="normal">intermediate_entry </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GDataDocumentsService.html#gdata-documents-service-add-entry-to-folder">gdata_documents_service_add_entry_to_folder</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">service</span><span class="symbol">,</span><span class="normal"> entry</span><span class="symbol">,</span><span class="normal"> new_folder</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">error</span><span class="symbol">);</span>

<span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">entry</span><span class="symbol">);</span>
<span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">new_folder</span><span class="symbol">);</span>

<span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error </span><span class="symbol">!=</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span><span class="normal"> </span><span class="cbracket">{</span>
<span class="normal">    </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Message-Logging.html#g-error">g_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Error adding entry to new folder: %s"</span><span class="symbol">,</span><span class="normal"> error</span><span class="symbol">-&gt;</span><span class="normal">message</span><span class="symbol">);</span>
<span class="normal">    </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#g-error-free">g_error_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error</span><span class="symbol">);</span>
<span class="normal">    </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">old_folder</span><span class="symbol">);</span>
<span class="normal">    </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">service</span><span class="symbol">);</span>
<span class="normal">    </span><span class="keyword">return</span><span class="symbol">;</span>
<span class="cbracket">}</span>

<span class="comment">/* Remove the entry from the old folder */</span>
<span class="normal">updated_entry </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GDataDocumentsService.html#gdata-documents-service-remove-entry-from-folder">gdata_documents_service_remove_entry_from_folder</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">service</span><span class="symbol">,</span><span class="normal"> intermediate_entry</span><span class="symbol">,</span><span class="normal"> old_folder</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">error</span><span class="symbol">);</span>

<span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">intermediate_entry</span><span class="symbol">);</span>
<span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">old_folder</span><span class="symbol">);</span>
<span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">service</span><span class="symbol">);</span>

<span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error </span><span class="symbol">!=</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span><span class="normal"> </span><span class="cbracket">{</span>
<span class="normal">    </span><span class="comment">/* Note that you might want to attempt to remove the intermediate_entry from the new_folder in this error case, so that</span>
<span class="comment">     * the operation is aborted cleanly. */</span>
<span class="normal">    </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Message-Logging.html#g-error">g_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Error removing entry from previous folder: %s"</span><span class="symbol">,</span><span class="normal"> error</span><span class="symbol">-&gt;</span><span class="normal">message</span><span class="symbol">);</span>
<span class="normal">    </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#g-error-free">g_error_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error</span><span class="symbol">);</span>
<span class="normal">    </span><span class="keyword">return</span><span class="symbol">;</span>
<span class="cbracket">}</span>

<span class="comment">/* Do something with the updated entry */</span>

<span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">updated_entry</span><span class="symbol">);</span></pre></td>
      </tr>
    </tbody>
  </table>
</div>

</div>
<p><br class="example-break">
</p>
</div>
<div class="refsect1">
<a name="GDataDocumentsEntry.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GDATA-DOCUMENTS-ACCESS-ROLE-OWNER:CAPS"></a><h3>GDATA_DOCUMENTS_ACCESS_ROLE_OWNER</h3>
<pre class="programlisting">#define GDATA_DOCUMENTS_ACCESS_ROLE_OWNER "owner"
</pre>
<p>
The users specified by the <a class="link" href="GDataAccessRule.html" title="GDataAccessRule"><span class="type">GDataAccessRule</span></a> have full owner access to the document. This allows them to modify the access rules and delete
the document, amongst other things.
</p>
<p class="since">Since 0.7.0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDATA-DOCUMENTS-ACCESS-ROLE-WRITER:CAPS"></a><h3>GDATA_DOCUMENTS_ACCESS_ROLE_WRITER</h3>
<pre class="programlisting">#define GDATA_DOCUMENTS_ACCESS_ROLE_WRITER "writer"
</pre>
<p>
The users specified by the <a class="link" href="GDataAccessRule.html" title="GDataAccessRule"><span class="type">GDataAccessRule</span></a> have write access to the document. They cannot modify the access rules or delete the document.
</p>
<p class="since">Since 0.7.0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDATA-DOCUMENTS-ACCESS-ROLE-READER:CAPS"></a><h3>GDATA_DOCUMENTS_ACCESS_ROLE_READER</h3>
<pre class="programlisting">#define GDATA_DOCUMENTS_ACCESS_ROLE_READER "reader"
</pre>
<p>
The users specified by the <a class="link" href="GDataAccessRule.html" title="GDataAccessRule"><span class="type">GDataAccessRule</span></a> have read-only access to the document.
</p>
<p class="since">Since 0.7.0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataDocumentsEntry-struct"></a><h3>GDataDocumentsEntry</h3>
<pre class="programlisting">typedef struct _GDataDocumentsEntry GDataDocumentsEntry;</pre>
<p>
All the fields in the <a class="link" href="GDataDocumentsEntry.html" title="GDataDocumentsEntry"><span class="type">GDataDocumentsEntry</span></a> structure are private and should never be accessed directly.
</p>
<p class="since">Since 0.4.0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataDocumentsEntryClass"></a><h3>GDataDocumentsEntryClass</h3>
<pre class="programlisting">typedef struct {
} GDataDocumentsEntryClass;
</pre>
<p>
All the fields in the <a class="link" href="GDataDocumentsEntry.html#GDataDocumentsEntryClass" title="GDataDocumentsEntryClass"><span class="type">GDataDocumentsEntryClass</span></a> structure are private and should never be accessed directly.
</p>
<p class="since">Since 0.4.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-documents-entry-get-path"></a><h3>gdata_documents_entry_get_path ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             gdata_documents_entry_get_path      (<em class="parameter"><code><a class="link" href="GDataDocumentsEntry.html" title="GDataDocumentsEntry"><span class="type">GDataDocumentsEntry</span></a> *self</code></em>);</pre>
<p>
Builds a path for the <a class="link" href="GDataDocumentsEntry.html" title="GDataDocumentsEntry"><span class="type">GDataDocumentsEntry</span></a>, starting from a root node and traversing the folders containing the document, then ending with the
document's ID.
</p>
<p>
An example path would be: <code class="literal">/folder_id1/folder_id2/document_id</code>.
</p>
<p>
Note: the path is based on the entry/document IDs of the folders (<a class="link" href="GDataEntry.html#GDataEntry--id" title='The "id" property'><span class="type">"id"</span></a>) and document (<a class="link" href="GDataDocumentsEntry.html#GDataDocumentsEntry--document-id" title='The "document-id" property'><span class="type">"document-id"</span></a>),
and not the entries' human-readable names (<a class="link" href="GDataEntry.html#GDataEntry--title" title='The "title" property'><span class="type">"title"</span></a>).
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataDocumentsEntry.html" title="GDataDocumentsEntry"><span class="type">GDataDocumentsEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the folder hierarchy path containing the document, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>; free with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.4.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-documents-entry-get-resource-id"></a><h3>gdata_documents_entry_get_resource_id ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       gdata_documents_entry_get_resource_id
                                                        (<em class="parameter"><code><a class="link" href="GDataDocumentsEntry.html" title="GDataDocumentsEntry"><span class="type">GDataDocumentsEntry</span></a> *self</code></em>);</pre>
<p>
Gets the <a class="link" href="GDataDocumentsEntry.html#GDataDocumentsEntry--resource-id" title='The "resource-id" property'><span class="type">"resource-id"</span></a> property.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataDocumentsEntry.html" title="GDataDocumentsEntry"><span class="type">GDataDocumentsEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the document's resource ID</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.11.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-documents-entry-get-document-id"></a><h3>gdata_documents_entry_get_document_id ()</h3>
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       gdata_documents_entry_get_document_id
                                                        (<em class="parameter"><code><a class="link" href="GDataDocumentsEntry.html" title="GDataDocumentsEntry"><span class="type">GDataDocumentsEntry</span></a> *self</code></em>);</pre>
<div class="warning">
<h3 class="title">Warning</h3>
<p><code class="literal">gdata_documents_entry_get_document_id</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="GDataDocumentsEntry.html#gdata-documents-entry-get-resource-id" title="gdata_documents_entry_get_resource_id ()"><code class="function">gdata_documents_entry_get_resource_id()</code></a> instead. See <a class="link" href="GDataDocumentsEntry.html#GDataDocumentsEntry--document-id" title='The "document-id" property'><span class="type">"document-id"</span></a>. (Since: 0.11.0.)</p>
</div>
<p>
Gets the <a class="link" href="GDataDocumentsEntry.html#GDataDocumentsEntry--document-id" title='The "document-id" property'><span class="type">"document-id"</span></a> property. The
<a class="ulink" href="https://developers.google.com/google-apps/documents-list/#terminology_used_in_this_guide" target="_top">online GData Documentation</a>
refers to these as “untyped resource IDs”.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataDocumentsEntry.html" title="GDataDocumentsEntry"><span class="type">GDataDocumentsEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the document's document ID</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.4.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-documents-entry-get-edited"></a><h3>gdata_documents_entry_get_edited ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>              gdata_documents_entry_get_edited    (<em class="parameter"><code><a class="link" href="GDataDocumentsEntry.html" title="GDataDocumentsEntry"><span class="type">GDataDocumentsEntry</span></a> *self</code></em>);</pre>
<p>
Gets the <a class="link" href="GDataDocumentsEntry.html#GDataDocumentsEntry--edited" title='The "edited" property'><span class="type">"edited"</span></a> property. If the property is unset, <code class="code">-1</code> will be returned.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataDocumentsEntry.html" title="GDataDocumentsEntry"><span class="type">GDataDocumentsEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the UNIX timestamp for the time the document was last edited, or <code class="code">-1</code>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.4.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-documents-entry-get-last-modified-by"></a><h3>gdata_documents_entry_get_last_modified_by ()</h3>
<pre class="programlisting"><a class="link" href="GDataAuthor.html" title="GDataAuthor"><span class="returnvalue">GDataAuthor</span></a> *       gdata_documents_entry_get_last_modified_by
                                                        (<em class="parameter"><code><a class="link" href="GDataDocumentsEntry.html" title="GDataDocumentsEntry"><span class="type">GDataDocumentsEntry</span></a> *self</code></em>);</pre>
<p>
Gets the <a class="link" href="GDataDocumentsEntry.html#GDataDocumentsEntry--last-modified-by" title='The "last-modified-by" property'><span class="type">"last-modified-by"</span></a> property.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataDocumentsEntry.html" title="GDataDocumentsEntry"><span class="type">GDataDocumentsEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the author who last modified the document. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.4.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-documents-entry-get-last-viewed"></a><h3>gdata_documents_entry_get_last_viewed ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>              gdata_documents_entry_get_last_viewed
                                                        (<em class="parameter"><code><a class="link" href="GDataDocumentsEntry.html" title="GDataDocumentsEntry"><span class="type">GDataDocumentsEntry</span></a> *self</code></em>);</pre>
<p>
Gets the <a class="link" href="GDataDocumentsEntry.html#GDataDocumentsEntry--last-viewed" title='The "last-viewed" property'><span class="type">"last-viewed"</span></a> property. If the property is unset, <code class="code">-1</code> will be returned.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataDocumentsEntry.html" title="GDataDocumentsEntry"><span class="type">GDataDocumentsEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the UNIX timestamp for the time the document was last viewed, or <code class="code">-1</code>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.4.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-documents-entry-get-quota-used"></a><h3>gdata_documents_entry_get_quota_used ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#goffset"><span class="returnvalue">goffset</span></a>             gdata_documents_entry_get_quota_used
                                                        (<em class="parameter"><code><a class="link" href="GDataDocumentsEntry.html" title="GDataDocumentsEntry"><span class="type">GDataDocumentsEntry</span></a> *self</code></em>);</pre>
<p>
Gets the <a class="link" href="GDataDocumentsEntry.html#GDataDocumentsEntry--quota-used" title='The "quota-used" property'><span class="type">"quota-used"</span></a> property.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataDocumentsEntry.html" title="GDataDocumentsEntry"><span class="type">GDataDocumentsEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the number of quota bytes used by the document</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.13.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-documents-entry-writers-can-invite"></a><h3>gdata_documents_entry_writers_can_invite ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gdata_documents_entry_writers_can_invite
                                                        (<em class="parameter"><code><a class="link" href="GDataDocumentsEntry.html" title="GDataDocumentsEntry"><span class="type">GDataDocumentsEntry</span></a> *self</code></em>);</pre>
<p>
Gets the <a class="link" href="GDataDocumentsEntry.html#GDataDocumentsEntry--writers-can-invite" title='The "writers-can-invite" property'><span class="type">"writers-can-invite"</span></a> property.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataDocumentsEntry.html" title="GDataDocumentsEntry"><span class="type">GDataDocumentsEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if writers can invite other people to edit the document, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.4.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-documents-entry-set-writers-can-invite"></a><h3>gdata_documents_entry_set_writers_can_invite ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gdata_documents_entry_set_writers_can_invite
                                                        (<em class="parameter"><code><a class="link" href="GDataDocumentsEntry.html" title="GDataDocumentsEntry"><span class="type">GDataDocumentsEntry</span></a> *self</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> writers_can_invite</code></em>);</pre>
<p>
Sets the <a class="link" href="GDataDocumentsEntry.html#GDataDocumentsEntry--writers-can-invite" title='The "writers-can-invite" property'><span class="type">"writers-can-invite"</span></a> property to <em class="parameter"><code>writers_can_invite</code></em>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataDocumentsEntry.html" title="GDataDocumentsEntry"><span class="type">GDataDocumentsEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>writers_can_invite</code></em> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if writers can invite other people to edit the document, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.4.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-documents-entry-is-deleted"></a><h3>gdata_documents_entry_is_deleted ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gdata_documents_entry_is_deleted    (<em class="parameter"><code><a class="link" href="GDataDocumentsEntry.html" title="GDataDocumentsEntry"><span class="type">GDataDocumentsEntry</span></a> *self</code></em>);</pre>
<p>
Gets the <a class="link" href="GDataDocumentsEntry.html#GDataDocumentsEntry--is-deleted" title='The "is-deleted" property'><span class="type">"is-deleted"</span></a> property.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
<td>a <a class="link" href="GDataDocumentsEntry.html" title="GDataDocumentsEntry"><span class="type">GDataDocumentsEntry</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the document has been deleted, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.5.0</p>
</div>
</div>
<div class="refsect1">
<a name="GDataDocumentsEntry.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GDataDocumentsEntry--document-id"></a><h3>The <code class="literal">"document-id"</code> property</h3>
<pre class="programlisting">  "document-id"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read</pre>
<div class="warning">
<h3 class="title">Warning</h3>
<p><code class="literal">GDataDocumentsEntry:document-id</code> is deprecated and should not be used in newly-written code. This a substring of the <a class="link" href="GDataDocumentsEntry.html#GDataDocumentsEntry--resource-id" title='The "resource-id" property'><span class="type">"resource-id"</span></a>, which is more general and should be used instead. (Since: 0.11.0.)</p>
</div>
<p>
The document ID of the document, which is different from its entry ID (GDataEntry:id). The
<a class="ulink" href="https://developers.google.com/google-apps/documents-list/#terminology_used_in_this_guide" target="_top">online GData
Documentation</a> refers to these as “untyped resource IDs”.
</p>
<p>Default value: NULL</p>
<p class="since">Since 0.4.0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataDocumentsEntry--edited"></a><h3>The <code class="literal">"edited"</code> property</h3>
<pre class="programlisting">  "edited"                   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a>                : Read</pre>
<p>
The last time the document was edited. If the document has not been edited yet, the content indicates the time it was created.
</p>
<p>
For more information, see the <a class="ulink" href="http://www.atomenabled.org/developers/protocol/#appEdited" target="_top">
Atom Publishing Protocol specification</a>.
</p>
<p>Allowed values: &gt;= -1</p>
<p>Default value: -1</p>
<p class="since">Since 0.4.0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataDocumentsEntry--is-deleted"></a><h3>The <code class="literal">"is-deleted"</code> property</h3>
<pre class="programlisting">  "is-deleted"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>
Indicates whether the document entry has been deleted (moved to the trash). Deleted documents will only
appear in query results if the <a class="link" href="GDataDocumentsQuery.html#GDataDocumentsQuery--show-deleted" title='The "show-deleted" property'><span class="type">"show-deleted"</span></a> property is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.
</p>
<p>Default value: FALSE</p>
<p class="since">Since 0.5.0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataDocumentsEntry--last-modified-by"></a><h3>The <code class="literal">"last-modified-by"</code> property</h3>
<pre class="programlisting">  "last-modified-by"         <a class="link" href="GDataAuthor.html" title="GDataAuthor"><span class="type">GDataAuthor</span></a>*          : Read</pre>
<p>
Indicates the author of the last modification.
</p>
<p class="since">Since 0.4.0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataDocumentsEntry--last-viewed"></a><h3>The <code class="literal">"last-viewed"</code> property</h3>
<pre class="programlisting">  "last-viewed"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a>                : Read</pre>
<p>
The last time the document was viewed.
</p>
<p>Allowed values: &gt;= -1</p>
<p>Default value: -1</p>
<p class="since">Since 0.4.0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataDocumentsEntry--quota-used"></a><h3>The <code class="literal">"quota-used"</code> property</h3>
<pre class="programlisting">  "quota-used"               <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a>                : Read</pre>
<p>
The amount of user quota the document is occupying. Currently, only arbitrary files consume file space quota (whereas standard document
formats, such as <a class="link" href="GDataDocumentsText.html" title="GDataDocumentsText"><span class="type">GDataDocumentsText</span></a>, <a class="link" href="GDataDocumentsSpreadsheet.html" title="GDataDocumentsSpreadsheet"><span class="type">GDataDocumentsSpreadsheet</span></a> and <a class="link" href="GDataDocumentsFolder.html" title="GDataDocumentsFolder"><span class="type">GDataDocumentsFolder</span></a> don't). Measured in bytes.
</p>
<p>
This property will be <code class="code">0</code> for documents which aren't consuming any quota.
</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 0</p>
<p class="since">Since 0.13.0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataDocumentsEntry--resource-id"></a><h3>The <code class="literal">"resource-id"</code> property</h3>
<pre class="programlisting">  "resource-id"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read</pre>
<p>
The resource ID of the document. This should not normally need to be used in client code, and is mostly for internal use. To uniquely
identify a given document or folder, use its <a class="link" href="GDataEntry.html#GDataEntry--id" title='The "id" property'><span class="type">"id"</span></a>.
</p>
<p>
Resource IDs have the form:
<code class="literal"><em class="replaceable"><code>document|drawing|pdf|spreadsheet|presentation|folder</code></em>:<em class="replaceable"><code>untyped resource ID</code></em></code>; whereas
entry IDs have the form:
<code class="literal">https://docs.google.com/feeds/id/<em class="replaceable"><code>resource ID</code></em></code> in version 3 of the API.
</p>
<p>
For more information, see the
<a class="ulink" href="https://developers.google.com/google-apps/documents-list/#resource_ids_explained" target="_top">Google Documents
API reference</a>.
</p>
<p>Default value: NULL</p>
<p class="since">Since 0.11.0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataDocumentsEntry--writers-can-invite"></a><h3>The <code class="literal">"writers-can-invite"</code> property</h3>
<pre class="programlisting">  "writers-can-invite"       <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>
Indicates whether the document entry writers can invite others to edit the document.
</p>
<p>Default value: FALSE</p>
<p class="since">Since 0.4.0</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.19.1</div>
</body>
</html>