AclEntry aclEntry = new AclEntry();
AclRole role = new AclRole("writer");
String key = ?????????????????????????????
AclWithKey withKey = new AclWithKey(key, role);
aclEntry.setWithKey(withKey);
service.insert(aclFeedUrl, aclEntry);
aclEntryUrl = new URL(" https://docs.google.com/feeds/default/private/full/
"+resourceID+"/acl/default");
AclEntry aclEntry = service.getEntry(aclEntryUrl, AclEntry.class);
aclEntry.setScope(new AclScope(AclScope.Type.DEFAULT, null));
String authKey = "whatever";
AclWithKey withKey = new AclWithKey(
authKey
, new AclRole("reader"));
aclEntry.setWithKey(withKey);
aclEntry.update();
scope = new AclScope(AclScope.Type.DEFAULT, null);
service.delete(aclFeedUrl, scope);
AclEntry aclEntry = new AclEntry();
aclEntry.setScope(scope);
AclWithKey withKey = new AclWithKey("gspot", role);
aclEntry.setWithKey(withKey);
service.insert(aclFeedUrl, aclEntry);
and that seemed to work. Thank you for your help, appreciate it.