-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add v1beta2, remove v1beta1 (#13)
* feat: generate v1beta2 * chore: remove extra line in changelog
- Loading branch information
1 parent
ae39ef6
commit 9dda65e
Showing
51 changed files
with
2,641 additions
and
6,287 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
This directory contains eggs that were downloaded by setuptools to build, test, and run plug-ins. | ||
|
||
This directory caches those eggs to prevent repeated downloads. | ||
|
||
However, it is safe to delete this directory. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
# Changelog | ||
# Changelog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
packages/google-cloud-documentai/docs/documentai_v1beta2/services.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Client for Google Cloud Documentai API | ||
====================================== | ||
|
||
.. automodule:: google.cloud.documentai_v1beta2 | ||
:members: | ||
:inherited-members: |
5 changes: 5 additions & 0 deletions
5
packages/google-cloud-documentai/docs/documentai_v1beta2/types.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Types for Google Cloud Documentai API | ||
===================================== | ||
|
||
.. automodule:: google.cloud.documentai_v1beta2.types | ||
:members: |
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
packages/google-cloud-documentai/docs/gapic/v1beta1/types.rst
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 0 additions & 25 deletions
25
packages/google-cloud-documentai/google/cloud/documentai.py
This file was deleted.
Oops, something went wrong.
83 changes: 83 additions & 0 deletions
83
packages/google-cloud-documentai/google/cloud/documentai/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
# Copyright (C) 2019 Google LLC | ||
# | ||
# 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. | ||
# | ||
|
||
|
||
from google.cloud.documentai_v1beta2.services.document_understanding_service.client import ( | ||
DocumentUnderstandingServiceClient, | ||
) | ||
from google.cloud.documentai_v1beta2.types.document import Document | ||
from google.cloud.documentai_v1beta2.types.document_understanding import AutoMlParams | ||
from google.cloud.documentai_v1beta2.types.document_understanding import ( | ||
BatchProcessDocumentsRequest, | ||
) | ||
from google.cloud.documentai_v1beta2.types.document_understanding import ( | ||
BatchProcessDocumentsResponse, | ||
) | ||
from google.cloud.documentai_v1beta2.types.document_understanding import ( | ||
EntityExtractionParams, | ||
) | ||
from google.cloud.documentai_v1beta2.types.document_understanding import ( | ||
FormExtractionParams, | ||
) | ||
from google.cloud.documentai_v1beta2.types.document_understanding import GcsDestination | ||
from google.cloud.documentai_v1beta2.types.document_understanding import GcsSource | ||
from google.cloud.documentai_v1beta2.types.document_understanding import InputConfig | ||
from google.cloud.documentai_v1beta2.types.document_understanding import ( | ||
KeyValuePairHint, | ||
) | ||
from google.cloud.documentai_v1beta2.types.document_understanding import OcrParams | ||
from google.cloud.documentai_v1beta2.types.document_understanding import ( | ||
OperationMetadata, | ||
) | ||
from google.cloud.documentai_v1beta2.types.document_understanding import OutputConfig | ||
from google.cloud.documentai_v1beta2.types.document_understanding import ( | ||
ProcessDocumentRequest, | ||
) | ||
from google.cloud.documentai_v1beta2.types.document_understanding import ( | ||
ProcessDocumentResponse, | ||
) | ||
from google.cloud.documentai_v1beta2.types.document_understanding import TableBoundHint | ||
from google.cloud.documentai_v1beta2.types.document_understanding import ( | ||
TableExtractionParams, | ||
) | ||
from google.cloud.documentai_v1beta2.types.geometry import BoundingPoly | ||
from google.cloud.documentai_v1beta2.types.geometry import NormalizedVertex | ||
from google.cloud.documentai_v1beta2.types.geometry import Vertex | ||
|
||
__all__ = ( | ||
"AutoMlParams", | ||
"BatchProcessDocumentsRequest", | ||
"BatchProcessDocumentsResponse", | ||
"BoundingPoly", | ||
"Document", | ||
"DocumentUnderstandingServiceClient", | ||
"EntityExtractionParams", | ||
"FormExtractionParams", | ||
"GcsDestination", | ||
"GcsSource", | ||
"InputConfig", | ||
"KeyValuePairHint", | ||
"NormalizedVertex", | ||
"OcrParams", | ||
"OperationMetadata", | ||
"OutputConfig", | ||
"ProcessDocumentRequest", | ||
"ProcessDocumentResponse", | ||
"TableBoundHint", | ||
"TableExtractionParams", | ||
"Vertex", | ||
) |
2 changes: 2 additions & 0 deletions
2
packages/google-cloud-documentai/google/cloud/documentai/py.typed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Marker file for PEP 561. | ||
# The google-cloud-documentai package uses inline types. |
45 changes: 0 additions & 45 deletions
45
packages/google-cloud-documentai/google/cloud/documentai_v1beta1/__init__.py
This file was deleted.
Oops, something went wrong.
Empty file removed
0
packages/google-cloud-documentai/google/cloud/documentai_v1beta1/gapic/__init__.py
Empty file.
Oops, something went wrong.