google-apis-documentai_v1beta2 0.19.0 → 0.20.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: '086cf12ca692b27a41dfb7e2b208ad5c94b42cc81f126f22a4168a67082ad145'
4
- data.tar.gz: 9418da7d84456a08f8fe09bd7550b57bb9b6dbd1df25e1e8e0f2a4bfd332086e
3
+ metadata.gz: 4a5980b00b1564f28d610e3ee66badb5033ffbdf60198e182f3ead104b49e3f4
4
+ data.tar.gz: 0f4bb27f8201ec691906a0329c78020d4b0a48c1854e02369dc451a23a288eed
5
5
  SHA512:
6
- metadata.gz: 222670088a4daf4a35bb8cc7651670c8f24daa1661c371de3b0a7df796cb9b1ea90e39a521b800f499820029dca065b65bf0797f18253f0d3eb4b78f8b41666b
7
- data.tar.gz: 651af310409f874dcf057de6536b51d5cf264605ab4b6844abd3d3594c8f76f53ce6debfb3c5a9f130be6a99488085fe13fe77ad36b0e93baba47d058e8812c3
6
+ metadata.gz: d8668892f930d35f4e86f35bf8329c5df11431e1975d3f66cffe6c3d081c7745fd00247f965076f05b0c608ccf282a7c2aaf817df1f48429217df1072c61d51f
7
+ data.tar.gz: ebac145a7a06045657a79d3f6da14b2dddddcfa8b500258b6216b2e98fa05e4328fff01ccabf248ca7773f5984647a7560af19373366438a7230dddf17db52f1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-documentai_v1beta2
2
2
 
3
+ ### v0.20.0 (2021-09-02)
4
+
5
+ * Regenerated from discovery document revision 20210830
6
+
3
7
  ### v0.19.0 (2021-08-24)
4
8
 
5
9
  * Regenerated from discovery document revision 20210820
@@ -1465,6 +1465,20 @@ module Google
1465
1465
  class GoogleCloudDocumentaiV1beta1DocumentPageFormField
1466
1466
  include Google::Apis::Core::Hashable
1467
1467
 
1468
+ # Created for Labeling UI to export key text. If corrections were made to the
1469
+ # text identified by the `field_name.text_anchor`, this field will contain the
1470
+ # correction.
1471
+ # Corresponds to the JSON property `correctedKeyText`
1472
+ # @return [String]
1473
+ attr_accessor :corrected_key_text
1474
+
1475
+ # Created for Labeling UI to export value text. If corrections were made to the
1476
+ # text identified by the `field_value.text_anchor`, this field will contain the
1477
+ # correction.
1478
+ # Corresponds to the JSON property `correctedValueText`
1479
+ # @return [String]
1480
+ attr_accessor :corrected_value_text
1481
+
1468
1482
  # Visual element describing a layout unit on a page.
1469
1483
  # Corresponds to the JSON property `fieldName`
1470
1484
  # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout]
@@ -1504,6 +1518,8 @@ module Google
1504
1518
 
1505
1519
  # Update properties of this object
1506
1520
  def update!(**args)
1521
+ @corrected_key_text = args[:corrected_key_text] if args.key?(:corrected_key_text)
1522
+ @corrected_value_text = args[:corrected_value_text] if args.key?(:corrected_value_text)
1507
1523
  @field_name = args[:field_name] if args.key?(:field_name)
1508
1524
  @field_value = args[:field_value] if args.key?(:field_value)
1509
1525
  @name_detected_languages = args[:name_detected_languages] if args.key?(:name_detected_languages)
@@ -3245,6 +3261,20 @@ module Google
3245
3261
  class GoogleCloudDocumentaiV1beta2DocumentPageFormField
3246
3262
  include Google::Apis::Core::Hashable
3247
3263
 
3264
+ # Created for Labeling UI to export key text. If corrections were made to the
3265
+ # text identified by the `field_name.text_anchor`, this field will contain the
3266
+ # correction.
3267
+ # Corresponds to the JSON property `correctedKeyText`
3268
+ # @return [String]
3269
+ attr_accessor :corrected_key_text
3270
+
3271
+ # Created for Labeling UI to export value text. If corrections were made to the
3272
+ # text identified by the `field_value.text_anchor`, this field will contain the
3273
+ # correction.
3274
+ # Corresponds to the JSON property `correctedValueText`
3275
+ # @return [String]
3276
+ attr_accessor :corrected_value_text
3277
+
3248
3278
  # Visual element describing a layout unit on a page.
3249
3279
  # Corresponds to the JSON property `fieldName`
3250
3280
  # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout]
@@ -3284,6 +3314,8 @@ module Google
3284
3314
 
3285
3315
  # Update properties of this object
3286
3316
  def update!(**args)
3317
+ @corrected_key_text = args[:corrected_key_text] if args.key?(:corrected_key_text)
3318
+ @corrected_value_text = args[:corrected_value_text] if args.key?(:corrected_value_text)
3287
3319
  @field_name = args[:field_name] if args.key?(:field_name)
3288
3320
  @field_value = args[:field_value] if args.key?(:field_value)
3289
3321
  @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 DocumentaiV1beta2
18
18
  # Version of the google-apis-documentai_v1beta2 gem
19
- GEM_VERSION = "0.19.0"
19
+ GEM_VERSION = "0.20.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
@@ -1421,6 +1421,8 @@ module Google
1421
1421
  class GoogleCloudDocumentaiV1beta1DocumentPageFormField
1422
1422
  # @private
1423
1423
  class Representation < Google::Apis::Core::JsonRepresentation
1424
+ property :corrected_key_text, as: 'correctedKeyText'
1425
+ property :corrected_value_text, as: 'correctedValueText'
1424
1426
  property :field_name, as: 'fieldName', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
1425
1427
 
1426
1428
  property :field_value, as: 'fieldValue', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
@@ -1932,6 +1934,8 @@ module Google
1932
1934
  class GoogleCloudDocumentaiV1beta2DocumentPageFormField
1933
1935
  # @private
1934
1936
  class Representation < Google::Apis::Core::JsonRepresentation
1937
+ property :corrected_key_text, as: 'correctedKeyText'
1938
+ property :corrected_value_text, as: 'correctedValueText'
1935
1939
  property :field_name, as: 'fieldName', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
1936
1940
 
1937
1941
  property :field_value, as: 'fieldValue', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-documentai_v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.20.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_v1beta2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.19.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.20.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1beta2
63
63
  post_install_message:
64
64
  rdoc_options: []