gestione documentale avanzata 1 parte

This commit is contained in:
2026-05-28 09:34:28 +02:00
parent 3471befb1a
commit f2b0833b90
34482 changed files with 4312269 additions and 546 deletions
@@ -0,0 +1,43 @@
<?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 CloudAiDocumentaiLabHifiaToolsValidationValidatorInput extends \Google\Collection
{
protected $collection_key = 'validationRules';
protected $validationRulesType = CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule::class;
protected $validationRulesDataType = 'array';
/**
* @param CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule[] $validationRules
*/
public function setValidationRules($validationRules)
{
$this->validationRules = $validationRules;
}
/**
* @return CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule[]
*/
public function getValidationRules()
{
return $this->validationRules;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiDocumentaiLabHifiaToolsValidationValidatorInput::class, 'Google_Service_Document_CloudAiDocumentaiLabHifiaToolsValidationValidatorInput');
@@ -0,0 +1,172 @@
<?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 CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule extends \Google\Model
{
protected $childAlignmentRuleType = CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule::class;
protected $childAlignmentRuleDataType = '';
/**
* Description of the validation rule. This has no use but for documentation.
*
* @var string
*/
public $description;
protected $entityAlignmentRuleType = CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleEntityAlignmentRule::class;
protected $entityAlignmentRuleDataType = '';
protected $fieldOccurrencesType = CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences::class;
protected $fieldOccurrencesDataType = '';
protected $fieldRegexType = CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex::class;
protected $fieldRegexDataType = '';
protected $formValidationType = CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation::class;
protected $formValidationDataType = '';
/**
* Name of the validation rule.
*
* @var string
*/
public $name;
/**
* Unique identifier of the rule. Optional.
*
* @var string
*/
public $ruleId;
/**
* @param CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule $childAlignmentRule
*/
public function setChildAlignmentRule(CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule $childAlignmentRule)
{
$this->childAlignmentRule = $childAlignmentRule;
}
/**
* @return CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule
*/
public function getChildAlignmentRule()
{
return $this->childAlignmentRule;
}
/**
* Description of the validation rule. This has no use but for documentation.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleEntityAlignmentRule $entityAlignmentRule
*/
public function setEntityAlignmentRule(CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleEntityAlignmentRule $entityAlignmentRule)
{
$this->entityAlignmentRule = $entityAlignmentRule;
}
/**
* @return CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleEntityAlignmentRule
*/
public function getEntityAlignmentRule()
{
return $this->entityAlignmentRule;
}
/**
* @param CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences $fieldOccurrences
*/
public function setFieldOccurrences(CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences $fieldOccurrences)
{
$this->fieldOccurrences = $fieldOccurrences;
}
/**
* @return CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences
*/
public function getFieldOccurrences()
{
return $this->fieldOccurrences;
}
/**
* @param CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex $fieldRegex
*/
public function setFieldRegex(CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex $fieldRegex)
{
$this->fieldRegex = $fieldRegex;
}
/**
* @return CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex
*/
public function getFieldRegex()
{
return $this->fieldRegex;
}
/**
* @param CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation $formValidation
*/
public function setFormValidation(CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation $formValidation)
{
$this->formValidation = $formValidation;
}
/**
* @return CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation
*/
public function getFormValidation()
{
return $this->formValidation;
}
/**
* Name of the validation rule.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Unique identifier of the rule. Optional.
*
* @param string $ruleId
*/
public function setRuleId($ruleId)
{
$this->ruleId = $ruleId;
}
/**
* @return string
*/
public function getRuleId()
{
return $this->ruleId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule::class, 'Google_Service_Document_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule');
@@ -0,0 +1,69 @@
<?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 CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule extends \Google\Model
{
public const ALIGNMENT_TYPE_ALIGNMENT_TYPE_UNSPECIFIED = 'ALIGNMENT_TYPE_UNSPECIFIED';
public const ALIGNMENT_TYPE_ALIGNMENT_TYPE_HORIZONTAL = 'ALIGNMENT_TYPE_HORIZONTAL';
public const ALIGNMENT_TYPE_ALIGNMENT_TYPE_VERTICAL = 'ALIGNMENT_TYPE_VERTICAL';
/**
* @var string
*/
public $alignmentType;
/**
* The tolerance to use when comparing coordinates.
*
* @var float
*/
public $tolerance;
/**
* @param self::ALIGNMENT_TYPE_* $alignmentType
*/
public function setAlignmentType($alignmentType)
{
$this->alignmentType = $alignmentType;
}
/**
* @return self::ALIGNMENT_TYPE_*
*/
public function getAlignmentType()
{
return $this->alignmentType;
}
/**
* The tolerance to use when comparing coordinates.
*
* @param float $tolerance
*/
public function setTolerance($tolerance)
{
$this->tolerance = $tolerance;
}
/**
* @return float
*/
public function getTolerance()
{
return $this->tolerance;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule::class, 'Google_Service_Document_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule');
@@ -0,0 +1,81 @@
<?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 CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule extends \Google\Collection
{
protected $collection_key = 'childFields';
protected $alignmentRuleType = CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule::class;
protected $alignmentRuleDataType = '';
protected $childFieldsType = CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField::class;
protected $childFieldsDataType = 'array';
protected $parentFieldType = CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField::class;
protected $parentFieldDataType = '';
/**
* The alignment rule to apply to the child fields.
*
* @param CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule $alignmentRule
*/
public function setAlignmentRule(CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule $alignmentRule)
{
$this->alignmentRule = $alignmentRule;
}
/**
* @return CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule
*/
public function getAlignmentRule()
{
return $this->alignmentRule;
}
/**
* The child fields to be aligned within the parent field.
*
* @param CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField[] $childFields
*/
public function setChildFields($childFields)
{
$this->childFields = $childFields;
}
/**
* @return CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField[]
*/
public function getChildFields()
{
return $this->childFields;
}
/**
* The full path of the parent field.
*
* @param CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField $parentField
*/
public function setParentField(CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField $parentField)
{
$this->parentField = $parentField;
}
/**
* @return CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField
*/
public function getParentField()
{
return $this->parentField;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule::class, 'Google_Service_Document_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule');
@@ -0,0 +1,44 @@
<?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 CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant extends \Google\Model
{
/**
* @var float
*/
public $floatValue;
/**
* @param float $floatValue
*/
public function setFloatValue($floatValue)
{
$this->floatValue = $floatValue;
}
/**
* @return float
*/
public function getFloatValue()
{
return $this->floatValue;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant::class, 'Google_Service_Document_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant');
@@ -0,0 +1,63 @@
<?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 CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleEntityAlignmentRule extends \Google\Collection
{
protected $collection_key = 'fields';
protected $alignmentRuleType = CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule::class;
protected $alignmentRuleDataType = '';
protected $fieldsType = CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField::class;
protected $fieldsDataType = 'array';
/**
* The alignment rule to apply to the fields.
*
* @param CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule $alignmentRule
*/
public function setAlignmentRule(CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule $alignmentRule)
{
$this->alignmentRule = $alignmentRule;
}
/**
* @return CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule
*/
public function getAlignmentRule()
{
return $this->alignmentRule;
}
/**
* The fields to be aligned.
*
* @param CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField[] $fields
*/
public function setFields($fields)
{
$this->fields = $fields;
}
/**
* @return CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField[]
*/
public function getFields()
{
return $this->fields;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleEntityAlignmentRule::class, 'Google_Service_Document_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleEntityAlignmentRule');
@@ -0,0 +1,72 @@
<?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 CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField extends \Google\Model
{
protected $defaultValueType = CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant::class;
protected $defaultValueDataType = '';
/**
* The field name to validate. This can be a simple field name or a nested
* field one using the ':' (meant as an aggregator) or '*' (meant as foreach)
* operators.
*
* @var string
*/
public $fieldName;
/**
* Default value to use if the field is not present. If the field is missing
* and the default value is not set, the validation run as if the field is not
* present in the validation logic.
*
* @param CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant $defaultValue
*/
public function setDefaultValue(CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant $defaultValue)
{
$this->defaultValue = $defaultValue;
}
/**
* @return CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant
*/
public function getDefaultValue()
{
return $this->defaultValue;
}
/**
* The field name to validate. This can be a simple field name or a nested
* field one using the ':' (meant as an aggregator) or '*' (meant as foreach)
* operators.
*
* @param string $fieldName
*/
public function setFieldName($fieldName)
{
$this->fieldName = $fieldName;
}
/**
* @return string
*/
public function getFieldName()
{
return $this->fieldName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField::class, 'Google_Service_Document_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField');
@@ -0,0 +1,84 @@
<?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 CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences extends \Google\Model
{
protected $fieldType = CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField::class;
protected $fieldDataType = '';
/**
* @var string
*/
public $maxOccurrences;
/**
* Min and max occurrences of the field. If not set, there is limit set. The
* defined interval is a closed-closed interval, i.e. [min, max].
*
* @var string
*/
public $minOccurrences;
/**
* @param CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField $field
*/
public function setField(CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField $field)
{
$this->field = $field;
}
/**
* @return CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField
*/
public function getField()
{
return $this->field;
}
/**
* @param string $maxOccurrences
*/
public function setMaxOccurrences($maxOccurrences)
{
$this->maxOccurrences = $maxOccurrences;
}
/**
* @return string
*/
public function getMaxOccurrences()
{
return $this->maxOccurrences;
}
/**
* Min and max occurrences of the field. If not set, there is limit set. The
* defined interval is a closed-closed interval, i.e. [min, max].
*
* @param string $minOccurrences
*/
public function setMinOccurrences($minOccurrences)
{
$this->minOccurrences = $minOccurrences;
}
/**
* @return string
*/
public function getMinOccurrences()
{
return $this->minOccurrences;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences::class, 'Google_Service_Document_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences');
@@ -0,0 +1,64 @@
<?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 CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex extends \Google\Model
{
protected $fieldType = CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField::class;
protected $fieldDataType = '';
/**
* Python regex to validate the field values.
*
* @var string
*/
public $pattern;
/**
* @param CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField $field
*/
public function setField(CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField $field)
{
$this->field = $field;
}
/**
* @return CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField
*/
public function getField()
{
return $this->field;
}
/**
* Python regex to validate the field values.
*
* @param string $pattern
*/
public function setPattern($pattern)
{
$this->pattern = $pattern;
}
/**
* @return string
*/
public function getPattern()
{
return $this->pattern;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex::class, 'Google_Service_Document_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex');
@@ -0,0 +1,91 @@
<?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 CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation extends \Google\Model
{
public const VALIDATION_OPERATOR_OPERATION_TYPE_UNSPECIFIED = 'OPERATION_TYPE_UNSPECIFIED';
public const VALIDATION_OPERATOR_OPERATION_TYPE_EQ = 'OPERATION_TYPE_EQ';
public const VALIDATION_OPERATOR_OPERATION_TYPE_NE = 'OPERATION_TYPE_NE';
public const VALIDATION_OPERATOR_OPERATION_TYPE_LT = 'OPERATION_TYPE_LT';
public const VALIDATION_OPERATOR_OPERATION_TYPE_LE = 'OPERATION_TYPE_LE';
public const VALIDATION_OPERATOR_OPERATION_TYPE_GT = 'OPERATION_TYPE_GT';
public const VALIDATION_OPERATOR_OPERATION_TYPE_GE = 'OPERATION_TYPE_GE';
protected $leftOperandType = CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation::class;
protected $leftOperandDataType = '';
protected $rightOperandType = CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation::class;
protected $rightOperandDataType = '';
/**
* The relational operator to be applied to the operands.
*
* @var string
*/
public $validationOperator;
/**
* @param CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation $leftOperand
*/
public function setLeftOperand(CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation $leftOperand)
{
$this->leftOperand = $leftOperand;
}
/**
* @return CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation
*/
public function getLeftOperand()
{
return $this->leftOperand;
}
/**
* @param CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation $rightOperand
*/
public function setRightOperand(CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation $rightOperand)
{
$this->rightOperand = $rightOperand;
}
/**
* @return CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation
*/
public function getRightOperand()
{
return $this->rightOperand;
}
/**
* The relational operator to be applied to the operands.
*
* Accepted values: OPERATION_TYPE_UNSPECIFIED, OPERATION_TYPE_EQ,
* OPERATION_TYPE_NE, OPERATION_TYPE_LT, OPERATION_TYPE_LE, OPERATION_TYPE_GT,
* OPERATION_TYPE_GE
*
* @param self::VALIDATION_OPERATOR_* $validationOperator
*/
public function setValidationOperator($validationOperator)
{
$this->validationOperator = $validationOperator;
}
/**
* @return self::VALIDATION_OPERATOR_*
*/
public function getValidationOperator()
{
return $this->validationOperator;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation::class, 'Google_Service_Document_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation');
@@ -0,0 +1,118 @@
<?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 CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation extends \Google\Collection
{
public const OPERATION_TYPE_OPERATION_TYPE_UNSPECIFIED = 'OPERATION_TYPE_UNSPECIFIED';
public const OPERATION_TYPE_OPERATION_TYPE_SUM = 'OPERATION_TYPE_SUM';
public const OPERATION_TYPE_OPERATION_TYPE_SUB = 'OPERATION_TYPE_SUB';
public const OPERATION_TYPE_OPERATION_TYPE_MUL = 'OPERATION_TYPE_MUL';
public const OPERATION_TYPE_OPERATION_TYPE_DIV = 'OPERATION_TYPE_DIV';
public const OPERATION_TYPE_OPERATION_TYPE_MAX = 'OPERATION_TYPE_MAX';
public const OPERATION_TYPE_OPERATION_TYPE_MIN = 'OPERATION_TYPE_MIN';
public const OPERATION_TYPE_OPERATION_TYPE_ABS = 'OPERATION_TYPE_ABS';
public const OPERATION_TYPE_OPERATION_TYPE_UNIQUE = 'OPERATION_TYPE_UNIQUE';
public const OPERATION_TYPE_OPERATION_TYPE_COUNT = 'OPERATION_TYPE_COUNT';
protected $collection_key = 'operations';
protected $constantsType = CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant::class;
protected $constantsDataType = 'array';
protected $fieldsType = CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField::class;
protected $fieldsDataType = 'array';
/**
* The operation type to be applied to all the operands.
*
* @var string
*/
public $operationType;
protected $operationsType = CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation::class;
protected $operationsDataType = 'array';
/**
* A list of constants to be used as operands.
*
* @param CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant[] $constants
*/
public function setConstants($constants)
{
$this->constants = $constants;
}
/**
* @return CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant[]
*/
public function getConstants()
{
return $this->constants;
}
/**
* A list of fields to be used as operands.
*
* @param CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField[] $fields
*/
public function setFields($fields)
{
$this->fields = $fields;
}
/**
* @return CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField[]
*/
public function getFields()
{
return $this->fields;
}
/**
* The operation type to be applied to all the operands.
*
* Accepted values: OPERATION_TYPE_UNSPECIFIED, OPERATION_TYPE_SUM,
* OPERATION_TYPE_SUB, OPERATION_TYPE_MUL, OPERATION_TYPE_DIV,
* OPERATION_TYPE_MAX, OPERATION_TYPE_MIN, OPERATION_TYPE_ABS,
* OPERATION_TYPE_UNIQUE, OPERATION_TYPE_COUNT
*
* @param self::OPERATION_TYPE_* $operationType
*/
public function setOperationType($operationType)
{
$this->operationType = $operationType;
}
/**
* @return self::OPERATION_TYPE_*
*/
public function getOperationType()
{
return $this->operationType;
}
/**
* A list of recursive operations to be used as operands.
*
* @param CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation[] $operations
*/
public function setOperations($operations)
{
$this->operations = $operations;
}
/**
* @return CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation[]
*/
public function getOperations()
{
return $this->operations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation::class, 'Google_Service_Document_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation');
@@ -0,0 +1,85 @@
<?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 GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata extends \Google\Collection
{
protected $collection_key = 'individualAutoLabelStatuses';
protected $commonMetadataType = GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::class;
protected $commonMetadataDataType = '';
protected $individualAutoLabelStatusesType = GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus::class;
protected $individualAutoLabelStatusesDataType = 'array';
/**
* Total number of the auto-labeling documents.
*
* @var int
*/
public $totalDocumentCount;
/**
* The basic metadata of the long-running operation.
*
* @param GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata
*/
public function setCommonMetadata(GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata)
{
$this->commonMetadata = $commonMetadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
*/
public function getCommonMetadata()
{
return $this->commonMetadata;
}
/**
* The list of individual auto-labeling statuses of the dataset documents.
*
* @param GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus[] $individualAutoLabelStatuses
*/
public function setIndividualAutoLabelStatuses($individualAutoLabelStatuses)
{
$this->individualAutoLabelStatuses = $individualAutoLabelStatuses;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus[]
*/
public function getIndividualAutoLabelStatuses()
{
return $this->individualAutoLabelStatuses;
}
/**
* Total number of the auto-labeling documents.
*
* @param int $totalDocumentCount
*/
public function setTotalDocumentCount($totalDocumentCount)
{
$this->totalDocumentCount = $totalDocumentCount;
}
/**
* @return int
*/
public function getTotalDocumentCount()
{
return $this->totalDocumentCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata');
@@ -0,0 +1,63 @@
<?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 GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus extends \Google\Model
{
protected $documentIdType = GoogleCloudDocumentaiUiv1beta3DocumentId::class;
protected $documentIdDataType = '';
protected $statusType = GoogleRpcStatus::class;
protected $statusDataType = '';
/**
* The document id of the auto-labeled document. This will replace the
* gcs_uri.
*
* @param GoogleCloudDocumentaiUiv1beta3DocumentId $documentId
*/
public function setDocumentId(GoogleCloudDocumentaiUiv1beta3DocumentId $documentId)
{
$this->documentId = $documentId;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3DocumentId
*/
public function getDocumentId()
{
return $this->documentId;
}
/**
* The status of the document auto-labeling.
*
* @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(GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus');
@@ -0,0 +1,25 @@
<?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 GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsResponse::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsResponse');
@@ -0,0 +1,107 @@
<?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 GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata extends \Google\Collection
{
protected $collection_key = 'individualBatchDeleteStatuses';
protected $commonMetadataType = GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::class;
protected $commonMetadataDataType = '';
/**
* Total number of documents that failed to be deleted in storage.
*
* @var int
*/
public $errorDocumentCount;
protected $individualBatchDeleteStatusesType = GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus::class;
protected $individualBatchDeleteStatusesDataType = 'array';
/**
* Total number of documents deleting from dataset.
*
* @var int
*/
public $totalDocumentCount;
/**
* The basic metadata of the long-running operation.
*
* @param GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata
*/
public function setCommonMetadata(GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata)
{
$this->commonMetadata = $commonMetadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
*/
public function getCommonMetadata()
{
return $this->commonMetadata;
}
/**
* Total number of documents that failed to be deleted in storage.
*
* @param int $errorDocumentCount
*/
public function setErrorDocumentCount($errorDocumentCount)
{
$this->errorDocumentCount = $errorDocumentCount;
}
/**
* @return int
*/
public function getErrorDocumentCount()
{
return $this->errorDocumentCount;
}
/**
* The list of response details of each document.
*
* @param GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus[] $individualBatchDeleteStatuses
*/
public function setIndividualBatchDeleteStatuses($individualBatchDeleteStatuses)
{
$this->individualBatchDeleteStatuses = $individualBatchDeleteStatuses;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus[]
*/
public function getIndividualBatchDeleteStatuses()
{
return $this->individualBatchDeleteStatuses;
}
/**
* Total number of documents deleting from dataset.
*
* @param int $totalDocumentCount
*/
public function setTotalDocumentCount($totalDocumentCount)
{
$this->totalDocumentCount = $totalDocumentCount;
}
/**
* @return int
*/
public function getTotalDocumentCount()
{
return $this->totalDocumentCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata');
@@ -0,0 +1,62 @@
<?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 GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus extends \Google\Model
{
protected $documentIdType = GoogleCloudDocumentaiUiv1beta3DocumentId::class;
protected $documentIdDataType = '';
protected $statusType = GoogleRpcStatus::class;
protected $statusDataType = '';
/**
* The document id of the document.
*
* @param GoogleCloudDocumentaiUiv1beta3DocumentId $documentId
*/
public function setDocumentId(GoogleCloudDocumentaiUiv1beta3DocumentId $documentId)
{
$this->documentId = $documentId;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3DocumentId
*/
public function getDocumentId()
{
return $this->documentId;
}
/**
* The status of deleting the document in storage.
*
* @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(GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus');
@@ -0,0 +1,25 @@
<?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 GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse');
@@ -0,0 +1,148 @@
<?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 GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata extends \Google\Collection
{
/**
* Default value if the enum is not set.
*/
public const DEST_DATASET_TYPE_DATASET_SPLIT_TYPE_UNSPECIFIED = 'DATASET_SPLIT_TYPE_UNSPECIFIED';
/**
* Identifies the train documents.
*/
public const DEST_DATASET_TYPE_DATASET_SPLIT_TRAIN = 'DATASET_SPLIT_TRAIN';
/**
* Identifies the test documents.
*/
public const DEST_DATASET_TYPE_DATASET_SPLIT_TEST = 'DATASET_SPLIT_TEST';
/**
* Identifies the unassigned documents.
*/
public const DEST_DATASET_TYPE_DATASET_SPLIT_UNASSIGNED = 'DATASET_SPLIT_UNASSIGNED';
/**
* Default value if the enum is not set.
*/
public const DEST_SPLIT_TYPE_DATASET_SPLIT_TYPE_UNSPECIFIED = 'DATASET_SPLIT_TYPE_UNSPECIFIED';
/**
* Identifies the train documents.
*/
public const DEST_SPLIT_TYPE_DATASET_SPLIT_TRAIN = 'DATASET_SPLIT_TRAIN';
/**
* Identifies the test documents.
*/
public const DEST_SPLIT_TYPE_DATASET_SPLIT_TEST = 'DATASET_SPLIT_TEST';
/**
* Identifies the unassigned documents.
*/
public const DEST_SPLIT_TYPE_DATASET_SPLIT_UNASSIGNED = 'DATASET_SPLIT_UNASSIGNED';
protected $collection_key = 'individualBatchMoveStatuses';
protected $commonMetadataType = GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::class;
protected $commonMetadataDataType = '';
/**
* The destination dataset split type.
*
* @deprecated
* @var string
*/
public $destDatasetType;
/**
* The destination dataset split type.
*
* @var string
*/
public $destSplitType;
protected $individualBatchMoveStatusesType = GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus::class;
protected $individualBatchMoveStatusesDataType = 'array';
/**
* The basic metadata of the long-running operation.
*
* @param GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata
*/
public function setCommonMetadata(GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata)
{
$this->commonMetadata = $commonMetadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
*/
public function getCommonMetadata()
{
return $this->commonMetadata;
}
/**
* The destination dataset split type.
*
* Accepted values: DATASET_SPLIT_TYPE_UNSPECIFIED, DATASET_SPLIT_TRAIN,
* DATASET_SPLIT_TEST, DATASET_SPLIT_UNASSIGNED
*
* @deprecated
* @param self::DEST_DATASET_TYPE_* $destDatasetType
*/
public function setDestDatasetType($destDatasetType)
{
$this->destDatasetType = $destDatasetType;
}
/**
* @deprecated
* @return self::DEST_DATASET_TYPE_*
*/
public function getDestDatasetType()
{
return $this->destDatasetType;
}
/**
* The destination dataset split type.
*
* Accepted values: DATASET_SPLIT_TYPE_UNSPECIFIED, DATASET_SPLIT_TRAIN,
* DATASET_SPLIT_TEST, DATASET_SPLIT_UNASSIGNED
*
* @param self::DEST_SPLIT_TYPE_* $destSplitType
*/
public function setDestSplitType($destSplitType)
{
$this->destSplitType = $destSplitType;
}
/**
* @return self::DEST_SPLIT_TYPE_*
*/
public function getDestSplitType()
{
return $this->destSplitType;
}
/**
* The list of response details of each document.
*
* @param GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus[] $individualBatchMoveStatuses
*/
public function setIndividualBatchMoveStatuses($individualBatchMoveStatuses)
{
$this->individualBatchMoveStatuses = $individualBatchMoveStatuses;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus[]
*/
public function getIndividualBatchMoveStatuses()
{
return $this->individualBatchMoveStatuses;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata');
@@ -0,0 +1,62 @@
<?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 GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus extends \Google\Model
{
protected $documentIdType = GoogleCloudDocumentaiUiv1beta3DocumentId::class;
protected $documentIdDataType = '';
protected $statusType = GoogleRpcStatus::class;
protected $statusDataType = '';
/**
* The document id of the document.
*
* @param GoogleCloudDocumentaiUiv1beta3DocumentId $documentId
*/
public function setDocumentId(GoogleCloudDocumentaiUiv1beta3DocumentId $documentId)
{
$this->documentId = $documentId;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3DocumentId
*/
public function getDocumentId()
{
return $this->documentId;
}
/**
* The status of moving 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(GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus');
@@ -0,0 +1,25 @@
<?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 GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsResponse');
@@ -0,0 +1,63 @@
<?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 GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadata extends \Google\Collection
{
protected $collection_key = 'individualBatchUpdateStatuses';
protected $commonMetadataType = GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::class;
protected $commonMetadataDataType = '';
protected $individualBatchUpdateStatusesType = GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus::class;
protected $individualBatchUpdateStatusesDataType = 'array';
/**
* The basic metadata of the long-running operation.
*
* @param GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata
*/
public function setCommonMetadata(GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata)
{
$this->commonMetadata = $commonMetadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
*/
public function getCommonMetadata()
{
return $this->commonMetadata;
}
/**
* The list of response details of each document.
*
* @param GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus[] $individualBatchUpdateStatuses
*/
public function setIndividualBatchUpdateStatuses($individualBatchUpdateStatuses)
{
$this->individualBatchUpdateStatuses = $individualBatchUpdateStatuses;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus[]
*/
public function getIndividualBatchUpdateStatuses()
{
return $this->individualBatchUpdateStatuses;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadata::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadata');
@@ -0,0 +1,62 @@
<?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 GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus extends \Google\Model
{
protected $documentIdType = GoogleCloudDocumentaiUiv1beta3DocumentId::class;
protected $documentIdDataType = '';
protected $statusType = GoogleRpcStatus::class;
protected $statusDataType = '';
/**
* The document id of the document.
*
* @param GoogleCloudDocumentaiUiv1beta3DocumentId $documentId
*/
public function setDocumentId(GoogleCloudDocumentaiUiv1beta3DocumentId $documentId)
{
$this->documentId = $documentId;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3DocumentId
*/
public function getDocumentId()
{
return $this->documentId;
}
/**
* The status of updating the document in storage.
*
* @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(GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsMetadataIndividualBatchUpdateStatus');
@@ -0,0 +1,25 @@
<?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 GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsResponse::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3BatchUpdateDocumentsResponse');
@@ -0,0 +1,163 @@
<?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 GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata extends \Google\Model
{
/**
* Unspecified state.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* Operation is still running.
*/
public const STATE_RUNNING = 'RUNNING';
/**
* Operation is being cancelled.
*/
public const STATE_CANCELLING = 'CANCELLING';
/**
* Operation succeeded.
*/
public const STATE_SUCCEEDED = 'SUCCEEDED';
/**
* Operation failed.
*/
public const STATE_FAILED = 'FAILED';
/**
* Operation is cancelled.
*/
public const STATE_CANCELLED = 'CANCELLED';
/**
* The creation time of the operation.
*
* @var string
*/
public $createTime;
/**
* A related resource to this operation.
*
* @var string
*/
public $resource;
/**
* The state of the operation.
*
* @var string
*/
public $state;
/**
* A message providing more details about the current state of processing.
*
* @var string
*/
public $stateMessage;
/**
* The last update time of the operation.
*
* @var string
*/
public $updateTime;
/**
* The creation time of the operation.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* A related resource to this operation.
*
* @param string $resource
*/
public function setResource($resource)
{
$this->resource = $resource;
}
/**
* @return string
*/
public function getResource()
{
return $this->resource;
}
/**
* The state of the operation.
*
* Accepted values: STATE_UNSPECIFIED, RUNNING, CANCELLING, SUCCEEDED, FAILED,
* CANCELLED
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* A message providing more details about the current state of processing.
*
* @param string $stateMessage
*/
public function setStateMessage($stateMessage)
{
$this->stateMessage = $stateMessage;
}
/**
* @return string
*/
public function getStateMessage()
{
return $this->stateMessage;
}
/**
* The last update time of the operation.
*
* @param string $updateTime
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata');
@@ -0,0 +1,44 @@
<?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 GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata extends \Google\Model
{
protected $commonMetadataType = GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::class;
protected $commonMetadataDataType = '';
/**
* The basic metadata of the long-running operation.
*
* @param GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata
*/
public function setCommonMetadata(GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata)
{
$this->commonMetadata = $commonMetadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
*/
public function getCommonMetadata()
{
return $this->commonMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata');
@@ -0,0 +1,43 @@
<?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 GoogleCloudDocumentaiUiv1beta3DeleteDataLabelingJobOperationMetadata extends \Google\Model
{
protected $commonMetadataType = GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::class;
protected $commonMetadataDataType = '';
public $commonMetadata;
/**
* @param GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
*/
public function setCommonMetadata(GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata)
{
$this->commonMetadata = $commonMetadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
*/
public function getCommonMetadata()
{
return $this->commonMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3DeleteDataLabelingJobOperationMetadata::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3DeleteDataLabelingJobOperationMetadata');
@@ -0,0 +1,44 @@
<?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 GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata extends \Google\Model
{
protected $commonMetadataType = GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::class;
protected $commonMetadataDataType = '';
/**
* The basic metadata of the long-running operation.
*
* @param GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata
*/
public function setCommonMetadata(GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata)
{
$this->commonMetadata = $commonMetadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
*/
public function getCommonMetadata()
{
return $this->commonMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata');
@@ -0,0 +1,44 @@
<?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 GoogleCloudDocumentaiUiv1beta3DeleteProcessorMetadata extends \Google\Model
{
protected $commonMetadataType = GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::class;
protected $commonMetadataDataType = '';
/**
* The basic metadata of the long-running operation.
*
* @param GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata
*/
public function setCommonMetadata(GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata)
{
$this->commonMetadata = $commonMetadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
*/
public function getCommonMetadata()
{
return $this->commonMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3DeleteProcessorMetadata::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3DeleteProcessorMetadata');
@@ -0,0 +1,44 @@
<?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 GoogleCloudDocumentaiUiv1beta3DeleteProcessorVersionMetadata extends \Google\Model
{
protected $commonMetadataType = GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::class;
protected $commonMetadataDataType = '';
/**
* The basic metadata of the long-running operation.
*
* @param GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata
*/
public function setCommonMetadata(GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata)
{
$this->commonMetadata = $commonMetadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
*/
public function getCommonMetadata()
{
return $this->commonMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3DeleteProcessorVersionMetadata::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3DeleteProcessorVersionMetadata');
@@ -0,0 +1,44 @@
<?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 GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionMetadata extends \Google\Model
{
protected $commonMetadataType = GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::class;
protected $commonMetadataDataType = '';
/**
* The basic metadata of the long-running operation.
*
* @param GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata
*/
public function setCommonMetadata(GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata)
{
$this->commonMetadata = $commonMetadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
*/
public function getCommonMetadata()
{
return $this->commonMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionMetadata::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionMetadata');
@@ -0,0 +1,25 @@
<?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 GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionResponse::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionResponse');
@@ -0,0 +1,44 @@
<?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 GoogleCloudDocumentaiUiv1beta3DisableProcessorMetadata extends \Google\Model
{
protected $commonMetadataType = GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::class;
protected $commonMetadataDataType = '';
/**
* The basic metadata of the long-running operation.
*
* @param GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata
*/
public function setCommonMetadata(GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata)
{
$this->commonMetadata = $commonMetadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
*/
public function getCommonMetadata()
{
return $this->commonMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3DisableProcessorMetadata::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3DisableProcessorMetadata');
@@ -0,0 +1,25 @@
<?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 GoogleCloudDocumentaiUiv1beta3DisableProcessorResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3DisableProcessorResponse::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3DisableProcessorResponse');
@@ -0,0 +1,80 @@
<?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 GoogleCloudDocumentaiUiv1beta3DocumentId extends \Google\Model
{
protected $gcsManagedDocIdType = GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId::class;
protected $gcsManagedDocIdDataType = '';
protected $revisionRefType = GoogleCloudDocumentaiUiv1beta3RevisionRef::class;
protected $revisionRefDataType = '';
protected $unmanagedDocIdType = GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId::class;
protected $unmanagedDocIdDataType = '';
/**
* A document id within user-managed Cloud Storage.
*
* @param GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId $gcsManagedDocId
*/
public function setGcsManagedDocId(GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId $gcsManagedDocId)
{
$this->gcsManagedDocId = $gcsManagedDocId;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId
*/
public function getGcsManagedDocId()
{
return $this->gcsManagedDocId;
}
/**
* Points to a specific revision of the document if set.
*
* @param GoogleCloudDocumentaiUiv1beta3RevisionRef $revisionRef
*/
public function setRevisionRef(GoogleCloudDocumentaiUiv1beta3RevisionRef $revisionRef)
{
$this->revisionRef = $revisionRef;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3RevisionRef
*/
public function getRevisionRef()
{
return $this->revisionRef;
}
/**
* A document id within unmanaged dataset.
*
* @param GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId $unmanagedDocId
*/
public function setUnmanagedDocId(GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId $unmanagedDocId)
{
$this->unmanagedDocId = $unmanagedDocId;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId
*/
public function getUnmanagedDocId()
{
return $this->unmanagedDocId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3DocumentId::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3DocumentId');
@@ -0,0 +1,73 @@
<?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 GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId extends \Google\Model
{
/**
* Id of the document (indexed) managed by Content Warehouse.
*
* @deprecated
* @var string
*/
public $cwDocId;
/**
* Required. The Cloud Storage URI where the actual document is stored.
*
* @var string
*/
public $gcsUri;
/**
* Id of the document (indexed) managed by Content Warehouse.
*
* @deprecated
* @param string $cwDocId
*/
public function setCwDocId($cwDocId)
{
$this->cwDocId = $cwDocId;
}
/**
* @deprecated
* @return string
*/
public function getCwDocId()
{
return $this->cwDocId;
}
/**
* Required. The Cloud Storage URI where the actual document is stored.
*
* @param string $gcsUri
*/
public function setGcsUri($gcsUri)
{
$this->gcsUri = $gcsUri;
}
/**
* @return string
*/
public function getGcsUri()
{
return $this->gcsUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3DocumentIdGCSManagedDocumentId');
@@ -0,0 +1,48 @@
<?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 GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId extends \Google\Model
{
/**
* Required. The id of the document.
*
* @var string
*/
public $docId;
/**
* Required. The id of the document.
*
* @param string $docId
*/
public function setDocId($docId)
{
$this->docId = $docId;
}
/**
* @return string
*/
public function getDocId()
{
return $this->docId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId');
@@ -0,0 +1,133 @@
<?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 GoogleCloudDocumentaiUiv1beta3DocumentSchema extends \Google\Collection
{
protected $collection_key = 'entityTypes';
/**
* Description of the schema.
*
* @var string
*/
public $description;
/**
* Display name to show users.
*
* @var string
*/
public $displayName;
/**
* Optional. Document level prompt provided by the user. This custom text is
* injected into the AI model's prompt to provide extra, document-wide
* guidance for processing.
*
* @var string
*/
public $documentPrompt;
protected $entityTypesType = GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType::class;
protected $entityTypesDataType = 'array';
protected $metadataType = GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata::class;
protected $metadataDataType = '';
/**
* Description of the schema.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Display name to show users.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Optional. Document level prompt provided by the user. This custom text is
* injected into the AI model's prompt to provide extra, document-wide
* guidance for processing.
*
* @param string $documentPrompt
*/
public function setDocumentPrompt($documentPrompt)
{
$this->documentPrompt = $documentPrompt;
}
/**
* @return string
*/
public function getDocumentPrompt()
{
return $this->documentPrompt;
}
/**
* Entity types of the schema.
*
* @param GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType[] $entityTypes
*/
public function setEntityTypes($entityTypes)
{
$this->entityTypes = $entityTypes;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType[]
*/
public function getEntityTypes()
{
return $this->entityTypes;
}
/**
* Metadata of the schema.
*
* @param GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata $metadata
*/
public function setMetadata(GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3DocumentSchema::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3DocumentSchema');
@@ -0,0 +1,192 @@
<?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 GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType extends \Google\Collection
{
protected $collection_key = 'properties';
/**
* The entity type that this type is derived from. For now, one and only one
* should be set.
*
* @var string[]
*/
public $baseTypes;
/**
* The description of the entity type. Could be used to provide more
* information about the entity type for model calls.
*
* @var string
*/
public $description;
/**
* User defined name for the type.
*
* @var string
*/
public $displayName;
protected $entityTypeMetadataType = GoogleCloudDocumentaiUiv1beta3EntityTypeMetadata::class;
protected $entityTypeMetadataDataType = '';
protected $enumValuesType = GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeEnumValues::class;
protected $enumValuesDataType = '';
/**
* Name of the type. It must be unique within the schema file and cannot be a
* "Common Type". The following naming conventions are used: - Use
* `snake_casing`. - Name matching is case-sensitive. - Maximum 64 characters.
* - Must start with a letter. - Allowed characters: ASCII letters
* `[a-z0-9_-]`. (For backward compatibility, internal infrastructure and
* tooling can handle any ASCII character.) - The `/` is sometimes used to
* denote a property of a type. For example `line_item/amount`. This
* convention is deprecated, but will still be honored for backward
* compatibility.
*
* @var string
*/
public $name;
protected $propertiesType = GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeProperty::class;
protected $propertiesDataType = 'array';
/**
* The entity type that this type is derived from. For now, one and only one
* should be set.
*
* @param string[] $baseTypes
*/
public function setBaseTypes($baseTypes)
{
$this->baseTypes = $baseTypes;
}
/**
* @return string[]
*/
public function getBaseTypes()
{
return $this->baseTypes;
}
/**
* The description of the entity type. Could be used to provide more
* information about the entity type for model calls.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* User defined name for the type.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Metadata for the entity type.
*
* @param GoogleCloudDocumentaiUiv1beta3EntityTypeMetadata $entityTypeMetadata
*/
public function setEntityTypeMetadata(GoogleCloudDocumentaiUiv1beta3EntityTypeMetadata $entityTypeMetadata)
{
$this->entityTypeMetadata = $entityTypeMetadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3EntityTypeMetadata
*/
public function getEntityTypeMetadata()
{
return $this->entityTypeMetadata;
}
/**
* If specified, lists all the possible values for this entity. This should
* not be more than a handful of values. If the number of values is >10 or
* could change frequently, use the `EntityType.value_ontology` field and
* specify a list of all possible values in a value ontology file.
*
* @param GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeEnumValues $enumValues
*/
public function setEnumValues(GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeEnumValues $enumValues)
{
$this->enumValues = $enumValues;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeEnumValues
*/
public function getEnumValues()
{
return $this->enumValues;
}
/**
* Name of the type. It must be unique within the schema file and cannot be a
* "Common Type". The following naming conventions are used: - Use
* `snake_casing`. - Name matching is case-sensitive. - Maximum 64 characters.
* - Must start with a letter. - Allowed characters: ASCII letters
* `[a-z0-9_-]`. (For backward compatibility, internal infrastructure and
* tooling can handle any ASCII character.) - The `/` is sometimes used to
* denote a property of a type. For example `line_item/amount`. This
* convention is deprecated, but will still be honored for backward
* compatibility.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Description the nested structure, or composition of an entity.
*
* @param GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeProperty[] $properties
*/
public function setProperties($properties)
{
$this->properties = $properties;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeProperty[]
*/
public function getProperties()
{
return $this->properties;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityType');
@@ -0,0 +1,49 @@
<?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 GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeEnumValues extends \Google\Collection
{
protected $collection_key = 'values';
/**
* The individual values that this enum values type can include.
*
* @var string[]
*/
public $values;
/**
* The individual values that this enum values type can include.
*
* @param string[] $values
*/
public function setValues($values)
{
$this->values = $values;
}
/**
* @return string[]
*/
public function getValues()
{
return $this->values;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeEnumValues::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeEnumValues');
@@ -0,0 +1,231 @@
<?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 GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeProperty extends \Google\Model
{
/**
* Unspecified method. It defaults to `EXTRACT`.
*/
public const METHOD_METHOD_UNSPECIFIED = 'METHOD_UNSPECIFIED';
/**
* The entity's value is directly extracted as-is from the document text.
*/
public const METHOD_EXTRACT = 'EXTRACT';
/**
* The entity's value is derived through inference and is not necessarily an
* exact text extraction from the document.
*/
public const METHOD_DERIVE = 'DERIVE';
/**
* Attempts to extract the position and value as-is from the document text. If
* the value cannot be grounded in the text, it falls back to derivation
* through inference, for both position and value. Note: The inference
* fallback is currently only supported for boolean entities.
*/
public const METHOD_RELAXED_EXTRACT = 'RELAXED_EXTRACT';
/**
* Unspecified occurrence type.
*/
public const OCCURRENCE_TYPE_OCCURRENCE_TYPE_UNSPECIFIED = 'OCCURRENCE_TYPE_UNSPECIFIED';
/**
* There will be zero or one instance of this entity type. The same entity
* instance may be mentioned multiple times.
*/
public const OCCURRENCE_TYPE_OPTIONAL_ONCE = 'OPTIONAL_ONCE';
/**
* The entity type will appear zero or multiple times.
*/
public const OCCURRENCE_TYPE_OPTIONAL_MULTIPLE = 'OPTIONAL_MULTIPLE';
/**
* The entity type will only appear exactly once. The same entity instance may
* be mentioned multiple times.
*/
public const OCCURRENCE_TYPE_REQUIRED_ONCE = 'REQUIRED_ONCE';
/**
* The entity type will appear once or more times.
*/
public const OCCURRENCE_TYPE_REQUIRED_MULTIPLE = 'REQUIRED_MULTIPLE';
/**
* The description of the property. Could be used to provide more information
* about the property for model calls.
*
* @var string
*/
public $description;
/**
* User defined name for the property.
*
* @var string
*/
public $displayName;
/**
* Specifies how the entity's value is obtained.
*
* @var string
*/
public $method;
/**
* The name of the property. Follows the same guidelines as the EntityType
* name.
*
* @var string
*/
public $name;
/**
* Occurrence type limits the number of instances an entity type appears in
* the document.
*
* @var string
*/
public $occurrenceType;
protected $propertyMetadataType = GoogleCloudDocumentaiUiv1beta3PropertyMetadata::class;
protected $propertyMetadataDataType = '';
/**
* A reference to the value type of the property. This type is subject to the
* same conventions as the `Entity.base_types` field.
*
* @var string
*/
public $valueType;
/**
* The description of the property. Could be used to provide more information
* about the property for model calls.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* User defined name for the property.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Specifies how the entity's value is obtained.
*
* Accepted values: METHOD_UNSPECIFIED, EXTRACT, DERIVE, RELAXED_EXTRACT
*
* @param self::METHOD_* $method
*/
public function setMethod($method)
{
$this->method = $method;
}
/**
* @return self::METHOD_*
*/
public function getMethod()
{
return $this->method;
}
/**
* The name of the property. Follows the same guidelines as the EntityType
* name.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Occurrence type limits the number of instances an entity type appears in
* the document.
*
* Accepted values: OCCURRENCE_TYPE_UNSPECIFIED, OPTIONAL_ONCE,
* OPTIONAL_MULTIPLE, REQUIRED_ONCE, REQUIRED_MULTIPLE
*
* @param self::OCCURRENCE_TYPE_* $occurrenceType
*/
public function setOccurrenceType($occurrenceType)
{
$this->occurrenceType = $occurrenceType;
}
/**
* @return self::OCCURRENCE_TYPE_*
*/
public function getOccurrenceType()
{
return $this->occurrenceType;
}
/**
* Any additional metadata about the property can be added here.
*
* @param GoogleCloudDocumentaiUiv1beta3PropertyMetadata $propertyMetadata
*/
public function setPropertyMetadata(GoogleCloudDocumentaiUiv1beta3PropertyMetadata $propertyMetadata)
{
$this->propertyMetadata = $propertyMetadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3PropertyMetadata
*/
public function getPropertyMetadata()
{
return $this->propertyMetadata;
}
/**
* A reference to the value type of the property. This type is subject to the
* same conventions as the `Entity.base_types` field.
*
* @param string $valueType
*/
public function setValueType($valueType)
{
$this->valueType = $valueType;
}
/**
* @return string
*/
public function getValueType()
{
return $this->valueType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeProperty::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3DocumentSchemaEntityTypeProperty');
@@ -0,0 +1,124 @@
<?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 GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata extends \Google\Model
{
/**
* If true, on a given page, there can be multiple `document` annotations
* covering it.
*
* @var bool
*/
public $documentAllowMultipleLabels;
/**
* If true, a `document` entity type can be applied to subdocument
* (splitting). Otherwise, it can only be applied to the entire document
* (classification).
*
* @var bool
*/
public $documentSplitter;
/**
* If set, all the nested entities must be prefixed with the parents.
*
* @var bool
*/
public $prefixedNamingOnProperties;
/**
* If set, this will skip the naming format validation in the schema. So the
* string values in `DocumentSchema.EntityType.name` and
* `DocumentSchema.EntityType.Property.name` will not be checked.
*
* @var bool
*/
public $skipNamingValidation;
/**
* If true, on a given page, there can be multiple `document` annotations
* covering it.
*
* @param bool $documentAllowMultipleLabels
*/
public function setDocumentAllowMultipleLabels($documentAllowMultipleLabels)
{
$this->documentAllowMultipleLabels = $documentAllowMultipleLabels;
}
/**
* @return bool
*/
public function getDocumentAllowMultipleLabels()
{
return $this->documentAllowMultipleLabels;
}
/**
* If true, a `document` entity type can be applied to subdocument
* (splitting). Otherwise, it can only be applied to the entire document
* (classification).
*
* @param bool $documentSplitter
*/
public function setDocumentSplitter($documentSplitter)
{
$this->documentSplitter = $documentSplitter;
}
/**
* @return bool
*/
public function getDocumentSplitter()
{
return $this->documentSplitter;
}
/**
* If set, all the nested entities must be prefixed with the parents.
*
* @param bool $prefixedNamingOnProperties
*/
public function setPrefixedNamingOnProperties($prefixedNamingOnProperties)
{
$this->prefixedNamingOnProperties = $prefixedNamingOnProperties;
}
/**
* @return bool
*/
public function getPrefixedNamingOnProperties()
{
return $this->prefixedNamingOnProperties;
}
/**
* If set, this will skip the naming format validation in the schema. So the
* string values in `DocumentSchema.EntityType.name` and
* `DocumentSchema.EntityType.Property.name` will not be checked.
*
* @param bool $skipNamingValidation
*/
public function setSkipNamingValidation($skipNamingValidation)
{
$this->skipNamingValidation = $skipNamingValidation;
}
/**
* @return bool
*/
public function getSkipNamingValidation()
{
return $this->skipNamingValidation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3DocumentSchemaMetadata');
@@ -0,0 +1,44 @@
<?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 GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata extends \Google\Model
{
protected $commonMetadataType = GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::class;
protected $commonMetadataDataType = '';
/**
* The basic metadata of the long-running operation.
*
* @param GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata
*/
public function setCommonMetadata(GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata)
{
$this->commonMetadata = $commonMetadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
*/
public function getCommonMetadata()
{
return $this->commonMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata');
@@ -0,0 +1,25 @@
<?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 GoogleCloudDocumentaiUiv1beta3EnableProcessorResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3EnableProcessorResponse::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3EnableProcessorResponse');
@@ -0,0 +1,138 @@
<?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 GoogleCloudDocumentaiUiv1beta3EntityTypeMetadata extends \Google\Model
{
protected $fieldTierMetadataType = GoogleCloudDocumentaiUiv1beta3FieldTierMetadata::class;
protected $fieldTierMetadataDataType = '';
protected $humanReviewLabelingMetadataType = GoogleCloudDocumentaiUiv1beta3HumanReviewLabelingMetadata::class;
protected $humanReviewLabelingMetadataDataType = '';
protected $humanReviewMetadataType = GoogleCloudDocumentaiUiv1beta3HumanReviewValidationMetadata::class;
protected $humanReviewMetadataDataType = '';
/**
* Whether the entity type should be considered inactive.
*
* @var bool
*/
public $inactive;
protected $schemaEditabilityMetadataType = GoogleCloudDocumentaiUiv1beta3SchemaEditabilityMetadata::class;
protected $schemaEditabilityMetadataDataType = '';
protected $schemaInferenceMetadataType = GoogleCloudDocumentaiUiv1beta3SchemaInferenceMetadata::class;
protected $schemaInferenceMetadataDataType = '';
/**
* Field tier metadata on the property
*
* @param GoogleCloudDocumentaiUiv1beta3FieldTierMetadata $fieldTierMetadata
*/
public function setFieldTierMetadata(GoogleCloudDocumentaiUiv1beta3FieldTierMetadata $fieldTierMetadata)
{
$this->fieldTierMetadata = $fieldTierMetadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3FieldTierMetadata
*/
public function getFieldTierMetadata()
{
return $this->fieldTierMetadata;
}
/**
* Human review labeling config on the entity.
*
* @param GoogleCloudDocumentaiUiv1beta3HumanReviewLabelingMetadata $humanReviewLabelingMetadata
*/
public function setHumanReviewLabelingMetadata(GoogleCloudDocumentaiUiv1beta3HumanReviewLabelingMetadata $humanReviewLabelingMetadata)
{
$this->humanReviewLabelingMetadata = $humanReviewLabelingMetadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3HumanReviewLabelingMetadata
*/
public function getHumanReviewLabelingMetadata()
{
return $this->humanReviewLabelingMetadata;
}
/**
* Human review config on the entity.
*
* @param GoogleCloudDocumentaiUiv1beta3HumanReviewValidationMetadata $humanReviewMetadata
*/
public function setHumanReviewMetadata(GoogleCloudDocumentaiUiv1beta3HumanReviewValidationMetadata $humanReviewMetadata)
{
$this->humanReviewMetadata = $humanReviewMetadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3HumanReviewValidationMetadata
*/
public function getHumanReviewMetadata()
{
return $this->humanReviewMetadata;
}
/**
* Whether the entity type should be considered inactive.
*
* @param bool $inactive
*/
public function setInactive($inactive)
{
$this->inactive = $inactive;
}
/**
* @return bool
*/
public function getInactive()
{
return $this->inactive;
}
/**
* Schema editability metadata on the entity.
*
* @param GoogleCloudDocumentaiUiv1beta3SchemaEditabilityMetadata $schemaEditabilityMetadata
*/
public function setSchemaEditabilityMetadata(GoogleCloudDocumentaiUiv1beta3SchemaEditabilityMetadata $schemaEditabilityMetadata)
{
$this->schemaEditabilityMetadata = $schemaEditabilityMetadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3SchemaEditabilityMetadata
*/
public function getSchemaEditabilityMetadata()
{
return $this->schemaEditabilityMetadata;
}
/**
* Schema inference metadata on the entity.
*
* @param GoogleCloudDocumentaiUiv1beta3SchemaInferenceMetadata $schemaInferenceMetadata
*/
public function setSchemaInferenceMetadata(GoogleCloudDocumentaiUiv1beta3SchemaInferenceMetadata $schemaInferenceMetadata)
{
$this->schemaInferenceMetadata = $schemaInferenceMetadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3SchemaInferenceMetadata
*/
public function getSchemaInferenceMetadata()
{
return $this->schemaInferenceMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3EntityTypeMetadata::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3EntityTypeMetadata');
@@ -0,0 +1,44 @@
<?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 GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionMetadata extends \Google\Model
{
protected $commonMetadataType = GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::class;
protected $commonMetadataDataType = '';
/**
* The basic metadata of the long-running operation.
*
* @param GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata
*/
public function setCommonMetadata(GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata)
{
$this->commonMetadata = $commonMetadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
*/
public function getCommonMetadata()
{
return $this->commonMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionMetadata::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionMetadata');
@@ -0,0 +1,48 @@
<?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 GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionResponse extends \Google\Model
{
/**
* The resource name of the created evaluation.
*
* @var string
*/
public $evaluation;
/**
* The resource name of the created evaluation.
*
* @param string $evaluation
*/
public function setEvaluation($evaluation)
{
$this->evaluation = $evaluation;
}
/**
* @return string
*/
public function getEvaluation()
{
return $this->evaluation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionResponse::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3EvaluateProcessorVersionResponse');
@@ -0,0 +1,268 @@
<?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 GoogleCloudDocumentaiUiv1beta3EvaluationMetrics extends \Google\Model
{
/**
* The calculated F1 score.
*
* @var float
*/
public $f1Score;
/**
* The amount of false negatives.
*
* @var int
*/
public $falseNegativesCount;
/**
* The amount of false positives.
*
* @var int
*/
public $falsePositivesCount;
/**
* The amount of documents with a ground truth occurrence.
*
* @var int
*/
public $groundTruthDocumentCount;
/**
* The amount of occurrences in ground truth documents.
*
* @var int
*/
public $groundTruthOccurrencesCount;
/**
* The calculated precision.
*
* @var float
*/
public $precision;
/**
* The amount of documents with a predicted occurrence.
*
* @var int
*/
public $predictedDocumentCount;
/**
* The amount of occurrences in predicted documents.
*
* @var int
*/
public $predictedOccurrencesCount;
/**
* The calculated recall.
*
* @var float
*/
public $recall;
/**
* The amount of documents that had an occurrence of this label.
*
* @var int
*/
public $totalDocumentsCount;
/**
* The amount of true positives.
*
* @var int
*/
public $truePositivesCount;
/**
* The calculated F1 score.
*
* @param float $f1Score
*/
public function setF1Score($f1Score)
{
$this->f1Score = $f1Score;
}
/**
* @return float
*/
public function getF1Score()
{
return $this->f1Score;
}
/**
* The amount of false negatives.
*
* @param int $falseNegativesCount
*/
public function setFalseNegativesCount($falseNegativesCount)
{
$this->falseNegativesCount = $falseNegativesCount;
}
/**
* @return int
*/
public function getFalseNegativesCount()
{
return $this->falseNegativesCount;
}
/**
* The amount of false positives.
*
* @param int $falsePositivesCount
*/
public function setFalsePositivesCount($falsePositivesCount)
{
$this->falsePositivesCount = $falsePositivesCount;
}
/**
* @return int
*/
public function getFalsePositivesCount()
{
return $this->falsePositivesCount;
}
/**
* The amount of documents with a ground truth occurrence.
*
* @param int $groundTruthDocumentCount
*/
public function setGroundTruthDocumentCount($groundTruthDocumentCount)
{
$this->groundTruthDocumentCount = $groundTruthDocumentCount;
}
/**
* @return int
*/
public function getGroundTruthDocumentCount()
{
return $this->groundTruthDocumentCount;
}
/**
* The amount of occurrences in ground truth documents.
*
* @param int $groundTruthOccurrencesCount
*/
public function setGroundTruthOccurrencesCount($groundTruthOccurrencesCount)
{
$this->groundTruthOccurrencesCount = $groundTruthOccurrencesCount;
}
/**
* @return int
*/
public function getGroundTruthOccurrencesCount()
{
return $this->groundTruthOccurrencesCount;
}
/**
* The calculated precision.
*
* @param float $precision
*/
public function setPrecision($precision)
{
$this->precision = $precision;
}
/**
* @return float
*/
public function getPrecision()
{
return $this->precision;
}
/**
* The amount of documents with a predicted occurrence.
*
* @param int $predictedDocumentCount
*/
public function setPredictedDocumentCount($predictedDocumentCount)
{
$this->predictedDocumentCount = $predictedDocumentCount;
}
/**
* @return int
*/
public function getPredictedDocumentCount()
{
return $this->predictedDocumentCount;
}
/**
* The amount of occurrences in predicted documents.
*
* @param int $predictedOccurrencesCount
*/
public function setPredictedOccurrencesCount($predictedOccurrencesCount)
{
$this->predictedOccurrencesCount = $predictedOccurrencesCount;
}
/**
* @return int
*/
public function getPredictedOccurrencesCount()
{
return $this->predictedOccurrencesCount;
}
/**
* The calculated recall.
*
* @param float $recall
*/
public function setRecall($recall)
{
$this->recall = $recall;
}
/**
* @return float
*/
public function getRecall()
{
return $this->recall;
}
/**
* The amount of documents that had an occurrence of this label.
*
* @param int $totalDocumentsCount
*/
public function setTotalDocumentsCount($totalDocumentsCount)
{
$this->totalDocumentsCount = $totalDocumentsCount;
}
/**
* @return int
*/
public function getTotalDocumentsCount()
{
return $this->totalDocumentsCount;
}
/**
* The amount of true positives.
*
* @param int $truePositivesCount
*/
public function setTruePositivesCount($truePositivesCount)
{
$this->truePositivesCount = $truePositivesCount;
}
/**
* @return int
*/
public function getTruePositivesCount()
{
return $this->truePositivesCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3EvaluationMetrics::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3EvaluationMetrics');
@@ -0,0 +1,106 @@
<?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 GoogleCloudDocumentaiUiv1beta3EvaluationReference extends \Google\Model
{
protected $aggregateMetricsType = GoogleCloudDocumentaiUiv1beta3EvaluationMetrics::class;
protected $aggregateMetricsDataType = '';
protected $aggregateMetricsExactType = GoogleCloudDocumentaiUiv1beta3EvaluationMetrics::class;
protected $aggregateMetricsExactDataType = '';
/**
* The resource name of the evaluation.
*
* @var string
*/
public $evaluation;
/**
* The resource name of the Long Running Operation for the evaluation.
*
* @var string
*/
public $operation;
/**
* An aggregate of the statistics for the evaluation with fuzzy matching on.
*
* @param GoogleCloudDocumentaiUiv1beta3EvaluationMetrics $aggregateMetrics
*/
public function setAggregateMetrics(GoogleCloudDocumentaiUiv1beta3EvaluationMetrics $aggregateMetrics)
{
$this->aggregateMetrics = $aggregateMetrics;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3EvaluationMetrics
*/
public function getAggregateMetrics()
{
return $this->aggregateMetrics;
}
/**
* An aggregate of the statistics for the evaluation with fuzzy matching off.
*
* @param GoogleCloudDocumentaiUiv1beta3EvaluationMetrics $aggregateMetricsExact
*/
public function setAggregateMetricsExact(GoogleCloudDocumentaiUiv1beta3EvaluationMetrics $aggregateMetricsExact)
{
$this->aggregateMetricsExact = $aggregateMetricsExact;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3EvaluationMetrics
*/
public function getAggregateMetricsExact()
{
return $this->aggregateMetricsExact;
}
/**
* The resource name of the evaluation.
*
* @param string $evaluation
*/
public function setEvaluation($evaluation)
{
$this->evaluation = $evaluation;
}
/**
* @return string
*/
public function getEvaluation()
{
return $this->evaluation;
}
/**
* The resource name of the Long Running Operation for the evaluation.
*
* @param string $operation
*/
public function setOperation($operation)
{
$this->operation = $operation;
}
/**
* @return string
*/
public function getOperation()
{
return $this->operation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3EvaluationReference::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3EvaluationReference');
@@ -0,0 +1,81 @@
<?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 GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata extends \Google\Collection
{
protected $collection_key = 'splitExportStats';
protected $commonMetadataType = GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::class;
protected $commonMetadataDataType = '';
protected $individualExportStatusesType = GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus::class;
protected $individualExportStatusesDataType = 'array';
protected $splitExportStatsType = GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat::class;
protected $splitExportStatsDataType = 'array';
/**
* The basic metadata of the long-running operation.
*
* @param GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata
*/
public function setCommonMetadata(GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata)
{
$this->commonMetadata = $commonMetadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
*/
public function getCommonMetadata()
{
return $this->commonMetadata;
}
/**
* The list of response details of each document.
*
* @param GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus[] $individualExportStatuses
*/
public function setIndividualExportStatuses($individualExportStatuses)
{
$this->individualExportStatuses = $individualExportStatuses;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus[]
*/
public function getIndividualExportStatuses()
{
return $this->individualExportStatuses;
}
/**
* The list of statistics for each dataset split type.
*
* @param GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat[] $splitExportStats
*/
public function setSplitExportStats($splitExportStats)
{
$this->splitExportStats = $splitExportStats;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat[]
*/
public function getSplitExportStats()
{
return $this->splitExportStats;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadata');
@@ -0,0 +1,86 @@
<?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 GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus extends \Google\Model
{
protected $documentIdType = GoogleCloudDocumentaiUiv1beta3DocumentId::class;
protected $documentIdDataType = '';
/**
* The output_gcs_destination of the exported document if it was successful,
* otherwise empty.
*
* @var string
*/
public $outputGcsDestination;
protected $statusType = GoogleRpcStatus::class;
protected $statusDataType = '';
/**
* The path to source docproto of the document.
*
* @param GoogleCloudDocumentaiUiv1beta3DocumentId $documentId
*/
public function setDocumentId(GoogleCloudDocumentaiUiv1beta3DocumentId $documentId)
{
$this->documentId = $documentId;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3DocumentId
*/
public function getDocumentId()
{
return $this->documentId;
}
/**
* The output_gcs_destination of the exported 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 of the exporting of 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(GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataIndividualExportStatus');
@@ -0,0 +1,89 @@
<?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 GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat extends \Google\Model
{
/**
* Default value if the enum is not set.
*/
public const SPLIT_TYPE_DATASET_SPLIT_TYPE_UNSPECIFIED = 'DATASET_SPLIT_TYPE_UNSPECIFIED';
/**
* Identifies the train documents.
*/
public const SPLIT_TYPE_DATASET_SPLIT_TRAIN = 'DATASET_SPLIT_TRAIN';
/**
* Identifies the test documents.
*/
public const SPLIT_TYPE_DATASET_SPLIT_TEST = 'DATASET_SPLIT_TEST';
/**
* Identifies the unassigned documents.
*/
public const SPLIT_TYPE_DATASET_SPLIT_UNASSIGNED = 'DATASET_SPLIT_UNASSIGNED';
/**
* The dataset split type.
*
* @var string
*/
public $splitType;
/**
* Total number of documents with the given dataset split type to be exported.
*
* @var int
*/
public $totalDocumentCount;
/**
* The dataset split type.
*
* Accepted values: DATASET_SPLIT_TYPE_UNSPECIFIED, DATASET_SPLIT_TRAIN,
* DATASET_SPLIT_TEST, DATASET_SPLIT_UNASSIGNED
*
* @param self::SPLIT_TYPE_* $splitType
*/
public function setSplitType($splitType)
{
$this->splitType = $splitType;
}
/**
* @return self::SPLIT_TYPE_*
*/
public function getSplitType()
{
return $this->splitType;
}
/**
* Total number of documents with the given dataset split type to be exported.
*
* @param int $totalDocumentCount
*/
public function setTotalDocumentCount($totalDocumentCount)
{
$this->totalDocumentCount = $totalDocumentCount;
}
/**
* @return int
*/
public function getTotalDocumentCount()
{
return $this->totalDocumentCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3ExportDocumentsMetadataSplitExportStat');
@@ -0,0 +1,25 @@
<?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 GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3ExportDocumentsResponse');
@@ -0,0 +1,44 @@
<?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 GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata extends \Google\Model
{
protected $commonMetadataType = GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::class;
protected $commonMetadataDataType = '';
/**
* The common metadata about the operation.
*
* @param GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata
*/
public function setCommonMetadata(GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata)
{
$this->commonMetadata = $commonMetadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
*/
public function getCommonMetadata()
{
return $this->commonMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionMetadata');
@@ -0,0 +1,48 @@
<?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 GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionResponse extends \Google\Model
{
/**
* The Cloud Storage URI containing the output artifacts.
*
* @var string
*/
public $gcsUri;
/**
* The Cloud Storage URI containing the output artifacts.
*
* @param string $gcsUri
*/
public function setGcsUri($gcsUri)
{
$this->gcsUri = $gcsUri;
}
/**
* @return string
*/
public function getGcsUri()
{
return $this->gcsUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionResponse::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3ExportProcessorVersionResponse');
@@ -0,0 +1,62 @@
<?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 GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadata extends \Google\Model
{
protected $entityQueryType = GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadataEntityQuery::class;
protected $entityQueryDataType = '';
protected $summaryOptionsType = GoogleCloudDocumentaiUiv1beta3SummaryOptions::class;
protected $summaryOptionsDataType = '';
/**
* Entity query config.
*
* @param GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadataEntityQuery $entityQuery
*/
public function setEntityQuery(GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadataEntityQuery $entityQuery)
{
$this->entityQuery = $entityQuery;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadataEntityQuery
*/
public function getEntityQuery()
{
return $this->entityQuery;
}
/**
* Summary options config.
*
* @param GoogleCloudDocumentaiUiv1beta3SummaryOptions $summaryOptions
*/
public function setSummaryOptions(GoogleCloudDocumentaiUiv1beta3SummaryOptions $summaryOptions)
{
$this->summaryOptions = $summaryOptions;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3SummaryOptions
*/
public function getSummaryOptions()
{
return $this->summaryOptions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadata::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadata');
@@ -0,0 +1,48 @@
<?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 GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadataEntityQuery extends \Google\Model
{
/**
* The original entity query inputed by the user.
*
* @var string
*/
public $userEntityQuery;
/**
* The original entity query inputed by the user.
*
* @param string $userEntityQuery
*/
public function setUserEntityQuery($userEntityQuery)
{
$this->userEntityQuery = $userEntityQuery;
}
/**
* @return string
*/
public function getUserEntityQuery()
{
return $this->userEntityQuery;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadataEntityQuery::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadataEntityQuery');
@@ -0,0 +1,56 @@
<?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 GoogleCloudDocumentaiUiv1beta3FieldTierMetadata extends \Google\Model
{
/**
* Integer that indicates the tier of a property. e.g. Invoice has entities
* that are classified as tier 1 which is the most important, while tier 2 and
* tier 3 less so. This attribute can be used to filter schema attributes
* before running eval. e.g. compute F1 score for only tier 1 entities. If not
* present this attribute should be inferred as 1.
*
* @var int
*/
public $tierLevel;
/**
* Integer that indicates the tier of a property. e.g. Invoice has entities
* that are classified as tier 1 which is the most important, while tier 2 and
* tier 3 less so. This attribute can be used to filter schema attributes
* before running eval. e.g. compute F1 score for only tier 1 entities. If not
* present this attribute should be inferred as 1.
*
* @param int $tierLevel
*/
public function setTierLevel($tierLevel)
{
$this->tierLevel = $tierLevel;
}
/**
* @return int
*/
public function getTierLevel()
{
return $this->tierLevel;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3FieldTierMetadata::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3FieldTierMetadata');
@@ -0,0 +1,48 @@
<?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 GoogleCloudDocumentaiUiv1beta3HumanReviewLabelingMetadata extends \Google\Model
{
/**
* Whether to enable normalization editing.
*
* @var bool
*/
public $enableNormalizationEditing;
/**
* Whether to enable normalization editing.
*
* @param bool $enableNormalizationEditing
*/
public function setEnableNormalizationEditing($enableNormalizationEditing)
{
$this->enableNormalizationEditing = $enableNormalizationEditing;
}
/**
* @return bool
*/
public function getEnableNormalizationEditing()
{
return $this->enableNormalizationEditing;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3HumanReviewLabelingMetadata::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3HumanReviewLabelingMetadata');
@@ -0,0 +1,70 @@
<?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 GoogleCloudDocumentaiUiv1beta3HumanReviewValidationMetadata extends \Google\Model
{
/**
* The confidence threshold if human review validation is enabled.
*
* @var float
*/
public $confidenceThreshold;
/**
* Whether to enable human review validation.
*
* @var bool
*/
public $enableValidation;
/**
* The confidence threshold if human review validation is enabled.
*
* @param float $confidenceThreshold
*/
public function setConfidenceThreshold($confidenceThreshold)
{
$this->confidenceThreshold = $confidenceThreshold;
}
/**
* @return float
*/
public function getConfidenceThreshold()
{
return $this->confidenceThreshold;
}
/**
* Whether to enable human review validation.
*
* @param bool $enableValidation
*/
public function setEnableValidation($enableValidation)
{
$this->enableValidation = $enableValidation;
}
/**
* @return bool
*/
public function getEnableValidation()
{
return $this->enableValidation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3HumanReviewValidationMetadata::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3HumanReviewValidationMetadata');
@@ -0,0 +1,103 @@
<?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 GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata extends \Google\Collection
{
protected $collection_key = 'individualImportStatuses';
protected $commonMetadataType = GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::class;
protected $commonMetadataDataType = '';
protected $importConfigValidationResultsType = GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult::class;
protected $importConfigValidationResultsDataType = 'array';
protected $individualImportStatusesType = GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus::class;
protected $individualImportStatusesDataType = 'array';
/**
* Total number of the documents that are qualified for importing.
*
* @var int
*/
public $totalDocumentCount;
/**
* The basic metadata of the long-running operation.
*
* @param GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata
*/
public function setCommonMetadata(GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata)
{
$this->commonMetadata = $commonMetadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
*/
public function getCommonMetadata()
{
return $this->commonMetadata;
}
/**
* Validation statuses of the batch documents import config.
*
* @param GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult[] $importConfigValidationResults
*/
public function setImportConfigValidationResults($importConfigValidationResults)
{
$this->importConfigValidationResults = $importConfigValidationResults;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult[]
*/
public function getImportConfigValidationResults()
{
return $this->importConfigValidationResults;
}
/**
* The list of response details of each document.
*
* @param GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus[] $individualImportStatuses
*/
public function setIndividualImportStatuses($individualImportStatuses)
{
$this->individualImportStatuses = $individualImportStatuses;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus[]
*/
public function getIndividualImportStatuses()
{
return $this->individualImportStatuses;
}
/**
* Total number of the documents that are qualified for importing.
*
* @param int $totalDocumentCount
*/
public function setTotalDocumentCount($totalDocumentCount)
{
$this->totalDocumentCount = $totalDocumentCount;
}
/**
* @return int
*/
public function getTotalDocumentCount()
{
return $this->totalDocumentCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadata');
@@ -0,0 +1,66 @@
<?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 GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult extends \Google\Model
{
/**
* The source Cloud Storage URI specified in the import config.
*
* @var string
*/
public $inputGcsSource;
protected $statusType = GoogleRpcStatus::class;
protected $statusDataType = '';
/**
* The source Cloud Storage URI specified in the import config.
*
* @param string $inputGcsSource
*/
public function setInputGcsSource($inputGcsSource)
{
$this->inputGcsSource = $inputGcsSource;
}
/**
* @return string
*/
public function getInputGcsSource()
{
return $this->inputGcsSource;
}
/**
* The validation status of import config.
*
* @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(GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult');
@@ -0,0 +1,108 @@
<?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 GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus extends \Google\Model
{
/**
* The source Cloud Storage URI of the document.
*
* @var string
*/
public $inputGcsSource;
protected $outputDocumentIdType = GoogleCloudDocumentaiUiv1beta3DocumentId::class;
protected $outputDocumentIdDataType = '';
/**
* The output_gcs_destination of the processed document if it was successful,
* otherwise empty.
*
* @var string
*/
public $outputGcsDestination;
protected $statusType = GoogleRpcStatus::class;
protected $statusDataType = '';
/**
* The source Cloud Storage URI of the document.
*
* @param string $inputGcsSource
*/
public function setInputGcsSource($inputGcsSource)
{
$this->inputGcsSource = $inputGcsSource;
}
/**
* @return string
*/
public function getInputGcsSource()
{
return $this->inputGcsSource;
}
/**
* The document id of imported document if it was successful, otherwise empty.
*
* @param GoogleCloudDocumentaiUiv1beta3DocumentId $outputDocumentId
*/
public function setOutputDocumentId(GoogleCloudDocumentaiUiv1beta3DocumentId $outputDocumentId)
{
$this->outputDocumentId = $outputDocumentId;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3DocumentId
*/
public function getOutputDocumentId()
{
return $this->outputDocumentId;
}
/**
* The output_gcs_destination 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 of the importing of 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(GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus');
@@ -0,0 +1,25 @@
<?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 GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3ImportDocumentsResponse');
@@ -0,0 +1,44 @@
<?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 GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata extends \Google\Model
{
protected $commonMetadataType = GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::class;
protected $commonMetadataDataType = '';
/**
* The basic metadata for the long-running operation.
*
* @param GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata
*/
public function setCommonMetadata(GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata)
{
$this->commonMetadata = $commonMetadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
*/
public function getCommonMetadata()
{
return $this->commonMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionMetadata');
@@ -0,0 +1,48 @@
<?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 GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse extends \Google\Model
{
/**
* The destination processor version name.
*
* @var string
*/
public $processorVersion;
/**
* The destination processor version name.
*
* @param string $processorVersion
*/
public function setProcessorVersion($processorVersion)
{
$this->processorVersion = $processorVersion;
}
/**
* @return string
*/
public function getProcessorVersion()
{
return $this->processorVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3ImportProcessorVersionResponse');
@@ -0,0 +1,341 @@
<?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 GoogleCloudDocumentaiUiv1beta3Processor extends \Google\Collection
{
/**
* The processor is in an unspecified state.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* The processor is enabled, i.e., has an enabled version which can currently
* serve processing requests and all the feature dependencies have been
* successfully initialized.
*/
public const STATE_ENABLED = 'ENABLED';
/**
* The processor is disabled.
*/
public const STATE_DISABLED = 'DISABLED';
/**
* The processor is being enabled, will become `ENABLED` if successful.
*/
public const STATE_ENABLING = 'ENABLING';
/**
* The processor is being disabled, will become `DISABLED` if successful.
*/
public const STATE_DISABLING = 'DISABLING';
/**
* The processor is being created, will become either `ENABLED` (for
* successful creation) or `FAILED` (for failed ones). Once a processor is in
* this state, it can then be used for document processing, but the feature
* dependencies of the processor might not be fully created yet.
*/
public const STATE_CREATING = 'CREATING';
/**
* The processor failed during creation or initialization of feature
* dependencies. The user should delete the processor and recreate one as all
* the functionalities of the processor are disabled.
*/
public const STATE_FAILED = 'FAILED';
/**
* The processor is being deleted, will be removed if successful.
*/
public const STATE_DELETING = 'DELETING';
protected $collection_key = 'processorVersionAliases';
/**
* Optional. SchemaVersion used by the Processor. It is the same as
* Processor's DatasetSchema.schema_version Format is `projects/{project}/loca
* tions/{location}/schemas/{schema}/schemaVersions/{schema_version}
*
* @var string
*/
public $activeSchemaVersion;
/**
* Output only. The time the processor was created.
*
* @var string
*/
public $createTime;
/**
* The default processor version.
*
* @var string
*/
public $defaultProcessorVersion;
/**
* The display name of the processor.
*
* @var string
*/
public $displayName;
/**
* The [KMS key](https://cloud.google.com/security-key-management) used for
* encryption and decryption in CMEK scenarios.
*
* @var string
*/
public $kmsKeyName;
/**
* Output only. Immutable. The resource name of the processor. Format:
* `projects/{project}/locations/{location}/processors/{processor}`
*
* @var string
*/
public $name;
/**
* Output only. Immutable. The http endpoint that can be called to invoke
* processing.
*
* @var string
*/
public $processEndpoint;
protected $processorVersionAliasesType = GoogleCloudDocumentaiUiv1beta3ProcessorVersionAlias::class;
protected $processorVersionAliasesDataType = 'array';
/**
* Output only. Reserved for future use.
*
* @var bool
*/
public $satisfiesPzi;
/**
* Output only. Reserved for future use.
*
* @var bool
*/
public $satisfiesPzs;
/**
* Output only. The state of the processor.
*
* @var string
*/
public $state;
/**
* The processor type, such as: `OCR_PROCESSOR`, `INVOICE_PROCESSOR`. To get a
* list of processor types, see FetchProcessorTypes.
*
* @var string
*/
public $type;
/**
* Optional. SchemaVersion used by the Processor. It is the same as
* Processor's DatasetSchema.schema_version Format is `projects/{project}/loca
* tions/{location}/schemas/{schema}/schemaVersions/{schema_version}
*
* @param string $activeSchemaVersion
*/
public function setActiveSchemaVersion($activeSchemaVersion)
{
$this->activeSchemaVersion = $activeSchemaVersion;
}
/**
* @return string
*/
public function getActiveSchemaVersion()
{
return $this->activeSchemaVersion;
}
/**
* Output only. The time the processor was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* The default processor version.
*
* @param string $defaultProcessorVersion
*/
public function setDefaultProcessorVersion($defaultProcessorVersion)
{
$this->defaultProcessorVersion = $defaultProcessorVersion;
}
/**
* @return string
*/
public function getDefaultProcessorVersion()
{
return $this->defaultProcessorVersion;
}
/**
* The display name of the processor.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* The [KMS key](https://cloud.google.com/security-key-management) used for
* encryption and decryption in CMEK scenarios.
*
* @param string $kmsKeyName
*/
public function setKmsKeyName($kmsKeyName)
{
$this->kmsKeyName = $kmsKeyName;
}
/**
* @return string
*/
public function getKmsKeyName()
{
return $this->kmsKeyName;
}
/**
* Output only. Immutable. The resource name of the processor. Format:
* `projects/{project}/locations/{location}/processors/{processor}`
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. Immutable. The http endpoint that can be called to invoke
* processing.
*
* @param string $processEndpoint
*/
public function setProcessEndpoint($processEndpoint)
{
$this->processEndpoint = $processEndpoint;
}
/**
* @return string
*/
public function getProcessEndpoint()
{
return $this->processEndpoint;
}
/**
* Output only. The processor version aliases.
*
* @param GoogleCloudDocumentaiUiv1beta3ProcessorVersionAlias[] $processorVersionAliases
*/
public function setProcessorVersionAliases($processorVersionAliases)
{
$this->processorVersionAliases = $processorVersionAliases;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3ProcessorVersionAlias[]
*/
public function getProcessorVersionAliases()
{
return $this->processorVersionAliases;
}
/**
* Output only. Reserved for future use.
*
* @param bool $satisfiesPzi
*/
public function setSatisfiesPzi($satisfiesPzi)
{
$this->satisfiesPzi = $satisfiesPzi;
}
/**
* @return bool
*/
public function getSatisfiesPzi()
{
return $this->satisfiesPzi;
}
/**
* Output only. Reserved for future use.
*
* @param bool $satisfiesPzs
*/
public function setSatisfiesPzs($satisfiesPzs)
{
$this->satisfiesPzs = $satisfiesPzs;
}
/**
* @return bool
*/
public function getSatisfiesPzs()
{
return $this->satisfiesPzs;
}
/**
* Output only. The state of the processor.
*
* Accepted values: STATE_UNSPECIFIED, ENABLED, DISABLED, ENABLING, DISABLING,
* CREATING, FAILED, DELETING
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* The processor type, such as: `OCR_PROCESSOR`, `INVOICE_PROCESSOR`. To get a
* list of processor types, see FetchProcessorTypes.
*
* @param string $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3Processor::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3Processor');
@@ -0,0 +1,421 @@
<?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 GoogleCloudDocumentaiUiv1beta3ProcessorVersion extends \Google\Model
{
/**
* The processor version has unspecified model type.
*/
public const MODEL_TYPE_MODEL_TYPE_UNSPECIFIED = 'MODEL_TYPE_UNSPECIFIED';
/**
* The processor version has generative model type.
*/
public const MODEL_TYPE_MODEL_TYPE_GENERATIVE = 'MODEL_TYPE_GENERATIVE';
/**
* The processor version has custom model type.
*/
public const MODEL_TYPE_MODEL_TYPE_CUSTOM = 'MODEL_TYPE_CUSTOM';
/**
* The processor version is in an unspecified state.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* The processor version is deployed and can be used for processing.
*/
public const STATE_DEPLOYED = 'DEPLOYED';
/**
* The processor version is being deployed.
*/
public const STATE_DEPLOYING = 'DEPLOYING';
/**
* The processor version is not deployed and cannot be used for processing.
*/
public const STATE_UNDEPLOYED = 'UNDEPLOYED';
/**
* The processor version is being undeployed.
*/
public const STATE_UNDEPLOYING = 'UNDEPLOYING';
/**
* The processor version is being created.
*/
public const STATE_CREATING = 'CREATING';
/**
* The processor version is being deleted.
*/
public const STATE_DELETING = 'DELETING';
/**
* The processor version failed and is in an indeterminate state.
*/
public const STATE_FAILED = 'FAILED';
/**
* The processor version is being imported.
*/
public const STATE_IMPORTING = 'IMPORTING';
/**
* Output only. The time the processor version was created.
*
* @var string
*/
public $createTime;
/**
* Output only. Denotes that this `ProcessorVersion` can be deployed and
* undeployed.
*
* @var bool
*/
public $deploymentAllowed;
protected $deprecationInfoType = GoogleCloudDocumentaiUiv1beta3ProcessorVersionDeprecationInfo::class;
protected $deprecationInfoDataType = '';
/**
* The display name of the processor version.
*
* @var string
*/
public $displayName;
protected $documentSchemaType = GoogleCloudDocumentaiUiv1beta3DocumentSchema::class;
protected $documentSchemaDataType = '';
protected $genAiModelInfoType = GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfo::class;
protected $genAiModelInfoDataType = '';
/**
* Output only. Denotes that this `ProcessorVersion` is managed by Google.
*
* @var bool
*/
public $googleManaged;
/**
* Output only. The KMS key name used for encryption.
*
* @var string
*/
public $kmsKeyName;
/**
* Output only. The KMS key version with which data is encrypted.
*
* @var string
*/
public $kmsKeyVersionName;
protected $latestEvaluationType = GoogleCloudDocumentaiUiv1beta3EvaluationReference::class;
protected $latestEvaluationDataType = '';
/**
* Output only. The model type of this processor version.
*
* @var string
*/
public $modelType;
/**
* Identifier. The resource name of the processor version. Format: `projects/{
* project}/locations/{location}/processors/{processor}/processorVersions/{pro
* cessor_version}`
*
* @var string
*/
public $name;
/**
* Output only. Reserved for future use.
*
* @var bool
*/
public $satisfiesPzi;
/**
* Output only. Reserved for future use.
*
* @var bool
*/
public $satisfiesPzs;
protected $schemaType = GoogleCloudDocumentaiUiv1beta3Schema::class;
protected $schemaDataType = '';
/**
* Output only. The state of the processor version.
*
* @var string
*/
public $state;
/**
* Output only. The time the processor version was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Output only. Denotes that this `ProcessorVersion` can be deployed and
* undeployed.
*
* @param bool $deploymentAllowed
*/
public function setDeploymentAllowed($deploymentAllowed)
{
$this->deploymentAllowed = $deploymentAllowed;
}
/**
* @return bool
*/
public function getDeploymentAllowed()
{
return $this->deploymentAllowed;
}
/**
* Output only. If set, information about the eventual deprecation of this
* version.
*
* @param GoogleCloudDocumentaiUiv1beta3ProcessorVersionDeprecationInfo $deprecationInfo
*/
public function setDeprecationInfo(GoogleCloudDocumentaiUiv1beta3ProcessorVersionDeprecationInfo $deprecationInfo)
{
$this->deprecationInfo = $deprecationInfo;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3ProcessorVersionDeprecationInfo
*/
public function getDeprecationInfo()
{
return $this->deprecationInfo;
}
/**
* The display name of the processor version.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Output only. The schema of the processor version. Describes the output.
*
* @param GoogleCloudDocumentaiUiv1beta3DocumentSchema $documentSchema
*/
public function setDocumentSchema(GoogleCloudDocumentaiUiv1beta3DocumentSchema $documentSchema)
{
$this->documentSchema = $documentSchema;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3DocumentSchema
*/
public function getDocumentSchema()
{
return $this->documentSchema;
}
/**
* Output only. Information about Generative AI model-based processor
* versions.
*
* @param GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfo $genAiModelInfo
*/
public function setGenAiModelInfo(GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfo $genAiModelInfo)
{
$this->genAiModelInfo = $genAiModelInfo;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfo
*/
public function getGenAiModelInfo()
{
return $this->genAiModelInfo;
}
/**
* Output only. Denotes that this `ProcessorVersion` is managed by Google.
*
* @param bool $googleManaged
*/
public function setGoogleManaged($googleManaged)
{
$this->googleManaged = $googleManaged;
}
/**
* @return bool
*/
public function getGoogleManaged()
{
return $this->googleManaged;
}
/**
* Output only. The KMS key name used for encryption.
*
* @param string $kmsKeyName
*/
public function setKmsKeyName($kmsKeyName)
{
$this->kmsKeyName = $kmsKeyName;
}
/**
* @return string
*/
public function getKmsKeyName()
{
return $this->kmsKeyName;
}
/**
* Output only. The KMS key version with which data is encrypted.
*
* @param string $kmsKeyVersionName
*/
public function setKmsKeyVersionName($kmsKeyVersionName)
{
$this->kmsKeyVersionName = $kmsKeyVersionName;
}
/**
* @return string
*/
public function getKmsKeyVersionName()
{
return $this->kmsKeyVersionName;
}
/**
* Output only. The most recently invoked evaluation for the processor
* version.
*
* @param GoogleCloudDocumentaiUiv1beta3EvaluationReference $latestEvaluation
*/
public function setLatestEvaluation(GoogleCloudDocumentaiUiv1beta3EvaluationReference $latestEvaluation)
{
$this->latestEvaluation = $latestEvaluation;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3EvaluationReference
*/
public function getLatestEvaluation()
{
return $this->latestEvaluation;
}
/**
* Output only. The model type of this processor version.
*
* Accepted values: MODEL_TYPE_UNSPECIFIED, MODEL_TYPE_GENERATIVE,
* MODEL_TYPE_CUSTOM
*
* @param self::MODEL_TYPE_* $modelType
*/
public function setModelType($modelType)
{
$this->modelType = $modelType;
}
/**
* @return self::MODEL_TYPE_*
*/
public function getModelType()
{
return $this->modelType;
}
/**
* Identifier. The resource name of the processor version. Format: `projects/{
* project}/locations/{location}/processors/{processor}/processorVersions/{pro
* cessor_version}`
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. Reserved for future use.
*
* @param bool $satisfiesPzi
*/
public function setSatisfiesPzi($satisfiesPzi)
{
$this->satisfiesPzi = $satisfiesPzi;
}
/**
* @return bool
*/
public function getSatisfiesPzi()
{
return $this->satisfiesPzi;
}
/**
* Output only. Reserved for future use.
*
* @param bool $satisfiesPzs
*/
public function setSatisfiesPzs($satisfiesPzs)
{
$this->satisfiesPzs = $satisfiesPzs;
}
/**
* @return bool
*/
public function getSatisfiesPzs()
{
return $this->satisfiesPzs;
}
/**
* The schema of the processor version. Describes the output.
*
* @param GoogleCloudDocumentaiUiv1beta3Schema $schema
*/
public function setSchema(GoogleCloudDocumentaiUiv1beta3Schema $schema)
{
$this->schema = $schema;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3Schema
*/
public function getSchema()
{
return $this->schema;
}
/**
* Output only. The state of the processor version.
*
* Accepted values: STATE_UNSPECIFIED, DEPLOYED, DEPLOYING, UNDEPLOYED,
* UNDEPLOYING, CREATING, DELETING, FAILED, IMPORTING
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3ProcessorVersion::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3ProcessorVersion');
@@ -0,0 +1,70 @@
<?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 GoogleCloudDocumentaiUiv1beta3ProcessorVersionAlias extends \Google\Model
{
/**
* The alias in the form of `processor_version` resource name.
*
* @var string
*/
public $alias;
/**
* The resource name of aliased processor version.
*
* @var string
*/
public $processorVersion;
/**
* The alias in the form of `processor_version` resource name.
*
* @param string $alias
*/
public function setAlias($alias)
{
$this->alias = $alias;
}
/**
* @return string
*/
public function getAlias()
{
return $this->alias;
}
/**
* The resource name of aliased processor version.
*
* @param string $processorVersion
*/
public function setProcessorVersion($processorVersion)
{
$this->processorVersion = $processorVersion;
}
/**
* @return string
*/
public function getProcessorVersion()
{
return $this->processorVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3ProcessorVersionAlias::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3ProcessorVersionAlias');
@@ -0,0 +1,70 @@
<?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 GoogleCloudDocumentaiUiv1beta3ProcessorVersionDeprecationInfo extends \Google\Model
{
/**
* The time at which this processor version will be deprecated.
*
* @var string
*/
public $deprecationTime;
/**
* If set, the processor version that will be used as a replacement.
*
* @var string
*/
public $replacementProcessorVersion;
/**
* The time at which this processor version will be deprecated.
*
* @param string $deprecationTime
*/
public function setDeprecationTime($deprecationTime)
{
$this->deprecationTime = $deprecationTime;
}
/**
* @return string
*/
public function getDeprecationTime()
{
return $this->deprecationTime;
}
/**
* If set, the processor version that will be used as a replacement.
*
* @param string $replacementProcessorVersion
*/
public function setReplacementProcessorVersion($replacementProcessorVersion)
{
$this->replacementProcessorVersion = $replacementProcessorVersion;
}
/**
* @return string
*/
public function getReplacementProcessorVersion()
{
return $this->replacementProcessorVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3ProcessorVersionDeprecationInfo::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3ProcessorVersionDeprecationInfo');
@@ -0,0 +1,62 @@
<?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 GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfo extends \Google\Model
{
protected $customGenAiModelInfoType = GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo::class;
protected $customGenAiModelInfoDataType = '';
protected $foundationGenAiModelInfoType = GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo::class;
protected $foundationGenAiModelInfoDataType = '';
/**
* Information for a custom Generative AI model created by the user.
*
* @param GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo $customGenAiModelInfo
*/
public function setCustomGenAiModelInfo(GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo $customGenAiModelInfo)
{
$this->customGenAiModelInfo = $customGenAiModelInfo;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo
*/
public function getCustomGenAiModelInfo()
{
return $this->customGenAiModelInfo;
}
/**
* Information for a pretrained Google-managed foundation model.
*
* @param GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo $foundationGenAiModelInfo
*/
public function setFoundationGenAiModelInfo(GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo $foundationGenAiModelInfo)
{
$this->foundationGenAiModelInfo = $foundationGenAiModelInfo;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo
*/
public function getFoundationGenAiModelInfo()
{
return $this->foundationGenAiModelInfo;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfo::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfo');
@@ -0,0 +1,85 @@
<?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 GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo extends \Google\Model
{
/**
* The model type is unspecified.
*/
public const CUSTOM_MODEL_TYPE_CUSTOM_MODEL_TYPE_UNSPECIFIED = 'CUSTOM_MODEL_TYPE_UNSPECIFIED';
/**
* The model is a versioned foundation model.
*/
public const CUSTOM_MODEL_TYPE_VERSIONED_FOUNDATION = 'VERSIONED_FOUNDATION';
/**
* The model is a finetuned foundation model.
*/
public const CUSTOM_MODEL_TYPE_FINE_TUNED = 'FINE_TUNED';
/**
* The base processor version ID for the custom model.
*
* @var string
*/
public $baseProcessorVersionId;
/**
* The type of custom model created by the user.
*
* @var string
*/
public $customModelType;
/**
* The base processor version ID for the custom model.
*
* @param string $baseProcessorVersionId
*/
public function setBaseProcessorVersionId($baseProcessorVersionId)
{
$this->baseProcessorVersionId = $baseProcessorVersionId;
}
/**
* @return string
*/
public function getBaseProcessorVersionId()
{
return $this->baseProcessorVersionId;
}
/**
* The type of custom model created by the user.
*
* Accepted values: CUSTOM_MODEL_TYPE_UNSPECIFIED, VERSIONED_FOUNDATION,
* FINE_TUNED
*
* @param self::CUSTOM_MODEL_TYPE_* $customModelType
*/
public function setCustomModelType($customModelType)
{
$this->customModelType = $customModelType;
}
/**
* @return self::CUSTOM_MODEL_TYPE_*
*/
public function getCustomModelType()
{
return $this->customModelType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo');
@@ -0,0 +1,72 @@
<?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 GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo extends \Google\Model
{
/**
* Whether fine tuning is allowed for this base processor version.
*
* @var bool
*/
public $finetuningAllowed;
/**
* The minimum number of labeled documents in the training dataset required
* for fine tuning.
*
* @var int
*/
public $minTrainLabeledDocuments;
/**
* Whether fine tuning is allowed for this base processor version.
*
* @param bool $finetuningAllowed
*/
public function setFinetuningAllowed($finetuningAllowed)
{
$this->finetuningAllowed = $finetuningAllowed;
}
/**
* @return bool
*/
public function getFinetuningAllowed()
{
return $this->finetuningAllowed;
}
/**
* The minimum number of labeled documents in the training dataset required
* for fine tuning.
*
* @param int $minTrainLabeledDocuments
*/
public function setMinTrainLabeledDocuments($minTrainLabeledDocuments)
{
$this->minTrainLabeledDocuments = $minTrainLabeledDocuments;
}
/**
* @return int
*/
public function getMinTrainLabeledDocuments()
{
return $this->minTrainLabeledDocuments;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo');
@@ -0,0 +1,156 @@
<?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 GoogleCloudDocumentaiUiv1beta3PropertyMetadata extends \Google\Model
{
protected $fieldExtractionMetadataType = GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadata::class;
protected $fieldExtractionMetadataDataType = '';
protected $fieldTierMetadataType = GoogleCloudDocumentaiUiv1beta3FieldTierMetadata::class;
protected $fieldTierMetadataDataType = '';
protected $humanReviewLabelingMetadataType = GoogleCloudDocumentaiUiv1beta3HumanReviewLabelingMetadata::class;
protected $humanReviewLabelingMetadataDataType = '';
protected $humanReviewMetadataType = GoogleCloudDocumentaiUiv1beta3HumanReviewValidationMetadata::class;
protected $humanReviewMetadataDataType = '';
/**
* Whether the property should be considered as "inactive".
*
* @var bool
*/
public $inactive;
protected $schemaEditabilityMetadataType = GoogleCloudDocumentaiUiv1beta3SchemaEditabilityMetadata::class;
protected $schemaEditabilityMetadataDataType = '';
protected $schemaInferenceMetadataType = GoogleCloudDocumentaiUiv1beta3SchemaInferenceMetadata::class;
protected $schemaInferenceMetadataDataType = '';
/**
* Field extraction metadata on the property.
*
* @param GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadata $fieldExtractionMetadata
*/
public function setFieldExtractionMetadata(GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadata $fieldExtractionMetadata)
{
$this->fieldExtractionMetadata = $fieldExtractionMetadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3FieldExtractionMetadata
*/
public function getFieldExtractionMetadata()
{
return $this->fieldExtractionMetadata;
}
/**
* Field tier metadata on the property
*
* @param GoogleCloudDocumentaiUiv1beta3FieldTierMetadata $fieldTierMetadata
*/
public function setFieldTierMetadata(GoogleCloudDocumentaiUiv1beta3FieldTierMetadata $fieldTierMetadata)
{
$this->fieldTierMetadata = $fieldTierMetadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3FieldTierMetadata
*/
public function getFieldTierMetadata()
{
return $this->fieldTierMetadata;
}
/**
* Human review labeling config on the property.
*
* @param GoogleCloudDocumentaiUiv1beta3HumanReviewLabelingMetadata $humanReviewLabelingMetadata
*/
public function setHumanReviewLabelingMetadata(GoogleCloudDocumentaiUiv1beta3HumanReviewLabelingMetadata $humanReviewLabelingMetadata)
{
$this->humanReviewLabelingMetadata = $humanReviewLabelingMetadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3HumanReviewLabelingMetadata
*/
public function getHumanReviewLabelingMetadata()
{
return $this->humanReviewLabelingMetadata;
}
/**
* Human review validation config on the property.
*
* @param GoogleCloudDocumentaiUiv1beta3HumanReviewValidationMetadata $humanReviewMetadata
*/
public function setHumanReviewMetadata(GoogleCloudDocumentaiUiv1beta3HumanReviewValidationMetadata $humanReviewMetadata)
{
$this->humanReviewMetadata = $humanReviewMetadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3HumanReviewValidationMetadata
*/
public function getHumanReviewMetadata()
{
return $this->humanReviewMetadata;
}
/**
* Whether the property should be considered as "inactive".
*
* @param bool $inactive
*/
public function setInactive($inactive)
{
$this->inactive = $inactive;
}
/**
* @return bool
*/
public function getInactive()
{
return $this->inactive;
}
/**
* Schema editability metadata on the property.
*
* @param GoogleCloudDocumentaiUiv1beta3SchemaEditabilityMetadata $schemaEditabilityMetadata
*/
public function setSchemaEditabilityMetadata(GoogleCloudDocumentaiUiv1beta3SchemaEditabilityMetadata $schemaEditabilityMetadata)
{
$this->schemaEditabilityMetadata = $schemaEditabilityMetadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3SchemaEditabilityMetadata
*/
public function getSchemaEditabilityMetadata()
{
return $this->schemaEditabilityMetadata;
}
/**
* Schema inference metadata on the property.
*
* @param GoogleCloudDocumentaiUiv1beta3SchemaInferenceMetadata $schemaInferenceMetadata
*/
public function setSchemaInferenceMetadata(GoogleCloudDocumentaiUiv1beta3SchemaInferenceMetadata $schemaInferenceMetadata)
{
$this->schemaInferenceMetadata = $schemaInferenceMetadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3SchemaInferenceMetadata
*/
public function getSchemaInferenceMetadata()
{
return $this->schemaInferenceMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3PropertyMetadata::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3PropertyMetadata');
@@ -0,0 +1,83 @@
<?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 GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata extends \Google\Collection
{
protected $collection_key = 'individualDocumentResyncStatuses';
protected $commonMetadataType = GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::class;
protected $commonMetadataDataType = '';
protected $datasetResyncStatusesType = GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus::class;
protected $datasetResyncStatusesDataType = 'array';
protected $individualDocumentResyncStatusesType = GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus::class;
protected $individualDocumentResyncStatusesDataType = 'array';
/**
* The basic metadata of the long-running operation.
*
* @param GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata
*/
public function setCommonMetadata(GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata)
{
$this->commonMetadata = $commonMetadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
*/
public function getCommonMetadata()
{
return $this->commonMetadata;
}
/**
* The list of dataset resync statuses. Not checked when
* ResyncDatasetRequest.dataset_documents is specified.
*
* @param GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus[] $datasetResyncStatuses
*/
public function setDatasetResyncStatuses($datasetResyncStatuses)
{
$this->datasetResyncStatuses = $datasetResyncStatuses;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus[]
*/
public function getDatasetResyncStatuses()
{
return $this->datasetResyncStatuses;
}
/**
* The list of document resync statuses. The same document could have multiple
* `individual_document_resync_statuses` if it has multiple inconsistencies.
*
* @param GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus[] $individualDocumentResyncStatuses
*/
public function setIndividualDocumentResyncStatuses($individualDocumentResyncStatuses)
{
$this->individualDocumentResyncStatuses = $individualDocumentResyncStatuses;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus[]
*/
public function getIndividualDocumentResyncStatuses()
{
return $this->individualDocumentResyncStatuses;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata');
@@ -0,0 +1,78 @@
<?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 GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus extends \Google\Model
{
/**
* Default value.
*/
public const DATASET_INCONSISTENCY_TYPE_DATASET_INCONSISTENCY_TYPE_UNSPECIFIED = 'DATASET_INCONSISTENCY_TYPE_UNSPECIFIED';
/**
* The marker file under the dataset folder is not found.
*/
public const DATASET_INCONSISTENCY_TYPE_DATASET_INCONSISTENCY_TYPE_NO_STORAGE_MARKER = 'DATASET_INCONSISTENCY_TYPE_NO_STORAGE_MARKER';
/**
* The type of the inconsistency of the dataset.
*
* @var string
*/
public $datasetInconsistencyType;
protected $statusType = GoogleRpcStatus::class;
protected $statusDataType = '';
/**
* The type of the inconsistency of the dataset.
*
* Accepted values: DATASET_INCONSISTENCY_TYPE_UNSPECIFIED,
* DATASET_INCONSISTENCY_TYPE_NO_STORAGE_MARKER
*
* @param self::DATASET_INCONSISTENCY_TYPE_* $datasetInconsistencyType
*/
public function setDatasetInconsistencyType($datasetInconsistencyType)
{
$this->datasetInconsistencyType = $datasetInconsistencyType;
}
/**
* @return self::DATASET_INCONSISTENCY_TYPE_*
*/
public function getDatasetInconsistencyType()
{
return $this->datasetInconsistencyType;
}
/**
* The status of resyncing the dataset with regards to the detected
* inconsistency. Empty if ResyncDatasetRequest.validate_only is `true`.
*
* @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(GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataDatasetResyncStatus');
@@ -0,0 +1,106 @@
<?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 GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus extends \Google\Model
{
/**
* Default value.
*/
public const DOCUMENT_INCONSISTENCY_TYPE_DOCUMENT_INCONSISTENCY_TYPE_UNSPECIFIED = 'DOCUMENT_INCONSISTENCY_TYPE_UNSPECIFIED';
/**
* The document proto is invalid.
*/
public const DOCUMENT_INCONSISTENCY_TYPE_DOCUMENT_INCONSISTENCY_TYPE_INVALID_DOCPROTO = 'DOCUMENT_INCONSISTENCY_TYPE_INVALID_DOCPROTO';
/**
* Indexed docproto metadata is mismatched.
*/
public const DOCUMENT_INCONSISTENCY_TYPE_DOCUMENT_INCONSISTENCY_TYPE_MISMATCHED_METADATA = 'DOCUMENT_INCONSISTENCY_TYPE_MISMATCHED_METADATA';
/**
* The page image or thumbnails are missing.
*/
public const DOCUMENT_INCONSISTENCY_TYPE_DOCUMENT_INCONSISTENCY_TYPE_NO_PAGE_IMAGE = 'DOCUMENT_INCONSISTENCY_TYPE_NO_PAGE_IMAGE';
protected $documentIdType = GoogleCloudDocumentaiUiv1beta3DocumentId::class;
protected $documentIdDataType = '';
/**
* The type of document inconsistency.
*
* @var string
*/
public $documentInconsistencyType;
protected $statusType = GoogleRpcStatus::class;
protected $statusDataType = '';
/**
* The document identifier.
*
* @param GoogleCloudDocumentaiUiv1beta3DocumentId $documentId
*/
public function setDocumentId(GoogleCloudDocumentaiUiv1beta3DocumentId $documentId)
{
$this->documentId = $documentId;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3DocumentId
*/
public function getDocumentId()
{
return $this->documentId;
}
/**
* The type of document inconsistency.
*
* Accepted values: DOCUMENT_INCONSISTENCY_TYPE_UNSPECIFIED,
* DOCUMENT_INCONSISTENCY_TYPE_INVALID_DOCPROTO,
* DOCUMENT_INCONSISTENCY_TYPE_MISMATCHED_METADATA,
* DOCUMENT_INCONSISTENCY_TYPE_NO_PAGE_IMAGE
*
* @param self::DOCUMENT_INCONSISTENCY_TYPE_* $documentInconsistencyType
*/
public function setDocumentInconsistencyType($documentInconsistencyType)
{
$this->documentInconsistencyType = $documentInconsistencyType;
}
/**
* @return self::DOCUMENT_INCONSISTENCY_TYPE_*
*/
public function getDocumentInconsistencyType()
{
return $this->documentInconsistencyType;
}
/**
* The status of resyncing the document with regards to the detected
* inconsistency. Empty if ResyncDatasetRequest.validate_only is `true`.
*
* @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(GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataIndividualDocumentResyncStatus');
@@ -0,0 +1,78 @@
<?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 GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument extends \Google\Model
{
/**
* @var string
*/
public $destinationPrefix;
/**
* @var string
*/
public $sourcePrefix;
protected $statusType = GoogleRpcStatus::class;
protected $statusDataType = '';
/**
* @param string
*/
public function setDestinationPrefix($destinationPrefix)
{
$this->destinationPrefix = $destinationPrefix;
}
/**
* @return string
*/
public function getDestinationPrefix()
{
return $this->destinationPrefix;
}
/**
* @param string
*/
public function setSourcePrefix($sourcePrefix)
{
$this->sourcePrefix = $sourcePrefix;
}
/**
* @return string
*/
public function getSourcePrefix()
{
return $this->sourcePrefix;
}
/**
* @param GoogleRpcStatus
*/
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(GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument');
@@ -0,0 +1,25 @@
<?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 GoogleCloudDocumentaiUiv1beta3ResyncDatasetResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3ResyncDatasetResponse::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3ResyncDatasetResponse');
@@ -0,0 +1,115 @@
<?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 GoogleCloudDocumentaiUiv1beta3RevisionRef extends \Google\Model
{
/**
* Unspecified case, fall back to read the `LATEST_HUMAN_REVIEW`.
*/
public const REVISION_CASE_REVISION_CASE_UNSPECIFIED = 'REVISION_CASE_UNSPECIFIED';
/**
* The latest revision made by a human.
*/
public const REVISION_CASE_LATEST_HUMAN_REVIEW = 'LATEST_HUMAN_REVIEW';
/**
* The latest revision based on timestamp.
*/
public const REVISION_CASE_LATEST_TIMESTAMP = 'LATEST_TIMESTAMP';
/**
* The first (OCR) revision.
*/
public const REVISION_CASE_BASE_OCR_REVISION = 'BASE_OCR_REVISION';
/**
* Reads the revision generated by the processor version. The format takes the
* full resource name of processor version. `projects/{project}/locations/{loc
* ation}/processors/{processor}/processorVersions/{processorVersion}`
*
* @var string
*/
public $latestProcessorVersion;
/**
* Reads the revision by the predefined case.
*
* @var string
*/
public $revisionCase;
/**
* Reads the revision given by the id.
*
* @var string
*/
public $revisionId;
/**
* Reads the revision generated by the processor version. The format takes the
* full resource name of processor version. `projects/{project}/locations/{loc
* ation}/processors/{processor}/processorVersions/{processorVersion}`
*
* @param string $latestProcessorVersion
*/
public function setLatestProcessorVersion($latestProcessorVersion)
{
$this->latestProcessorVersion = $latestProcessorVersion;
}
/**
* @return string
*/
public function getLatestProcessorVersion()
{
return $this->latestProcessorVersion;
}
/**
* Reads the revision by the predefined case.
*
* Accepted values: REVISION_CASE_UNSPECIFIED, LATEST_HUMAN_REVIEW,
* LATEST_TIMESTAMP, BASE_OCR_REVISION
*
* @param self::REVISION_CASE_* $revisionCase
*/
public function setRevisionCase($revisionCase)
{
$this->revisionCase = $revisionCase;
}
/**
* @return self::REVISION_CASE_*
*/
public function getRevisionCase()
{
return $this->revisionCase;
}
/**
* Reads the revision given by the id.
*
* @param string $revisionId
*/
public function setRevisionId($revisionId)
{
$this->revisionId = $revisionId;
}
/**
* @return string
*/
public function getRevisionId()
{
return $this->revisionId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3RevisionRef::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3RevisionRef');
@@ -0,0 +1,80 @@
<?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 GoogleCloudDocumentaiUiv1beta3RevisionReference extends \Google\Model
{
/**
* @var string
*/
public $latestProcessorVersion;
/**
* @var string
*/
public $revisionCase;
/**
* @var string
*/
public $revisionId;
/**
* @param string
*/
public function setLatestProcessorVersion($latestProcessorVersion)
{
$this->latestProcessorVersion = $latestProcessorVersion;
}
/**
* @return string
*/
public function getLatestProcessorVersion()
{
return $this->latestProcessorVersion;
}
/**
* @param string
*/
public function setRevisionCase($revisionCase)
{
$this->revisionCase = $revisionCase;
}
/**
* @return string
*/
public function getRevisionCase()
{
return $this->revisionCase;
}
/**
* @param string
*/
public function setRevisionId($revisionId)
{
$this->revisionId = $revisionId;
}
/**
* @return string
*/
public function getRevisionId()
{
return $this->revisionId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3RevisionReference::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3RevisionReference');
@@ -0,0 +1,44 @@
<?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 GoogleCloudDocumentaiUiv1beta3SampleDocumentsMetadata extends \Google\Model
{
protected $commonMetadataType = GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::class;
protected $commonMetadataDataType = '';
/**
* The basic metadata of the long-running operation.
*
* @param GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata
*/
public function setCommonMetadata(GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata)
{
$this->commonMetadata = $commonMetadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
*/
public function getCommonMetadata()
{
return $this->commonMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3SampleDocumentsMetadata::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3SampleDocumentsMetadata');
@@ -0,0 +1,81 @@
<?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 GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse extends \Google\Collection
{
protected $collection_key = 'selectedDocuments';
protected $sampleTestStatusType = GoogleRpcStatus::class;
protected $sampleTestStatusDataType = '';
protected $sampleTrainingStatusType = GoogleRpcStatus::class;
protected $sampleTrainingStatusDataType = '';
protected $selectedDocumentsType = GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument::class;
protected $selectedDocumentsDataType = 'array';
/**
* The status of sampling documents in test split.
*
* @param GoogleRpcStatus $sampleTestStatus
*/
public function setSampleTestStatus(GoogleRpcStatus $sampleTestStatus)
{
$this->sampleTestStatus = $sampleTestStatus;
}
/**
* @return GoogleRpcStatus
*/
public function getSampleTestStatus()
{
return $this->sampleTestStatus;
}
/**
* The status of sampling documents in training split.
*
* @param GoogleRpcStatus $sampleTrainingStatus
*/
public function setSampleTrainingStatus(GoogleRpcStatus $sampleTrainingStatus)
{
$this->sampleTrainingStatus = $sampleTrainingStatus;
}
/**
* @return GoogleRpcStatus
*/
public function getSampleTrainingStatus()
{
return $this->sampleTrainingStatus;
}
/**
* The result of the sampling process.
*
* @param GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument[] $selectedDocuments
*/
public function setSelectedDocuments($selectedDocuments)
{
$this->selectedDocuments = $selectedDocuments;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument[]
*/
public function getSelectedDocuments()
{
return $this->selectedDocuments;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse');
@@ -0,0 +1,48 @@
<?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 GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument extends \Google\Model
{
/**
* An internal identifier for document.
*
* @var string
*/
public $documentId;
/**
* An internal identifier for document.
*
* @param string $documentId
*/
public function setDocumentId($documentId)
{
$this->documentId = $documentId;
}
/**
* @return string
*/
public function getDocumentId()
{
return $this->documentId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument');
@@ -0,0 +1,89 @@
<?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 GoogleCloudDocumentaiUiv1beta3Schema extends \Google\Collection
{
protected $collection_key = 'entityTypes';
/**
* Description of the schema.
*
* @var string
*/
public $description;
/**
* Display name to show users.
*
* @var string
*/
public $displayName;
protected $entityTypesType = GoogleCloudDocumentaiUiv1beta3SchemaEntityType::class;
protected $entityTypesDataType = 'array';
/**
* Description of the schema.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Display name to show users.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Entity types of the schema.
*
* @param GoogleCloudDocumentaiUiv1beta3SchemaEntityType[] $entityTypes
*/
public function setEntityTypes($entityTypes)
{
$this->entityTypes = $entityTypes;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3SchemaEntityType[]
*/
public function getEntityTypes()
{
return $this->entityTypes;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3Schema::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3Schema');
@@ -0,0 +1,75 @@
<?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 GoogleCloudDocumentaiUiv1beta3SchemaEditabilityMetadata extends \Google\Collection
{
protected $collection_key = 'processorVersions';
/**
* Explicit flag that controls whether the label is editable.
*
* @var bool
*/
public $editable;
/**
* Full resource name of processor versions that contain this label. e.g. `pro
* jects/{project}/locations/{location}/processors/{processor}/processorVersio
* ns/{processorVersion}`
*
* @var string[]
*/
public $processorVersions;
/**
* Explicit flag that controls whether the label is editable.
*
* @param bool $editable
*/
public function setEditable($editable)
{
$this->editable = $editable;
}
/**
* @return bool
*/
public function getEditable()
{
return $this->editable;
}
/**
* Full resource name of processor versions that contain this label. e.g. `pro
* jects/{project}/locations/{location}/processors/{processor}/processorVersio
* ns/{processorVersion}`
*
* @param string[] $processorVersions
*/
public function setProcessorVersions($processorVersions)
{
$this->processorVersions = $processorVersions;
}
/**
* @return string[]
*/
public function getProcessorVersions()
{
return $this->processorVersions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3SchemaEditabilityMetadata::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3SchemaEditabilityMetadata');
@@ -0,0 +1,311 @@
<?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 GoogleCloudDocumentaiUiv1beta3SchemaEntityType extends \Google\Collection
{
/**
* Unspecified method. It defaults to `EXTRACT`.
*/
public const METHOD_METHOD_UNSPECIFIED = 'METHOD_UNSPECIFIED';
/**
* The entity's value is directly extracted as-is from the document text.
*/
public const METHOD_EXTRACT = 'EXTRACT';
/**
* The entity's value is derived through inference and is not necessarily an
* exact text extraction from the document.
*/
public const METHOD_DERIVE = 'DERIVE';
/**
* Attempts to extract the position and value as-is from the document text. If
* the value cannot be grounded in the text, it falls back to derivation
* through inference, for both position and value. Note: The inference
* fallback is currently only supported for boolean entities.
*/
public const METHOD_RELAXED_EXTRACT = 'RELAXED_EXTRACT';
/**
* Unspecified occurrence type.
*/
public const OCCURRENCE_TYPE_OCCURRENCE_TYPE_UNSPECIFIED = 'OCCURRENCE_TYPE_UNSPECIFIED';
/**
* The entity type will appear zero times or once.
*/
public const OCCURRENCE_TYPE_OPTIONAL_ONCE = 'OPTIONAL_ONCE';
/**
* The entity type will appear zero or multiple times.
*/
public const OCCURRENCE_TYPE_OPTIONAL_MULTIPLE = 'OPTIONAL_MULTIPLE';
/**
* The entity type will only appear exactly once.
*/
public const OCCURRENCE_TYPE_REQUIRED_ONCE = 'REQUIRED_ONCE';
/**
* The entity type will appear once or more times.
*/
public const OCCURRENCE_TYPE_REQUIRED_MULTIPLE = 'REQUIRED_MULTIPLE';
/**
* Unspecified source.
*/
public const SOURCE_SOURCE_UNSPECIFIED = 'SOURCE_UNSPECIFIED';
/**
* The entity type is in the predefined schema of a pretrained version of a
* processor.
*/
public const SOURCE_PREDEFINED = 'PREDEFINED';
/**
* The entity type is added by the users either: - during an uptraining of an
* existing processor, or - during the process of creating a customized
* processor.
*/
public const SOURCE_USER_INPUT = 'USER_INPUT';
protected $collection_key = 'properties';
/**
* @var string
*/
public $baseType;
/**
* Description of the entity type.
*
* @var string
*/
public $description;
/**
* If specified, lists all the possible values for this entity.
*
* @var string[]
*/
public $enumValues;
/**
* If the entity type is hidden in the schema. This provides the functionality
* to temporally "disable" an entity without deleting it.
*
* @var bool
*/
public $hide;
/**
* Specifies how the entity's value is obtained.
*
* @var string
*/
public $method;
/**
* Occurrence type limits the number of times an entity type appears in the
* document.
*
* @var string
*/
public $occurrenceType;
protected $propertiesType = GoogleCloudDocumentaiUiv1beta3SchemaEntityType::class;
protected $propertiesDataType = 'array';
/**
* Source of this entity type.
*
* @var string
*/
public $source;
/**
* Name of the type. It must satisfy the following constraints: 1. Must be
* unique within the set of same level types (with case-insensitive match). 2.
* Maximum 64 characters. 3. Must start with a letter. 4. Allowed characters:
* ASCII letters [a-zA-Z], ASCII digits [0-9], or one of the following
* punctuation characters: * underscore '_' (recommended) * hyphen '-'
* (allowed, not recommended) * colon ':' (allowed, not recommended) NOTE:
* Whitespace characters are not allowed. 5. Cannot end with a punctuation
* character. 6. Cannot contain the following restricted strings: "google",
* "DocumentAI" (case-insensitive match). 7. A slash character '/' is reserved
* as a separator in flattened representations of nested entity types (e.g.,
* "line_item/amount") in which case each part (e.g., "line_item", "amount")
* must comply with the rules defined above. We recommend using the snake case
* ("snake_case") in entity type names.
*
* @var string
*/
public $type;
/**
* @param string $baseType
*/
public function setBaseType($baseType)
{
$this->baseType = $baseType;
}
/**
* @return string
*/
public function getBaseType()
{
return $this->baseType;
}
/**
* Description of the entity type.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* If specified, lists all the possible values for this entity.
*
* @param string[] $enumValues
*/
public function setEnumValues($enumValues)
{
$this->enumValues = $enumValues;
}
/**
* @return string[]
*/
public function getEnumValues()
{
return $this->enumValues;
}
/**
* If the entity type is hidden in the schema. This provides the functionality
* to temporally "disable" an entity without deleting it.
*
* @param bool $hide
*/
public function setHide($hide)
{
$this->hide = $hide;
}
/**
* @return bool
*/
public function getHide()
{
return $this->hide;
}
/**
* Specifies how the entity's value is obtained.
*
* Accepted values: METHOD_UNSPECIFIED, EXTRACT, DERIVE, RELAXED_EXTRACT
*
* @param self::METHOD_* $method
*/
public function setMethod($method)
{
$this->method = $method;
}
/**
* @return self::METHOD_*
*/
public function getMethod()
{
return $this->method;
}
/**
* Occurrence type limits the number of times an entity type appears in the
* document.
*
* Accepted values: OCCURRENCE_TYPE_UNSPECIFIED, OPTIONAL_ONCE,
* OPTIONAL_MULTIPLE, REQUIRED_ONCE, REQUIRED_MULTIPLE
*
* @param self::OCCURRENCE_TYPE_* $occurrenceType
*/
public function setOccurrenceType($occurrenceType)
{
$this->occurrenceType = $occurrenceType;
}
/**
* @return self::OCCURRENCE_TYPE_*
*/
public function getOccurrenceType()
{
return $this->occurrenceType;
}
/**
* Describing the nested structure of an entity. An EntityType may consist of
* several other EntityTypes. For example, in a document there can be an
* EntityType `ID`, which consists of EntityType `name` and `address`, with
* corresponding attributes, such as TEXT for both types and ONCE for
* occurrence types.
*
* @param GoogleCloudDocumentaiUiv1beta3SchemaEntityType[] $properties
*/
public function setProperties($properties)
{
$this->properties = $properties;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3SchemaEntityType[]
*/
public function getProperties()
{
return $this->properties;
}
/**
* Source of this entity type.
*
* Accepted values: SOURCE_UNSPECIFIED, PREDEFINED, USER_INPUT
*
* @param self::SOURCE_* $source
*/
public function setSource($source)
{
$this->source = $source;
}
/**
* @return self::SOURCE_*
*/
public function getSource()
{
return $this->source;
}
/**
* Name of the type. It must satisfy the following constraints: 1. Must be
* unique within the set of same level types (with case-insensitive match). 2.
* Maximum 64 characters. 3. Must start with a letter. 4. Allowed characters:
* ASCII letters [a-zA-Z], ASCII digits [0-9], or one of the following
* punctuation characters: * underscore '_' (recommended) * hyphen '-'
* (allowed, not recommended) * colon ':' (allowed, not recommended) NOTE:
* Whitespace characters are not allowed. 5. Cannot end with a punctuation
* character. 6. Cannot contain the following restricted strings: "google",
* "DocumentAI" (case-insensitive match). 7. A slash character '/' is reserved
* as a separator in flattened representations of nested entity types (e.g.,
* "line_item/amount") in which case each part (e.g., "line_item", "amount")
* must comply with the rules defined above. We recommend using the snake case
* ("snake_case") in entity type names.
*
* @param string $type
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3SchemaEntityType::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3SchemaEntityType');
@@ -0,0 +1,48 @@
<?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 GoogleCloudDocumentaiUiv1beta3SchemaInferenceMetadata extends \Google\Model
{
/**
* True if is inferred by schema inference.
*
* @var bool
*/
public $inferred;
/**
* True if is inferred by schema inference.
*
* @param bool $inferred
*/
public function setInferred($inferred)
{
$this->inferred = $inferred;
}
/**
* @return bool
*/
public function getInferred()
{
return $this->inferred;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3SchemaInferenceMetadata::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3SchemaInferenceMetadata');
@@ -0,0 +1,44 @@
<?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 GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata extends \Google\Model
{
protected $commonMetadataType = GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::class;
protected $commonMetadataDataType = '';
/**
* The basic metadata of the long-running operation.
*
* @param GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata
*/
public function setCommonMetadata(GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata)
{
$this->commonMetadata = $commonMetadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
*/
public function getCommonMetadata()
{
return $this->commonMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata');
@@ -0,0 +1,25 @@
<?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 GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionResponse::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionResponse');
@@ -0,0 +1,102 @@
<?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 GoogleCloudDocumentaiUiv1beta3SummaryOptions extends \Google\Model
{
/**
* Default.
*/
public const FORMAT_FORMAT_UNSPECIFIED = 'FORMAT_UNSPECIFIED';
/**
* Format the output in paragraphs.
*/
public const FORMAT_PARAGRAPH = 'PARAGRAPH';
/**
* Format the output in bullets.
*/
public const FORMAT_BULLETS = 'BULLETS';
/**
* Default.
*/
public const LENGTH_LENGTH_UNSPECIFIED = 'LENGTH_UNSPECIFIED';
/**
* A brief summary of one or two sentences.
*/
public const LENGTH_BRIEF = 'BRIEF';
/**
* A paragraph-length summary.
*/
public const LENGTH_MODERATE = 'MODERATE';
/**
* The longest option available.
*/
public const LENGTH_COMPREHENSIVE = 'COMPREHENSIVE';
/**
* The format the summary should be in.
*
* @var string
*/
public $format;
/**
* How long the summary should be.
*
* @var string
*/
public $length;
/**
* The format the summary should be in.
*
* Accepted values: FORMAT_UNSPECIFIED, PARAGRAPH, BULLETS
*
* @param self::FORMAT_* $format
*/
public function setFormat($format)
{
$this->format = $format;
}
/**
* @return self::FORMAT_*
*/
public function getFormat()
{
return $this->format;
}
/**
* How long the summary should be.
*
* Accepted values: LENGTH_UNSPECIFIED, BRIEF, MODERATE, COMPREHENSIVE
*
* @param self::LENGTH_* $length
*/
public function setLength($length)
{
$this->length = $length;
}
/**
* @return self::LENGTH_*
*/
public function getLength()
{
return $this->length;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3SummaryOptions::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3SummaryOptions');
@@ -0,0 +1,80 @@
<?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 GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata extends \Google\Model
{
protected $commonMetadataType = GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::class;
protected $commonMetadataDataType = '';
protected $testDatasetValidationType = GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation::class;
protected $testDatasetValidationDataType = '';
protected $trainingDatasetValidationType = GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation::class;
protected $trainingDatasetValidationDataType = '';
/**
* The basic metadata of the long-running operation.
*
* @param GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata
*/
public function setCommonMetadata(GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata)
{
$this->commonMetadata = $commonMetadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
*/
public function getCommonMetadata()
{
return $this->commonMetadata;
}
/**
* The test dataset validation information.
*
* @param GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation $testDatasetValidation
*/
public function setTestDatasetValidation(GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation $testDatasetValidation)
{
$this->testDatasetValidation = $testDatasetValidation;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation
*/
public function getTestDatasetValidation()
{
return $this->testDatasetValidation;
}
/**
* The training dataset validation information.
*
* @param GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation $trainingDatasetValidation
*/
public function setTrainingDatasetValidation(GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation $trainingDatasetValidation)
{
$this->trainingDatasetValidation = $trainingDatasetValidation;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation
*/
public function getTrainingDatasetValidation()
{
return $this->trainingDatasetValidation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadata');
@@ -0,0 +1,110 @@
<?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 GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation extends \Google\Collection
{
protected $collection_key = 'documentErrors';
/**
* The total number of dataset errors.
*
* @var int
*/
public $datasetErrorCount;
protected $datasetErrorsType = GoogleRpcStatus::class;
protected $datasetErrorsDataType = 'array';
/**
* The total number of document errors.
*
* @var int
*/
public $documentErrorCount;
protected $documentErrorsType = GoogleRpcStatus::class;
protected $documentErrorsDataType = 'array';
/**
* The total number of dataset errors.
*
* @param int $datasetErrorCount
*/
public function setDatasetErrorCount($datasetErrorCount)
{
$this->datasetErrorCount = $datasetErrorCount;
}
/**
* @return int
*/
public function getDatasetErrorCount()
{
return $this->datasetErrorCount;
}
/**
* Error information for the dataset as a whole. A maximum of 10 dataset
* errors will be returned. A single dataset error is terminal for training.
*
* @param GoogleRpcStatus[] $datasetErrors
*/
public function setDatasetErrors($datasetErrors)
{
$this->datasetErrors = $datasetErrors;
}
/**
* @return GoogleRpcStatus[]
*/
public function getDatasetErrors()
{
return $this->datasetErrors;
}
/**
* The total number of document errors.
*
* @param int $documentErrorCount
*/
public function setDocumentErrorCount($documentErrorCount)
{
$this->documentErrorCount = $documentErrorCount;
}
/**
* @return int
*/
public function getDocumentErrorCount()
{
return $this->documentErrorCount;
}
/**
* Error information pertaining to specific documents. A maximum of 10
* document errors will be returned. Any document with errors will not be used
* throughout training.
*
* @param GoogleRpcStatus[] $documentErrors
*/
public function setDocumentErrors($documentErrors)
{
$this->documentErrors = $documentErrors;
}
/**
* @return GoogleRpcStatus[]
*/
public function getDocumentErrors()
{
return $this->documentErrors;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionMetadataDatasetValidation');
@@ -0,0 +1,48 @@
<?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 GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionResponse extends \Google\Model
{
/**
* The resource name of the processor version produced by training.
*
* @var string
*/
public $processorVersion;
/**
* The resource name of the processor version produced by training.
*
* @param string $processorVersion
*/
public function setProcessorVersion($processorVersion)
{
$this->processorVersion = $processorVersion;
}
/**
* @return string
*/
public function getProcessorVersion()
{
return $this->processorVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionResponse::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3TrainProcessorVersionResponse');
@@ -0,0 +1,44 @@
<?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 GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionMetadata extends \Google\Model
{
protected $commonMetadataType = GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::class;
protected $commonMetadataDataType = '';
/**
* The basic metadata of the long-running operation.
*
* @param GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata
*/
public function setCommonMetadata(GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata)
{
$this->commonMetadata = $commonMetadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
*/
public function getCommonMetadata()
{
return $this->commonMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionMetadata::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionMetadata');
@@ -0,0 +1,25 @@
<?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 GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse');
@@ -0,0 +1,44 @@
<?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 GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata extends \Google\Model
{
protected $commonMetadataType = GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::class;
protected $commonMetadataDataType = '';
/**
* The basic metadata of the long-running operation.
*
* @param GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata
*/
public function setCommonMetadata(GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata)
{
$this->commonMetadata = $commonMetadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
*/
public function getCommonMetadata()
{
return $this->commonMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3UpdateDatasetOperationMetadata');
@@ -0,0 +1,44 @@
<?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 GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata extends \Google\Model
{
protected $commonMetadataType = GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::class;
protected $commonMetadataDataType = '';
/**
* The basic metadata of the long-running operation.
*
* @param GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata
*/
public function setCommonMetadata(GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata)
{
$this->commonMetadata = $commonMetadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
*/
public function getCommonMetadata()
{
return $this->commonMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3UpdateHumanReviewConfigMetadata');
@@ -0,0 +1,44 @@
<?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 GoogleCloudDocumentaiUiv1beta3UpdateLabelerPoolOperationMetadata extends \Google\Model
{
protected $commonMetadataType = GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::class;
protected $commonMetadataDataType = '';
/**
* The basic metadata of the long-running operation.
*
* @param GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata
*/
public function setCommonMetadata(GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata)
{
$this->commonMetadata = $commonMetadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
*/
public function getCommonMetadata()
{
return $this->commonMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3UpdateLabelerPoolOperationMetadata::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3UpdateLabelerPoolOperationMetadata');
@@ -0,0 +1,44 @@
<?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 GoogleCloudDocumentaiUiv1beta3UpdateProcessorVersionMetadata extends \Google\Model
{
protected $commonMetadataType = GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::class;
protected $commonMetadataDataType = '';
/**
* The basic metadata for the long-running operation.
*
* @param GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata
*/
public function setCommonMetadata(GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata $commonMetadata)
{
$this->commonMetadata = $commonMetadata;
}
/**
* @return GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata
*/
public function getCommonMetadata()
{
return $this->commonMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3UpdateProcessorVersionMetadata::class, 'Google_Service_Document_GoogleCloudDocumentaiUiv1beta3UpdateProcessorVersionMetadata');
@@ -0,0 +1,114 @@
<?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 GoogleCloudDocumentaiV1Barcode extends \Google\Model
{
/**
* Format of a barcode. The supported formats are: - `CODE_128`: Code 128
* type. - `CODE_39`: Code 39 type. - `CODE_93`: Code 93 type. - `CODABAR`:
* Codabar type. - `DATA_MATRIX`: 2D Data Matrix type. - `ITF`: ITF type. -
* `EAN_13`: EAN-13 type. - `EAN_8`: EAN-8 type. - `QR_CODE`: 2D QR code type.
* - `UPC_A`: UPC-A type. - `UPC_E`: UPC-E type. - `PDF417`: PDF417 type. -
* `AZTEC`: 2D Aztec code type. - `DATABAR`: GS1 DataBar code type.
*
* @var string
*/
public $format;
/**
* Raw value encoded in the barcode. For example:
* `'MEBKM:TITLE:Google;URL:https://www.google.com;;'`.
*
* @var string
*/
public $rawValue;
/**
* Value format describes the format of the value that a barcode encodes. The
* supported formats are: - `CONTACT_INFO`: Contact information. - `EMAIL`:
* Email address. - `ISBN`: ISBN identifier. - `PHONE`: Phone number. -
* `PRODUCT`: Product. - `SMS`: SMS message. - `TEXT`: Text string. - `URL`:
* URL address. - `WIFI`: Wifi information. - `GEO`: Geo-localization. -
* `CALENDAR_EVENT`: Calendar event. - `DRIVER_LICENSE`: Driver's license.
*
* @var string
*/
public $valueFormat;
/**
* Format of a barcode. The supported formats are: - `CODE_128`: Code 128
* type. - `CODE_39`: Code 39 type. - `CODE_93`: Code 93 type. - `CODABAR`:
* Codabar type. - `DATA_MATRIX`: 2D Data Matrix type. - `ITF`: ITF type. -
* `EAN_13`: EAN-13 type. - `EAN_8`: EAN-8 type. - `QR_CODE`: 2D QR code type.
* - `UPC_A`: UPC-A type. - `UPC_E`: UPC-E type. - `PDF417`: PDF417 type. -
* `AZTEC`: 2D Aztec code type. - `DATABAR`: GS1 DataBar code type.
*
* @param string $format
*/
public function setFormat($format)
{
$this->format = $format;
}
/**
* @return string
*/
public function getFormat()
{
return $this->format;
}
/**
* Raw value encoded in the barcode. For example:
* `'MEBKM:TITLE:Google;URL:https://www.google.com;;'`.
*
* @param string $rawValue
*/
public function setRawValue($rawValue)
{
$this->rawValue = $rawValue;
}
/**
* @return string
*/
public function getRawValue()
{
return $this->rawValue;
}
/**
* Value format describes the format of the value that a barcode encodes. The
* supported formats are: - `CONTACT_INFO`: Contact information. - `EMAIL`:
* Email address. - `ISBN`: ISBN identifier. - `PHONE`: Phone number. -
* `PRODUCT`: Product. - `SMS`: SMS message. - `TEXT`: Text string. - `URL`:
* URL address. - `WIFI`: Wifi information. - `GEO`: Geo-localization. -
* `CALENDAR_EVENT`: Calendar event. - `DRIVER_LICENSE`: Driver's license.
*
* @param string $valueFormat
*/
public function setValueFormat($valueFormat)
{
$this->valueFormat = $valueFormat;
}
/**
* @return string
*/
public function getValueFormat()
{
return $this->valueFormat;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiV1Barcode::class, 'Google_Service_Document_GoogleCloudDocumentaiV1Barcode');

Some files were not shown because too many files have changed in this diff Show More