use of com.google.api.services.drive.model.Permission in project local-data-aragopedia by aragonopendata.
the class GoogleDriveAPI method createPermission.
private Permission createPermission() {
Permission newPermission = new Permission();
newPermission.setDomain(Prop.domainPermission);
newPermission.setValue(Prop.domainPermission);
newPermission.setType("domain");
newPermission.setRole("writer");
return newPermission;
}
Aggregations