google-apis-contentwarehouse_v1 0.37.0 → 0.39.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cec0c34a53b0a4cdc45c5322beb827d98bad7f1d05da3db712265b64c48c4e1b
|
4
|
+
data.tar.gz: 8f8e26295ed37140e2cc960cb88caf8830422780f3615b9ad62a5779349651c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32f1ebde2429d0281be256e7178f46e8980c7f88fae1af1de9877d6971134de1aaf4defbf1f9ff8ed33bbed5da24fa313b77e8b31d8583312f98fa03c2df1de6
|
7
|
+
data.tar.gz: eff8cfb499e8a05fdf32b3fd439c1d5b7c63b7c610c56548e18b96edb42e4e210deb4912216a34d46bfb8d1c5663c890b5236b2c8d8a1e54c6385c37e06e3c82
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-contentwarehouse_v1
|
2
2
|
|
3
|
+
### v0.39.0 (2024-12-08)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241204
|
6
|
+
* Regenerated using generator version 0.15.1
|
7
|
+
|
8
|
+
### v0.38.0 (2024-07-25)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20240723
|
11
|
+
|
3
12
|
### v0.37.0 (2024-05-19)
|
4
13
|
|
5
14
|
* Regenerated using generator version 0.15.0
|
@@ -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.
|
@@ -4524,16 +4931,16 @@ module Google
|
|
4524
4931
|
class GoogleCloudDocumentaiV1DocumentEntityNormalizedValue
|
4525
4932
|
include Google::Apis::Core::Hashable
|
4526
4933
|
|
4527
|
-
# Represents a postal address
|
4528
|
-
# Given a postal address, a postal service can deliver items to a
|
4529
|
-
# Box or similar. It is not intended to model geographical
|
4530
|
-
# towns, mountains). In typical usage an address would be
|
4531
|
-
# or from importing existing data, depending on the type
|
4532
|
-
# address input / editing: - Use an internationalization-
|
4533
|
-
# such as https://github.com/google/libaddressinput) -
|
4534
|
-
# presented with UI elements for input or editing of fields
|
4535
|
-
# where that field is used. For more guidance on how to use
|
4536
|
-
# see: https://support.google.com/business/answer/6397478
|
4934
|
+
# Represents a postal address. For example for postal delivery or payments
|
4935
|
+
# addresses. Given a postal address, a postal service can deliver items to a
|
4936
|
+
# premise, P.O. Box or similar. It is not intended to model geographical
|
4937
|
+
# locations (roads, towns, mountains). In typical usage an address would be
|
4938
|
+
# created by user input or from importing existing data, depending on the type
|
4939
|
+
# of process. Advice on address input / editing: - Use an internationalization-
|
4940
|
+
# ready address widget such as https://github.com/google/libaddressinput) -
|
4941
|
+
# Users should not be presented with UI elements for input or editing of fields
|
4942
|
+
# outside countries where that field is used. For more guidance on how to use
|
4943
|
+
# this schema, see: https://support.google.com/business/answer/6397478
|
4537
4944
|
# Corresponds to the JSON property `addressValue`
|
4538
4945
|
# @return [Google::Apis::ContentwarehouseV1::GoogleTypePostalAddress]
|
4539
4946
|
attr_accessor :address_value
|
@@ -6909,35 +7316,36 @@ module Google
|
|
6909
7316
|
end
|
6910
7317
|
end
|
6911
7318
|
|
6912
|
-
# Represents a postal address
|
6913
|
-
# Given a postal address, a postal service can deliver items to a
|
6914
|
-
# Box or similar. It is not intended to model geographical
|
6915
|
-
# towns, mountains). In typical usage an address would be
|
6916
|
-
# or from importing existing data, depending on the type
|
6917
|
-
# address input / editing: - Use an internationalization-
|
6918
|
-
# such as https://github.com/google/libaddressinput) -
|
6919
|
-
# presented with UI elements for input or editing of fields
|
6920
|
-
# where that field is used. For more guidance on how to use
|
6921
|
-
# see: https://support.google.com/business/answer/6397478
|
7319
|
+
# Represents a postal address. For example for postal delivery or payments
|
7320
|
+
# addresses. Given a postal address, a postal service can deliver items to a
|
7321
|
+
# premise, P.O. Box or similar. It is not intended to model geographical
|
7322
|
+
# locations (roads, towns, mountains). In typical usage an address would be
|
7323
|
+
# created by user input or from importing existing data, depending on the type
|
7324
|
+
# of process. Advice on address input / editing: - Use an internationalization-
|
7325
|
+
# ready address widget such as https://github.com/google/libaddressinput) -
|
7326
|
+
# Users should not be presented with UI elements for input or editing of fields
|
7327
|
+
# outside countries where that field is used. For more guidance on how to use
|
7328
|
+
# this schema, see: https://support.google.com/business/answer/6397478
|
6922
7329
|
class GoogleTypePostalAddress
|
6923
7330
|
include Google::Apis::Core::Hashable
|
6924
7331
|
|
6925
7332
|
# Unstructured address lines describing the lower levels of an address. Because
|
6926
7333
|
# values in address_lines do not have type information and may sometimes contain
|
6927
|
-
# multiple values in a single field (
|
6928
|
-
# the line order is clear. The order of address lines should be "envelope
|
6929
|
-
# for the country/region of the address. In places where this can vary (
|
6930
|
-
# Japan), address_language is used to make it explicit (
|
6931
|
-
# small ordering and "ja-Latn" or "en" for small-to-large).
|
6932
|
-
# specific line of an address can be selected based on the
|
6933
|
-
# permitted structural representation of an address
|
6934
|
-
# with all remaining information placed in the
|
6935
|
-
# possible to format such an address very
|
6936
|
-
# no semantic reasoning could be made about
|
6937
|
-
# it was at least partially resolved.
|
6938
|
-
# region_code and address_lines, and then
|
6939
|
-
# handle completely unstructured addresses (
|
6940
|
-
# of the address should be localities or
|
7334
|
+
# multiple values in a single field (For example "Austin, TX"), it is important
|
7335
|
+
# that the line order is clear. The order of address lines should be "envelope
|
7336
|
+
# order" for the country/region of the address. In places where this can vary (
|
7337
|
+
# For example Japan), address_language is used to make it explicit (For example "
|
7338
|
+
# ja" for large-to-small ordering and "ja-Latn" or "en" for small-to-large).
|
7339
|
+
# This way, the most specific line of an address can be selected based on the
|
7340
|
+
# language. The minimum permitted structural representation of an address
|
7341
|
+
# consists of a region_code with all remaining information placed in the
|
7342
|
+
# address_lines. It would be possible to format such an address very
|
7343
|
+
# approximately without geocoding, but no semantic reasoning could be made about
|
7344
|
+
# any of the address components until it was at least partially resolved.
|
7345
|
+
# Creating an address only containing a region_code and address_lines, and then
|
7346
|
+
# geocoding is the recommended way to handle completely unstructured addresses (
|
7347
|
+
# as opposed to guessing which parts of the address should be localities or
|
7348
|
+
# administrative areas).
|
6941
7349
|
# Corresponds to the JSON property `addressLines`
|
6942
7350
|
# @return [Array<String>]
|
6943
7351
|
attr_accessor :address_lines
|
@@ -6945,9 +7353,9 @@ module Google
|
|
6945
7353
|
# Optional. Highest administrative subdivision which is used for postal
|
6946
7354
|
# addresses of a country or region. For example, this can be a state, a province,
|
6947
7355
|
# an oblast, or a prefecture. Specifically, for Spain this is the province and
|
6948
|
-
# not the autonomous community (
|
6949
|
-
# countries don't use an administrative area in postal addresses.
|
6950
|
-
# Switzerland this should be left unpopulated.
|
7356
|
+
# not the autonomous community (For example "Barcelona" and not "Catalonia").
|
7357
|
+
# Many countries don't use an administrative area in postal addresses. For
|
7358
|
+
# example in Switzerland this should be left unpopulated.
|
6951
7359
|
# Corresponds to the JSON property `administrativeArea`
|
6952
7360
|
# @return [String]
|
6953
7361
|
attr_accessor :administrative_area
|
@@ -6979,8 +7387,8 @@ module Google
|
|
6979
7387
|
|
6980
7388
|
# Optional. Postal code of the address. Not all countries use or require postal
|
6981
7389
|
# codes to be present, but where they are used, they may trigger additional
|
6982
|
-
# validation with other parts of the address (
|
6983
|
-
# S.A.).
|
7390
|
+
# validation with other parts of the address (For example state/zip validation
|
7391
|
+
# in the U.S.A.).
|
6984
7392
|
# Corresponds to the JSON property `postalCode`
|
6985
7393
|
# @return [String]
|
6986
7394
|
attr_accessor :postal_code
|
@@ -7009,9 +7417,9 @@ module Google
|
|
7009
7417
|
|
7010
7418
|
# Optional. Additional, country-specific, sorting code. This is not used in most
|
7011
7419
|
# regions. Where it is used, the value is either a string like "CEDEX",
|
7012
|
-
# optionally followed by a number (
|
7013
|
-
# representing the "sector code" (Jamaica), "delivery area indicator" (
|
7014
|
-
# or "post office indicator" (
|
7420
|
+
# optionally followed by a number (For example "CEDEX 7"), or just a number
|
7421
|
+
# alone, representing the "sector code" (Jamaica), "delivery area indicator" (
|
7422
|
+
# Malawi) or "post office indicator" (For example Côte d'Ivoire).
|
7015
7423
|
# Corresponds to the JSON property `sortingCode`
|
7016
7424
|
# @return [String]
|
7017
7425
|
attr_accessor :sorting_code
|
@@ -7047,12 +7455,12 @@ module Google
|
|
7047
7455
|
class GoogleTypeTimeZone
|
7048
7456
|
include Google::Apis::Core::Hashable
|
7049
7457
|
|
7050
|
-
# IANA Time Zone Database time zone
|
7458
|
+
# IANA Time Zone Database time zone. For example "America/New_York".
|
7051
7459
|
# Corresponds to the JSON property `id`
|
7052
7460
|
# @return [String]
|
7053
7461
|
attr_accessor :id
|
7054
7462
|
|
7055
|
-
# Optional. IANA Time Zone Database version number
|
7463
|
+
# Optional. IANA Time Zone Database version number. For example "2019a".
|
7056
7464
|
# Corresponds to the JSON property `version`
|
7057
7465
|
# @return [String]
|
7058
7466
|
attr_accessor :version
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.39.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.15.
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241204"
|
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.
|
4
|
+
version: 0.39.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-
|
11
|
+
date: 2024-12-08 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-contentwarehouse_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-contentwarehouse_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-contentwarehouse_v1/v0.39.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.23
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Document AI Warehouse API V1
|