google-apis-documentai_v1beta3 0.21.0 → 0.22.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: ee948934da53833140248b3ba3fcd9eaf2fe0d9dc1b3361653683a7d6e541ba5
4
- data.tar.gz: 6f3784c8a724903c8b365453292ab66002bfa2531f0fa39218279273074d23c3
3
+ metadata.gz: 6d5753d793c66c22645676775ae74bb3b35b509b71a8f1ece5ddcc79933c3a4c
4
+ data.tar.gz: a47f90e1e2d9f032a9923f4a3344eb6051264be50173b987ce257f87728a8c62
5
5
  SHA512:
6
- metadata.gz: 1d13628298cf8b4d6f494b14e031b120b8c8546cdecb717fba73ab057aa9ef4aaaa544019cdd52467dee94747056f3371510f1b9aadcd4546fcc904fe66aa4fb
7
- data.tar.gz: d531283efd91cbec41b12a537d5e2daaeeed2e17b31ae13d5b490dca14a5e3ac53f06996dd5b0d91daba1d8999ed884261c75376b7f26597fc9073d502c9daae
6
+ metadata.gz: 823b2c164306537f6060daeeb1c3a3b3f73de1f0ec38b908330adcb93231e357392aa6c7630a0a3a664e737621c87465d9ecdd60f4019ecad3f33dfcc3808daa
7
+ data.tar.gz: 24782f0bf511f96c39e55e92a0268c772fcc96abba822625d1576ffbec5208fbf15ed161e4963c5c4bac4e057d984dd2fa324fdb1551b4f4a85000b47e1ff0c3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
+ ### v0.22.0 (2021-09-02)
4
+
5
+ * Regenerated from discovery document revision 20210830
6
+
3
7
  ### v0.21.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::DocumentaiV1beta3::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)
@@ -3205,6 +3221,20 @@ module Google
3205
3221
  class GoogleCloudDocumentaiV1beta2DocumentPageFormField
3206
3222
  include Google::Apis::Core::Hashable
3207
3223
 
3224
+ # Created for Labeling UI to export key text. If corrections were made to the
3225
+ # text identified by the `field_name.text_anchor`, this field will contain the
3226
+ # correction.
3227
+ # Corresponds to the JSON property `correctedKeyText`
3228
+ # @return [String]
3229
+ attr_accessor :corrected_key_text
3230
+
3231
+ # Created for Labeling UI to export value text. If corrections were made to the
3232
+ # text identified by the `field_value.text_anchor`, this field will contain the
3233
+ # correction.
3234
+ # Corresponds to the JSON property `correctedValueText`
3235
+ # @return [String]
3236
+ attr_accessor :corrected_value_text
3237
+
3208
3238
  # Visual element describing a layout unit on a page.
3209
3239
  # Corresponds to the JSON property `fieldName`
3210
3240
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLayout]
@@ -3244,6 +3274,8 @@ module Google
3244
3274
 
3245
3275
  # Update properties of this object
3246
3276
  def update!(**args)
3277
+ @corrected_key_text = args[:corrected_key_text] if args.key?(:corrected_key_text)
3278
+ @corrected_value_text = args[:corrected_value_text] if args.key?(:corrected_value_text)
3247
3279
  @field_name = args[:field_name] if args.key?(:field_name)
3248
3280
  @field_value = args[:field_value] if args.key?(:field_value)
3249
3281
  @name_detected_languages = args[:name_detected_languages] if args.key?(:name_detected_languages)
@@ -5262,6 +5294,20 @@ module Google
5262
5294
  class GoogleCloudDocumentaiV1beta3DocumentPageFormField
5263
5295
  include Google::Apis::Core::Hashable
5264
5296
 
5297
+ # Created for Labeling UI to export key text. If corrections were made to the
5298
+ # text identified by the `field_name.text_anchor`, this field will contain the
5299
+ # correction.
5300
+ # Corresponds to the JSON property `correctedKeyText`
5301
+ # @return [String]
5302
+ attr_accessor :corrected_key_text
5303
+
5304
+ # Created for Labeling UI to export value text. If corrections were made to the
5305
+ # text identified by the `field_value.text_anchor`, this field will contain the
5306
+ # correction.
5307
+ # Corresponds to the JSON property `correctedValueText`
5308
+ # @return [String]
5309
+ attr_accessor :corrected_value_text
5310
+
5265
5311
  # Visual element describing a layout unit on a page.
5266
5312
  # Corresponds to the JSON property `fieldName`
5267
5313
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLayout]
@@ -5301,6 +5347,8 @@ module Google
5301
5347
 
5302
5348
  # Update properties of this object
5303
5349
  def update!(**args)
5350
+ @corrected_key_text = args[:corrected_key_text] if args.key?(:corrected_key_text)
5351
+ @corrected_value_text = args[:corrected_value_text] if args.key?(:corrected_value_text)
5304
5352
  @field_name = args[:field_name] if args.key?(:field_name)
5305
5353
  @field_value = args[:field_value] if args.key?(:field_value)
5306
5354
  @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 DocumentaiV1beta3
18
18
  # Version of the google-apis-documentai_v1beta3 gem
19
- GEM_VERSION = "0.21.0"
19
+ GEM_VERSION = "0.22.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
@@ -1715,6 +1715,8 @@ module Google
1715
1715
  class GoogleCloudDocumentaiV1beta1DocumentPageFormField
1716
1716
  # @private
1717
1717
  class Representation < Google::Apis::Core::JsonRepresentation
1718
+ property :corrected_key_text, as: 'correctedKeyText'
1719
+ property :corrected_value_text, as: 'correctedValueText'
1718
1720
  property :field_name, as: 'fieldName', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
1719
1721
 
1720
1722
  property :field_value, as: 'fieldValue', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
@@ -2211,6 +2213,8 @@ module Google
2211
2213
  class GoogleCloudDocumentaiV1beta2DocumentPageFormField
2212
2214
  # @private
2213
2215
  class Representation < Google::Apis::Core::JsonRepresentation
2216
+ property :corrected_key_text, as: 'correctedKeyText'
2217
+ property :corrected_value_text, as: 'correctedValueText'
2214
2218
  property :field_name, as: 'fieldName', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
2215
2219
 
2216
2220
  property :field_value, as: 'fieldValue', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
@@ -2813,6 +2817,8 @@ module Google
2813
2817
  class GoogleCloudDocumentaiV1beta3DocumentPageFormField
2814
2818
  # @private
2815
2819
  class Representation < Google::Apis::Core::JsonRepresentation
2820
+ property :corrected_key_text, as: 'correctedKeyText'
2821
+ property :corrected_value_text, as: 'correctedValueText'
2816
2822
  property :field_name, as: 'fieldName', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLayout::Representation
2817
2823
 
2818
2824
  property :field_value, as: 'fieldValue', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLayout, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageLayout::Representation
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.21.0
4
+ version: 0.22.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_v1beta3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.21.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.22.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1beta3
63
63
  post_install_message:
64
64
  rdoc_options: []