Skip to content

Commit 60d0728

Browse files
feat: [google-cloud-documentai] A new field imageless_mode is added to message .google.cloud.documentai.v1.ProcessRequest (#12966)
- [ ] Regenerate this pull request now. docs: Keep the API doc up-to-date with recent changes PiperOrigin-RevId: 657890649 Source-Link: googleapis/googleapis@51c59a2 Source-Link: googleapis/googleapis-gen@043503e Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRvY3VtZW50YWkvLk93bEJvdC55YW1sIiwiaCI6IjA0MzUwM2UzZmUxNmM5MDhmYzAyOTJiMDFmMjJiZGRhMTg0ZjY3OGMifQ== --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 3e53ea9 commit 60d0728

File tree

23 files changed

+249
-20
lines changed

23 files changed

+249
-20
lines changed

packages/google-cloud-documentai/google/cloud/documentai/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "2.29.3" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-documentai/google/cloud/documentai_v1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "2.29.3" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-documentai/google/cloud/documentai_v1beta2/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "2.29.3" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-documentai/google/cloud/documentai_v1beta3/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "2.29.3" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-documentai/google/cloud/documentai_v1beta3/services/document_processor_service/async_client.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1942,7 +1942,11 @@ async def create_processor(
19421942
r"""Creates a processor from the
19431943
[ProcessorType][google.cloud.documentai.v1beta3.ProcessorType]
19441944
provided. The processor will be at ``ENABLED`` state by default
1945-
after its creation.
1945+
after its creation. Note that this method requires the
1946+
``documentai.processors.create`` permission on the project,
1947+
which is highly privileged. A user or service account with this
1948+
permission can create new processors that can interact with any
1949+
gcs bucket in your project.
19461950
19471951
.. code-block:: python
19481952

packages/google-cloud-documentai/google/cloud/documentai_v1beta3/services/document_processor_service/client.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2393,7 +2393,11 @@ def create_processor(
23932393
r"""Creates a processor from the
23942394
[ProcessorType][google.cloud.documentai.v1beta3.ProcessorType]
23952395
provided. The processor will be at ``ENABLED`` state by default
2396-
after its creation.
2396+
after its creation. Note that this method requires the
2397+
``documentai.processors.create`` permission on the project,
2398+
which is highly privileged. A user or service account with this
2399+
permission can create new processors that can interact with any
2400+
gcs bucket in your project.
23972401
23982402
.. code-block:: python
23992403

packages/google-cloud-documentai/google/cloud/documentai_v1beta3/services/document_processor_service/transports/grpc.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,11 @@ def create_processor(
650650
Creates a processor from the
651651
[ProcessorType][google.cloud.documentai.v1beta3.ProcessorType]
652652
provided. The processor will be at ``ENABLED`` state by default
653-
after its creation.
653+
after its creation. Note that this method requires the
654+
``documentai.processors.create`` permission on the project,
655+
which is highly privileged. A user or service account with this
656+
permission can create new processors that can interact with any
657+
gcs bucket in your project.
654658
655659
Returns:
656660
Callable[[~.CreateProcessorRequest],

packages/google-cloud-documentai/google/cloud/documentai_v1beta3/services/document_processor_service/transports/grpc_asyncio.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,11 @@ def create_processor(
658658
Creates a processor from the
659659
[ProcessorType][google.cloud.documentai.v1beta3.ProcessorType]
660660
provided. The processor will be at ``ENABLED`` state by default
661-
after its creation.
661+
after its creation. Note that this method requires the
662+
``documentai.processors.create`` permission on the project,
663+
which is highly privileged. A user or service account with this
664+
permission can create new processors that can interact with any
665+
gcs bucket in your project.
662666
663667
Returns:
664668
Callable[[~.CreateProcessorRequest],

packages/google-cloud-documentai/google/cloud/documentai_v1beta3/services/document_service/async_client.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,12 @@ async def update_dataset(
289289
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
290290
metadata: Sequence[Tuple[str, str]] = (),
291291
) -> operation_async.AsyncOperation:
292-
r"""Updates metadata associated with a dataset.
292+
r"""Updates metadata associated with a dataset. Note that this
293+
method requires the
294+
``documentai.googleapis.com/datasets.update`` permission on the
295+
project, which is highly privileged. A user or service account
296+
with this permission can create new processors that can interact
297+
with any gcs bucket in your project.
293298
294299
.. code-block:: python
295300

packages/google-cloud-documentai/google/cloud/documentai_v1beta3/services/document_service/client.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,12 @@ def update_dataset(
747747
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
748748
metadata: Sequence[Tuple[str, str]] = (),
749749
) -> operation.Operation:
750-
r"""Updates metadata associated with a dataset.
750+
r"""Updates metadata associated with a dataset. Note that this
751+
method requires the
752+
``documentai.googleapis.com/datasets.update`` permission on the
753+
project, which is highly privileged. A user or service account
754+
with this permission can create new processors that can interact
755+
with any gcs bucket in your project.
751756
752757
.. code-block:: python
753758

0 commit comments

Comments
 (0)