* $documentaiService = new Google\Service\Document(...); * $humanReviewConfig = $documentaiService->humanReviewConfig; * */ class ProjectsLocationsProcessorsHumanReviewConfig extends \Google\Service\Resource { /** * Send a document for Human Review. The input document should be processed by * the specified processor. (humanReviewConfig.reviewDocument) * * @param string $humanReviewConfig Required. The resource name of the * HumanReviewConfig that the document will be reviewed with. * @param GoogleCloudDocumentaiV1ReviewDocumentRequest $postBody * @param array $optParams Optional parameters. * @return GoogleLongrunningOperation */ public function reviewDocument($humanReviewConfig, GoogleCloudDocumentaiV1ReviewDocumentRequest $postBody, $optParams = []) { $params = ['humanReviewConfig' => $humanReviewConfig, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('reviewDocument', [$params], GoogleLongrunningOperation::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ProjectsLocationsProcessorsHumanReviewConfig::class, 'Google_Service_Document_Resource_ProjectsLocationsProcessorsHumanReviewConfig');