Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 35c180e

Browse files
docs: [google-cloud-documentai] Clarify Properties documentation (#12118)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 590321253 Source-Link: googleapis/googleapis@e1d4dfa Source-Link: googleapis/googleapis-gen@cdb0360 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRvY3VtZW50YWkvLk93bEJvdC55YW1sIiwiaCI6ImNkYjAzNjA3YWNhMmNkZGE0MWFmY2FlZjQ3MTBlNmFiMmUwOTMwOGUifQ== --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <[email protected]>
1 parent f0b84e7 commit 35c180e

File tree

8 files changed

+15
-15
lines changed

8 files changed

+15
-15
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.21.0" # {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.21.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,14 @@ class Property(proto.Message):
119119

120120
class OccurrenceType(proto.Enum):
121121
r"""Types of occurrences of the entity type in the document. This
122-
represents the number of instances of instances of an entity, not
123-
number of mentions of an entity. For example, a bank statement may
124-
only have one ``account_number``, but this account number may be
125-
mentioned in several places on the document. In this case the
126-
'account_number' would be considered a ``REQUIRED_ONCE`` entity
127-
type. If, on the other hand, we expect a bank statement to contain
128-
the status of multiple different accounts for the customers, the
129-
occurrence type will be set to ``REQUIRED_MULTIPLE``.
122+
represents the number of instances of an entity, not number of
123+
mentions of an entity. For example, a bank statement may only have
124+
one ``account_number``, but this account number may be mentioned in
125+
several places on the document. In this case the 'account_number'
126+
would be considered a ``REQUIRED_ONCE`` entity type. If, on the
127+
other hand, we expect a bank statement to contain the status of
128+
multiple different accounts for the customers, the occurrence type
129+
will be set to ``REQUIRED_MULTIPLE``.
130130
131131
Values:
132132
OCCURRENCE_TYPE_UNSPECIFIED (0):

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.21.0" # {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.21.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-documentai/samples/generated_samples/snippet_metadata_google.cloud.documentai.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-documentai",
11-
"version": "2.21.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

packages/google-cloud-documentai/samples/generated_samples/snippet_metadata_google.cloud.documentai.v1beta2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-documentai",
11-
"version": "2.21.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

packages/google-cloud-documentai/samples/generated_samples/snippet_metadata_google.cloud.documentai.v1beta3.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-documentai",
11-
"version": "2.21.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

0 commit comments

Comments
 (0)