google-apis-documentai_v1beta3 0.82.0 → 0.84.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1a48a94cb8ffb72e8523cb65ef07ed16a8549c7bab22de305648f7b784765d61
4
- data.tar.gz: 5088904e38e4243328388f28c449b6458467482e0da04de412d699b862de2c61
3
+ metadata.gz: d0aa8fb910b87ea903a3df5aace99d6b1185b9348d7a9bda37e06b15e8005921
4
+ data.tar.gz: 57b542ba69d8e400f413b12d82653644238198a2c97375c6869fbf662e7c534a
5
5
  SHA512:
6
- metadata.gz: b2798fe457731134584ce16c4ef98622a45b0f75a72c42c7017e20ad538e174079d02121bd2f6ba058556a004129d2145456b91877c269145bcec8f21ea61941
7
- data.tar.gz: 88b932f4dd3cba1a6f39e1748a3e95efd02a3d7fe85ea585d222991b76504af7a17886312e9388ff382873f861fec9d02fed6cf50dd097e55bbd08e4d8f42f70
6
+ metadata.gz: ed9f04e52fc8fa209421e2ec92e9172f71710b6a34aa0293b9fec07bb49d871afea9168028c5f79916e91fba89ec388762140cc8cc21991a291f219ce39d52b2
7
+ data.tar.gz: 9fa345b33459762099a65efdfd19ccd7f0dd35fed48036d3fb27727bc9622e1de1fcc4b337d803d98e6f74423e5703ef5f2c92ffa4fbbe124e61776b5696fa8a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
+ ### v0.84.0 (2023-10-01)
4
+
5
+ * Regenerated from discovery document revision 20230923
6
+
7
+ ### v0.83.0 (2023-09-24)
8
+
9
+ * Regenerated from discovery document revision 20230914
10
+
3
11
  ### v0.82.0 (2023-09-17)
4
12
 
5
13
  * Regenerated from discovery document revision 20230908
@@ -57,6 +57,11 @@ module Google
57
57
  class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus
58
58
  include Google::Apis::Core::Hashable
59
59
 
60
+ # Document Identifier.
61
+ # Corresponds to the JSON property `documentId`
62
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentId]
63
+ attr_accessor :document_id
64
+
60
65
  # The gcs_uri of the auto-labeling document, which uniquely identifies a dataset
61
66
  # document.
62
67
  # Corresponds to the JSON property `gcsUri`
@@ -79,6 +84,7 @@ module Google
79
84
 
80
85
  # Update properties of this object
81
86
  def update!(**args)
87
+ @document_id = args[:document_id] if args.key?(:document_id)
82
88
  @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
83
89
  @status = args[:status] if args.key?(:status)
84
90
  end
@@ -7403,6 +7409,49 @@ module Google
7403
7409
  end
7404
7410
  end
7405
7411
 
7412
+ # Metadata about a document.
7413
+ class GoogleCloudDocumentaiV1beta3DocumentMetadata
7414
+ include Google::Apis::Core::Hashable
7415
+
7416
+ # Type of the dataset split to which the document belongs.
7417
+ # Corresponds to the JSON property `datasetType`
7418
+ # @return [String]
7419
+ attr_accessor :dataset_type
7420
+
7421
+ # The display name of the document.
7422
+ # Corresponds to the JSON property `displayName`
7423
+ # @return [String]
7424
+ attr_accessor :display_name
7425
+
7426
+ # Document Identifier.
7427
+ # Corresponds to the JSON property `documentId`
7428
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentId]
7429
+ attr_accessor :document_id
7430
+
7431
+ # Labelling state of the document.
7432
+ # Corresponds to the JSON property `labelingState`
7433
+ # @return [String]
7434
+ attr_accessor :labeling_state
7435
+
7436
+ # Number of pages in the document.
7437
+ # Corresponds to the JSON property `pageCount`
7438
+ # @return [Fixnum]
7439
+ attr_accessor :page_count
7440
+
7441
+ def initialize(**args)
7442
+ update!(**args)
7443
+ end
7444
+
7445
+ # Update properties of this object
7446
+ def update!(**args)
7447
+ @dataset_type = args[:dataset_type] if args.key?(:dataset_type)
7448
+ @display_name = args[:display_name] if args.key?(:display_name)
7449
+ @document_id = args[:document_id] if args.key?(:document_id)
7450
+ @labeling_state = args[:labeling_state] if args.key?(:labeling_state)
7451
+ @page_count = args[:page_count] if args.key?(:page_count)
7452
+ end
7453
+ end
7454
+
7406
7455
  # Config that controls the output of documents. All documents will be written as
7407
7456
  # a JSON file.
7408
7457
  class GoogleCloudDocumentaiV1beta3DocumentOutputConfig
@@ -10025,6 +10074,102 @@ module Google
10025
10074
  end
10026
10075
  end
10027
10076
 
10077
+ #
10078
+ class GoogleCloudDocumentaiV1beta3ListDocumentsRequest
10079
+ include Google::Apis::Core::Hashable
10080
+
10081
+ # Optional. Query to filter the documents based on https://google.aip.dev/160. ##
10082
+ # Currently support query strings are: `SplitType=DATASET_SPLIT_TEST|
10083
+ # DATASET_SPLIT_TRAIN|DATASET_SPLIT_UNASSIGNED` - `LabelingState=
10084
+ # DOCUMENT_LABELED|DOCUMENT_UNLABELED|DOCUMENT_AUTO_LABELED` - `DisplayName=\"
10085
+ # file_name.pdf\"` - `EntityType=abc/def` - `TagName=\"auto-labeling-running\"|\"
10086
+ # sampled\"` Note: - Only `AND`, `=` and `!=` are supported. e.g. `DisplayName=
10087
+ # file_name AND EntityType!=abc` IS supported. - Wildcard `*` is supported only
10088
+ # in `DisplayName` filter - No duplicate filter keys are allowed, e.g. `
10089
+ # EntityType=a AND EntityType=b` is NOT supported. - String match is case
10090
+ # sensitive (for filter `DisplayName` & `EntityType`).
10091
+ # Corresponds to the JSON property `filter`
10092
+ # @return [String]
10093
+ attr_accessor :filter
10094
+
10095
+ # The maximum number of documents to return. The service may return fewer than
10096
+ # this value. If unspecified, at most 20 documents will be returned. The maximum
10097
+ # value is 100; values above 100 will be coerced to 100.
10098
+ # Corresponds to the JSON property `pageSize`
10099
+ # @return [Fixnum]
10100
+ attr_accessor :page_size
10101
+
10102
+ # A page token, received from a previous `ListDocuments` call. Provide this to
10103
+ # retrieve the subsequent page. When paginating, all other parameters provided
10104
+ # to `ListDocuments` must match the call that provided the page token.
10105
+ # Corresponds to the JSON property `pageToken`
10106
+ # @return [String]
10107
+ attr_accessor :page_token
10108
+
10109
+ # Optional. Controls if the ListDocuments request requires a total size of
10110
+ # matched documents. See ListDocumentsResponse.total_size. Enabling this flag
10111
+ # may adversely impact performance. Defaults to false.
10112
+ # Corresponds to the JSON property `returnTotalSize`
10113
+ # @return [Boolean]
10114
+ attr_accessor :return_total_size
10115
+ alias_method :return_total_size?, :return_total_size
10116
+
10117
+ # Optional. Number of results to skip beginning from the `page_token` if
10118
+ # provided. https://google.aip.dev/158#skipping-results. It must be a non-
10119
+ # negative integer. Negative values wil be rejected. Note that this is not the
10120
+ # number of pages to skip. If this value causes the cursor to move past the end
10121
+ # of results, `ListDocumentsResponse.document_metadata` and `
10122
+ # ListDocumentsResponse.next_page_token` will be empty.
10123
+ # Corresponds to the JSON property `skip`
10124
+ # @return [Fixnum]
10125
+ attr_accessor :skip
10126
+
10127
+ def initialize(**args)
10128
+ update!(**args)
10129
+ end
10130
+
10131
+ # Update properties of this object
10132
+ def update!(**args)
10133
+ @filter = args[:filter] if args.key?(:filter)
10134
+ @page_size = args[:page_size] if args.key?(:page_size)
10135
+ @page_token = args[:page_token] if args.key?(:page_token)
10136
+ @return_total_size = args[:return_total_size] if args.key?(:return_total_size)
10137
+ @skip = args[:skip] if args.key?(:skip)
10138
+ end
10139
+ end
10140
+
10141
+ #
10142
+ class GoogleCloudDocumentaiV1beta3ListDocumentsResponse
10143
+ include Google::Apis::Core::Hashable
10144
+
10145
+ # Document metadata corresponding to the listed documents.
10146
+ # Corresponds to the JSON property `documentMetadata`
10147
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentMetadata>]
10148
+ attr_accessor :document_metadata
10149
+
10150
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
10151
+ # field is omitted, there are no subsequent pages.
10152
+ # Corresponds to the JSON property `nextPageToken`
10153
+ # @return [String]
10154
+ attr_accessor :next_page_token
10155
+
10156
+ # Total count of documents queried.
10157
+ # Corresponds to the JSON property `totalSize`
10158
+ # @return [Fixnum]
10159
+ attr_accessor :total_size
10160
+
10161
+ def initialize(**args)
10162
+ update!(**args)
10163
+ end
10164
+
10165
+ # Update properties of this object
10166
+ def update!(**args)
10167
+ @document_metadata = args[:document_metadata] if args.key?(:document_metadata)
10168
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
10169
+ @total_size = args[:total_size] if args.key?(:total_size)
10170
+ end
10171
+ end
10172
+
10028
10173
  # The response from `ListEvaluations`.
10029
10174
  class GoogleCloudDocumentaiV1beta3ListEvaluationsResponse
10030
10175
  include Google::Apis::Core::Hashable
@@ -10166,11 +10311,19 @@ module Google
10166
10311
  attr_accessor :advanced_ocr_options
10167
10312
 
10168
10313
  # Turn on font identification model and return font style information.
10314
+ # Deprecated, use PremiumFeatures.compute_style_info instead.
10169
10315
  # Corresponds to the JSON property `computeStyleInfo`
10170
10316
  # @return [Boolean]
10171
10317
  attr_accessor :compute_style_info
10172
10318
  alias_method :compute_style_info?, :compute_style_info
10173
10319
 
10320
+ # Turn off character box detector in OCR engine. Character box detection is
10321
+ # enabled by default in OCR 2.0 (and later) processors.
10322
+ # Corresponds to the JSON property `disableCharacterBoxesDetection`
10323
+ # @return [Boolean]
10324
+ attr_accessor :disable_character_boxes_detection
10325
+ alias_method :disable_character_boxes_detection?, :disable_character_boxes_detection
10326
+
10174
10327
  # Enables intelligent document quality scores after OCR. Can help with
10175
10328
  # diagnosing why OCR responses are of poor quality for a given input. Adds
10176
10329
  # additional latency comparable to regular OCR to the process call.
@@ -10197,6 +10350,11 @@ module Google
10197
10350
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3OcrConfigHints]
10198
10351
  attr_accessor :hints
10199
10352
 
10353
+ # Configurations for premium OCR features.
10354
+ # Corresponds to the JSON property `premiumFeatures`
10355
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3OcrConfigPremiumFeatures]
10356
+ attr_accessor :premium_features
10357
+
10200
10358
  def initialize(**args)
10201
10359
  update!(**args)
10202
10360
  end
@@ -10205,10 +10363,12 @@ module Google
10205
10363
  def update!(**args)
10206
10364
  @advanced_ocr_options = args[:advanced_ocr_options] if args.key?(:advanced_ocr_options)
10207
10365
  @compute_style_info = args[:compute_style_info] if args.key?(:compute_style_info)
10366
+ @disable_character_boxes_detection = args[:disable_character_boxes_detection] if args.key?(:disable_character_boxes_detection)
10208
10367
  @enable_image_quality_scores = args[:enable_image_quality_scores] if args.key?(:enable_image_quality_scores)
10209
10368
  @enable_native_pdf_parsing = args[:enable_native_pdf_parsing] if args.key?(:enable_native_pdf_parsing)
10210
10369
  @enable_symbol = args[:enable_symbol] if args.key?(:enable_symbol)
10211
10370
  @hints = args[:hints] if args.key?(:hints)
10371
+ @premium_features = args[:premium_features] if args.key?(:premium_features)
10212
10372
  end
10213
10373
  end
10214
10374
 
@@ -10236,10 +10396,61 @@ module Google
10236
10396
  end
10237
10397
  end
10238
10398
 
10399
+ # Configurations for premium OCR features.
10400
+ class GoogleCloudDocumentaiV1beta3OcrConfigPremiumFeatures
10401
+ include Google::Apis::Core::Hashable
10402
+
10403
+ # Turn on font identification model and return font style information.
10404
+ # Corresponds to the JSON property `computeStyleInfo`
10405
+ # @return [Boolean]
10406
+ attr_accessor :compute_style_info
10407
+ alias_method :compute_style_info?, :compute_style_info
10408
+
10409
+ # Turn on the model that can extract LaTeX math formulas.
10410
+ # Corresponds to the JSON property `enableMathOcr`
10411
+ # @return [Boolean]
10412
+ attr_accessor :enable_math_ocr
10413
+ alias_method :enable_math_ocr?, :enable_math_ocr
10414
+
10415
+ # Turn on selection mark detector in OCR engine. Only available in OCR 2.0 (and
10416
+ # later) processors.
10417
+ # Corresponds to the JSON property `enableSelectionMarkDetection`
10418
+ # @return [Boolean]
10419
+ attr_accessor :enable_selection_mark_detection
10420
+ alias_method :enable_selection_mark_detection?, :enable_selection_mark_detection
10421
+
10422
+ def initialize(**args)
10423
+ update!(**args)
10424
+ end
10425
+
10426
+ # Update properties of this object
10427
+ def update!(**args)
10428
+ @compute_style_info = args[:compute_style_info] if args.key?(:compute_style_info)
10429
+ @enable_math_ocr = args[:enable_math_ocr] if args.key?(:enable_math_ocr)
10430
+ @enable_selection_mark_detection = args[:enable_selection_mark_detection] if args.key?(:enable_selection_mark_detection)
10431
+ end
10432
+ end
10433
+
10239
10434
  # Options for Process API
10240
10435
  class GoogleCloudDocumentaiV1beta3ProcessOptions
10241
10436
  include Google::Apis::Core::Hashable
10242
10437
 
10438
+ # Only process certain pages from the end, same as above.
10439
+ # Corresponds to the JSON property `fromEnd`
10440
+ # @return [Fixnum]
10441
+ attr_accessor :from_end
10442
+
10443
+ # Only process certain pages from the start. Process all if the document has
10444
+ # fewer pages.
10445
+ # Corresponds to the JSON property `fromStart`
10446
+ # @return [Fixnum]
10447
+ attr_accessor :from_start
10448
+
10449
+ # A list of individual page numbers.
10450
+ # Corresponds to the JSON property `individualPageSelector`
10451
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptionsIndividualPageSelector]
10452
+ attr_accessor :individual_page_selector
10453
+
10243
10454
  # Config for Document OCR.
10244
10455
  # Corresponds to the JSON property `ocrConfig`
10245
10456
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3OcrConfig]
@@ -10256,11 +10467,33 @@ module Google
10256
10467
 
10257
10468
  # Update properties of this object
10258
10469
  def update!(**args)
10470
+ @from_end = args[:from_end] if args.key?(:from_end)
10471
+ @from_start = args[:from_start] if args.key?(:from_start)
10472
+ @individual_page_selector = args[:individual_page_selector] if args.key?(:individual_page_selector)
10259
10473
  @ocr_config = args[:ocr_config] if args.key?(:ocr_config)
10260
10474
  @schema_override = args[:schema_override] if args.key?(:schema_override)
10261
10475
  end
10262
10476
  end
10263
10477
 
10478
+ # A list of individual page numbers.
10479
+ class GoogleCloudDocumentaiV1beta3ProcessOptionsIndividualPageSelector
10480
+ include Google::Apis::Core::Hashable
10481
+
10482
+ # Optional. Indices of the pages (starting from 1).
10483
+ # Corresponds to the JSON property `pages`
10484
+ # @return [Array<Fixnum>]
10485
+ attr_accessor :pages
10486
+
10487
+ def initialize(**args)
10488
+ update!(**args)
10489
+ end
10490
+
10491
+ # Update properties of this object
10492
+ def update!(**args)
10493
+ @pages = args[:pages] if args.key?(:pages)
10494
+ end
10495
+ end
10496
+
10264
10497
  # Request message for the ProcessDocument method.
10265
10498
  class GoogleCloudDocumentaiV1beta3ProcessRequest
10266
10499
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DocumentaiV1beta3
18
18
  # Version of the google-apis-documentai_v1beta3 gem
19
- GEM_VERSION = "0.82.0"
19
+ GEM_VERSION = "0.84.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230908"
25
+ REVISION = "20230923"
26
26
  end
27
27
  end
28
28
  end
@@ -1318,6 +1318,12 @@ module Google
1318
1318
  include Google::Apis::Core::JsonObjectSupport
1319
1319
  end
1320
1320
 
1321
+ class GoogleCloudDocumentaiV1beta3DocumentMetadata
1322
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1323
+
1324
+ include Google::Apis::Core::JsonObjectSupport
1325
+ end
1326
+
1321
1327
  class GoogleCloudDocumentaiV1beta3DocumentOutputConfig
1322
1328
  class Representation < Google::Apis::Core::JsonRepresentation; end
1323
1329
 
@@ -1750,6 +1756,18 @@ module Google
1750
1756
  include Google::Apis::Core::JsonObjectSupport
1751
1757
  end
1752
1758
 
1759
+ class GoogleCloudDocumentaiV1beta3ListDocumentsRequest
1760
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1761
+
1762
+ include Google::Apis::Core::JsonObjectSupport
1763
+ end
1764
+
1765
+ class GoogleCloudDocumentaiV1beta3ListDocumentsResponse
1766
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1767
+
1768
+ include Google::Apis::Core::JsonObjectSupport
1769
+ end
1770
+
1753
1771
  class GoogleCloudDocumentaiV1beta3ListEvaluationsResponse
1754
1772
  class Representation < Google::Apis::Core::JsonRepresentation; end
1755
1773
 
@@ -1792,12 +1810,24 @@ module Google
1792
1810
  include Google::Apis::Core::JsonObjectSupport
1793
1811
  end
1794
1812
 
1813
+ class GoogleCloudDocumentaiV1beta3OcrConfigPremiumFeatures
1814
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1815
+
1816
+ include Google::Apis::Core::JsonObjectSupport
1817
+ end
1818
+
1795
1819
  class GoogleCloudDocumentaiV1beta3ProcessOptions
1796
1820
  class Representation < Google::Apis::Core::JsonRepresentation; end
1797
1821
 
1798
1822
  include Google::Apis::Core::JsonObjectSupport
1799
1823
  end
1800
1824
 
1825
+ class GoogleCloudDocumentaiV1beta3ProcessOptionsIndividualPageSelector
1826
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1827
+
1828
+ include Google::Apis::Core::JsonObjectSupport
1829
+ end
1830
+
1801
1831
  class GoogleCloudDocumentaiV1beta3ProcessRequest
1802
1832
  class Representation < Google::Apis::Core::JsonRepresentation; end
1803
1833
 
@@ -2058,6 +2088,8 @@ module Google
2058
2088
  class GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus
2059
2089
  # @private
2060
2090
  class Representation < Google::Apis::Core::JsonRepresentation
2091
+ property :document_id, as: 'documentId', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentId, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentId::Representation
2092
+
2061
2093
  property :gcs_uri, as: 'gcsUri'
2062
2094
  property :status, as: 'status', class: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleRpcStatus::Representation
2063
2095
 
@@ -4258,6 +4290,18 @@ module Google
4258
4290
  end
4259
4291
  end
4260
4292
 
4293
+ class GoogleCloudDocumentaiV1beta3DocumentMetadata
4294
+ # @private
4295
+ class Representation < Google::Apis::Core::JsonRepresentation
4296
+ property :dataset_type, as: 'datasetType'
4297
+ property :display_name, as: 'displayName'
4298
+ property :document_id, as: 'documentId', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentId, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentId::Representation
4299
+
4300
+ property :labeling_state, as: 'labelingState'
4301
+ property :page_count, as: 'pageCount'
4302
+ end
4303
+ end
4304
+
4261
4305
  class GoogleCloudDocumentaiV1beta3DocumentOutputConfig
4262
4306
  # @private
4263
4307
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5019,6 +5063,27 @@ module Google
5019
5063
  end
5020
5064
  end
5021
5065
 
5066
+ class GoogleCloudDocumentaiV1beta3ListDocumentsRequest
5067
+ # @private
5068
+ class Representation < Google::Apis::Core::JsonRepresentation
5069
+ property :filter, as: 'filter'
5070
+ property :page_size, as: 'pageSize'
5071
+ property :page_token, as: 'pageToken'
5072
+ property :return_total_size, as: 'returnTotalSize'
5073
+ property :skip, as: 'skip'
5074
+ end
5075
+ end
5076
+
5077
+ class GoogleCloudDocumentaiV1beta3ListDocumentsResponse
5078
+ # @private
5079
+ class Representation < Google::Apis::Core::JsonRepresentation
5080
+ collection :document_metadata, as: 'documentMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentMetadata::Representation
5081
+
5082
+ property :next_page_token, as: 'nextPageToken'
5083
+ property :total_size, as: 'totalSize'
5084
+ end
5085
+ end
5086
+
5022
5087
  class GoogleCloudDocumentaiV1beta3ListEvaluationsResponse
5023
5088
  # @private
5024
5089
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5068,11 +5133,14 @@ module Google
5068
5133
  class Representation < Google::Apis::Core::JsonRepresentation
5069
5134
  collection :advanced_ocr_options, as: 'advancedOcrOptions'
5070
5135
  property :compute_style_info, as: 'computeStyleInfo'
5136
+ property :disable_character_boxes_detection, as: 'disableCharacterBoxesDetection'
5071
5137
  property :enable_image_quality_scores, as: 'enableImageQualityScores'
5072
5138
  property :enable_native_pdf_parsing, as: 'enableNativePdfParsing'
5073
5139
  property :enable_symbol, as: 'enableSymbol'
5074
5140
  property :hints, as: 'hints', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3OcrConfigHints, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3OcrConfigHints::Representation
5075
5141
 
5142
+ property :premium_features, as: 'premiumFeatures', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3OcrConfigPremiumFeatures, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3OcrConfigPremiumFeatures::Representation
5143
+
5076
5144
  end
5077
5145
  end
5078
5146
 
@@ -5083,9 +5151,22 @@ module Google
5083
5151
  end
5084
5152
  end
5085
5153
 
5154
+ class GoogleCloudDocumentaiV1beta3OcrConfigPremiumFeatures
5155
+ # @private
5156
+ class Representation < Google::Apis::Core::JsonRepresentation
5157
+ property :compute_style_info, as: 'computeStyleInfo'
5158
+ property :enable_math_ocr, as: 'enableMathOcr'
5159
+ property :enable_selection_mark_detection, as: 'enableSelectionMarkDetection'
5160
+ end
5161
+ end
5162
+
5086
5163
  class GoogleCloudDocumentaiV1beta3ProcessOptions
5087
5164
  # @private
5088
5165
  class Representation < Google::Apis::Core::JsonRepresentation
5166
+ property :from_end, as: 'fromEnd'
5167
+ property :from_start, as: 'fromStart'
5168
+ property :individual_page_selector, as: 'individualPageSelector', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptionsIndividualPageSelector, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptionsIndividualPageSelector::Representation
5169
+
5089
5170
  property :ocr_config, as: 'ocrConfig', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3OcrConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3OcrConfig::Representation
5090
5171
 
5091
5172
  property :schema_override, as: 'schemaOverride', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema::Representation
@@ -5093,6 +5174,13 @@ module Google
5093
5174
  end
5094
5175
  end
5095
5176
 
5177
+ class GoogleCloudDocumentaiV1beta3ProcessOptionsIndividualPageSelector
5178
+ # @private
5179
+ class Representation < Google::Apis::Core::JsonRepresentation
5180
+ collection :pages, as: 'pages'
5181
+ end
5182
+ end
5183
+
5096
5184
  class GoogleCloudDocumentaiV1beta3ProcessRequest
5097
5185
  # @private
5098
5186
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -843,6 +843,40 @@ module Google
843
843
  execute_or_queue_command(command, &block)
844
844
  end
845
845
 
846
+ # Returns a list of documents present in the dataset.
847
+ # @param [String] dataset
848
+ # Required. The resource name of the dataset to be listed. Format: projects/`
849
+ # project`/locations/`location`/processors/`processor`/dataset
850
+ # @param [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ListDocumentsRequest] google_cloud_documentai_v1beta3_list_documents_request_object
851
+ # @param [String] fields
852
+ # Selector specifying which fields to include in a partial response.
853
+ # @param [String] quota_user
854
+ # Available to use for quota purposes for server-side applications. Can be any
855
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
856
+ # @param [Google::Apis::RequestOptions] options
857
+ # Request-specific options
858
+ #
859
+ # @yield [result, err] Result & error if block supplied
860
+ # @yieldparam result [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ListDocumentsResponse] parsed result object
861
+ # @yieldparam err [StandardError] error object if request failed
862
+ #
863
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ListDocumentsResponse]
864
+ #
865
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
866
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
867
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
868
+ def list_project_location_processor_dataset_documents(dataset, google_cloud_documentai_v1beta3_list_documents_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
869
+ command = make_simple_command(:post, 'v1beta3/{+dataset}:listDocuments', options)
870
+ command.request_representation = Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ListDocumentsRequest::Representation
871
+ command.request_object = google_cloud_documentai_v1beta3_list_documents_request_object
872
+ command.response_representation = Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ListDocumentsResponse::Representation
873
+ command.response_class = Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ListDocumentsResponse
874
+ command.params['dataset'] = dataset unless dataset.nil?
875
+ command.query['fields'] = fields unless fields.nil?
876
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
877
+ execute_or_queue_command(command, &block)
878
+ end
879
+
846
880
  # Updates a `DatasetSchema`.
847
881
  # @param [String] name
848
882
  # Dataset schema resource name. Format: `projects/`project`/locations/`location`/
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-documentai_v1beta3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.82.0
4
+ version: 0.84.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: 2023-09-17 00:00:00.000000000 Z
11
+ date: 2023-10-01 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_v1beta3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.82.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.84.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta3
63
63
  post_install_message:
64
64
  rdoc_options: []