google-apis-contentwarehouse_v1 0.36.0 → 0.38.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: a5fc7f4d11f326e50683c30685aaeaab5f346716d2f6f75d7dae017ebdecb102
4
- data.tar.gz: ab5ef4427419d6667d7d72c5626e9a2ae3fb2cdd4df00fdb1c642edaa8ed726e
3
+ metadata.gz: 8c5e148343f84a6fc38e17f2fbddb2906f7028003b6d19289679e9630048734c
4
+ data.tar.gz: bb85df21b8278e7a4f91aaac14b96aed696c17d6d11437cf1279338532fd7a5a
5
5
  SHA512:
6
- metadata.gz: f75f15c43e44a0bb7500b96b81137aa3f0667e0d7e4ebe1c7e2c4d29fef2d9ace3ac0a1697df9c25bd60cb8db4d4f1262c383c775dbab4b3485be096133e28db
7
- data.tar.gz: bd6d0c0fa88cd90aca6374886ab457fa03e0e46d5a290cdbbc837582d5642adc9d7b8387abc069fb9e30a6b7383a088dfd7ee418874ac384692294ffecdd114e
6
+ metadata.gz: e676ccc27c5a65d91eb9b428486f5ecdf15838d1fe7f28426dfcfa665cf7d84a56bd3963adf09e7e86cc6355847955413d59299b9e936c3122362c5985aa9f63
7
+ data.tar.gz: d549f6fb32974bad84346f393420f1893874ed8f2a46896c7e0bb0e0d5f48db1bb4e01dd478c79e40e7ddcc62230f0bd8d51d63473873215d348b11a259b7a7f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-contentwarehouse_v1
2
2
 
3
+ ### v0.38.0 (2024-07-25)
4
+
5
+ * Regenerated from discovery document revision 20240723
6
+
7
+ ### v0.37.0 (2024-05-19)
8
+
9
+ * Regenerated using generator version 0.15.0
10
+
3
11
  ### v0.36.0 (2024-05-07)
4
12
 
5
13
  * Regenerated from discovery document revision 20240506
@@ -4336,6 +4336,11 @@ module Google
4336
4336
  class GoogleCloudDocumentaiV1Document
4337
4337
  include Google::Apis::Core::Hashable
4338
4338
 
4339
+ # Represents the chunks that the document is divided into.
4340
+ # Corresponds to the JSON property `chunkedDocument`
4341
+ # @return [Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentChunkedDocument]
4342
+ attr_accessor :chunked_document
4343
+
4339
4344
  # Optional. Inline document content, represented as a stream of bytes. Note: As
4340
4345
  # with all `bytes` fields, protobuffers use a pure binary representation,
4341
4346
  # whereas JSON representations use base64.
@@ -4344,6 +4349,12 @@ module Google
4344
4349
  # @return [String]
4345
4350
  attr_accessor :content
4346
4351
 
4352
+ # Represents the parsed layout of a document as a collection of blocks that the
4353
+ # document is divided into.
4354
+ # Corresponds to the JSON property `documentLayout`
4355
+ # @return [Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayout]
4356
+ attr_accessor :document_layout
4357
+
4347
4358
  # A list of entities detected on Document.text. For document shards, entities in
4348
4359
  # this list may cross shard boundaries.
4349
4360
  # Corresponds to the JSON property `entities`
@@ -4418,7 +4429,9 @@ module Google
4418
4429
 
4419
4430
  # Update properties of this object
4420
4431
  def update!(**args)
4432
+ @chunked_document = args[:chunked_document] if args.key?(:chunked_document)
4421
4433
  @content = args[:content] if args.key?(:content)
4434
+ @document_layout = args[:document_layout] if args.key?(:document_layout)
4422
4435
  @entities = args[:entities] if args.key?(:entities)
4423
4436
  @entity_relations = args[:entity_relations] if args.key?(:entity_relations)
4424
4437
  @error = args[:error] if args.key?(:error)
@@ -4433,6 +4446,400 @@ module Google
4433
4446
  end
4434
4447
  end
4435
4448
 
4449
+ # Represents the chunks that the document is divided into.
4450
+ class GoogleCloudDocumentaiV1DocumentChunkedDocument
4451
+ include Google::Apis::Core::Hashable
4452
+
4453
+ # List of chunks.
4454
+ # Corresponds to the JSON property `chunks`
4455
+ # @return [Array<Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk>]
4456
+ attr_accessor :chunks
4457
+
4458
+ def initialize(**args)
4459
+ update!(**args)
4460
+ end
4461
+
4462
+ # Update properties of this object
4463
+ def update!(**args)
4464
+ @chunks = args[:chunks] if args.key?(:chunks)
4465
+ end
4466
+ end
4467
+
4468
+ # Represents a chunk.
4469
+ class GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk
4470
+ include Google::Apis::Core::Hashable
4471
+
4472
+ # ID of the chunk.
4473
+ # Corresponds to the JSON property `chunkId`
4474
+ # @return [String]
4475
+ attr_accessor :chunk_id
4476
+
4477
+ # Text content of the chunk.
4478
+ # Corresponds to the JSON property `content`
4479
+ # @return [String]
4480
+ attr_accessor :content
4481
+
4482
+ # Page footers associated with the chunk.
4483
+ # Corresponds to the JSON property `pageFooters`
4484
+ # @return [Array<Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter>]
4485
+ attr_accessor :page_footers
4486
+
4487
+ # Page headers associated with the chunk.
4488
+ # Corresponds to the JSON property `pageHeaders`
4489
+ # @return [Array<Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader>]
4490
+ attr_accessor :page_headers
4491
+
4492
+ # Represents where the chunk starts and ends in the document.
4493
+ # Corresponds to the JSON property `pageSpan`
4494
+ # @return [Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan]
4495
+ attr_accessor :page_span
4496
+
4497
+ # Unused.
4498
+ # Corresponds to the JSON property `sourceBlockIds`
4499
+ # @return [Array<String>]
4500
+ attr_accessor :source_block_ids
4501
+
4502
+ def initialize(**args)
4503
+ update!(**args)
4504
+ end
4505
+
4506
+ # Update properties of this object
4507
+ def update!(**args)
4508
+ @chunk_id = args[:chunk_id] if args.key?(:chunk_id)
4509
+ @content = args[:content] if args.key?(:content)
4510
+ @page_footers = args[:page_footers] if args.key?(:page_footers)
4511
+ @page_headers = args[:page_headers] if args.key?(:page_headers)
4512
+ @page_span = args[:page_span] if args.key?(:page_span)
4513
+ @source_block_ids = args[:source_block_ids] if args.key?(:source_block_ids)
4514
+ end
4515
+ end
4516
+
4517
+ # Represents the page footer associated with the chunk.
4518
+ class GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter
4519
+ include Google::Apis::Core::Hashable
4520
+
4521
+ # Represents where the chunk starts and ends in the document.
4522
+ # Corresponds to the JSON property `pageSpan`
4523
+ # @return [Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan]
4524
+ attr_accessor :page_span
4525
+
4526
+ # Footer in text format.
4527
+ # Corresponds to the JSON property `text`
4528
+ # @return [String]
4529
+ attr_accessor :text
4530
+
4531
+ def initialize(**args)
4532
+ update!(**args)
4533
+ end
4534
+
4535
+ # Update properties of this object
4536
+ def update!(**args)
4537
+ @page_span = args[:page_span] if args.key?(:page_span)
4538
+ @text = args[:text] if args.key?(:text)
4539
+ end
4540
+ end
4541
+
4542
+ # Represents the page header associated with the chunk.
4543
+ class GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader
4544
+ include Google::Apis::Core::Hashable
4545
+
4546
+ # Represents where the chunk starts and ends in the document.
4547
+ # Corresponds to the JSON property `pageSpan`
4548
+ # @return [Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan]
4549
+ attr_accessor :page_span
4550
+
4551
+ # Header in text format.
4552
+ # Corresponds to the JSON property `text`
4553
+ # @return [String]
4554
+ attr_accessor :text
4555
+
4556
+ def initialize(**args)
4557
+ update!(**args)
4558
+ end
4559
+
4560
+ # Update properties of this object
4561
+ def update!(**args)
4562
+ @page_span = args[:page_span] if args.key?(:page_span)
4563
+ @text = args[:text] if args.key?(:text)
4564
+ end
4565
+ end
4566
+
4567
+ # Represents where the chunk starts and ends in the document.
4568
+ class GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan
4569
+ include Google::Apis::Core::Hashable
4570
+
4571
+ # Page where chunk ends in the document.
4572
+ # Corresponds to the JSON property `pageEnd`
4573
+ # @return [Fixnum]
4574
+ attr_accessor :page_end
4575
+
4576
+ # Page where chunk starts in the document.
4577
+ # Corresponds to the JSON property `pageStart`
4578
+ # @return [Fixnum]
4579
+ attr_accessor :page_start
4580
+
4581
+ def initialize(**args)
4582
+ update!(**args)
4583
+ end
4584
+
4585
+ # Update properties of this object
4586
+ def update!(**args)
4587
+ @page_end = args[:page_end] if args.key?(:page_end)
4588
+ @page_start = args[:page_start] if args.key?(:page_start)
4589
+ end
4590
+ end
4591
+
4592
+ # Represents the parsed layout of a document as a collection of blocks that the
4593
+ # document is divided into.
4594
+ class GoogleCloudDocumentaiV1DocumentDocumentLayout
4595
+ include Google::Apis::Core::Hashable
4596
+
4597
+ # List of blocks in the document.
4598
+ # Corresponds to the JSON property `blocks`
4599
+ # @return [Array<Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock>]
4600
+ attr_accessor :blocks
4601
+
4602
+ def initialize(**args)
4603
+ update!(**args)
4604
+ end
4605
+
4606
+ # Update properties of this object
4607
+ def update!(**args)
4608
+ @blocks = args[:blocks] if args.key?(:blocks)
4609
+ end
4610
+ end
4611
+
4612
+ # Represents a block. A block could be one of the various types (text, table,
4613
+ # list) supported.
4614
+ class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock
4615
+ include Google::Apis::Core::Hashable
4616
+
4617
+ # ID of the block.
4618
+ # Corresponds to the JSON property `blockId`
4619
+ # @return [String]
4620
+ attr_accessor :block_id
4621
+
4622
+ # Represents a list type block.
4623
+ # Corresponds to the JSON property `listBlock`
4624
+ # @return [Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock]
4625
+ attr_accessor :list_block
4626
+
4627
+ # Represents where the block starts and ends in the document.
4628
+ # Corresponds to the JSON property `pageSpan`
4629
+ # @return [Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan]
4630
+ attr_accessor :page_span
4631
+
4632
+ # Represents a table type block.
4633
+ # Corresponds to the JSON property `tableBlock`
4634
+ # @return [Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock]
4635
+ attr_accessor :table_block
4636
+
4637
+ # Represents a text type block.
4638
+ # Corresponds to the JSON property `textBlock`
4639
+ # @return [Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock]
4640
+ attr_accessor :text_block
4641
+
4642
+ def initialize(**args)
4643
+ update!(**args)
4644
+ end
4645
+
4646
+ # Update properties of this object
4647
+ def update!(**args)
4648
+ @block_id = args[:block_id] if args.key?(:block_id)
4649
+ @list_block = args[:list_block] if args.key?(:list_block)
4650
+ @page_span = args[:page_span] if args.key?(:page_span)
4651
+ @table_block = args[:table_block] if args.key?(:table_block)
4652
+ @text_block = args[:text_block] if args.key?(:text_block)
4653
+ end
4654
+ end
4655
+
4656
+ # Represents a list type block.
4657
+ class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock
4658
+ include Google::Apis::Core::Hashable
4659
+
4660
+ # List entries that constitute a list block.
4661
+ # Corresponds to the JSON property `listEntries`
4662
+ # @return [Array<Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry>]
4663
+ attr_accessor :list_entries
4664
+
4665
+ # Type of the list_entries (if exist). Available options are `ordered` and `
4666
+ # unordered`.
4667
+ # Corresponds to the JSON property `type`
4668
+ # @return [String]
4669
+ attr_accessor :type
4670
+
4671
+ def initialize(**args)
4672
+ update!(**args)
4673
+ end
4674
+
4675
+ # Update properties of this object
4676
+ def update!(**args)
4677
+ @list_entries = args[:list_entries] if args.key?(:list_entries)
4678
+ @type = args[:type] if args.key?(:type)
4679
+ end
4680
+ end
4681
+
4682
+ # Represents an entry in the list.
4683
+ class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry
4684
+ include Google::Apis::Core::Hashable
4685
+
4686
+ # A list entry is a list of blocks. Repeated blocks support further hierarchies
4687
+ # and nested blocks.
4688
+ # Corresponds to the JSON property `blocks`
4689
+ # @return [Array<Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock>]
4690
+ attr_accessor :blocks
4691
+
4692
+ def initialize(**args)
4693
+ update!(**args)
4694
+ end
4695
+
4696
+ # Update properties of this object
4697
+ def update!(**args)
4698
+ @blocks = args[:blocks] if args.key?(:blocks)
4699
+ end
4700
+ end
4701
+
4702
+ # Represents where the block starts and ends in the document.
4703
+ class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan
4704
+ include Google::Apis::Core::Hashable
4705
+
4706
+ # Page where block ends in the document.
4707
+ # Corresponds to the JSON property `pageEnd`
4708
+ # @return [Fixnum]
4709
+ attr_accessor :page_end
4710
+
4711
+ # Page where block starts in the document.
4712
+ # Corresponds to the JSON property `pageStart`
4713
+ # @return [Fixnum]
4714
+ attr_accessor :page_start
4715
+
4716
+ def initialize(**args)
4717
+ update!(**args)
4718
+ end
4719
+
4720
+ # Update properties of this object
4721
+ def update!(**args)
4722
+ @page_end = args[:page_end] if args.key?(:page_end)
4723
+ @page_start = args[:page_start] if args.key?(:page_start)
4724
+ end
4725
+ end
4726
+
4727
+ # Represents a table type block.
4728
+ class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock
4729
+ include Google::Apis::Core::Hashable
4730
+
4731
+ # Body rows containing main table content.
4732
+ # Corresponds to the JSON property `bodyRows`
4733
+ # @return [Array<Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow>]
4734
+ attr_accessor :body_rows
4735
+
4736
+ # Table caption/title.
4737
+ # Corresponds to the JSON property `caption`
4738
+ # @return [String]
4739
+ attr_accessor :caption
4740
+
4741
+ # Header rows at the top of the table.
4742
+ # Corresponds to the JSON property `headerRows`
4743
+ # @return [Array<Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow>]
4744
+ attr_accessor :header_rows
4745
+
4746
+ def initialize(**args)
4747
+ update!(**args)
4748
+ end
4749
+
4750
+ # Update properties of this object
4751
+ def update!(**args)
4752
+ @body_rows = args[:body_rows] if args.key?(:body_rows)
4753
+ @caption = args[:caption] if args.key?(:caption)
4754
+ @header_rows = args[:header_rows] if args.key?(:header_rows)
4755
+ end
4756
+ end
4757
+
4758
+ # Represents a cell in a table row.
4759
+ class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell
4760
+ include Google::Apis::Core::Hashable
4761
+
4762
+ # A table cell is a list of blocks. Repeated blocks support further hierarchies
4763
+ # and nested blocks.
4764
+ # Corresponds to the JSON property `blocks`
4765
+ # @return [Array<Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock>]
4766
+ attr_accessor :blocks
4767
+
4768
+ # How many columns this cell spans.
4769
+ # Corresponds to the JSON property `colSpan`
4770
+ # @return [Fixnum]
4771
+ attr_accessor :col_span
4772
+
4773
+ # How many rows this cell spans.
4774
+ # Corresponds to the JSON property `rowSpan`
4775
+ # @return [Fixnum]
4776
+ attr_accessor :row_span
4777
+
4778
+ def initialize(**args)
4779
+ update!(**args)
4780
+ end
4781
+
4782
+ # Update properties of this object
4783
+ def update!(**args)
4784
+ @blocks = args[:blocks] if args.key?(:blocks)
4785
+ @col_span = args[:col_span] if args.key?(:col_span)
4786
+ @row_span = args[:row_span] if args.key?(:row_span)
4787
+ end
4788
+ end
4789
+
4790
+ # Represents a row in a table.
4791
+ class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow
4792
+ include Google::Apis::Core::Hashable
4793
+
4794
+ # A table row is a list of table cells.
4795
+ # Corresponds to the JSON property `cells`
4796
+ # @return [Array<Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell>]
4797
+ attr_accessor :cells
4798
+
4799
+ def initialize(**args)
4800
+ update!(**args)
4801
+ end
4802
+
4803
+ # Update properties of this object
4804
+ def update!(**args)
4805
+ @cells = args[:cells] if args.key?(:cells)
4806
+ end
4807
+ end
4808
+
4809
+ # Represents a text type block.
4810
+ class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock
4811
+ include Google::Apis::Core::Hashable
4812
+
4813
+ # A text block could further have child blocks. Repeated blocks support further
4814
+ # hierarchies and nested blocks.
4815
+ # Corresponds to the JSON property `blocks`
4816
+ # @return [Array<Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock>]
4817
+ attr_accessor :blocks
4818
+
4819
+ # Text content stored in the block.
4820
+ # Corresponds to the JSON property `text`
4821
+ # @return [String]
4822
+ attr_accessor :text
4823
+
4824
+ # Type of the text in the block. Available options are: `paragraph`, `subtitle`,
4825
+ # `heading-1`, `heading-2`, `heading-3`, `heading-4`, `heading-5`, `header`, `
4826
+ # footer`.
4827
+ # Corresponds to the JSON property `type`
4828
+ # @return [String]
4829
+ attr_accessor :type
4830
+
4831
+ def initialize(**args)
4832
+ update!(**args)
4833
+ end
4834
+
4835
+ # Update properties of this object
4836
+ def update!(**args)
4837
+ @blocks = args[:blocks] if args.key?(:blocks)
4838
+ @text = args[:text] if args.key?(:text)
4839
+ @type = args[:type] if args.key?(:type)
4840
+ end
4841
+ end
4842
+
4436
4843
  # An entity that could be a phrase in the text or a property that belongs to the
4437
4844
  # document. It is a known entity type, such as a person, an organization, or
4438
4845
  # location.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContentwarehouseV1
18
18
  # Version of the google-apis-contentwarehouse_v1 gem
19
- GEM_VERSION = "0.36.0"
19
+ GEM_VERSION = "0.38.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240506"
25
+ REVISION = "20240723"
26
26
  end
27
27
  end
28
28
  end
@@ -748,6 +748,90 @@ module Google
748
748
  include Google::Apis::Core::JsonObjectSupport
749
749
  end
750
750
 
751
+ class GoogleCloudDocumentaiV1DocumentChunkedDocument
752
+ class Representation < Google::Apis::Core::JsonRepresentation; end
753
+
754
+ include Google::Apis::Core::JsonObjectSupport
755
+ end
756
+
757
+ class GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk
758
+ class Representation < Google::Apis::Core::JsonRepresentation; end
759
+
760
+ include Google::Apis::Core::JsonObjectSupport
761
+ end
762
+
763
+ class GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter
764
+ class Representation < Google::Apis::Core::JsonRepresentation; end
765
+
766
+ include Google::Apis::Core::JsonObjectSupport
767
+ end
768
+
769
+ class GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader
770
+ class Representation < Google::Apis::Core::JsonRepresentation; end
771
+
772
+ include Google::Apis::Core::JsonObjectSupport
773
+ end
774
+
775
+ class GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan
776
+ class Representation < Google::Apis::Core::JsonRepresentation; end
777
+
778
+ include Google::Apis::Core::JsonObjectSupport
779
+ end
780
+
781
+ class GoogleCloudDocumentaiV1DocumentDocumentLayout
782
+ class Representation < Google::Apis::Core::JsonRepresentation; end
783
+
784
+ include Google::Apis::Core::JsonObjectSupport
785
+ end
786
+
787
+ class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock
788
+ class Representation < Google::Apis::Core::JsonRepresentation; end
789
+
790
+ include Google::Apis::Core::JsonObjectSupport
791
+ end
792
+
793
+ class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock
794
+ class Representation < Google::Apis::Core::JsonRepresentation; end
795
+
796
+ include Google::Apis::Core::JsonObjectSupport
797
+ end
798
+
799
+ class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry
800
+ class Representation < Google::Apis::Core::JsonRepresentation; end
801
+
802
+ include Google::Apis::Core::JsonObjectSupport
803
+ end
804
+
805
+ class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan
806
+ class Representation < Google::Apis::Core::JsonRepresentation; end
807
+
808
+ include Google::Apis::Core::JsonObjectSupport
809
+ end
810
+
811
+ class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock
812
+ class Representation < Google::Apis::Core::JsonRepresentation; end
813
+
814
+ include Google::Apis::Core::JsonObjectSupport
815
+ end
816
+
817
+ class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell
818
+ class Representation < Google::Apis::Core::JsonRepresentation; end
819
+
820
+ include Google::Apis::Core::JsonObjectSupport
821
+ end
822
+
823
+ class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow
824
+ class Representation < Google::Apis::Core::JsonRepresentation; end
825
+
826
+ include Google::Apis::Core::JsonObjectSupport
827
+ end
828
+
829
+ class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock
830
+ class Representation < Google::Apis::Core::JsonRepresentation; end
831
+
832
+ include Google::Apis::Core::JsonObjectSupport
833
+ end
834
+
751
835
  class GoogleCloudDocumentaiV1DocumentEntity
752
836
  class Representation < Google::Apis::Core::JsonRepresentation; end
753
837
 
@@ -2289,7 +2373,11 @@ module Google
2289
2373
  class GoogleCloudDocumentaiV1Document
2290
2374
  # @private
2291
2375
  class Representation < Google::Apis::Core::JsonRepresentation
2376
+ property :chunked_document, as: 'chunkedDocument', class: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentChunkedDocument, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentChunkedDocument::Representation
2377
+
2292
2378
  property :content, :base64 => true, as: 'content'
2379
+ property :document_layout, as: 'documentLayout', class: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayout, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayout::Representation
2380
+
2293
2381
  collection :entities, as: 'entities', class: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentEntity, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentEntity::Representation
2294
2382
 
2295
2383
  collection :entity_relations, as: 'entityRelations', class: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentEntityRelation, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentEntityRelation::Representation
@@ -2312,6 +2400,142 @@ module Google
2312
2400
  end
2313
2401
  end
2314
2402
 
2403
+ class GoogleCloudDocumentaiV1DocumentChunkedDocument
2404
+ # @private
2405
+ class Representation < Google::Apis::Core::JsonRepresentation
2406
+ collection :chunks, as: 'chunks', class: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk::Representation
2407
+
2408
+ end
2409
+ end
2410
+
2411
+ class GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk
2412
+ # @private
2413
+ class Representation < Google::Apis::Core::JsonRepresentation
2414
+ property :chunk_id, as: 'chunkId'
2415
+ property :content, as: 'content'
2416
+ collection :page_footers, as: 'pageFooters', class: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter::Representation
2417
+
2418
+ collection :page_headers, as: 'pageHeaders', class: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader::Representation
2419
+
2420
+ property :page_span, as: 'pageSpan', class: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan::Representation
2421
+
2422
+ collection :source_block_ids, as: 'sourceBlockIds'
2423
+ end
2424
+ end
2425
+
2426
+ class GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter
2427
+ # @private
2428
+ class Representation < Google::Apis::Core::JsonRepresentation
2429
+ property :page_span, as: 'pageSpan', class: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan::Representation
2430
+
2431
+ property :text, as: 'text'
2432
+ end
2433
+ end
2434
+
2435
+ class GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader
2436
+ # @private
2437
+ class Representation < Google::Apis::Core::JsonRepresentation
2438
+ property :page_span, as: 'pageSpan', class: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan::Representation
2439
+
2440
+ property :text, as: 'text'
2441
+ end
2442
+ end
2443
+
2444
+ class GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan
2445
+ # @private
2446
+ class Representation < Google::Apis::Core::JsonRepresentation
2447
+ property :page_end, as: 'pageEnd'
2448
+ property :page_start, as: 'pageStart'
2449
+ end
2450
+ end
2451
+
2452
+ class GoogleCloudDocumentaiV1DocumentDocumentLayout
2453
+ # @private
2454
+ class Representation < Google::Apis::Core::JsonRepresentation
2455
+ collection :blocks, as: 'blocks', class: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock::Representation
2456
+
2457
+ end
2458
+ end
2459
+
2460
+ class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock
2461
+ # @private
2462
+ class Representation < Google::Apis::Core::JsonRepresentation
2463
+ property :block_id, as: 'blockId'
2464
+ property :list_block, as: 'listBlock', class: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock::Representation
2465
+
2466
+ property :page_span, as: 'pageSpan', class: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan::Representation
2467
+
2468
+ property :table_block, as: 'tableBlock', class: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock::Representation
2469
+
2470
+ property :text_block, as: 'textBlock', class: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock::Representation
2471
+
2472
+ end
2473
+ end
2474
+
2475
+ class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock
2476
+ # @private
2477
+ class Representation < Google::Apis::Core::JsonRepresentation
2478
+ collection :list_entries, as: 'listEntries', class: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry::Representation
2479
+
2480
+ property :type, as: 'type'
2481
+ end
2482
+ end
2483
+
2484
+ class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry
2485
+ # @private
2486
+ class Representation < Google::Apis::Core::JsonRepresentation
2487
+ collection :blocks, as: 'blocks', class: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock::Representation
2488
+
2489
+ end
2490
+ end
2491
+
2492
+ class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan
2493
+ # @private
2494
+ class Representation < Google::Apis::Core::JsonRepresentation
2495
+ property :page_end, as: 'pageEnd'
2496
+ property :page_start, as: 'pageStart'
2497
+ end
2498
+ end
2499
+
2500
+ class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock
2501
+ # @private
2502
+ class Representation < Google::Apis::Core::JsonRepresentation
2503
+ collection :body_rows, as: 'bodyRows', class: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow::Representation
2504
+
2505
+ property :caption, as: 'caption'
2506
+ collection :header_rows, as: 'headerRows', class: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow::Representation
2507
+
2508
+ end
2509
+ end
2510
+
2511
+ class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell
2512
+ # @private
2513
+ class Representation < Google::Apis::Core::JsonRepresentation
2514
+ collection :blocks, as: 'blocks', class: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock::Representation
2515
+
2516
+ property :col_span, as: 'colSpan'
2517
+ property :row_span, as: 'rowSpan'
2518
+ end
2519
+ end
2520
+
2521
+ class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow
2522
+ # @private
2523
+ class Representation < Google::Apis::Core::JsonRepresentation
2524
+ collection :cells, as: 'cells', class: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell::Representation
2525
+
2526
+ end
2527
+ end
2528
+
2529
+ class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock
2530
+ # @private
2531
+ class Representation < Google::Apis::Core::JsonRepresentation
2532
+ collection :blocks, as: 'blocks', class: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock::Representation
2533
+
2534
+ property :text, as: 'text'
2535
+ property :type, as: 'type'
2536
+ end
2537
+ end
2538
+
2315
2539
  class GoogleCloudDocumentaiV1DocumentEntity
2316
2540
  # @private
2317
2541
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-contentwarehouse_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.36.0
4
+ version: 0.38.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-05-07 00:00:00.000000000 Z
11
+ date: 2024-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.14.0
29
+ version: 0.15.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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-contentwarehouse_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-contentwarehouse_v1/v0.36.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-contentwarehouse_v1/v0.38.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-contentwarehouse_v1
63
63
  post_install_message:
64
64
  rdoc_options: []