def AddAclSample():
 client = CreateClient()
 doc = gdata.docs.data.Resource(type='document', title='My Sample Doc')
 doc = client.CreateResource(doc)
 acl_entry = gdata.docs.data.AclEntry(scope=gdata.acl.data.AclScope(value='user@example.com', type='user'), role=gdata.acl.data.AclRole(value='reader'))
 client.AddAclEntry(doc, acl_entry, send_notification=False)

def AddAclSample ( ) : client = CreateClient ( ) doc = gdata . docs . data . Resource ( type = 'document' , title = 'My Sample Doc' ) doc = client . CreateResource ( doc ) acl_entry = gdata . docs . data . AclEntry ( scope = gdata . acl . data . AclScope ( value = 'user@example.com' , type = 'user' ) , role = gdata . acl . data . AclRole ( value = 'reader' ) ) client . AddAclEntry ( doc , acl_entry , send_notification = False )
delete a resource .