google-apis-documentai_v1beta3 0.91.0 → 0.93.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: 97e023c8e5a0a7722f10db0f852252955ead26bc845e6d1298376059e485e6bc
4
- data.tar.gz: '08e76c7608f8f3fab62a3f0c13083df1e39fdec9857bb35f1919863e06ebae44'
3
+ metadata.gz: 98bee875a50a20a5e295e0192c5d6d6fe5416461147254f7dc47fd802c38f1ca
4
+ data.tar.gz: 6f32abdf5e4fb04ecf017e5d326fb35f6b01a7e51c7890a15a6db7526c504be1
5
5
  SHA512:
6
- metadata.gz: 6b3d8f33c32d92cd5a578065472a46b1882eb689047cde9a1b3ffb40770d97a72c13297dedbbb64f63515049c4b8431797cc47df4b4f57790646baf5751a00da
7
- data.tar.gz: 917f86b1db3880a2f02d1861db11026798d582e548fa9a152a7df7a59ce2e6b7adb936d57aa33b54a925ffc95480ca91bb5fbb6dedb7fc8b7c274b07ca9a22d1
6
+ metadata.gz: a77849159a4417fc8c939f8860a2bf9832defcbab4b8fe0c851e683180a258742b16123a1cf4a399abe264cee7047c2b7350a6372dd7f1ff18e6e680971db1fe
7
+ data.tar.gz: ab1ee2e024cefd365dc820ebe32e468e751f6ae6f6051b3d806037cf3fe7d7e604f1e5c41e156a076dc834423f11221487490187128030a8bb4c97ff77b2168c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
+ ### v0.93.0 (2024-04-07)
4
+
5
+ * Regenerated from discovery document revision 20240404
6
+
7
+ ### v0.92.0 (2024-03-17)
8
+
9
+ * Regenerated from discovery document revision 20240307
10
+
3
11
  ### v0.91.0 (2024-03-03)
4
12
 
5
13
  * Regenerated from discovery document revision 20240223
@@ -7020,6 +7020,11 @@ module Google
7020
7020
  class GoogleCloudDocumentaiV1beta3Document
7021
7021
  include Google::Apis::Core::Hashable
7022
7022
 
7023
+ # Represents the chunks that the document is divided into.
7024
+ # Corresponds to the JSON property `chunkedDocument`
7025
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocument]
7026
+ attr_accessor :chunked_document
7027
+
7023
7028
  # Optional. Inline document content, represented as a stream of bytes. Note: As
7024
7029
  # with all `bytes` fields, protobuffers use a pure binary representation,
7025
7030
  # whereas JSON representations use base64.
@@ -7028,6 +7033,12 @@ module Google
7028
7033
  # @return [String]
7029
7034
  attr_accessor :content
7030
7035
 
7036
+ # Represents the parsed layout of a document as a collection of blocks that the
7037
+ # document is divided into.
7038
+ # Corresponds to the JSON property `documentLayout`
7039
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayout]
7040
+ attr_accessor :document_layout
7041
+
7031
7042
  # A list of entities detected on Document.text. For document shards, entities in
7032
7043
  # this list may cross shard boundaries.
7033
7044
  # Corresponds to the JSON property `entities`
@@ -7102,7 +7113,9 @@ module Google
7102
7113
 
7103
7114
  # Update properties of this object
7104
7115
  def update!(**args)
7116
+ @chunked_document = args[:chunked_document] if args.key?(:chunked_document)
7105
7117
  @content = args[:content] if args.key?(:content)
7118
+ @document_layout = args[:document_layout] if args.key?(:document_layout)
7106
7119
  @entities = args[:entities] if args.key?(:entities)
7107
7120
  @entity_relations = args[:entity_relations] if args.key?(:entity_relations)
7108
7121
  @error = args[:error] if args.key?(:error)
@@ -7117,6 +7130,394 @@ module Google
7117
7130
  end
7118
7131
  end
7119
7132
 
7133
+ # Represents the chunks that the document is divided into.
7134
+ class GoogleCloudDocumentaiV1beta3DocumentChunkedDocument
7135
+ include Google::Apis::Core::Hashable
7136
+
7137
+ # List of chunks.
7138
+ # Corresponds to the JSON property `chunks`
7139
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunk>]
7140
+ attr_accessor :chunks
7141
+
7142
+ def initialize(**args)
7143
+ update!(**args)
7144
+ end
7145
+
7146
+ # Update properties of this object
7147
+ def update!(**args)
7148
+ @chunks = args[:chunks] if args.key?(:chunks)
7149
+ end
7150
+ end
7151
+
7152
+ # Represents a chunk.
7153
+ class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunk
7154
+ include Google::Apis::Core::Hashable
7155
+
7156
+ # ID of the chunk.
7157
+ # Corresponds to the JSON property `chunkId`
7158
+ # @return [String]
7159
+ attr_accessor :chunk_id
7160
+
7161
+ # Text content of the chunk.
7162
+ # Corresponds to the JSON property `content`
7163
+ # @return [String]
7164
+ attr_accessor :content
7165
+
7166
+ # Page footers associated with the chunk.
7167
+ # Corresponds to the JSON property `pageFooters`
7168
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageFooter>]
7169
+ attr_accessor :page_footers
7170
+
7171
+ # Page headers associated with the chunk.
7172
+ # Corresponds to the JSON property `pageHeaders`
7173
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageHeader>]
7174
+ attr_accessor :page_headers
7175
+
7176
+ # Represents where the chunk starts and ends in the document.
7177
+ # Corresponds to the JSON property `pageSpan`
7178
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageSpan]
7179
+ attr_accessor :page_span
7180
+
7181
+ def initialize(**args)
7182
+ update!(**args)
7183
+ end
7184
+
7185
+ # Update properties of this object
7186
+ def update!(**args)
7187
+ @chunk_id = args[:chunk_id] if args.key?(:chunk_id)
7188
+ @content = args[:content] if args.key?(:content)
7189
+ @page_footers = args[:page_footers] if args.key?(:page_footers)
7190
+ @page_headers = args[:page_headers] if args.key?(:page_headers)
7191
+ @page_span = args[:page_span] if args.key?(:page_span)
7192
+ end
7193
+ end
7194
+
7195
+ # Represents the page footer associated with the chunk.
7196
+ class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageFooter
7197
+ include Google::Apis::Core::Hashable
7198
+
7199
+ # Represents where the chunk starts and ends in the document.
7200
+ # Corresponds to the JSON property `pageSpan`
7201
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageSpan]
7202
+ attr_accessor :page_span
7203
+
7204
+ # Footer in text format.
7205
+ # Corresponds to the JSON property `text`
7206
+ # @return [String]
7207
+ attr_accessor :text
7208
+
7209
+ def initialize(**args)
7210
+ update!(**args)
7211
+ end
7212
+
7213
+ # Update properties of this object
7214
+ def update!(**args)
7215
+ @page_span = args[:page_span] if args.key?(:page_span)
7216
+ @text = args[:text] if args.key?(:text)
7217
+ end
7218
+ end
7219
+
7220
+ # Represents the page header associated with the chunk.
7221
+ class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageHeader
7222
+ include Google::Apis::Core::Hashable
7223
+
7224
+ # Represents where the chunk starts and ends in the document.
7225
+ # Corresponds to the JSON property `pageSpan`
7226
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageSpan]
7227
+ attr_accessor :page_span
7228
+
7229
+ # Header in text format.
7230
+ # Corresponds to the JSON property `text`
7231
+ # @return [String]
7232
+ attr_accessor :text
7233
+
7234
+ def initialize(**args)
7235
+ update!(**args)
7236
+ end
7237
+
7238
+ # Update properties of this object
7239
+ def update!(**args)
7240
+ @page_span = args[:page_span] if args.key?(:page_span)
7241
+ @text = args[:text] if args.key?(:text)
7242
+ end
7243
+ end
7244
+
7245
+ # Represents where the chunk starts and ends in the document.
7246
+ class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageSpan
7247
+ include Google::Apis::Core::Hashable
7248
+
7249
+ # Page where chunk ends in the document.
7250
+ # Corresponds to the JSON property `pageEnd`
7251
+ # @return [Fixnum]
7252
+ attr_accessor :page_end
7253
+
7254
+ # Page where chunk starts in the document.
7255
+ # Corresponds to the JSON property `pageStart`
7256
+ # @return [Fixnum]
7257
+ attr_accessor :page_start
7258
+
7259
+ def initialize(**args)
7260
+ update!(**args)
7261
+ end
7262
+
7263
+ # Update properties of this object
7264
+ def update!(**args)
7265
+ @page_end = args[:page_end] if args.key?(:page_end)
7266
+ @page_start = args[:page_start] if args.key?(:page_start)
7267
+ end
7268
+ end
7269
+
7270
+ # Represents the parsed layout of a document as a collection of blocks that the
7271
+ # document is divided into.
7272
+ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayout
7273
+ include Google::Apis::Core::Hashable
7274
+
7275
+ # List of blocks in the document.
7276
+ # Corresponds to the JSON property `blocks`
7277
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlock>]
7278
+ attr_accessor :blocks
7279
+
7280
+ def initialize(**args)
7281
+ update!(**args)
7282
+ end
7283
+
7284
+ # Update properties of this object
7285
+ def update!(**args)
7286
+ @blocks = args[:blocks] if args.key?(:blocks)
7287
+ end
7288
+ end
7289
+
7290
+ # Represents a block. A block could be one of the various types (text, table,
7291
+ # list) supported.
7292
+ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlock
7293
+ include Google::Apis::Core::Hashable
7294
+
7295
+ # ID of the block.
7296
+ # Corresponds to the JSON property `blockId`
7297
+ # @return [String]
7298
+ attr_accessor :block_id
7299
+
7300
+ # Represents a list type block.
7301
+ # Corresponds to the JSON property `listBlock`
7302
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock]
7303
+ attr_accessor :list_block
7304
+
7305
+ # Represents where the block starts and ends in the document.
7306
+ # Corresponds to the JSON property `pageSpan`
7307
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan]
7308
+ attr_accessor :page_span
7309
+
7310
+ # Represents a table type block.
7311
+ # Corresponds to the JSON property `tableBlock`
7312
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock]
7313
+ attr_accessor :table_block
7314
+
7315
+ # Represents a text type block.
7316
+ # Corresponds to the JSON property `textBlock`
7317
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock]
7318
+ attr_accessor :text_block
7319
+
7320
+ def initialize(**args)
7321
+ update!(**args)
7322
+ end
7323
+
7324
+ # Update properties of this object
7325
+ def update!(**args)
7326
+ @block_id = args[:block_id] if args.key?(:block_id)
7327
+ @list_block = args[:list_block] if args.key?(:list_block)
7328
+ @page_span = args[:page_span] if args.key?(:page_span)
7329
+ @table_block = args[:table_block] if args.key?(:table_block)
7330
+ @text_block = args[:text_block] if args.key?(:text_block)
7331
+ end
7332
+ end
7333
+
7334
+ # Represents a list type block.
7335
+ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock
7336
+ include Google::Apis::Core::Hashable
7337
+
7338
+ # List entries that constitute a list block.
7339
+ # Corresponds to the JSON property `listEntries`
7340
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry>]
7341
+ attr_accessor :list_entries
7342
+
7343
+ # Type of the list_entries (if exist). Available options are `ordered` and `
7344
+ # unordered`.
7345
+ # Corresponds to the JSON property `type`
7346
+ # @return [String]
7347
+ attr_accessor :type
7348
+
7349
+ def initialize(**args)
7350
+ update!(**args)
7351
+ end
7352
+
7353
+ # Update properties of this object
7354
+ def update!(**args)
7355
+ @list_entries = args[:list_entries] if args.key?(:list_entries)
7356
+ @type = args[:type] if args.key?(:type)
7357
+ end
7358
+ end
7359
+
7360
+ # Represents an entry in the list.
7361
+ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry
7362
+ include Google::Apis::Core::Hashable
7363
+
7364
+ # A list entry is a list of blocks. Repeated blocks support further hierarchies
7365
+ # and nested blocks.
7366
+ # Corresponds to the JSON property `blocks`
7367
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlock>]
7368
+ attr_accessor :blocks
7369
+
7370
+ def initialize(**args)
7371
+ update!(**args)
7372
+ end
7373
+
7374
+ # Update properties of this object
7375
+ def update!(**args)
7376
+ @blocks = args[:blocks] if args.key?(:blocks)
7377
+ end
7378
+ end
7379
+
7380
+ # Represents where the block starts and ends in the document.
7381
+ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan
7382
+ include Google::Apis::Core::Hashable
7383
+
7384
+ # Page where block ends in the document.
7385
+ # Corresponds to the JSON property `pageEnd`
7386
+ # @return [Fixnum]
7387
+ attr_accessor :page_end
7388
+
7389
+ # Page where block starts in the document.
7390
+ # Corresponds to the JSON property `pageStart`
7391
+ # @return [Fixnum]
7392
+ attr_accessor :page_start
7393
+
7394
+ def initialize(**args)
7395
+ update!(**args)
7396
+ end
7397
+
7398
+ # Update properties of this object
7399
+ def update!(**args)
7400
+ @page_end = args[:page_end] if args.key?(:page_end)
7401
+ @page_start = args[:page_start] if args.key?(:page_start)
7402
+ end
7403
+ end
7404
+
7405
+ # Represents a table type block.
7406
+ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock
7407
+ include Google::Apis::Core::Hashable
7408
+
7409
+ # Body rows containing main table content.
7410
+ # Corresponds to the JSON property `bodyRows`
7411
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow>]
7412
+ attr_accessor :body_rows
7413
+
7414
+ # Table caption/title.
7415
+ # Corresponds to the JSON property `caption`
7416
+ # @return [String]
7417
+ attr_accessor :caption
7418
+
7419
+ # Header rows at the top of the table.
7420
+ # Corresponds to the JSON property `headerRows`
7421
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow>]
7422
+ attr_accessor :header_rows
7423
+
7424
+ def initialize(**args)
7425
+ update!(**args)
7426
+ end
7427
+
7428
+ # Update properties of this object
7429
+ def update!(**args)
7430
+ @body_rows = args[:body_rows] if args.key?(:body_rows)
7431
+ @caption = args[:caption] if args.key?(:caption)
7432
+ @header_rows = args[:header_rows] if args.key?(:header_rows)
7433
+ end
7434
+ end
7435
+
7436
+ # Represents a cell in a table row.
7437
+ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell
7438
+ include Google::Apis::Core::Hashable
7439
+
7440
+ # A table cell is a list of blocks. Repeated blocks support further hierarchies
7441
+ # and nested blocks.
7442
+ # Corresponds to the JSON property `blocks`
7443
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlock>]
7444
+ attr_accessor :blocks
7445
+
7446
+ # How many columns this cell spans.
7447
+ # Corresponds to the JSON property `colSpan`
7448
+ # @return [Fixnum]
7449
+ attr_accessor :col_span
7450
+
7451
+ # How many rows this cell spans.
7452
+ # Corresponds to the JSON property `rowSpan`
7453
+ # @return [Fixnum]
7454
+ attr_accessor :row_span
7455
+
7456
+ def initialize(**args)
7457
+ update!(**args)
7458
+ end
7459
+
7460
+ # Update properties of this object
7461
+ def update!(**args)
7462
+ @blocks = args[:blocks] if args.key?(:blocks)
7463
+ @col_span = args[:col_span] if args.key?(:col_span)
7464
+ @row_span = args[:row_span] if args.key?(:row_span)
7465
+ end
7466
+ end
7467
+
7468
+ # Represents a row in a table.
7469
+ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow
7470
+ include Google::Apis::Core::Hashable
7471
+
7472
+ # A table row is a list of table cells.
7473
+ # Corresponds to the JSON property `cells`
7474
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell>]
7475
+ attr_accessor :cells
7476
+
7477
+ def initialize(**args)
7478
+ update!(**args)
7479
+ end
7480
+
7481
+ # Update properties of this object
7482
+ def update!(**args)
7483
+ @cells = args[:cells] if args.key?(:cells)
7484
+ end
7485
+ end
7486
+
7487
+ # Represents a text type block.
7488
+ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock
7489
+ include Google::Apis::Core::Hashable
7490
+
7491
+ # A text block could further have child blocks. Repeated blocks support further
7492
+ # hierarchies and nested blocks.
7493
+ # Corresponds to the JSON property `blocks`
7494
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlock>]
7495
+ attr_accessor :blocks
7496
+
7497
+ # Text content stored in the block.
7498
+ # Corresponds to the JSON property `text`
7499
+ # @return [String]
7500
+ attr_accessor :text
7501
+
7502
+ # Type of the text in the block. Available options are: `paragraph`, `subtitle`,
7503
+ # `heading-1`, `heading-2`, `heading-3`, `heading-4`, `heading-5`, `header`, `
7504
+ # footer`.
7505
+ # Corresponds to the JSON property `type`
7506
+ # @return [String]
7507
+ attr_accessor :type
7508
+
7509
+ def initialize(**args)
7510
+ update!(**args)
7511
+ end
7512
+
7513
+ # Update properties of this object
7514
+ def update!(**args)
7515
+ @blocks = args[:blocks] if args.key?(:blocks)
7516
+ @text = args[:text] if args.key?(:text)
7517
+ @type = args[:type] if args.key?(:type)
7518
+ end
7519
+ end
7520
+
7120
7521
  # An entity that could be a phrase in the text or a property that belongs to the
7121
7522
  # document. It is a known entity type, such as a person, an organization, or
7122
7523
  # location.
@@ -10021,7 +10422,8 @@ module Google
10021
10422
  attr_accessor :external_processor_version_source
10022
10423
 
10023
10424
  # The source processor version to import from. The source processor version and
10024
- # destination processor need to be in the same environment and region.
10425
+ # destination processor need to be in the same environment and region. Note that
10426
+ # ProcessorVersions with `model_type` `MODEL_TYPE_LLM` are not supported.
10025
10427
  # Corresponds to the JSON property `processorVersionSource`
10026
10428
  # @return [String]
10027
10429
  attr_accessor :processor_version_source
@@ -10460,6 +10862,11 @@ module Google
10460
10862
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptionsIndividualPageSelector]
10461
10863
  attr_accessor :individual_page_selector
10462
10864
 
10865
+ # Serving config for layout parser processor.
10866
+ # Corresponds to the JSON property `layoutConfig`
10867
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfig]
10868
+ attr_accessor :layout_config
10869
+
10463
10870
  # Config for Document OCR.
10464
10871
  # Corresponds to the JSON property `ocrConfig`
10465
10872
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3OcrConfig]
@@ -10479,6 +10886,7 @@ module Google
10479
10886
  @from_end = args[:from_end] if args.key?(:from_end)
10480
10887
  @from_start = args[:from_start] if args.key?(:from_start)
10481
10888
  @individual_page_selector = args[:individual_page_selector] if args.key?(:individual_page_selector)
10889
+ @layout_config = args[:layout_config] if args.key?(:layout_config)
10482
10890
  @ocr_config = args[:ocr_config] if args.key?(:ocr_config)
10483
10891
  @schema_override = args[:schema_override] if args.key?(:schema_override)
10484
10892
  end
@@ -10503,6 +10911,67 @@ module Google
10503
10911
  end
10504
10912
  end
10505
10913
 
10914
+ # Serving config for layout parser processor.
10915
+ class GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfig
10916
+ include Google::Apis::Core::Hashable
10917
+
10918
+ # Serving config for chunking.
10919
+ # Corresponds to the JSON property `chunkingConfig`
10920
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkingConfig]
10921
+ attr_accessor :chunking_config
10922
+
10923
+ def initialize(**args)
10924
+ update!(**args)
10925
+ end
10926
+
10927
+ # Update properties of this object
10928
+ def update!(**args)
10929
+ @chunking_config = args[:chunking_config] if args.key?(:chunking_config)
10930
+ end
10931
+ end
10932
+
10933
+ # Serving config for chunking.
10934
+ class GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkingConfig
10935
+ include Google::Apis::Core::Hashable
10936
+
10937
+ # Optional. The percentile of cosine dissimilarity that must be exceeded between
10938
+ # a group of tokens and the next. The smaller this number is, the more chunks
10939
+ # will be generated.
10940
+ # Corresponds to the JSON property `breakpointPercentileThreshold`
10941
+ # @return [Fixnum]
10942
+ attr_accessor :breakpoint_percentile_threshold
10943
+
10944
+ # Optional. The chunk sizes to use when splitting documents, in order of level.
10945
+ # Corresponds to the JSON property `chunkSize`
10946
+ # @return [Fixnum]
10947
+ attr_accessor :chunk_size
10948
+
10949
+ # Optional. Whether or not to include ancestor headings when splitting.
10950
+ # Corresponds to the JSON property `includeAncestorHeadings`
10951
+ # @return [Boolean]
10952
+ attr_accessor :include_ancestor_headings
10953
+ alias_method :include_ancestor_headings?, :include_ancestor_headings
10954
+
10955
+ # Optional. The number of tokens to group together when evaluating semantic
10956
+ # similarity.
10957
+ # Corresponds to the JSON property `semanticChunkingGroupSize`
10958
+ # @return [Boolean]
10959
+ attr_accessor :semantic_chunking_group_size
10960
+ alias_method :semantic_chunking_group_size?, :semantic_chunking_group_size
10961
+
10962
+ def initialize(**args)
10963
+ update!(**args)
10964
+ end
10965
+
10966
+ # Update properties of this object
10967
+ def update!(**args)
10968
+ @breakpoint_percentile_threshold = args[:breakpoint_percentile_threshold] if args.key?(:breakpoint_percentile_threshold)
10969
+ @chunk_size = args[:chunk_size] if args.key?(:chunk_size)
10970
+ @include_ancestor_headings = args[:include_ancestor_headings] if args.key?(:include_ancestor_headings)
10971
+ @semantic_chunking_group_size = args[:semantic_chunking_group_size] if args.key?(:semantic_chunking_group_size)
10972
+ end
10973
+ end
10974
+
10506
10975
  # Request message for the ProcessDocument method.
10507
10976
  class GoogleCloudDocumentaiV1beta3ProcessRequest
10508
10977
  include Google::Apis::Core::Hashable
@@ -10817,14 +11286,14 @@ module Google
10817
11286
  # @return [String]
10818
11287
  attr_accessor :model_type
10819
11288
 
10820
- # The resource name of the processor version. Format: `projects/`project`/
10821
- # locations/`location`/processors/`processor`/processorVersions/`
11289
+ # Identifier. The resource name of the processor version. Format: `projects/`
11290
+ # project`/locations/`location`/processors/`processor`/processorVersions/`
10822
11291
  # processor_version``
10823
11292
  # Corresponds to the JSON property `name`
10824
11293
  # @return [String]
10825
11294
  attr_accessor :name
10826
11295
 
10827
- # The state of the processor version.
11296
+ # Output only. The state of the processor version.
10828
11297
  # Corresponds to the JSON property `state`
10829
11298
  # @return [String]
10830
11299
  attr_accessor :state
@@ -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.91.0"
19
+ GEM_VERSION = "0.93.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240223"
25
+ REVISION = "20240404"
26
26
  end
27
27
  end
28
28
  end
@@ -1282,6 +1282,90 @@ module Google
1282
1282
  include Google::Apis::Core::JsonObjectSupport
1283
1283
  end
1284
1284
 
1285
+ class GoogleCloudDocumentaiV1beta3DocumentChunkedDocument
1286
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1287
+
1288
+ include Google::Apis::Core::JsonObjectSupport
1289
+ end
1290
+
1291
+ class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunk
1292
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1293
+
1294
+ include Google::Apis::Core::JsonObjectSupport
1295
+ end
1296
+
1297
+ class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageFooter
1298
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1299
+
1300
+ include Google::Apis::Core::JsonObjectSupport
1301
+ end
1302
+
1303
+ class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageHeader
1304
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1305
+
1306
+ include Google::Apis::Core::JsonObjectSupport
1307
+ end
1308
+
1309
+ class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageSpan
1310
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1311
+
1312
+ include Google::Apis::Core::JsonObjectSupport
1313
+ end
1314
+
1315
+ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayout
1316
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1317
+
1318
+ include Google::Apis::Core::JsonObjectSupport
1319
+ end
1320
+
1321
+ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlock
1322
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1323
+
1324
+ include Google::Apis::Core::JsonObjectSupport
1325
+ end
1326
+
1327
+ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock
1328
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1329
+
1330
+ include Google::Apis::Core::JsonObjectSupport
1331
+ end
1332
+
1333
+ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry
1334
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1335
+
1336
+ include Google::Apis::Core::JsonObjectSupport
1337
+ end
1338
+
1339
+ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan
1340
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1341
+
1342
+ include Google::Apis::Core::JsonObjectSupport
1343
+ end
1344
+
1345
+ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock
1346
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1347
+
1348
+ include Google::Apis::Core::JsonObjectSupport
1349
+ end
1350
+
1351
+ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell
1352
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1353
+
1354
+ include Google::Apis::Core::JsonObjectSupport
1355
+ end
1356
+
1357
+ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow
1358
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1359
+
1360
+ include Google::Apis::Core::JsonObjectSupport
1361
+ end
1362
+
1363
+ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock
1364
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1365
+
1366
+ include Google::Apis::Core::JsonObjectSupport
1367
+ end
1368
+
1285
1369
  class GoogleCloudDocumentaiV1beta3DocumentEntity
1286
1370
  class Representation < Google::Apis::Core::JsonRepresentation; end
1287
1371
 
@@ -1828,6 +1912,18 @@ module Google
1828
1912
  include Google::Apis::Core::JsonObjectSupport
1829
1913
  end
1830
1914
 
1915
+ class GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfig
1916
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1917
+
1918
+ include Google::Apis::Core::JsonObjectSupport
1919
+ end
1920
+
1921
+ class GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkingConfig
1922
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1923
+
1924
+ include Google::Apis::Core::JsonObjectSupport
1925
+ end
1926
+
1831
1927
  class GoogleCloudDocumentaiV1beta3ProcessRequest
1832
1928
  class Representation < Google::Apis::Core::JsonRepresentation; end
1833
1929
 
@@ -4197,7 +4293,11 @@ module Google
4197
4293
  class GoogleCloudDocumentaiV1beta3Document
4198
4294
  # @private
4199
4295
  class Representation < Google::Apis::Core::JsonRepresentation
4296
+ property :chunked_document, as: 'chunkedDocument', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocument, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocument::Representation
4297
+
4200
4298
  property :content, :base64 => true, as: 'content'
4299
+ property :document_layout, as: 'documentLayout', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayout::Representation
4300
+
4201
4301
  collection :entities, as: 'entities', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntity, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntity::Representation
4202
4302
 
4203
4303
  collection :entity_relations, as: 'entityRelations', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntityRelation, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntityRelation::Representation
@@ -4220,6 +4320,141 @@ module Google
4220
4320
  end
4221
4321
  end
4222
4322
 
4323
+ class GoogleCloudDocumentaiV1beta3DocumentChunkedDocument
4324
+ # @private
4325
+ class Representation < Google::Apis::Core::JsonRepresentation
4326
+ collection :chunks, as: 'chunks', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunk, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunk::Representation
4327
+
4328
+ end
4329
+ end
4330
+
4331
+ class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunk
4332
+ # @private
4333
+ class Representation < Google::Apis::Core::JsonRepresentation
4334
+ property :chunk_id, as: 'chunkId'
4335
+ property :content, as: 'content'
4336
+ collection :page_footers, as: 'pageFooters', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageFooter, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageFooter::Representation
4337
+
4338
+ collection :page_headers, as: 'pageHeaders', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageHeader, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageHeader::Representation
4339
+
4340
+ property :page_span, as: 'pageSpan', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageSpan, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageSpan::Representation
4341
+
4342
+ end
4343
+ end
4344
+
4345
+ class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageFooter
4346
+ # @private
4347
+ class Representation < Google::Apis::Core::JsonRepresentation
4348
+ property :page_span, as: 'pageSpan', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageSpan, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageSpan::Representation
4349
+
4350
+ property :text, as: 'text'
4351
+ end
4352
+ end
4353
+
4354
+ class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageHeader
4355
+ # @private
4356
+ class Representation < Google::Apis::Core::JsonRepresentation
4357
+ property :page_span, as: 'pageSpan', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageSpan, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageSpan::Representation
4358
+
4359
+ property :text, as: 'text'
4360
+ end
4361
+ end
4362
+
4363
+ class GoogleCloudDocumentaiV1beta3DocumentChunkedDocumentChunkChunkPageSpan
4364
+ # @private
4365
+ class Representation < Google::Apis::Core::JsonRepresentation
4366
+ property :page_end, as: 'pageEnd'
4367
+ property :page_start, as: 'pageStart'
4368
+ end
4369
+ end
4370
+
4371
+ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayout
4372
+ # @private
4373
+ class Representation < Google::Apis::Core::JsonRepresentation
4374
+ collection :blocks, as: 'blocks', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlock, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlock::Representation
4375
+
4376
+ end
4377
+ end
4378
+
4379
+ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlock
4380
+ # @private
4381
+ class Representation < Google::Apis::Core::JsonRepresentation
4382
+ property :block_id, as: 'blockId'
4383
+ property :list_block, as: 'listBlock', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock::Representation
4384
+
4385
+ property :page_span, as: 'pageSpan', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan::Representation
4386
+
4387
+ property :table_block, as: 'tableBlock', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock::Representation
4388
+
4389
+ property :text_block, as: 'textBlock', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock::Representation
4390
+
4391
+ end
4392
+ end
4393
+
4394
+ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock
4395
+ # @private
4396
+ class Representation < Google::Apis::Core::JsonRepresentation
4397
+ collection :list_entries, as: 'listEntries', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry::Representation
4398
+
4399
+ property :type, as: 'type'
4400
+ end
4401
+ end
4402
+
4403
+ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry
4404
+ # @private
4405
+ class Representation < Google::Apis::Core::JsonRepresentation
4406
+ collection :blocks, as: 'blocks', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlock, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlock::Representation
4407
+
4408
+ end
4409
+ end
4410
+
4411
+ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan
4412
+ # @private
4413
+ class Representation < Google::Apis::Core::JsonRepresentation
4414
+ property :page_end, as: 'pageEnd'
4415
+ property :page_start, as: 'pageStart'
4416
+ end
4417
+ end
4418
+
4419
+ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock
4420
+ # @private
4421
+ class Representation < Google::Apis::Core::JsonRepresentation
4422
+ collection :body_rows, as: 'bodyRows', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow::Representation
4423
+
4424
+ property :caption, as: 'caption'
4425
+ collection :header_rows, as: 'headerRows', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow::Representation
4426
+
4427
+ end
4428
+ end
4429
+
4430
+ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell
4431
+ # @private
4432
+ class Representation < Google::Apis::Core::JsonRepresentation
4433
+ collection :blocks, as: 'blocks', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlock, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlock::Representation
4434
+
4435
+ property :col_span, as: 'colSpan'
4436
+ property :row_span, as: 'rowSpan'
4437
+ end
4438
+ end
4439
+
4440
+ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow
4441
+ # @private
4442
+ class Representation < Google::Apis::Core::JsonRepresentation
4443
+ collection :cells, as: 'cells', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell::Representation
4444
+
4445
+ end
4446
+ end
4447
+
4448
+ class GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock
4449
+ # @private
4450
+ class Representation < Google::Apis::Core::JsonRepresentation
4451
+ collection :blocks, as: 'blocks', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlock, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlock::Representation
4452
+
4453
+ property :text, as: 'text'
4454
+ property :type, as: 'type'
4455
+ end
4456
+ end
4457
+
4223
4458
  class GoogleCloudDocumentaiV1beta3DocumentEntity
4224
4459
  # @private
4225
4460
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5174,6 +5409,8 @@ module Google
5174
5409
  property :from_start, as: 'fromStart'
5175
5410
  property :individual_page_selector, as: 'individualPageSelector', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptionsIndividualPageSelector, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptionsIndividualPageSelector::Representation
5176
5411
 
5412
+ property :layout_config, as: 'layoutConfig', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfig::Representation
5413
+
5177
5414
  property :ocr_config, as: 'ocrConfig', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3OcrConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3OcrConfig::Representation
5178
5415
 
5179
5416
  property :schema_override, as: 'schemaOverride', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema::Representation
@@ -5188,6 +5425,24 @@ module Google
5188
5425
  end
5189
5426
  end
5190
5427
 
5428
+ class GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfig
5429
+ # @private
5430
+ class Representation < Google::Apis::Core::JsonRepresentation
5431
+ property :chunking_config, as: 'chunkingConfig', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkingConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkingConfig::Representation
5432
+
5433
+ end
5434
+ end
5435
+
5436
+ class GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkingConfig
5437
+ # @private
5438
+ class Representation < Google::Apis::Core::JsonRepresentation
5439
+ property :breakpoint_percentile_threshold, as: 'breakpointPercentileThreshold'
5440
+ property :chunk_size, as: 'chunkSize'
5441
+ property :include_ancestor_headings, as: 'includeAncestorHeadings'
5442
+ property :semantic_chunking_group_size, as: 'semanticChunkingGroupSize'
5443
+ end
5444
+ end
5445
+
5191
5446
  class GoogleCloudDocumentaiV1beta3ProcessRequest
5192
5447
  # @private
5193
5448
  class Representation < Google::Apis::Core::JsonRepresentation
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.91.0
4
+ version: 0.93.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: 2024-03-03 00:00:00.000000000 Z
11
+ date: 2024-04-07 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.91.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.93.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: []