How can I get a description of a Google document?

purpose

Let's say I have a collection / folder of documents in Google Docs / Drive, and I want to programmatically get a description associated with each:

(You get this by selecting a file from the list, and then click the eye icon)

The description I want

Code Work

I use the .NET library for the Google Data API and run the main input and search without any problems:

GDataCredentials credentials = BuildSomethingUp();
RequestSettings settings 
    = new RequestSettings("code.google.com/p/exult/", credentials);
Request request = new Request(settings);
Feed<Document> feed = request.GetFolderContent(resourceId);                     
List<Document> documents = feed.Entries.ToList();

foreach (Document document in documents
    .Where(item => item.Type != Document.DocumentType.Folder))
{
   string summary = document.Summary; //y no can haz?
}

However, the property is .Summaryalways returned as null.

Question (s)

  • I was working on the assumption that it .Summarywas the correct location based on some legacy sections of code, etc. Is this a false assumption?
  • How else can I get the description associated with the document? (“Can I destroy dezcryption?” In the ridiculous example above).
+3
1

.NET , rev. 1189 (http://code.google.com/p/google-gdata/source/detail?r=1189), Description DocumentEntry. :

string description = document.DocumentEntry.Description;
+2

All Articles