Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Commit

Permalink
feat: Added field_mask to ProcessRequest object in document_processor…
Browse files Browse the repository at this point in the history
…_service.proto (#358)

- [ ] Regenerate this pull request now.

feat: Added parent_ids to Revision object in document.proto
feat: Added integer_values, float_values and non_present to Entity object in document.proto
feat: Added corrected_key_text, correct_value_text to FormField object in document.proto
feat: Added OperationMetadata resource
feat: Added Barcode support
feat!: Added Processor Management and Processor Version support to v1 library

BREAKING CHANGE: Changed the name field for ProcessRequest and BatchProcessorRequest to accept * so the name field can accept Processor and ProcessorVersion.

PiperOrigin-RevId: 468022354

Source-Link: googleapis/googleapis@d0237ea

Source-Link: https://github.com/googleapis/googleapis-gen/commit/22d54f2d8eddd616149c5691d8056ef1290bacfa
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjJkNTRmMmQ4ZWRkZDYxNjE0OWM1NjkxZDgwNTZlZjEyOTBiYWNmYSJ9

chore: use gapic-generator-python 1.2.0
PiperOrigin-RevId: 467286830

Source-Link: googleapis/googleapis@e6e875a

Source-Link: https://github.com/googleapis/googleapis-gen/commit/0295ea14d9cd4d47ddb23b9ebd39a31e2035e28f
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMDI5NWVhMTRkOWNkNGQ0N2RkYjIzYjllYmQzOWEzMWUyMDM1ZTI4ZiJ9

docs: fix minor docstring formatting
PiperOrigin-RevId: 466493520

Source-Link: googleapis/googleapis@c2674a3

Source-Link: https://github.com/googleapis/googleapis-gen/commit/30077cfdd7aa06b94264ed733e7f68722f65b870
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMzAwNzdjZmRkN2FhMDZiOTQyNjRlZDczM2U3ZjY4NzIyZjY1Yjg3MCJ9

feat: Added field_mask to ProcessRequest object in document_processor_service.proto
feat: Added parent_ids to Revision object in document.proto
feat: Added integer_values, float_values and non_present to Entity object in document.proto
feat: Added corrected_key_text, correct_value_text to FormField object in document.proto
feat: Added OperationMetadata resource
feat!: Added Processor Management and Processor Version support to v1 library

BREAKING CHANGE: Changed the name field for ProcessRequest and BatchProcessorRequest to accept * so the name field can accept Processor and ProcessorVersion.

PiperOrigin-RevId: 466168406

Source-Link: googleapis/googleapis@19bf693

Source-Link: https://github.com/googleapis/googleapis-gen/commit/90986a3608bdc0a150e88650cffbfd44ae66d59b
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTA5ODZhMzYwOGJkYzBhMTUwZTg4NjUwY2ZmYmZkNDRhZTY2ZDU5YiJ9
  • Loading branch information
gcf-owl-bot[bot] authored Aug 17, 2022
1 parent 1a5ebea commit 78e7fba
Show file tree
Hide file tree
Showing 84 changed files with 27,060 additions and 2,388 deletions.
4 changes: 4 additions & 0 deletions docs/documentai_v1/document_processor_service.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ DocumentProcessorService
.. automodule:: google.cloud.documentai_v1.services.document_processor_service
:members:
:inherited-members:

.. automodule:: google.cloud.documentai_v1.services.document_processor_service.pagers
:members:
:inherited-members:
69 changes: 69 additions & 0 deletions google/cloud/documentai/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
from google.cloud.documentai_v1.services.document_processor_service.client import (
DocumentProcessorServiceClient,
)
from google.cloud.documentai_v1.types.barcode import Barcode
from google.cloud.documentai_v1.types.document import Document
from google.cloud.documentai_v1.types.document_io import (
BatchDocumentsInputConfig,
Expand All @@ -33,23 +34,57 @@
BatchProcessMetadata,
BatchProcessRequest,
BatchProcessResponse,
CreateProcessorRequest,
DeleteProcessorMetadata,
DeleteProcessorRequest,
DeleteProcessorVersionMetadata,
DeleteProcessorVersionRequest,
DeployProcessorVersionMetadata,
DeployProcessorVersionRequest,
DeployProcessorVersionResponse,
DisableProcessorMetadata,
DisableProcessorRequest,
DisableProcessorResponse,
EnableProcessorMetadata,
EnableProcessorRequest,
EnableProcessorResponse,
FetchProcessorTypesRequest,
FetchProcessorTypesResponse,
GetProcessorRequest,
GetProcessorVersionRequest,
HumanReviewStatus,
ListProcessorsRequest,
ListProcessorsResponse,
ListProcessorTypesRequest,
ListProcessorTypesResponse,
ListProcessorVersionsRequest,
ListProcessorVersionsResponse,
ProcessRequest,
ProcessResponse,
ReviewDocumentOperationMetadata,
ReviewDocumentRequest,
ReviewDocumentResponse,
SetDefaultProcessorVersionMetadata,
SetDefaultProcessorVersionRequest,
SetDefaultProcessorVersionResponse,
UndeployProcessorVersionMetadata,
UndeployProcessorVersionRequest,
UndeployProcessorVersionResponse,
)
from google.cloud.documentai_v1.types.document_schema import DocumentSchema
from google.cloud.documentai_v1.types.geometry import (
BoundingPoly,
NormalizedVertex,
Vertex,
)
from google.cloud.documentai_v1.types.operation_metadata import CommonOperationMetadata
from google.cloud.documentai_v1.types.processor import Processor, ProcessorVersion
from google.cloud.documentai_v1.types.processor_type import ProcessorType

__all__ = (
"DocumentProcessorServiceClient",
"DocumentProcessorServiceAsyncClient",
"Barcode",
"Document",
"BatchDocumentsInputConfig",
"DocumentOutputConfig",
Expand All @@ -60,14 +95,48 @@
"BatchProcessMetadata",
"BatchProcessRequest",
"BatchProcessResponse",
"CreateProcessorRequest",
"DeleteProcessorMetadata",
"DeleteProcessorRequest",
"DeleteProcessorVersionMetadata",
"DeleteProcessorVersionRequest",
"DeployProcessorVersionMetadata",
"DeployProcessorVersionRequest",
"DeployProcessorVersionResponse",
"DisableProcessorMetadata",
"DisableProcessorRequest",
"DisableProcessorResponse",
"EnableProcessorMetadata",
"EnableProcessorRequest",
"EnableProcessorResponse",
"FetchProcessorTypesRequest",
"FetchProcessorTypesResponse",
"GetProcessorRequest",
"GetProcessorVersionRequest",
"HumanReviewStatus",
"ListProcessorsRequest",
"ListProcessorsResponse",
"ListProcessorTypesRequest",
"ListProcessorTypesResponse",
"ListProcessorVersionsRequest",
"ListProcessorVersionsResponse",
"ProcessRequest",
"ProcessResponse",
"ReviewDocumentOperationMetadata",
"ReviewDocumentRequest",
"ReviewDocumentResponse",
"SetDefaultProcessorVersionMetadata",
"SetDefaultProcessorVersionRequest",
"SetDefaultProcessorVersionResponse",
"UndeployProcessorVersionMetadata",
"UndeployProcessorVersionRequest",
"UndeployProcessorVersionResponse",
"DocumentSchema",
"BoundingPoly",
"NormalizedVertex",
"Vertex",
"CommonOperationMetadata",
"Processor",
"ProcessorVersion",
"ProcessorType",
)
69 changes: 69 additions & 0 deletions google/cloud/documentai_v1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
DocumentProcessorServiceAsyncClient,
DocumentProcessorServiceClient,
)
from .types.barcode import Barcode
from .types.document import Document
from .types.document_io import (
BatchDocumentsInputConfig,
Expand All @@ -31,37 +32,105 @@
BatchProcessMetadata,
BatchProcessRequest,
BatchProcessResponse,
CreateProcessorRequest,
DeleteProcessorMetadata,
DeleteProcessorRequest,
DeleteProcessorVersionMetadata,
DeleteProcessorVersionRequest,
DeployProcessorVersionMetadata,
DeployProcessorVersionRequest,
DeployProcessorVersionResponse,
DisableProcessorMetadata,
DisableProcessorRequest,
DisableProcessorResponse,
EnableProcessorMetadata,
EnableProcessorRequest,
EnableProcessorResponse,
FetchProcessorTypesRequest,
FetchProcessorTypesResponse,
GetProcessorRequest,
GetProcessorVersionRequest,
HumanReviewStatus,
ListProcessorsRequest,
ListProcessorsResponse,
ListProcessorTypesRequest,
ListProcessorTypesResponse,
ListProcessorVersionsRequest,
ListProcessorVersionsResponse,
ProcessRequest,
ProcessResponse,
ReviewDocumentOperationMetadata,
ReviewDocumentRequest,
ReviewDocumentResponse,
SetDefaultProcessorVersionMetadata,
SetDefaultProcessorVersionRequest,
SetDefaultProcessorVersionResponse,
UndeployProcessorVersionMetadata,
UndeployProcessorVersionRequest,
UndeployProcessorVersionResponse,
)
from .types.document_schema import DocumentSchema
from .types.geometry import BoundingPoly, NormalizedVertex, Vertex
from .types.operation_metadata import CommonOperationMetadata
from .types.processor import Processor, ProcessorVersion
from .types.processor_type import ProcessorType

__all__ = (
"DocumentProcessorServiceAsyncClient",
"Barcode",
"BatchDocumentsInputConfig",
"BatchProcessMetadata",
"BatchProcessRequest",
"BatchProcessResponse",
"BoundingPoly",
"CommonOperationMetadata",
"CreateProcessorRequest",
"DeleteProcessorMetadata",
"DeleteProcessorRequest",
"DeleteProcessorVersionMetadata",
"DeleteProcessorVersionRequest",
"DeployProcessorVersionMetadata",
"DeployProcessorVersionRequest",
"DeployProcessorVersionResponse",
"DisableProcessorMetadata",
"DisableProcessorRequest",
"DisableProcessorResponse",
"Document",
"DocumentOutputConfig",
"DocumentProcessorServiceClient",
"DocumentSchema",
"EnableProcessorMetadata",
"EnableProcessorRequest",
"EnableProcessorResponse",
"FetchProcessorTypesRequest",
"FetchProcessorTypesResponse",
"GcsDocument",
"GcsDocuments",
"GcsPrefix",
"GetProcessorRequest",
"GetProcessorVersionRequest",
"HumanReviewStatus",
"ListProcessorTypesRequest",
"ListProcessorTypesResponse",
"ListProcessorVersionsRequest",
"ListProcessorVersionsResponse",
"ListProcessorsRequest",
"ListProcessorsResponse",
"NormalizedVertex",
"ProcessRequest",
"ProcessResponse",
"Processor",
"ProcessorType",
"ProcessorVersion",
"RawDocument",
"ReviewDocumentOperationMetadata",
"ReviewDocumentRequest",
"ReviewDocumentResponse",
"SetDefaultProcessorVersionMetadata",
"SetDefaultProcessorVersionRequest",
"SetDefaultProcessorVersionResponse",
"UndeployProcessorVersionMetadata",
"UndeployProcessorVersionRequest",
"UndeployProcessorVersionResponse",
"Vertex",
)
Loading

0 comments on commit 78e7fba

Please sign in to comment.