

def add_group_grant(self, permission, group_id):
    "\n        Convenience method that provides a quick way to add a canonical group\n        grant to a key. This method retrieves the current ACL, creates a new\n        grant based on the parameters passed in, adds that grant to the ACL and\n        then PUT's the new ACL back to GS.\n\n        :type permission: string\n        :param permission: The permission being granted. Should be one of:\n            READ|FULL_CONTROL\n            See http://code.google.com/apis/storage/docs/developer-guide.html#authorization\n            for more details on permissions.\n\n        :type group_id: string\n        :param group_id: The canonical group id associated with the Google\n            Groups account you are granting the permission to.\n        "
    acl = self.get_acl()
    acl.add_group_grant(permission, group_id)
    self.set_acl(permission)

dataset/ETHPy150Open yyuu/botornado/boto/gs/key.py Key.add_group_grant/VarMisuse@37/305 `acl`->`permission`