google-apis-documentai_v1 0.13.0 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6542e2ca4839fdd994db558cc58072d3100e99c4f86d44d7675254e60a9de9dd
4
- data.tar.gz: ea198618a0fe5063533a12dcba2f5fbfde0489d5862413f53131cc22d0ba9fbf
3
+ metadata.gz: d8477495501e992d09e9b236e2a0868c1640285ff57829bdc419d84b8fcb4b58
4
+ data.tar.gz: 06ce8c7b1c39c3b233f6ac7e3af78ebed57ee3d957d0bf81f8611c97be71c467
5
5
  SHA512:
6
- metadata.gz: d825808139f8705869745bf4bc196f2f8346f1217118f2287d98334143586e2236d30b0a5b969e894a9eaa7125d1561d11404aa53f1aebcd13562f815a2c8cf7
7
- data.tar.gz: 8bb2f936ea74767c11ee9f830155cb462727e18e0d2f9f02c6cf1ef34a563eff19973178647393c192d9cb71703044c1b85d185827e5c9d7bf24210cf5c4cd8c
6
+ metadata.gz: 3045c6536f4b0fab5eea9b34714df01d54fdf125614a01fc6a6885bfa9c9701d851f60d0bca3f60c99b700195a7eb871f7d80daac15b7145b7bdf38345b5d46c
7
+ data.tar.gz: ed6445f78ed5faabf706012518ee5dce1a444bfe5f57c92dbd0ccd4463a239b899273c20068b20bb4c1911c904ee8ec31483f96508ffd09553f3e2910653b37c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.14.0 (2021-09-02)
4
+
5
+ * Regenerated from discovery document revision 20210830
6
+
3
7
  ### v0.13.0 (2021-08-24)
4
8
 
5
9
  * Regenerated from discovery document revision 20210820
@@ -1471,6 +1471,20 @@ module Google
1471
1471
  class GoogleCloudDocumentaiV1DocumentPageFormField
1472
1472
  include Google::Apis::Core::Hashable
1473
1473
 
1474
+ # Created for Labeling UI to export key text. If corrections were made to the
1475
+ # text identified by the `field_name.text_anchor`, this field will contain the
1476
+ # correction.
1477
+ # Corresponds to the JSON property `correctedKeyText`
1478
+ # @return [String]
1479
+ attr_accessor :corrected_key_text
1480
+
1481
+ # Created for Labeling UI to export value text. If corrections were made to the
1482
+ # text identified by the `field_value.text_anchor`, this field will contain the
1483
+ # correction.
1484
+ # Corresponds to the JSON property `correctedValueText`
1485
+ # @return [String]
1486
+ attr_accessor :corrected_value_text
1487
+
1474
1488
  # Visual element describing a layout unit on a page.
1475
1489
  # Corresponds to the JSON property `fieldName`
1476
1490
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageLayout]
@@ -1510,6 +1524,8 @@ module Google
1510
1524
 
1511
1525
  # Update properties of this object
1512
1526
  def update!(**args)
1527
+ @corrected_key_text = args[:corrected_key_text] if args.key?(:corrected_key_text)
1528
+ @corrected_value_text = args[:corrected_value_text] if args.key?(:corrected_value_text)
1513
1529
  @field_name = args[:field_name] if args.key?(:field_name)
1514
1530
  @field_value = args[:field_value] if args.key?(:field_value)
1515
1531
  @name_detected_languages = args[:name_detected_languages] if args.key?(:name_detected_languages)
@@ -3267,6 +3283,20 @@ module Google
3267
3283
  class GoogleCloudDocumentaiV1beta1DocumentPageFormField
3268
3284
  include Google::Apis::Core::Hashable
3269
3285
 
3286
+ # Created for Labeling UI to export key text. If corrections were made to the
3287
+ # text identified by the `field_name.text_anchor`, this field will contain the
3288
+ # correction.
3289
+ # Corresponds to the JSON property `correctedKeyText`
3290
+ # @return [String]
3291
+ attr_accessor :corrected_key_text
3292
+
3293
+ # Created for Labeling UI to export value text. If corrections were made to the
3294
+ # text identified by the `field_value.text_anchor`, this field will contain the
3295
+ # correction.
3296
+ # Corresponds to the JSON property `correctedValueText`
3297
+ # @return [String]
3298
+ attr_accessor :corrected_value_text
3299
+
3270
3300
  # Visual element describing a layout unit on a page.
3271
3301
  # Corresponds to the JSON property `fieldName`
3272
3302
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageLayout]
@@ -3306,6 +3336,8 @@ module Google
3306
3336
 
3307
3337
  # Update properties of this object
3308
3338
  def update!(**args)
3339
+ @corrected_key_text = args[:corrected_key_text] if args.key?(:corrected_key_text)
3340
+ @corrected_value_text = args[:corrected_value_text] if args.key?(:corrected_value_text)
3309
3341
  @field_name = args[:field_name] if args.key?(:field_name)
3310
3342
  @field_value = args[:field_value] if args.key?(:field_value)
3311
3343
  @name_detected_languages = args[:name_detected_languages] if args.key?(:name_detected_languages)
@@ -5007,6 +5039,20 @@ module Google
5007
5039
  class GoogleCloudDocumentaiV1beta2DocumentPageFormField
5008
5040
  include Google::Apis::Core::Hashable
5009
5041
 
5042
+ # Created for Labeling UI to export key text. If corrections were made to the
5043
+ # text identified by the `field_name.text_anchor`, this field will contain the
5044
+ # correction.
5045
+ # Corresponds to the JSON property `correctedKeyText`
5046
+ # @return [String]
5047
+ attr_accessor :corrected_key_text
5048
+
5049
+ # Created for Labeling UI to export value text. If corrections were made to the
5050
+ # text identified by the `field_value.text_anchor`, this field will contain the
5051
+ # correction.
5052
+ # Corresponds to the JSON property `correctedValueText`
5053
+ # @return [String]
5054
+ attr_accessor :corrected_value_text
5055
+
5010
5056
  # Visual element describing a layout unit on a page.
5011
5057
  # Corresponds to the JSON property `fieldName`
5012
5058
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageLayout]
@@ -5046,6 +5092,8 @@ module Google
5046
5092
 
5047
5093
  # Update properties of this object
5048
5094
  def update!(**args)
5095
+ @corrected_key_text = args[:corrected_key_text] if args.key?(:corrected_key_text)
5096
+ @corrected_value_text = args[:corrected_value_text] if args.key?(:corrected_value_text)
5049
5097
  @field_name = args[:field_name] if args.key?(:field_name)
5050
5098
  @field_value = args[:field_value] if args.key?(:field_value)
5051
5099
  @name_detected_languages = args[:name_detected_languages] if args.key?(:name_detected_languages)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DocumentaiV1
18
18
  # Version of the google-apis-documentai_v1 gem
19
- GEM_VERSION = "0.13.0"
19
+ GEM_VERSION = "0.14.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210820"
25
+ REVISION = "20210830"
26
26
  end
27
27
  end
28
28
  end
@@ -1665,6 +1665,8 @@ module Google
1665
1665
  class GoogleCloudDocumentaiV1DocumentPageFormField
1666
1666
  # @private
1667
1667
  class Representation < Google::Apis::Core::JsonRepresentation
1668
+ property :corrected_key_text, as: 'correctedKeyText'
1669
+ property :corrected_value_text, as: 'correctedValueText'
1668
1670
  property :field_name, as: 'fieldName', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageLayout::Representation
1669
1671
 
1670
1672
  property :field_value, as: 'fieldValue', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageLayout::Representation
@@ -2184,6 +2186,8 @@ module Google
2184
2186
  class GoogleCloudDocumentaiV1beta1DocumentPageFormField
2185
2187
  # @private
2186
2188
  class Representation < Google::Apis::Core::JsonRepresentation
2189
+ property :corrected_key_text, as: 'correctedKeyText'
2190
+ property :corrected_value_text, as: 'correctedValueText'
2187
2191
  property :field_name, as: 'fieldName', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
2188
2192
 
2189
2193
  property :field_value, as: 'fieldValue', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
@@ -2680,6 +2684,8 @@ module Google
2680
2684
  class GoogleCloudDocumentaiV1beta2DocumentPageFormField
2681
2685
  # @private
2682
2686
  class Representation < Google::Apis::Core::JsonRepresentation
2687
+ property :corrected_key_text, as: 'correctedKeyText'
2688
+ property :corrected_value_text, as: 'correctedValueText'
2683
2689
  property :field_name, as: 'fieldName', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
2684
2690
 
2685
2691
  property :field_value, as: 'fieldValue', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-documentai_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.14.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: 2021-08-30 00:00:00.000000000 Z
11
+ date: 2021-09-06 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/master/generated/google-apis-documentai_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.13.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.14.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1
63
63
  post_install_message:
64
64
  rdoc_options: []