google-apis-documentai_v1 0.26.0 → 0.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9335995e23ed4af0f56f6483e5fd80ea096064081f42ae4fc4fa7fd4f77af540
4
- data.tar.gz: 6fbddd75f120be38fae80bb952bd3832ac898d141d4644bfa8671fcd9eaafac8
3
+ metadata.gz: 5c287f6c606c9fc5f5f2c59da268b1a9d2084e42af3f6394c4c018ba1eaae5a2
4
+ data.tar.gz: 03231645672c84d6510119c2a431be608bd3efd714591ca6d6308645427461ea
5
5
  SHA512:
6
- metadata.gz: f9f9f5e105e3177430edef647297b4afdae0b779cb9ca0ca154c9cd0d4f6d8386c3207c2bc7bd4066846a4df55270b368f9650eaa53b2a092e3c323a038d1b4f
7
- data.tar.gz: 5b6556385eb0e5d5064376472d1fad5974ed28372628c539bb84bd40fd19ba95d609c1262da33210252b8a067755e93fe98c75aac0599d4b77f6c0ad4cf69f61
6
+ metadata.gz: 0d4d9410f6c507bf6feb32dd8edb32517755aabb34949e0143ecdd2ca50b67ac6f9edb80a0f5ac948b1b4dfb4df5405139f7c0ca79f9845022cbdd061da681bc
7
+ data.tar.gz: f46fe75933268fa758991ad40e5dbd664aac6b3cd7c72974ccf72e00554e77ce2fb261809fc60622c2e5b61b58322b1b99bd6483dee58daefee0d4c67f22a507
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.27.0 (2022-02-15)
4
+
5
+ * Regenerated from discovery document revision 20220212
6
+
3
7
  ### v0.26.0 (2022-02-08)
4
8
 
5
9
  * Regenerated from discovery document revision 20220205
@@ -548,6 +548,83 @@ module Google
548
548
  end
549
549
  end
550
550
 
551
+ # The metadata proto of ResyncDataset method.
552
+ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata
553
+ include Google::Apis::Core::Hashable
554
+
555
+ # The common metadata for long running operations.
556
+ # Corresponds to the JSON property `commonMetadata`
557
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
558
+ attr_accessor :common_metadata
559
+
560
+ # Returns the newly added document Cloud Storage prefix if the documents are
561
+ # founded in Cloud Storage while not in Document Service storage.
562
+ # Corresponds to the JSON property `newlyAddedDocuments`
563
+ # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument>]
564
+ attr_accessor :newly_added_documents
565
+
566
+ def initialize(**args)
567
+ update!(**args)
568
+ end
569
+
570
+ # Update properties of this object
571
+ def update!(**args)
572
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
573
+ @newly_added_documents = args[:newly_added_documents] if args.key?(:newly_added_documents)
574
+ end
575
+ end
576
+
577
+ # The proto for updated document in resync pipeline.
578
+ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument
579
+ include Google::Apis::Core::Hashable
580
+
581
+ # The prefix of cloud storage, identifies the destination document which should
582
+ # be updated by resync pipeline.
583
+ # Corresponds to the JSON property `destinationPrefix`
584
+ # @return [String]
585
+ attr_accessor :destination_prefix
586
+
587
+ # The prefix of cloud storage, identifies the original document which should be
588
+ # updated by resync pipeline.
589
+ # Corresponds to the JSON property `sourcePrefix`
590
+ # @return [String]
591
+ attr_accessor :source_prefix
592
+
593
+ # The `Status` type defines a logical error model that is suitable for different
594
+ # programming environments, including REST APIs and RPC APIs. It is used by [
595
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
596
+ # data: error code, error message, and error details. You can find out more
597
+ # about this error model and how to work with it in the [API Design Guide](https:
598
+ # //cloud.google.com/apis/design/errors).
599
+ # Corresponds to the JSON property `status`
600
+ # @return [Google::Apis::DocumentaiV1::GoogleRpcStatus]
601
+ attr_accessor :status
602
+
603
+ def initialize(**args)
604
+ update!(**args)
605
+ end
606
+
607
+ # Update properties of this object
608
+ def update!(**args)
609
+ @destination_prefix = args[:destination_prefix] if args.key?(:destination_prefix)
610
+ @source_prefix = args[:source_prefix] if args.key?(:source_prefix)
611
+ @status = args[:status] if args.key?(:status)
612
+ end
613
+ end
614
+
615
+ # The response proto of ResyncDataset method.
616
+ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetResponse
617
+ include Google::Apis::Core::Hashable
618
+
619
+ def initialize(**args)
620
+ update!(**args)
621
+ end
622
+
623
+ # Update properties of this object
624
+ def update!(**args)
625
+ end
626
+ end
627
+
551
628
  # The revision reference specifies which revision on the document to read.
552
629
  class GoogleCloudDocumentaiUiv1beta3RevisionReference
553
630
  include Google::Apis::Core::Hashable
@@ -1575,6 +1652,11 @@ module Google
1575
1652
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentProvenance]
1576
1653
  attr_accessor :provenance
1577
1654
 
1655
+ # A list of visually detected symbols on the page.
1656
+ # Corresponds to the JSON property `symbols`
1657
+ # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageSymbol>]
1658
+ attr_accessor :symbols
1659
+
1578
1660
  # A list of visually detected tables on the page.
1579
1661
  # Corresponds to the JSON property `tables`
1580
1662
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageTable>]
@@ -1613,6 +1695,7 @@ module Google
1613
1695
  @page_number = args[:page_number] if args.key?(:page_number)
1614
1696
  @paragraphs = args[:paragraphs] if args.key?(:paragraphs)
1615
1697
  @provenance = args[:provenance] if args.key?(:provenance)
1698
+ @symbols = args[:symbols] if args.key?(:symbols)
1616
1699
  @tables = args[:tables] if args.key?(:tables)
1617
1700
  @tokens = args[:tokens] if args.key?(:tokens)
1618
1701
  @transforms = args[:transforms] if args.key?(:transforms)
@@ -1730,7 +1813,7 @@ module Google
1730
1813
  attr_accessor :confidence
1731
1814
 
1732
1815
  # The BCP-47 language code, such as "en-US" or "sr-Latn". For more information,
1733
- # see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
1816
+ # see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
1734
1817
  # Corresponds to the JSON property `languageCode`
1735
1818
  # @return [String]
1736
1819
  attr_accessor :language_code
@@ -2029,6 +2112,31 @@ module Google
2029
2112
  end
2030
2113
  end
2031
2114
 
2115
+ # A detected symbol.
2116
+ class GoogleCloudDocumentaiV1DocumentPageSymbol
2117
+ include Google::Apis::Core::Hashable
2118
+
2119
+ # A list of detected languages together with confidence.
2120
+ # Corresponds to the JSON property `detectedLanguages`
2121
+ # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageDetectedLanguage>]
2122
+ attr_accessor :detected_languages
2123
+
2124
+ # Visual element describing a layout unit on a page.
2125
+ # Corresponds to the JSON property `layout`
2126
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageLayout]
2127
+ attr_accessor :layout
2128
+
2129
+ def initialize(**args)
2130
+ update!(**args)
2131
+ end
2132
+
2133
+ # Update properties of this object
2134
+ def update!(**args)
2135
+ @detected_languages = args[:detected_languages] if args.key?(:detected_languages)
2136
+ @layout = args[:layout] if args.key?(:layout)
2137
+ end
2138
+ end
2139
+
2032
2140
  # A table representation similar to HTML table structure.
2033
2141
  class GoogleCloudDocumentaiV1DocumentPageTable
2034
2142
  include Google::Apis::Core::Hashable
@@ -2577,7 +2685,7 @@ module Google
2577
2685
  include Google::Apis::Core::Hashable
2578
2686
 
2579
2687
  # Contains the content of the text span so that users do not have to look it up
2580
- # in the text_segments.
2688
+ # in the text_segments. It is always populated for formFields.
2581
2689
  # Corresponds to the JSON property `content`
2582
2690
  # @return [String]
2583
2691
  attr_accessor :content
@@ -3854,6 +3962,11 @@ module Google
3854
3962
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentProvenance]
3855
3963
  attr_accessor :provenance
3856
3964
 
3965
+ # A list of visually detected symbols on the page.
3966
+ # Corresponds to the JSON property `symbols`
3967
+ # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageSymbol>]
3968
+ attr_accessor :symbols
3969
+
3857
3970
  # A list of visually detected tables on the page.
3858
3971
  # Corresponds to the JSON property `tables`
3859
3972
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageTable>]
@@ -3892,6 +4005,7 @@ module Google
3892
4005
  @page_number = args[:page_number] if args.key?(:page_number)
3893
4006
  @paragraphs = args[:paragraphs] if args.key?(:paragraphs)
3894
4007
  @provenance = args[:provenance] if args.key?(:provenance)
4008
+ @symbols = args[:symbols] if args.key?(:symbols)
3895
4009
  @tables = args[:tables] if args.key?(:tables)
3896
4010
  @tokens = args[:tokens] if args.key?(:tokens)
3897
4011
  @transforms = args[:transforms] if args.key?(:transforms)
@@ -4009,7 +4123,7 @@ module Google
4009
4123
  attr_accessor :confidence
4010
4124
 
4011
4125
  # The BCP-47 language code, such as "en-US" or "sr-Latn". For more information,
4012
- # see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
4126
+ # see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
4013
4127
  # Corresponds to the JSON property `languageCode`
4014
4128
  # @return [String]
4015
4129
  attr_accessor :language_code
@@ -4308,6 +4422,31 @@ module Google
4308
4422
  end
4309
4423
  end
4310
4424
 
4425
+ # A detected symbol.
4426
+ class GoogleCloudDocumentaiV1beta1DocumentPageSymbol
4427
+ include Google::Apis::Core::Hashable
4428
+
4429
+ # A list of detected languages together with confidence.
4430
+ # Corresponds to the JSON property `detectedLanguages`
4431
+ # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage>]
4432
+ attr_accessor :detected_languages
4433
+
4434
+ # Visual element describing a layout unit on a page.
4435
+ # Corresponds to the JSON property `layout`
4436
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageLayout]
4437
+ attr_accessor :layout
4438
+
4439
+ def initialize(**args)
4440
+ update!(**args)
4441
+ end
4442
+
4443
+ # Update properties of this object
4444
+ def update!(**args)
4445
+ @detected_languages = args[:detected_languages] if args.key?(:detected_languages)
4446
+ @layout = args[:layout] if args.key?(:layout)
4447
+ end
4448
+ end
4449
+
4311
4450
  # A table representation similar to HTML table structure.
4312
4451
  class GoogleCloudDocumentaiV1beta1DocumentPageTable
4313
4452
  include Google::Apis::Core::Hashable
@@ -4856,7 +4995,7 @@ module Google
4856
4995
  include Google::Apis::Core::Hashable
4857
4996
 
4858
4997
  # Contains the content of the text span so that users do not have to look it up
4859
- # in the text_segments.
4998
+ # in the text_segments. It is always populated for formFields.
4860
4999
  # Corresponds to the JSON property `content`
4861
5000
  # @return [String]
4862
5001
  attr_accessor :content
@@ -5618,6 +5757,11 @@ module Google
5618
5757
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentProvenance]
5619
5758
  attr_accessor :provenance
5620
5759
 
5760
+ # A list of visually detected symbols on the page.
5761
+ # Corresponds to the JSON property `symbols`
5762
+ # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageSymbol>]
5763
+ attr_accessor :symbols
5764
+
5621
5765
  # A list of visually detected tables on the page.
5622
5766
  # Corresponds to the JSON property `tables`
5623
5767
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageTable>]
@@ -5656,6 +5800,7 @@ module Google
5656
5800
  @page_number = args[:page_number] if args.key?(:page_number)
5657
5801
  @paragraphs = args[:paragraphs] if args.key?(:paragraphs)
5658
5802
  @provenance = args[:provenance] if args.key?(:provenance)
5803
+ @symbols = args[:symbols] if args.key?(:symbols)
5659
5804
  @tables = args[:tables] if args.key?(:tables)
5660
5805
  @tokens = args[:tokens] if args.key?(:tokens)
5661
5806
  @transforms = args[:transforms] if args.key?(:transforms)
@@ -5773,7 +5918,7 @@ module Google
5773
5918
  attr_accessor :confidence
5774
5919
 
5775
5920
  # The BCP-47 language code, such as "en-US" or "sr-Latn". For more information,
5776
- # see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
5921
+ # see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
5777
5922
  # Corresponds to the JSON property `languageCode`
5778
5923
  # @return [String]
5779
5924
  attr_accessor :language_code
@@ -6072,6 +6217,31 @@ module Google
6072
6217
  end
6073
6218
  end
6074
6219
 
6220
+ # A detected symbol.
6221
+ class GoogleCloudDocumentaiV1beta2DocumentPageSymbol
6222
+ include Google::Apis::Core::Hashable
6223
+
6224
+ # A list of detected languages together with confidence.
6225
+ # Corresponds to the JSON property `detectedLanguages`
6226
+ # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage>]
6227
+ attr_accessor :detected_languages
6228
+
6229
+ # Visual element describing a layout unit on a page.
6230
+ # Corresponds to the JSON property `layout`
6231
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageLayout]
6232
+ attr_accessor :layout
6233
+
6234
+ def initialize(**args)
6235
+ update!(**args)
6236
+ end
6237
+
6238
+ # Update properties of this object
6239
+ def update!(**args)
6240
+ @detected_languages = args[:detected_languages] if args.key?(:detected_languages)
6241
+ @layout = args[:layout] if args.key?(:layout)
6242
+ end
6243
+ end
6244
+
6075
6245
  # A table representation similar to HTML table structure.
6076
6246
  class GoogleCloudDocumentaiV1beta2DocumentPageTable
6077
6247
  include Google::Apis::Core::Hashable
@@ -6620,7 +6790,7 @@ module Google
6620
6790
  include Google::Apis::Core::Hashable
6621
6791
 
6622
6792
  # Contains the content of the text span so that users do not have to look it up
6623
- # in the text_segments.
6793
+ # in the text_segments. It is always populated for formFields.
6624
6794
  # Corresponds to the JSON property `content`
6625
6795
  # @return [String]
6626
6796
  attr_accessor :content
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DocumentaiV1
18
18
  # Version of the google-apis-documentai_v1 gem
19
- GEM_VERSION = "0.26.0"
19
+ GEM_VERSION = "0.27.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220205"
25
+ REVISION = "20220212"
26
26
  end
27
27
  end
28
28
  end
@@ -172,6 +172,24 @@ module Google
172
172
  include Google::Apis::Core::JsonObjectSupport
173
173
  end
174
174
 
175
+ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetResponse
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
175
193
  class GoogleCloudDocumentaiUiv1beta3RevisionReference
176
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
195
 
@@ -436,6 +454,12 @@ module Google
436
454
  include Google::Apis::Core::JsonObjectSupport
437
455
  end
438
456
 
457
+ class GoogleCloudDocumentaiV1DocumentPageSymbol
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
439
463
  class GoogleCloudDocumentaiV1DocumentPageTable
440
464
  class Representation < Google::Apis::Core::JsonRepresentation; end
441
465
 
@@ -820,6 +844,12 @@ module Google
820
844
  include Google::Apis::Core::JsonObjectSupport
821
845
  end
822
846
 
847
+ class GoogleCloudDocumentaiV1beta1DocumentPageSymbol
848
+ class Representation < Google::Apis::Core::JsonRepresentation; end
849
+
850
+ include Google::Apis::Core::JsonObjectSupport
851
+ end
852
+
823
853
  class GoogleCloudDocumentaiV1beta1DocumentPageTable
824
854
  class Representation < Google::Apis::Core::JsonRepresentation; end
825
855
 
@@ -1078,6 +1108,12 @@ module Google
1078
1108
  include Google::Apis::Core::JsonObjectSupport
1079
1109
  end
1080
1110
 
1111
+ class GoogleCloudDocumentaiV1beta2DocumentPageSymbol
1112
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1113
+
1114
+ include Google::Apis::Core::JsonObjectSupport
1115
+ end
1116
+
1081
1117
  class GoogleCloudDocumentaiV1beta2DocumentPageTable
1082
1118
  class Representation < Google::Apis::Core::JsonRepresentation; end
1083
1119
 
@@ -1608,6 +1644,32 @@ module Google
1608
1644
  end
1609
1645
  end
1610
1646
 
1647
+ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata
1648
+ # @private
1649
+ class Representation < Google::Apis::Core::JsonRepresentation
1650
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1651
+
1652
+ collection :newly_added_documents, as: 'newlyAddedDocuments', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument::Representation
1653
+
1654
+ end
1655
+ end
1656
+
1657
+ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument
1658
+ # @private
1659
+ class Representation < Google::Apis::Core::JsonRepresentation
1660
+ property :destination_prefix, as: 'destinationPrefix'
1661
+ property :source_prefix, as: 'sourcePrefix'
1662
+ property :status, as: 'status', class: Google::Apis::DocumentaiV1::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1::GoogleRpcStatus::Representation
1663
+
1664
+ end
1665
+ end
1666
+
1667
+ class GoogleCloudDocumentaiUiv1beta3ResyncDatasetResponse
1668
+ # @private
1669
+ class Representation < Google::Apis::Core::JsonRepresentation
1670
+ end
1671
+ end
1672
+
1611
1673
  class GoogleCloudDocumentaiUiv1beta3RevisionReference
1612
1674
  # @private
1613
1675
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1940,6 +2002,8 @@ module Google
1940
2002
 
1941
2003
  property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentProvenance, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentProvenance::Representation
1942
2004
 
2005
+ collection :symbols, as: 'symbols', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageSymbol, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageSymbol::Representation
2006
+
1943
2007
  collection :tables, as: 'tables', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageTable, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageTable::Representation
1944
2008
 
1945
2009
  collection :tokens, as: 'tokens', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageToken, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageToken::Representation
@@ -2075,6 +2139,16 @@ module Google
2075
2139
  end
2076
2140
  end
2077
2141
 
2142
+ class GoogleCloudDocumentaiV1DocumentPageSymbol
2143
+ # @private
2144
+ class Representation < Google::Apis::Core::JsonRepresentation
2145
+ collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageDetectedLanguage::Representation
2146
+
2147
+ property :layout, as: 'layout', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageLayout::Representation
2148
+
2149
+ end
2150
+ end
2151
+
2078
2152
  class GoogleCloudDocumentaiV1DocumentPageTable
2079
2153
  # @private
2080
2154
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2613,6 +2687,8 @@ module Google
2613
2687
 
2614
2688
  property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
2615
2689
 
2690
+ collection :symbols, as: 'symbols', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageSymbol, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageSymbol::Representation
2691
+
2616
2692
  collection :tables, as: 'tables', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageTable, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageTable::Representation
2617
2693
 
2618
2694
  collection :tokens, as: 'tokens', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageToken, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageToken::Representation
@@ -2748,6 +2824,16 @@ module Google
2748
2824
  end
2749
2825
  end
2750
2826
 
2827
+ class GoogleCloudDocumentaiV1beta1DocumentPageSymbol
2828
+ # @private
2829
+ class Representation < Google::Apis::Core::JsonRepresentation
2830
+ collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage::Representation
2831
+
2832
+ property :layout, as: 'layout', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
2833
+
2834
+ end
2835
+ end
2836
+
2751
2837
  class GoogleCloudDocumentaiV1beta1DocumentPageTable
2752
2838
  # @private
2753
2839
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3112,6 +3198,8 @@ module Google
3112
3198
 
3113
3199
  property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
3114
3200
 
3201
+ collection :symbols, as: 'symbols', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageSymbol, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageSymbol::Representation
3202
+
3115
3203
  collection :tables, as: 'tables', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageTable, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageTable::Representation
3116
3204
 
3117
3205
  collection :tokens, as: 'tokens', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageToken, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageToken::Representation
@@ -3247,6 +3335,16 @@ module Google
3247
3335
  end
3248
3336
  end
3249
3337
 
3338
+ class GoogleCloudDocumentaiV1beta2DocumentPageSymbol
3339
+ # @private
3340
+ class Representation < Google::Apis::Core::JsonRepresentation
3341
+ collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage::Representation
3342
+
3343
+ property :layout, as: 'layout', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
3344
+
3345
+ end
3346
+ end
3347
+
3250
3348
  class GoogleCloudDocumentaiV1beta2DocumentPageTable
3251
3349
  # @private
3252
3350
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-documentai_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.0
4
+ version: 0.27.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-14 00:00:00.000000000 Z
11
+ date: 2022-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.26.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.27.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1
63
63
  post_install_message:
64
64
  rdoc_options: []