Skip to content

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: googleapis/googleapis-gen@22d54f2
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjJkNTRmMmQ4ZWRkZDYxNjE0OWM1NjkxZDgwNTZlZjEyOTBiYWNmYSJ9

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

Source-Link: googleapis/googleapis@e6e875a

Source-Link: googleapis/googleapis-gen@0295ea1
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMDI5NWVhMTRkOWNkNGQ0N2RkYjIzYjllYmQzOWEzMWUyMDM1ZTI4ZiJ9

docs: fix minor docstring formatting
PiperOrigin-RevId: 466493520

Source-Link: googleapis/googleapis@c2674a3

Source-Link: googleapis/googleapis-gen@30077cf
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: googleapis/googleapis-gen@90986a3
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTA5ODZhMzYwOGJkYzBhMTUwZTg4NjUwY2ZmYmZkNDRhZTY2ZDU5YiJ9
  • Loading branch information
gcf-owl-bot[bot] authored Aug 17, 2022
1 parent 15a181d commit 9149579
Show file tree
Hide file tree
Showing 84 changed files with 27,060 additions and 2,388 deletions.
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:
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",
)
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 9149579

Please sign in to comment.