public function dismiss($name, Google_Service_AccessApproval_DismissApprovalRequestMessage $postBody, $optParams = array())
  {
    $params = array('name' => $name, 'postBody' => $postBody);
    $params = array_merge($params, $optParams);
    return $this->call('dismiss', array($params), "Google_Service_AccessApproval_ApprovalRequest");
  }
public function dismiss($name, Google_Service_AccessApproval_DismissApprovalRequestMessage $postBody, $optParams = array())
  {
    $params = array('name' => $name, 'postBody' => $postBody);
    $params = array_merge($params, $optParams);
    return $this->call('dismiss', array($params), "Google_Service_AccessApproval_ApprovalRequest");
  }
public function dismiss ( $ name , Google_Service_AccessApproval_DismissApprovalRequestMessage $ postBody , $ optParams = array ( ) ) { $ params = array ( 'name' => $ name , 'postBody' => $ postBody ) ; $ params = array_merge ( $ params , $ optParams ) ; return $ this -> call ( 'dismiss' , array ( $ params ) , "Google_Service_AccessApproval_ApprovalRequest" ) ; }
Dismisses a request. Returns the updated ApprovalRequest.

NOTE: This does not deny access to the resource if another request has been
made and approved. It is equivalent in effect to ignoring the request
altogether.

Returns NOT_FOUND if the request does not exist.

Returns FAILED_PRECONDITION if the request exists but is not in a pending
state. (approvalRequests.dismiss)

@param string $name Name of the ApprovalRequest to dismiss.
@param Google_Service_AccessApproval_DismissApprovalRequestMessage $postBody
@param array $optParams Optional parameters.
@return Google_Service_AccessApproval_ApprovalRequest
Dismisses a request . Returns the updated ApprovalRequest .