def _CreateAclRule(self, username):
    
    rule = gdata.calendar.CalendarAclEntry()
    rule.scope = gdata.calendar.Scope(value=username, scope_type="user")
    roleValue = "http://schemas.google.com/gCal/2005#%s" % ("freebusy")
    rule.role = gdata.calendar.Role(value=roleValue)
    aclUrl = "/calendar/feeds/default/acl/full"
    returned_rule = self.cal_client.InsertAclEntry(rule, aclUrl)
Find a model by its primary key or return new instance of the related model.
dataset/ETHPy150Open kuri65536/python-for-android/python-build/python-libs/gdata/samples/calendar/calendarExample.py/CalendarExample._CreateAclRule--crossover with--dataset/ETHPy150Open sdispater/orator/orator/orm/relations/belongs_to_many.py/BelongsToMany.find_or_new