<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Document;
class GoogleCloudDocumentaiV1beta3BatchProcessMetadataIndividualProcessStatus extends \Google\Model
{
/**
* The name of the operation triggered by the processed document. If the human
* review process isn't triggered, this field will be empty. It has the same
* response type and metadata as the long-running operation returned by the
* ReviewDocument method.
*
* @deprecated
* @var string
*/
public $humanReviewOperation;
protected $humanReviewStatusType = GoogleCloudDocumentaiV1beta3HumanReviewStatus::class;
protected $humanReviewStatusDataType = '';
/**
* The source of the document, same as the input_gcs_source field in the
* request when the batch process started.
*
* @var string
*/
public $inputGcsSource;
/**
* The Cloud Storage output destination (in the request as
* DocumentOutputConfig.GcsOutputConfig.gcs_uri) of the processed document if
* it was successful, otherwise empty.
*
* @var string
*/
public $outputGcsDestination;
protected $statusType = GoogleRpcStatus::class;
protected $statusDataType = '';
/**
* The name of the operation triggered by the processed document. If the human
* review process isn't triggered, this field will be empty. It has the same
* response type and metadata as the long-running operation returned by the
* ReviewDocument method.
*
* @deprecated
* @param string $humanReviewOperation
*/
public function setHumanReviewOperation($humanReviewOperation)
{
$this->humanReviewOperation = $humanReviewOperation;
}
/**
* @deprecated
* @return string
*/
public function getHumanReviewOperation()
{
return $this->humanReviewOperation;
}
/**
* The status of human review on the processed document.
*
* @param GoogleCloudDocumentaiV1beta3HumanReviewStatus $humanReviewStatus
*/
public function setHumanReviewStatus(GoogleCloudDocumentaiV1beta3HumanReviewStatus $humanReviewStatus)
{
$this->humanReviewStatus = $humanReviewStatus;
}
/**
* @return GoogleCloudDocumentaiV1beta3HumanReviewStatus
*/
public function getHumanReviewStatus()
{
return $this->humanReviewStatus;
}
/**
* The source of the document, same as the input_gcs_source field in the
* request when the batch process started.
*
* @param string $inputGcsSource
*/
public function setInputGcsSource($inputGcsSource)
{
$this->inputGcsSource = $inputGcsSource;
}
/**
* @return string
*/
public function getInputGcsSource()
{
return $this->inputGcsSource;
}
/**
* The Cloud Storage output destination (in the request as
* DocumentOutputConfig.GcsOutputConfig.gcs_uri) of the processed document if
* it was successful, otherwise empty.
*
* @param string $outputGcsDestination
*/
public function setOutputGcsDestination($outputGcsDestination)
{
$this->outputGcsDestination = $outputGcsDestination;
}
/**
* @return string
*/
public function getOutputGcsDestination()
{
return $this->outputGcsDestination;
}
/**
* The status processing the document.
*
* @param GoogleRpcStatus $status
*/
public function setStatus(GoogleRpcStatus $status)
{
$this->status = $status;
}
/**
* @return GoogleRpcStatus
*/
public function getStatus()
{
return $this->status;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiV1beta3BatchProcessMetadataIndividualProcessStatus::class, 'Google_Service_Document_GoogleCloudDocumentaiV1beta3BatchProcessMetadataIndividualProcessStatus');