public function modifyAssignees($courseId, $id, Google_Service_Classroom_ModifyAnnouncementAssigneesRequest $postBody, $optParams = array())
  {
    $params = array('courseId' => $courseId, 'id' => $id, 'postBody' => $postBody);
    $params = array_merge($params, $optParams);
    return $this->call('modifyAssignees', array($params), "Google_Service_Classroom_Announcement");
  }
public function modifyAssignees($courseId, $id, Google_Service_Classroom_ModifyAnnouncementAssigneesRequest $postBody, $optParams = array())
  {
    $params = array('courseId' => $courseId, 'id' => $id, 'postBody' => $postBody);
    $params = array_merge($params, $optParams);
    return $this->call('modifyAssignees', array($params), "Google_Service_Classroom_Announcement");
  }
public function modifyAssignees ( $ courseId , $ id , Google_Service_Classroom_ModifyAnnouncementAssigneesRequest $ postBody , $ optParams = array ( ) ) { $ params = array ( 'courseId' => $ courseId , 'id' => $ id , 'postBody' => $ postBody ) ; $ params = array_merge ( $ params , $ optParams ) ; return $ this -> call ( 'modifyAssignees' , array ( $ params ) , "Google_Service_Classroom_Announcement" ) ; }
Modifies assignee mode and options of an announcement.

Only a teacher of the course that contains the announcement may call this
method.

This method returns the following error codes:

* `PERMISSION_DENIED` if the requesting user is not permitted to access the
requested course or course work or for access errors. * `INVALID_ARGUMENT` if
the request is malformed. * `NOT_FOUND` if the requested course or course
work does not exist. (announcements.modifyAssignees)

@param string $courseId Identifier of the course. This identifier can be
either the Classroom-assigned identifier or an alias.
@param string $id Identifier of the announcement.
@param Google_Service_Classroom_ModifyAnnouncementAssigneesRequest $postBody
@param array $optParams Optional parameters.
@return Google_Service_Classroom_Announcement
Modifies assignee mode and options of an announcement .