Skip to content

Commit 3ec5a2c

Browse files
docs: [google-cloud-documentai] clarify the unavailability of some features (#12699)
- [ ] Regenerate this pull request now. chore: field behavior annotations in processor.proto PiperOrigin-RevId: 633834640 Source-Link: googleapis/googleapis@ca6e6eb Source-Link: googleapis/googleapis-gen@017e306 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRvY3VtZW50YWkvLk93bEJvdC55YW1sIiwiaCI6IjAxN2UzMDZmMGRjZDc5MzZmODdlMmQ3YjJhOTMzOWRhODc5MTBlOTIifQ== --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent 262ef80 commit 3ec5a2c

2 files changed

Lines changed: 12 additions & 6 deletions

File tree

packages/google-cloud-documentai/google/cloud/documentai_v1/types/document.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -626,13 +626,17 @@ class StyleInfo(proto.Message):
626626
underlined (bool):
627627
Whether the text is underlined.
628628
strikeout (bool):
629-
Whether the text is strikethrough.
629+
Whether the text is strikethrough. This
630+
feature is not supported yet.
630631
subscript (bool):
631-
Whether the text is a subscript.
632+
Whether the text is a subscript. This feature
633+
is not supported yet.
632634
superscript (bool):
633-
Whether the text is a superscript.
635+
Whether the text is a superscript. This
636+
feature is not supported yet.
634637
smallcaps (bool):
635-
Whether the text is in small caps.
638+
Whether the text is in small caps. This
639+
feature is not supported yet.
636640
font_weight (int):
637641
TrueType weight on a scale ``100`` (thin) to ``1000``
638642
(ultra-heavy). Normal is ``400``, bold is ``700``.

packages/google-cloud-documentai/google/cloud/documentai_v1/types/processor.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,17 @@ class ProcessorVersion(proto.Message):
4242
4343
Attributes:
4444
name (str):
45-
The resource name of the processor version. Format:
45+
Identifier. The resource name of the processor version.
46+
Format:
4647
``projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}``
4748
display_name (str):
4849
The display name of the processor version.
4950
document_schema (google.cloud.documentai_v1.types.DocumentSchema):
5051
The schema of the processor version.
5152
Describes the output.
5253
state (google.cloud.documentai_v1.types.ProcessorVersion.State):
53-
The state of the processor version.
54+
Output only. The state of the processor
55+
version.
5456
create_time (google.protobuf.timestamp_pb2.Timestamp):
5557
The time the processor version was created.
5658
latest_evaluation (google.cloud.documentai_v1.types.EvaluationReference):

0 commit comments

Comments
 (0)