google-apis-documentai_v1beta3 0.73.0 → 0.75.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/documentai_v1beta3/classes.rb +273 -72
- data/lib/google/apis/documentai_v1beta3/gem_version.rb +2 -2
- data/lib/google/apis/documentai_v1beta3/representations.rb +119 -0
- data/lib/google/apis/documentai_v1beta3/service.rb +108 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b25e7c7a7ce1d6b866462cc45b8988c26f2af4713d9674025622e63ac3018bd
|
4
|
+
data.tar.gz: b8871b87751a993f71bd0ffdf653876a10fe06a3fd2d8f5231cca95e95e406c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7bcde6ffbe965597e25dede24eb07b682f6a94f77c1ee0dc80a08a534830be41fd1cc839e69d2d0c8422b583b370bd19f673d3345221517cb95c6d710ed2efef
|
7
|
+
data.tar.gz: e3cde330a08b9935d0da8972c1c20fbf34fd14b997e6cf335ce22eefe0157901f930c4b159ecdc5a9767c7a538c6599155db5fc428d25934a9c79fbe9028be5f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-documentai_v1beta3
|
2
2
|
|
3
|
+
### v0.75.0 (2023-06-11)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230605
|
6
|
+
|
7
|
+
### v0.74.0 (2023-06-04)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230526
|
10
|
+
|
3
11
|
### v0.73.0 (2023-05-28)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230519
|
@@ -1999,9 +1999,8 @@ module Google
|
|
1999
1999
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleRpcStatus]
|
2000
2000
|
attr_accessor :error
|
2001
2001
|
|
2002
|
-
# An IANA published
|
2003
|
-
#
|
2004
|
-
# xhtml.
|
2002
|
+
# An IANA published [media type (MIME type)](https://www.iana.org/assignments/
|
2003
|
+
# media-types/media-types.xhtml).
|
2005
2004
|
# Corresponds to the JSON property `mimeType`
|
2006
2005
|
# @return [String]
|
2007
2006
|
attr_accessor :mime_type
|
@@ -2320,7 +2319,7 @@ module Google
|
|
2320
2319
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageImage]
|
2321
2320
|
attr_accessor :image
|
2322
2321
|
|
2323
|
-
# Image Quality Scores for the page image
|
2322
|
+
# Image Quality Scores for the page image.
|
2324
2323
|
# Corresponds to the JSON property `imageQualityScores`
|
2325
2324
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores]
|
2326
2325
|
attr_accessor :image_quality_scores
|
@@ -2541,8 +2540,8 @@ module Google
|
|
2541
2540
|
# @return [Float]
|
2542
2541
|
attr_accessor :confidence
|
2543
2542
|
|
2544
|
-
# The BCP-47 language code
|
2545
|
-
#
|
2543
|
+
# The [BCP-47 language code](https://www.unicode.org/reports/tr35/#
|
2544
|
+
# Unicode_locale_identifier), such as `en-US` or `sr-Latn`.
|
2546
2545
|
# Corresponds to the JSON property `languageCode`
|
2547
2546
|
# @return [String]
|
2548
2547
|
attr_accessor :language_code
|
@@ -2672,7 +2671,8 @@ module Google
|
|
2672
2671
|
# @return [Fixnum]
|
2673
2672
|
attr_accessor :height
|
2674
2673
|
|
2675
|
-
# Encoding
|
2674
|
+
# Encoding [media type (MIME type)](https://www.iana.org/assignments/media-types/
|
2675
|
+
# media-types.xhtml) for the image.
|
2676
2676
|
# Corresponds to the JSON property `mimeType`
|
2677
2677
|
# @return [String]
|
2678
2678
|
attr_accessor :mime_type
|
@@ -2695,7 +2695,7 @@ module Google
|
|
2695
2695
|
end
|
2696
2696
|
end
|
2697
2697
|
|
2698
|
-
# Image Quality Scores for the page image
|
2698
|
+
# Image Quality Scores for the page image.
|
2699
2699
|
class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores
|
2700
2700
|
include Google::Apis::Core::Hashable
|
2701
2701
|
|
@@ -2704,7 +2704,7 @@ module Google
|
|
2704
2704
|
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect>]
|
2705
2705
|
attr_accessor :detected_defects
|
2706
2706
|
|
2707
|
-
# The overall quality score. Range `[0, 1]` where 1 is perfect quality.
|
2707
|
+
# The overall quality score. Range `[0, 1]` where `1` is perfect quality.
|
2708
2708
|
# Corresponds to the JSON property `qualityScore`
|
2709
2709
|
# @return [Float]
|
2710
2710
|
attr_accessor :quality_score
|
@@ -2724,7 +2724,7 @@ module Google
|
|
2724
2724
|
class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect
|
2725
2725
|
include Google::Apis::Core::Hashable
|
2726
2726
|
|
2727
|
-
# Confidence of detected defect. Range `[0, 1]` where 1 indicates strong
|
2727
|
+
# Confidence of detected defect. Range `[0, 1]` where `1` indicates strong
|
2728
2728
|
# confidence of that the defect exists.
|
2729
2729
|
# Corresponds to the JSON property `confidence`
|
2730
2730
|
# @return [Float]
|
@@ -3620,8 +3620,8 @@ module Google
|
|
3620
3620
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentStyleFontSize]
|
3621
3621
|
attr_accessor :font_size
|
3622
3622
|
|
3623
|
-
# Font weight. Possible
|
3624
|
-
#
|
3623
|
+
# [Font weight](https://www.w3schools.com/cssref/pr_font_weight.asp). Possible
|
3624
|
+
# values are `normal`, `bold`, `bolder`, and `lighter`.
|
3625
3625
|
# Corresponds to the JSON property `fontWeight`
|
3626
3626
|
# @return [String]
|
3627
3627
|
attr_accessor :font_weight
|
@@ -3631,14 +3631,14 @@ module Google
|
|
3631
3631
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentTextAnchor]
|
3632
3632
|
attr_accessor :text_anchor
|
3633
3633
|
|
3634
|
-
# Text decoration
|
3635
|
-
#
|
3634
|
+
# [Text decoration](https://www.w3schools.com/cssref/pr_text_text-decoration.asp)
|
3635
|
+
# . Follows CSS standard.
|
3636
3636
|
# Corresponds to the JSON property `textDecoration`
|
3637
3637
|
# @return [String]
|
3638
3638
|
attr_accessor :text_decoration
|
3639
3639
|
|
3640
|
-
# Text style
|
3641
|
-
#
|
3640
|
+
# [Text style](https://www.w3schools.com/cssref/pr_font_font-style.asp).
|
3641
|
+
# Possible values are `normal`, `italic`, and `oblique`.
|
3642
3642
|
# Corresponds to the JSON property `textStyle`
|
3643
3643
|
# @return [String]
|
3644
3644
|
attr_accessor :text_style
|
@@ -3669,7 +3669,7 @@ module Google
|
|
3669
3669
|
# @return [Float]
|
3670
3670
|
attr_accessor :size
|
3671
3671
|
|
3672
|
-
# Unit for the font size. Follows CSS naming (in
|
3672
|
+
# Unit for the font size. Follows CSS naming (`in`, `px`, `pt`, etc.).
|
3673
3673
|
# Corresponds to the JSON property `unit`
|
3674
3674
|
# @return [String]
|
3675
3675
|
attr_accessor :unit
|
@@ -4110,9 +4110,8 @@ module Google
|
|
4110
4110
|
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentLabel>]
|
4111
4111
|
attr_accessor :labels
|
4112
4112
|
|
4113
|
-
# An IANA published
|
4114
|
-
#
|
4115
|
-
# xhtml.
|
4113
|
+
# An IANA published [media type (MIME type)](https://www.iana.org/assignments/
|
4114
|
+
# media-types/media-types.xhtml).
|
4116
4115
|
# Corresponds to the JSON property `mimeType`
|
4117
4116
|
# @return [String]
|
4118
4117
|
attr_accessor :mime_type
|
@@ -4469,7 +4468,7 @@ module Google
|
|
4469
4468
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageImage]
|
4470
4469
|
attr_accessor :image
|
4471
4470
|
|
4472
|
-
# Image Quality Scores for the page image
|
4471
|
+
# Image Quality Scores for the page image.
|
4473
4472
|
# Corresponds to the JSON property `imageQualityScores`
|
4474
4473
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores]
|
4475
4474
|
attr_accessor :image_quality_scores
|
@@ -4690,8 +4689,8 @@ module Google
|
|
4690
4689
|
# @return [Float]
|
4691
4690
|
attr_accessor :confidence
|
4692
4691
|
|
4693
|
-
# The BCP-47 language code
|
4694
|
-
#
|
4692
|
+
# The [BCP-47 language code](https://www.unicode.org/reports/tr35/#
|
4693
|
+
# Unicode_locale_identifier), such as `en-US` or `sr-Latn`.
|
4695
4694
|
# Corresponds to the JSON property `languageCode`
|
4696
4695
|
# @return [String]
|
4697
4696
|
attr_accessor :language_code
|
@@ -4821,7 +4820,8 @@ module Google
|
|
4821
4820
|
# @return [Fixnum]
|
4822
4821
|
attr_accessor :height
|
4823
4822
|
|
4824
|
-
# Encoding
|
4823
|
+
# Encoding [media type (MIME type)](https://www.iana.org/assignments/media-types/
|
4824
|
+
# media-types.xhtml) for the image.
|
4825
4825
|
# Corresponds to the JSON property `mimeType`
|
4826
4826
|
# @return [String]
|
4827
4827
|
attr_accessor :mime_type
|
@@ -4844,7 +4844,7 @@ module Google
|
|
4844
4844
|
end
|
4845
4845
|
end
|
4846
4846
|
|
4847
|
-
# Image Quality Scores for the page image
|
4847
|
+
# Image Quality Scores for the page image.
|
4848
4848
|
class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores
|
4849
4849
|
include Google::Apis::Core::Hashable
|
4850
4850
|
|
@@ -4853,7 +4853,7 @@ module Google
|
|
4853
4853
|
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect>]
|
4854
4854
|
attr_accessor :detected_defects
|
4855
4855
|
|
4856
|
-
# The overall quality score. Range `[0, 1]` where 1 is perfect quality.
|
4856
|
+
# The overall quality score. Range `[0, 1]` where `1` is perfect quality.
|
4857
4857
|
# Corresponds to the JSON property `qualityScore`
|
4858
4858
|
# @return [Float]
|
4859
4859
|
attr_accessor :quality_score
|
@@ -4873,7 +4873,7 @@ module Google
|
|
4873
4873
|
class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect
|
4874
4874
|
include Google::Apis::Core::Hashable
|
4875
4875
|
|
4876
|
-
# Confidence of detected defect. Range `[0, 1]` where 1 indicates strong
|
4876
|
+
# Confidence of detected defect. Range `[0, 1]` where `1` indicates strong
|
4877
4877
|
# confidence of that the defect exists.
|
4878
4878
|
# Corresponds to the JSON property `confidence`
|
4879
4879
|
# @return [Float]
|
@@ -5769,8 +5769,8 @@ module Google
|
|
5769
5769
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentStyleFontSize]
|
5770
5770
|
attr_accessor :font_size
|
5771
5771
|
|
5772
|
-
# Font weight. Possible
|
5773
|
-
#
|
5772
|
+
# [Font weight](https://www.w3schools.com/cssref/pr_font_weight.asp). Possible
|
5773
|
+
# values are `normal`, `bold`, `bolder`, and `lighter`.
|
5774
5774
|
# Corresponds to the JSON property `fontWeight`
|
5775
5775
|
# @return [String]
|
5776
5776
|
attr_accessor :font_weight
|
@@ -5780,14 +5780,14 @@ module Google
|
|
5780
5780
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentTextAnchor]
|
5781
5781
|
attr_accessor :text_anchor
|
5782
5782
|
|
5783
|
-
# Text decoration
|
5784
|
-
#
|
5783
|
+
# [Text decoration](https://www.w3schools.com/cssref/pr_text_text-decoration.asp)
|
5784
|
+
# . Follows CSS standard.
|
5785
5785
|
# Corresponds to the JSON property `textDecoration`
|
5786
5786
|
# @return [String]
|
5787
5787
|
attr_accessor :text_decoration
|
5788
5788
|
|
5789
|
-
# Text style
|
5790
|
-
#
|
5789
|
+
# [Text style](https://www.w3schools.com/cssref/pr_font_font-style.asp).
|
5790
|
+
# Possible values are `normal`, `italic`, and `oblique`.
|
5791
5791
|
# Corresponds to the JSON property `textStyle`
|
5792
5792
|
# @return [String]
|
5793
5793
|
attr_accessor :text_style
|
@@ -5818,7 +5818,7 @@ module Google
|
|
5818
5818
|
# @return [Float]
|
5819
5819
|
attr_accessor :size
|
5820
5820
|
|
5821
|
-
# Unit for the font size. Follows CSS naming (in
|
5821
|
+
# Unit for the font size. Follows CSS naming (`in`, `px`, `pt`, etc.).
|
5822
5822
|
# Corresponds to the JSON property `unit`
|
5823
5823
|
# @return [String]
|
5824
5824
|
attr_accessor :unit
|
@@ -6336,8 +6336,8 @@ module Google
|
|
6336
6336
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptions]
|
6337
6337
|
attr_accessor :process_options
|
6338
6338
|
|
6339
|
-
# Whether Human Review feature should be skipped for this request. Default to
|
6340
|
-
# false
|
6339
|
+
# Whether Human Review feature should be skipped for this request. Default to `
|
6340
|
+
# false`.
|
6341
6341
|
# Corresponds to the JSON property `skipHumanReview`
|
6342
6342
|
# @return [Boolean]
|
6343
6343
|
attr_accessor :skip_human_review
|
@@ -6367,10 +6367,11 @@ module Google
|
|
6367
6367
|
# @return [String]
|
6368
6368
|
attr_accessor :gcs_source
|
6369
6369
|
|
6370
|
-
#
|
6371
|
-
#
|
6372
|
-
#
|
6373
|
-
#
|
6370
|
+
# An IANA published [media type (MIME type)](https://www.iana.org/assignments/
|
6371
|
+
# media-types/media-types.xhtml) of the input. If the input is a raw document,
|
6372
|
+
# refer to [supported file types](https://cloud.google.com/document-ai/docs/file-
|
6373
|
+
# types) for the list of media types. If the input is a Document, the type
|
6374
|
+
# should be `application/json`.
|
6374
6375
|
# Corresponds to the JSON property `mimeType`
|
6375
6376
|
# @return [String]
|
6376
6377
|
attr_accessor :mime_type
|
@@ -6486,6 +6487,153 @@ module Google
|
|
6486
6487
|
end
|
6487
6488
|
end
|
6488
6489
|
|
6490
|
+
# A singleton resource under a Processor which configures a collection of
|
6491
|
+
# documents.
|
6492
|
+
class GoogleCloudDocumentaiV1beta3Dataset
|
6493
|
+
include Google::Apis::Core::Hashable
|
6494
|
+
|
6495
|
+
# Config specific to the Document Warehouse-based implementation.
|
6496
|
+
# Corresponds to the JSON property `documentWarehouseConfig`
|
6497
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig]
|
6498
|
+
attr_accessor :document_warehouse_config
|
6499
|
+
|
6500
|
+
# Config specific to the GCS-based implementation.
|
6501
|
+
# Corresponds to the JSON property `gcsManagedConfig`
|
6502
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetGcsManagedConfig]
|
6503
|
+
attr_accessor :gcs_managed_config
|
6504
|
+
|
6505
|
+
# Dataset resource name. Format: `projects/`project`/locations/`location`/
|
6506
|
+
# processors/`processor`/dataset`
|
6507
|
+
# Corresponds to the JSON property `name`
|
6508
|
+
# @return [String]
|
6509
|
+
attr_accessor :name
|
6510
|
+
|
6511
|
+
# Config specific to spanner based indexing.
|
6512
|
+
# Corresponds to the JSON property `spannerIndexingConfig`
|
6513
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig]
|
6514
|
+
attr_accessor :spanner_indexing_config
|
6515
|
+
|
6516
|
+
# Required. State of the dataset. Will be ignored when updating dataset.
|
6517
|
+
# Corresponds to the JSON property `state`
|
6518
|
+
# @return [String]
|
6519
|
+
attr_accessor :state
|
6520
|
+
|
6521
|
+
# Config specific to unmanaged config
|
6522
|
+
# Corresponds to the JSON property `unmanagedDatasetConfig`
|
6523
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig]
|
6524
|
+
attr_accessor :unmanaged_dataset_config
|
6525
|
+
|
6526
|
+
def initialize(**args)
|
6527
|
+
update!(**args)
|
6528
|
+
end
|
6529
|
+
|
6530
|
+
# Update properties of this object
|
6531
|
+
def update!(**args)
|
6532
|
+
@document_warehouse_config = args[:document_warehouse_config] if args.key?(:document_warehouse_config)
|
6533
|
+
@gcs_managed_config = args[:gcs_managed_config] if args.key?(:gcs_managed_config)
|
6534
|
+
@name = args[:name] if args.key?(:name)
|
6535
|
+
@spanner_indexing_config = args[:spanner_indexing_config] if args.key?(:spanner_indexing_config)
|
6536
|
+
@state = args[:state] if args.key?(:state)
|
6537
|
+
@unmanaged_dataset_config = args[:unmanaged_dataset_config] if args.key?(:unmanaged_dataset_config)
|
6538
|
+
end
|
6539
|
+
end
|
6540
|
+
|
6541
|
+
# Config specific to the Document Warehouse-based implementation.
|
6542
|
+
class GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig
|
6543
|
+
include Google::Apis::Core::Hashable
|
6544
|
+
|
6545
|
+
# Output only. The collection in Document Warehouse associated with the dataset.
|
6546
|
+
# Corresponds to the JSON property `collection`
|
6547
|
+
# @return [String]
|
6548
|
+
attr_accessor :collection
|
6549
|
+
|
6550
|
+
# Output only. The schema in Document Warehouse associated with the dataset.
|
6551
|
+
# Corresponds to the JSON property `schema`
|
6552
|
+
# @return [String]
|
6553
|
+
attr_accessor :schema
|
6554
|
+
|
6555
|
+
def initialize(**args)
|
6556
|
+
update!(**args)
|
6557
|
+
end
|
6558
|
+
|
6559
|
+
# Update properties of this object
|
6560
|
+
def update!(**args)
|
6561
|
+
@collection = args[:collection] if args.key?(:collection)
|
6562
|
+
@schema = args[:schema] if args.key?(:schema)
|
6563
|
+
end
|
6564
|
+
end
|
6565
|
+
|
6566
|
+
# Config specific to the GCS-based implementation.
|
6567
|
+
class GoogleCloudDocumentaiV1beta3DatasetGcsManagedConfig
|
6568
|
+
include Google::Apis::Core::Hashable
|
6569
|
+
|
6570
|
+
# Specifies all documents on Cloud Storage with a common prefix.
|
6571
|
+
# Corresponds to the JSON property `gcsPrefix`
|
6572
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GcsPrefix]
|
6573
|
+
attr_accessor :gcs_prefix
|
6574
|
+
|
6575
|
+
def initialize(**args)
|
6576
|
+
update!(**args)
|
6577
|
+
end
|
6578
|
+
|
6579
|
+
# Update properties of this object
|
6580
|
+
def update!(**args)
|
6581
|
+
@gcs_prefix = args[:gcs_prefix] if args.key?(:gcs_prefix)
|
6582
|
+
end
|
6583
|
+
end
|
6584
|
+
|
6585
|
+
# Dataset Schema.
|
6586
|
+
class GoogleCloudDocumentaiV1beta3DatasetSchema
|
6587
|
+
include Google::Apis::Core::Hashable
|
6588
|
+
|
6589
|
+
# The schema defines the output of the processed document by a processor.
|
6590
|
+
# Corresponds to the JSON property `documentSchema`
|
6591
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema]
|
6592
|
+
attr_accessor :document_schema
|
6593
|
+
|
6594
|
+
# Dataset schema resource name. Format: `projects/`project`/locations/`location`/
|
6595
|
+
# processors/`processor`/dataset/datasetSchema`
|
6596
|
+
# Corresponds to the JSON property `name`
|
6597
|
+
# @return [String]
|
6598
|
+
attr_accessor :name
|
6599
|
+
|
6600
|
+
def initialize(**args)
|
6601
|
+
update!(**args)
|
6602
|
+
end
|
6603
|
+
|
6604
|
+
# Update properties of this object
|
6605
|
+
def update!(**args)
|
6606
|
+
@document_schema = args[:document_schema] if args.key?(:document_schema)
|
6607
|
+
@name = args[:name] if args.key?(:name)
|
6608
|
+
end
|
6609
|
+
end
|
6610
|
+
|
6611
|
+
# Config specific to spanner based indexing.
|
6612
|
+
class GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig
|
6613
|
+
include Google::Apis::Core::Hashable
|
6614
|
+
|
6615
|
+
def initialize(**args)
|
6616
|
+
update!(**args)
|
6617
|
+
end
|
6618
|
+
|
6619
|
+
# Update properties of this object
|
6620
|
+
def update!(**args)
|
6621
|
+
end
|
6622
|
+
end
|
6623
|
+
|
6624
|
+
# Config specific to unmanaged config
|
6625
|
+
class GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig
|
6626
|
+
include Google::Apis::Core::Hashable
|
6627
|
+
|
6628
|
+
def initialize(**args)
|
6629
|
+
update!(**args)
|
6630
|
+
end
|
6631
|
+
|
6632
|
+
# Update properties of this object
|
6633
|
+
def update!(**args)
|
6634
|
+
end
|
6635
|
+
end
|
6636
|
+
|
6489
6637
|
# The long-running operation metadata for the DeleteProcessor method.
|
6490
6638
|
class GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata
|
6491
6639
|
include Google::Apis::Core::Hashable
|
@@ -6651,9 +6799,8 @@ module Google
|
|
6651
6799
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleRpcStatus]
|
6652
6800
|
attr_accessor :error
|
6653
6801
|
|
6654
|
-
# An IANA published
|
6655
|
-
#
|
6656
|
-
# xhtml.
|
6802
|
+
# An IANA published [media type (MIME type)](https://www.iana.org/assignments/
|
6803
|
+
# media-types/media-types.xhtml).
|
6657
6804
|
# Corresponds to the JSON property `mimeType`
|
6658
6805
|
# @return [String]
|
6659
6806
|
attr_accessor :mime_type
|
@@ -7050,7 +7197,7 @@ module Google
|
|
7050
7197
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageImage]
|
7051
7198
|
attr_accessor :image
|
7052
7199
|
|
7053
|
-
# Image Quality Scores for the page image
|
7200
|
+
# Image Quality Scores for the page image.
|
7054
7201
|
# Corresponds to the JSON property `imageQualityScores`
|
7055
7202
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScores]
|
7056
7203
|
attr_accessor :image_quality_scores
|
@@ -7271,8 +7418,8 @@ module Google
|
|
7271
7418
|
# @return [Float]
|
7272
7419
|
attr_accessor :confidence
|
7273
7420
|
|
7274
|
-
# The BCP-47 language code
|
7275
|
-
#
|
7421
|
+
# The [BCP-47 language code](https://www.unicode.org/reports/tr35/#
|
7422
|
+
# Unicode_locale_identifier), such as `en-US` or `sr-Latn`.
|
7276
7423
|
# Corresponds to the JSON property `languageCode`
|
7277
7424
|
# @return [String]
|
7278
7425
|
attr_accessor :language_code
|
@@ -7402,7 +7549,8 @@ module Google
|
|
7402
7549
|
# @return [Fixnum]
|
7403
7550
|
attr_accessor :height
|
7404
7551
|
|
7405
|
-
# Encoding
|
7552
|
+
# Encoding [media type (MIME type)](https://www.iana.org/assignments/media-types/
|
7553
|
+
# media-types.xhtml) for the image.
|
7406
7554
|
# Corresponds to the JSON property `mimeType`
|
7407
7555
|
# @return [String]
|
7408
7556
|
attr_accessor :mime_type
|
@@ -7425,7 +7573,7 @@ module Google
|
|
7425
7573
|
end
|
7426
7574
|
end
|
7427
7575
|
|
7428
|
-
# Image Quality Scores for the page image
|
7576
|
+
# Image Quality Scores for the page image.
|
7429
7577
|
class GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScores
|
7430
7578
|
include Google::Apis::Core::Hashable
|
7431
7579
|
|
@@ -7434,7 +7582,7 @@ module Google
|
|
7434
7582
|
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScoresDetectedDefect>]
|
7435
7583
|
attr_accessor :detected_defects
|
7436
7584
|
|
7437
|
-
# The overall quality score. Range `[0, 1]` where 1 is perfect quality.
|
7585
|
+
# The overall quality score. Range `[0, 1]` where `1` is perfect quality.
|
7438
7586
|
# Corresponds to the JSON property `qualityScore`
|
7439
7587
|
# @return [Float]
|
7440
7588
|
attr_accessor :quality_score
|
@@ -7454,7 +7602,7 @@ module Google
|
|
7454
7602
|
class GoogleCloudDocumentaiV1beta3DocumentPageImageQualityScoresDetectedDefect
|
7455
7603
|
include Google::Apis::Core::Hashable
|
7456
7604
|
|
7457
|
-
# Confidence of detected defect. Range `[0, 1]` where 1 indicates strong
|
7605
|
+
# Confidence of detected defect. Range `[0, 1]` where `1` indicates strong
|
7458
7606
|
# confidence of that the defect exists.
|
7459
7607
|
# Corresponds to the JSON property `confidence`
|
7460
7608
|
# @return [Float]
|
@@ -8257,19 +8405,24 @@ module Google
|
|
8257
8405
|
# @return [String]
|
8258
8406
|
attr_accessor :display_name
|
8259
8407
|
|
8408
|
+
# Metadata about an entity type.
|
8409
|
+
# Corresponds to the JSON property `entityTypeMetadata`
|
8410
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EntityTypeMetadata]
|
8411
|
+
attr_accessor :entity_type_metadata
|
8412
|
+
|
8260
8413
|
# Defines the a list of enum values.
|
8261
8414
|
# Corresponds to the JSON property `enumValues`
|
8262
8415
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeEnumValues]
|
8263
8416
|
attr_accessor :enum_values
|
8264
8417
|
|
8265
|
-
# Name of the type. It must be unique within the schema file and cannot be a
|
8266
|
-
# Common Type
|
8267
|
-
#
|
8268
|
-
#
|
8269
|
-
#
|
8270
|
-
#
|
8271
|
-
#
|
8272
|
-
#
|
8418
|
+
# Name of the type. It must be unique within the schema file and cannot be a "
|
8419
|
+
# Common Type". The following naming conventions are used: - Use `snake_casing` -
|
8420
|
+
# Name matching is case-sensitive - Maximum 64 characters. - Must start with a
|
8421
|
+
# letter. - Allowed characters: ASCII letters `[a-z0-9_-]`. (For backward
|
8422
|
+
# compatibility internal infrastructure and tooling can handle any ascii
|
8423
|
+
# character) - The `/` is sometimes used to denote a property of a type. For
|
8424
|
+
# example `line_item/amount`. This convention is deprecated, but will still be
|
8425
|
+
# honored for backward compatibility.
|
8273
8426
|
# Corresponds to the JSON property `name`
|
8274
8427
|
# @return [String]
|
8275
8428
|
attr_accessor :name
|
@@ -8287,6 +8440,7 @@ module Google
|
|
8287
8440
|
def update!(**args)
|
8288
8441
|
@base_types = args[:base_types] if args.key?(:base_types)
|
8289
8442
|
@display_name = args[:display_name] if args.key?(:display_name)
|
8443
|
+
@entity_type_metadata = args[:entity_type_metadata] if args.key?(:entity_type_metadata)
|
8290
8444
|
@enum_values = args[:enum_values] if args.key?(:enum_values)
|
8291
8445
|
@name = args[:name] if args.key?(:name)
|
8292
8446
|
@properties = args[:properties] if args.key?(:properties)
|
@@ -8327,6 +8481,11 @@ module Google
|
|
8327
8481
|
# @return [String]
|
8328
8482
|
attr_accessor :occurrence_type
|
8329
8483
|
|
8484
|
+
# Metadata about a property.
|
8485
|
+
# Corresponds to the JSON property `propertyMetadata`
|
8486
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3PropertyMetadata]
|
8487
|
+
attr_accessor :property_metadata
|
8488
|
+
|
8330
8489
|
# A reference to the value type of the property. This type is subject to the
|
8331
8490
|
# same conventions as the `Entity.base_types` field.
|
8332
8491
|
# Corresponds to the JSON property `valueType`
|
@@ -8341,6 +8500,7 @@ module Google
|
|
8341
8500
|
def update!(**args)
|
8342
8501
|
@name = args[:name] if args.key?(:name)
|
8343
8502
|
@occurrence_type = args[:occurrence_type] if args.key?(:occurrence_type)
|
8503
|
+
@property_metadata = args[:property_metadata] if args.key?(:property_metadata)
|
8344
8504
|
@value_type = args[:value_type] if args.key?(:value_type)
|
8345
8505
|
end
|
8346
8506
|
end
|
@@ -8356,7 +8516,7 @@ module Google
|
|
8356
8516
|
attr_accessor :document_allow_multiple_labels
|
8357
8517
|
alias_method :document_allow_multiple_labels?, :document_allow_multiple_labels
|
8358
8518
|
|
8359
|
-
# If true, a `document` entity type can be applied to subdocument (
|
8519
|
+
# If true, a `document` entity type can be applied to subdocument (splitting).
|
8360
8520
|
# Otherwise, it can only be applied to the entire document (classification).
|
8361
8521
|
# Corresponds to the JSON property `documentSplitter`
|
8362
8522
|
# @return [Boolean]
|
@@ -8537,8 +8697,8 @@ module Google
|
|
8537
8697
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentStyleFontSize]
|
8538
8698
|
attr_accessor :font_size
|
8539
8699
|
|
8540
|
-
# Font weight. Possible
|
8541
|
-
#
|
8700
|
+
# [Font weight](https://www.w3schools.com/cssref/pr_font_weight.asp). Possible
|
8701
|
+
# values are `normal`, `bold`, `bolder`, and `lighter`.
|
8542
8702
|
# Corresponds to the JSON property `fontWeight`
|
8543
8703
|
# @return [String]
|
8544
8704
|
attr_accessor :font_weight
|
@@ -8548,14 +8708,14 @@ module Google
|
|
8548
8708
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentTextAnchor]
|
8549
8709
|
attr_accessor :text_anchor
|
8550
8710
|
|
8551
|
-
# Text decoration
|
8552
|
-
#
|
8711
|
+
# [Text decoration](https://www.w3schools.com/cssref/pr_text_text-decoration.asp)
|
8712
|
+
# . Follows CSS standard.
|
8553
8713
|
# Corresponds to the JSON property `textDecoration`
|
8554
8714
|
# @return [String]
|
8555
8715
|
attr_accessor :text_decoration
|
8556
8716
|
|
8557
|
-
# Text style
|
8558
|
-
#
|
8717
|
+
# [Text style](https://www.w3schools.com/cssref/pr_font_font-style.asp).
|
8718
|
+
# Possible values are `normal`, `italic`, and `oblique`.
|
8559
8719
|
# Corresponds to the JSON property `textStyle`
|
8560
8720
|
# @return [String]
|
8561
8721
|
attr_accessor :text_style
|
@@ -8586,7 +8746,7 @@ module Google
|
|
8586
8746
|
# @return [Float]
|
8587
8747
|
attr_accessor :size
|
8588
8748
|
|
8589
|
-
# Unit for the font size. Follows CSS naming (in
|
8749
|
+
# Unit for the font size. Follows CSS naming (`in`, `px`, `pt`, etc.).
|
8590
8750
|
# Corresponds to the JSON property `unit`
|
8591
8751
|
# @return [String]
|
8592
8752
|
attr_accessor :unit
|
@@ -8732,6 +8892,26 @@ module Google
|
|
8732
8892
|
end
|
8733
8893
|
end
|
8734
8894
|
|
8895
|
+
# Metadata about an entity type.
|
8896
|
+
class GoogleCloudDocumentaiV1beta3EntityTypeMetadata
|
8897
|
+
include Google::Apis::Core::Hashable
|
8898
|
+
|
8899
|
+
# Whether the entity type should be considered as "inactive".
|
8900
|
+
# Corresponds to the JSON property `inactive`
|
8901
|
+
# @return [Boolean]
|
8902
|
+
attr_accessor :inactive
|
8903
|
+
alias_method :inactive?, :inactive
|
8904
|
+
|
8905
|
+
def initialize(**args)
|
8906
|
+
update!(**args)
|
8907
|
+
end
|
8908
|
+
|
8909
|
+
# Update properties of this object
|
8910
|
+
def update!(**args)
|
8911
|
+
@inactive = args[:inactive] if args.key?(:inactive)
|
8912
|
+
end
|
8913
|
+
end
|
8914
|
+
|
8735
8915
|
# Metadata of the EvaluateProcessorVersion method.
|
8736
8916
|
class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionMetadata
|
8737
8917
|
include Google::Apis::Core::Hashable
|
@@ -9609,8 +9789,8 @@ module Google
|
|
9609
9789
|
# @return [String]
|
9610
9790
|
attr_accessor :display_name
|
9611
9791
|
|
9612
|
-
# The KMS key used for
|
9613
|
-
#
|
9792
|
+
# The [KMS key](https://cloud.google.com/security-key-management) used for
|
9793
|
+
# encryption/decryption in CMEK scenarios.
|
9614
9794
|
# Corresponds to the JSON property `kmsKeyName`
|
9615
9795
|
# @return [String]
|
9616
9796
|
attr_accessor :kms_key_name
|
@@ -9718,7 +9898,8 @@ module Google
|
|
9718
9898
|
class GoogleCloudDocumentaiV1beta3ProcessorTypeLocationInfo
|
9719
9899
|
include Google::Apis::Core::Hashable
|
9720
9900
|
|
9721
|
-
# The location id,
|
9901
|
+
# The location id, refer to [regional and multi-regional support](/document-ai/
|
9902
|
+
# docs/regions) for supported locations.
|
9722
9903
|
# Corresponds to the JSON property `locationId`
|
9723
9904
|
# @return [String]
|
9724
9905
|
attr_accessor :location_id
|
@@ -9734,7 +9915,7 @@ module Google
|
|
9734
9915
|
end
|
9735
9916
|
|
9736
9917
|
# A processor version is an implementation of a processor. Each processor can
|
9737
|
-
# have multiple versions, pre-trained by Google internally or
|
9918
|
+
# have multiple versions, pre-trained by Google internally or uptrained by the
|
9738
9919
|
# customer. At a time, a processor can only have one default version version. So
|
9739
9920
|
# the processor's behavior (when processing documents) is defined by a default
|
9740
9921
|
# version
|
@@ -9761,7 +9942,7 @@ module Google
|
|
9761
9942
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema]
|
9762
9943
|
attr_accessor :document_schema
|
9763
9944
|
|
9764
|
-
# Denotes that this ProcessorVersion is managed by
|
9945
|
+
# Denotes that this `ProcessorVersion` is managed by Google.
|
9765
9946
|
# Corresponds to the JSON property `googleManaged`
|
9766
9947
|
# @return [Boolean]
|
9767
9948
|
attr_accessor :google_managed
|
@@ -9838,6 +10019,26 @@ module Google
|
|
9838
10019
|
end
|
9839
10020
|
end
|
9840
10021
|
|
10022
|
+
# Metadata about a property.
|
10023
|
+
class GoogleCloudDocumentaiV1beta3PropertyMetadata
|
10024
|
+
include Google::Apis::Core::Hashable
|
10025
|
+
|
10026
|
+
# Whether the property should be considered as "inactive".
|
10027
|
+
# Corresponds to the JSON property `inactive`
|
10028
|
+
# @return [Boolean]
|
10029
|
+
attr_accessor :inactive
|
10030
|
+
alias_method :inactive?, :inactive
|
10031
|
+
|
10032
|
+
def initialize(**args)
|
10033
|
+
update!(**args)
|
10034
|
+
end
|
10035
|
+
|
10036
|
+
# Update properties of this object
|
10037
|
+
def update!(**args)
|
10038
|
+
@inactive = args[:inactive] if args.key?(:inactive)
|
10039
|
+
end
|
10040
|
+
end
|
10041
|
+
|
9841
10042
|
# Payload message of raw document content (bytes).
|
9842
10043
|
class GoogleCloudDocumentaiV1beta3RawDocument
|
9843
10044
|
include Google::Apis::Core::Hashable
|
@@ -10145,7 +10346,7 @@ module Google
|
|
10145
10346
|
attr_accessor :input_data
|
10146
10347
|
|
10147
10348
|
# A processor version is an implementation of a processor. Each processor can
|
10148
|
-
# have multiple versions, pre-trained by Google internally or
|
10349
|
+
# have multiple versions, pre-trained by Google internally or uptrained by the
|
10149
10350
|
# customer. At a time, a processor can only have one default version version. So
|
10150
10351
|
# the processor's behavior (when processing documents) is defined by a default
|
10151
10352
|
# version
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.75.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230605"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1138,6 +1138,42 @@ module Google
|
|
1138
1138
|
include Google::Apis::Core::JsonObjectSupport
|
1139
1139
|
end
|
1140
1140
|
|
1141
|
+
class GoogleCloudDocumentaiV1beta3Dataset
|
1142
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1143
|
+
|
1144
|
+
include Google::Apis::Core::JsonObjectSupport
|
1145
|
+
end
|
1146
|
+
|
1147
|
+
class GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig
|
1148
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1149
|
+
|
1150
|
+
include Google::Apis::Core::JsonObjectSupport
|
1151
|
+
end
|
1152
|
+
|
1153
|
+
class GoogleCloudDocumentaiV1beta3DatasetGcsManagedConfig
|
1154
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1155
|
+
|
1156
|
+
include Google::Apis::Core::JsonObjectSupport
|
1157
|
+
end
|
1158
|
+
|
1159
|
+
class GoogleCloudDocumentaiV1beta3DatasetSchema
|
1160
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1161
|
+
|
1162
|
+
include Google::Apis::Core::JsonObjectSupport
|
1163
|
+
end
|
1164
|
+
|
1165
|
+
class GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig
|
1166
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1167
|
+
|
1168
|
+
include Google::Apis::Core::JsonObjectSupport
|
1169
|
+
end
|
1170
|
+
|
1171
|
+
class GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig
|
1172
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1173
|
+
|
1174
|
+
include Google::Apis::Core::JsonObjectSupport
|
1175
|
+
end
|
1176
|
+
|
1141
1177
|
class GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata
|
1142
1178
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1143
1179
|
|
@@ -1474,6 +1510,12 @@ module Google
|
|
1474
1510
|
include Google::Apis::Core::JsonObjectSupport
|
1475
1511
|
end
|
1476
1512
|
|
1513
|
+
class GoogleCloudDocumentaiV1beta3EntityTypeMetadata
|
1514
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1515
|
+
|
1516
|
+
include Google::Apis::Core::JsonObjectSupport
|
1517
|
+
end
|
1518
|
+
|
1477
1519
|
class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionMetadata
|
1478
1520
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1479
1521
|
|
@@ -1666,6 +1708,12 @@ module Google
|
|
1666
1708
|
include Google::Apis::Core::JsonObjectSupport
|
1667
1709
|
end
|
1668
1710
|
|
1711
|
+
class GoogleCloudDocumentaiV1beta3PropertyMetadata
|
1712
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1713
|
+
|
1714
|
+
include Google::Apis::Core::JsonObjectSupport
|
1715
|
+
end
|
1716
|
+
|
1669
1717
|
class GoogleCloudDocumentaiV1beta3RawDocument
|
1670
1718
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1671
1719
|
|
@@ -3752,6 +3800,59 @@ module Google
|
|
3752
3800
|
end
|
3753
3801
|
end
|
3754
3802
|
|
3803
|
+
class GoogleCloudDocumentaiV1beta3Dataset
|
3804
|
+
# @private
|
3805
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3806
|
+
property :document_warehouse_config, as: 'documentWarehouseConfig', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig::Representation
|
3807
|
+
|
3808
|
+
property :gcs_managed_config, as: 'gcsManagedConfig', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetGcsManagedConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetGcsManagedConfig::Representation
|
3809
|
+
|
3810
|
+
property :name, as: 'name'
|
3811
|
+
property :spanner_indexing_config, as: 'spannerIndexingConfig', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig::Representation
|
3812
|
+
|
3813
|
+
property :state, as: 'state'
|
3814
|
+
property :unmanaged_dataset_config, as: 'unmanagedDatasetConfig', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig::Representation
|
3815
|
+
|
3816
|
+
end
|
3817
|
+
end
|
3818
|
+
|
3819
|
+
class GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig
|
3820
|
+
# @private
|
3821
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3822
|
+
property :collection, as: 'collection'
|
3823
|
+
property :schema, as: 'schema'
|
3824
|
+
end
|
3825
|
+
end
|
3826
|
+
|
3827
|
+
class GoogleCloudDocumentaiV1beta3DatasetGcsManagedConfig
|
3828
|
+
# @private
|
3829
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3830
|
+
property :gcs_prefix, as: 'gcsPrefix', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GcsPrefix, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GcsPrefix::Representation
|
3831
|
+
|
3832
|
+
end
|
3833
|
+
end
|
3834
|
+
|
3835
|
+
class GoogleCloudDocumentaiV1beta3DatasetSchema
|
3836
|
+
# @private
|
3837
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3838
|
+
property :document_schema, as: 'documentSchema', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema::Representation
|
3839
|
+
|
3840
|
+
property :name, as: 'name'
|
3841
|
+
end
|
3842
|
+
end
|
3843
|
+
|
3844
|
+
class GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig
|
3845
|
+
# @private
|
3846
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3847
|
+
end
|
3848
|
+
end
|
3849
|
+
|
3850
|
+
class GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig
|
3851
|
+
# @private
|
3852
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3853
|
+
end
|
3854
|
+
end
|
3855
|
+
|
3755
3856
|
class GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata
|
3756
3857
|
# @private
|
3757
3858
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4261,6 +4362,8 @@ module Google
|
|
4261
4362
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4262
4363
|
collection :base_types, as: 'baseTypes'
|
4263
4364
|
property :display_name, as: 'displayName'
|
4365
|
+
property :entity_type_metadata, as: 'entityTypeMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EntityTypeMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EntityTypeMetadata::Representation
|
4366
|
+
|
4264
4367
|
property :enum_values, as: 'enumValues', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeEnumValues, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeEnumValues::Representation
|
4265
4368
|
|
4266
4369
|
property :name, as: 'name'
|
@@ -4281,6 +4384,8 @@ module Google
|
|
4281
4384
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4282
4385
|
property :name, as: 'name'
|
4283
4386
|
property :occurrence_type, as: 'occurrenceType'
|
4387
|
+
property :property_metadata, as: 'propertyMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3PropertyMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3PropertyMetadata::Representation
|
4388
|
+
|
4284
4389
|
property :value_type, as: 'valueType'
|
4285
4390
|
end
|
4286
4391
|
end
|
@@ -4378,6 +4483,13 @@ module Google
|
|
4378
4483
|
end
|
4379
4484
|
end
|
4380
4485
|
|
4486
|
+
class GoogleCloudDocumentaiV1beta3EntityTypeMetadata
|
4487
|
+
# @private
|
4488
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4489
|
+
property :inactive, as: 'inactive'
|
4490
|
+
end
|
4491
|
+
end
|
4492
|
+
|
4381
4493
|
class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionMetadata
|
4382
4494
|
# @private
|
4383
4495
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4703,6 +4815,13 @@ module Google
|
|
4703
4815
|
end
|
4704
4816
|
end
|
4705
4817
|
|
4818
|
+
class GoogleCloudDocumentaiV1beta3PropertyMetadata
|
4819
|
+
# @private
|
4820
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4821
|
+
property :inactive, as: 'inactive'
|
4822
|
+
end
|
4823
|
+
end
|
4824
|
+
|
4706
4825
|
class GoogleCloudDocumentaiV1beta3RawDocument
|
4707
4826
|
# @private
|
4708
4827
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -643,6 +643,114 @@ module Google
|
|
643
643
|
execute_or_queue_command(command, &block)
|
644
644
|
end
|
645
645
|
|
646
|
+
# Updates metadata associated with a dataset.
|
647
|
+
# @param [String] name
|
648
|
+
# Dataset resource name. Format: `projects/`project`/locations/`location`/
|
649
|
+
# processors/`processor`/dataset`
|
650
|
+
# @param [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Dataset] google_cloud_documentai_v1beta3_dataset_object
|
651
|
+
# @param [String] update_mask
|
652
|
+
# The update mask applies to the resource.
|
653
|
+
# @param [String] fields
|
654
|
+
# Selector specifying which fields to include in a partial response.
|
655
|
+
# @param [String] quota_user
|
656
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
657
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
658
|
+
# @param [Google::Apis::RequestOptions] options
|
659
|
+
# Request-specific options
|
660
|
+
#
|
661
|
+
# @yield [result, err] Result & error if block supplied
|
662
|
+
# @yieldparam result [Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation] parsed result object
|
663
|
+
# @yieldparam err [StandardError] error object if request failed
|
664
|
+
#
|
665
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation]
|
666
|
+
#
|
667
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
668
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
669
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
670
|
+
def update_project_location_processor_dataset(name, google_cloud_documentai_v1beta3_dataset_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
671
|
+
command = make_simple_command(:patch, 'v1beta3/{+name}', options)
|
672
|
+
command.request_representation = Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Dataset::Representation
|
673
|
+
command.request_object = google_cloud_documentai_v1beta3_dataset_object
|
674
|
+
command.response_representation = Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation::Representation
|
675
|
+
command.response_class = Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation
|
676
|
+
command.params['name'] = name unless name.nil?
|
677
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
678
|
+
command.query['fields'] = fields unless fields.nil?
|
679
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
680
|
+
execute_or_queue_command(command, &block)
|
681
|
+
end
|
682
|
+
|
683
|
+
# Gets the DatasetSchema of a Dataset.
|
684
|
+
# @param [String] name
|
685
|
+
# Required. The dataset schema resource name. Format: projects/`project`/
|
686
|
+
# locations/`location`/processors/`processor`/dataset/datasetSchema
|
687
|
+
# @param [Boolean] visible_fields_only
|
688
|
+
# If set, only returns the visible fields of the schema.
|
689
|
+
# @param [String] fields
|
690
|
+
# Selector specifying which fields to include in a partial response.
|
691
|
+
# @param [String] quota_user
|
692
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
693
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
694
|
+
# @param [Google::Apis::RequestOptions] options
|
695
|
+
# Request-specific options
|
696
|
+
#
|
697
|
+
# @yield [result, err] Result & error if block supplied
|
698
|
+
# @yieldparam result [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetSchema] parsed result object
|
699
|
+
# @yieldparam err [StandardError] error object if request failed
|
700
|
+
#
|
701
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetSchema]
|
702
|
+
#
|
703
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
704
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
705
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
706
|
+
def get_project_location_processor_dataset_dataset_schema(name, visible_fields_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
707
|
+
command = make_simple_command(:get, 'v1beta3/{+name}', options)
|
708
|
+
command.response_representation = Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetSchema::Representation
|
709
|
+
command.response_class = Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetSchema
|
710
|
+
command.params['name'] = name unless name.nil?
|
711
|
+
command.query['visibleFieldsOnly'] = visible_fields_only unless visible_fields_only.nil?
|
712
|
+
command.query['fields'] = fields unless fields.nil?
|
713
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
714
|
+
execute_or_queue_command(command, &block)
|
715
|
+
end
|
716
|
+
|
717
|
+
# Updates a DatasetSchema.
|
718
|
+
# @param [String] name
|
719
|
+
# Dataset schema resource name. Format: `projects/`project`/locations/`location`/
|
720
|
+
# processors/`processor`/dataset/datasetSchema`
|
721
|
+
# @param [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetSchema] google_cloud_documentai_v1beta3_dataset_schema_object
|
722
|
+
# @param [String] update_mask
|
723
|
+
# The update mask applies to the resource.
|
724
|
+
# @param [String] fields
|
725
|
+
# Selector specifying which fields to include in a partial response.
|
726
|
+
# @param [String] quota_user
|
727
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
728
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
729
|
+
# @param [Google::Apis::RequestOptions] options
|
730
|
+
# Request-specific options
|
731
|
+
#
|
732
|
+
# @yield [result, err] Result & error if block supplied
|
733
|
+
# @yieldparam result [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetSchema] parsed result object
|
734
|
+
# @yieldparam err [StandardError] error object if request failed
|
735
|
+
#
|
736
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetSchema]
|
737
|
+
#
|
738
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
739
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
740
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
741
|
+
def update_project_location_processor_dataset_dataset_schema(name, google_cloud_documentai_v1beta3_dataset_schema_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
742
|
+
command = make_simple_command(:patch, 'v1beta3/{+name}', options)
|
743
|
+
command.request_representation = Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetSchema::Representation
|
744
|
+
command.request_object = google_cloud_documentai_v1beta3_dataset_schema_object
|
745
|
+
command.response_representation = Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetSchema::Representation
|
746
|
+
command.response_class = Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetSchema
|
747
|
+
command.params['name'] = name unless name.nil?
|
748
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
749
|
+
command.query['fields'] = fields unless fields.nil?
|
750
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
751
|
+
execute_or_queue_command(command, &block)
|
752
|
+
end
|
753
|
+
|
646
754
|
# Send a document for Human Review. The input document should be processed by
|
647
755
|
# the specified processor.
|
648
756
|
# @param [String] human_review_config
|
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.
|
4
|
+
version: 0.75.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-11 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.75.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: []
|