google-apis-documentai_v1 0.31.0 → 0.32.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: '08657d5e36ec0f962059fc4d0baa9c129c13b79c37061c9b4b12ec96205c0471'
4
- data.tar.gz: f6af43e879cfbf04a9a8f56b72102b7026b4f46ebfebff059f9831121930e71e
3
+ metadata.gz: d3f9daa8a4c64a9159feae67822c0ee6cdc1bcfb26aa8c0f9b6ecadc26a98825
4
+ data.tar.gz: b7fe13bdb782c52b3e287b2432cfb2f881a5164879ff27ba315410729aff2dac
5
5
  SHA512:
6
- metadata.gz: '05492f7081b50993dd8e8b76bbdbef2a8c130e979d7f2da3f0f29136c4e3e4098eb07b24c349bfaf5c93036e4f3694de14e162eb69205d6c329bd537310dc09c'
7
- data.tar.gz: 321b5fc345c22f7ef2ecee9e47e09f5899b3ea564a11e39aa271d17f2439355a4a6bc333bda4b6a976a65e93c2aac0df07d288101e854f7f23729fb31d0465db
6
+ metadata.gz: a53eb45b1b48bf0a17e88a12d7ab57000e69f5e9a4092515e4dd11913b4ad9580a46a6a60b6070ffdcd2fb49717cd4aac949619e1d9f68f6557cbabbfa664bc1
7
+ data.tar.gz: 8604f3167d1e340056958f529644f0bb68ab8041394b6c6a4c2b54bbbbb46caedbbc4c3e492d999a22a649ded02324f43eb17055b92e1ede92c06d9be3dbb65f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.32.0 (2022-03-23)
4
+
5
+ * Regenerated from discovery document revision 20220321
6
+
3
7
  ### v0.31.0 (2022-03-15)
4
8
 
5
9
  * Regenerated from discovery document revision 20220311
@@ -1237,10 +1237,10 @@ module Google
1237
1237
  end
1238
1238
  end
1239
1239
 
1240
- # Document represents the canonical document resource in Document Understanding
1241
- # AI. It is an interchange format that provides insights into documents and
1242
- # allows for collaboration between users and Document Understanding AI to
1243
- # iterate and optimize for quality.
1240
+ # Document represents the canonical document resource in Document AI. It is an
1241
+ # interchange format that provides insights into documents and allows for
1242
+ # collaboration between users and Document AI to iterate and optimize for
1243
+ # quality.
1244
1244
  class GoogleCloudDocumentaiV1Document
1245
1245
  include Google::Apis::Core::Hashable
1246
1246
 
@@ -1370,6 +1370,15 @@ module Google
1370
1370
  # @return [String]
1371
1371
  attr_accessor :mention_text
1372
1372
 
1373
+ # Optional. This attribute indicates that the processing didn't actually
1374
+ # identify this entity, but a confidence score was assigned that represent the
1375
+ # potential that this could be a false negative. A non-present entity should
1376
+ # have an empty mention_text and text_anchor.
1377
+ # Corresponds to the JSON property `nonPresent`
1378
+ # @return [Boolean]
1379
+ attr_accessor :non_present
1380
+ alias_method :non_present?, :non_present
1381
+
1373
1382
  # Parsed and normalized entity value.
1374
1383
  # Corresponds to the JSON property `normalizedValue`
1375
1384
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntityNormalizedValue]
@@ -1420,6 +1429,7 @@ module Google
1420
1429
  @id = args[:id] if args.key?(:id)
1421
1430
  @mention_id = args[:mention_id] if args.key?(:mention_id)
1422
1431
  @mention_text = args[:mention_text] if args.key?(:mention_text)
1432
+ @non_present = args[:non_present] if args.key?(:non_present)
1423
1433
  @normalized_value = args[:normalized_value] if args.key?(:normalized_value)
1424
1434
  @page_anchor = args[:page_anchor] if args.key?(:page_anchor)
1425
1435
  @properties = args[:properties] if args.key?(:properties)
@@ -3012,10 +3022,10 @@ module Google
3012
3022
  class GoogleCloudDocumentaiV1ProcessRequest
3013
3023
  include Google::Apis::Core::Hashable
3014
3024
 
3015
- # Document represents the canonical document resource in Document Understanding
3016
- # AI. It is an interchange format that provides insights into documents and
3017
- # allows for collaboration between users and Document Understanding AI to
3018
- # iterate and optimize for quality.
3025
+ # Document represents the canonical document resource in Document AI. It is an
3026
+ # interchange format that provides insights into documents and allows for
3027
+ # collaboration between users and Document AI to iterate and optimize for
3028
+ # quality.
3019
3029
  # Corresponds to the JSON property `inlineDocument`
3020
3030
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Document]
3021
3031
  attr_accessor :inline_document
@@ -3048,10 +3058,10 @@ module Google
3048
3058
  class GoogleCloudDocumentaiV1ProcessResponse
3049
3059
  include Google::Apis::Core::Hashable
3050
3060
 
3051
- # Document represents the canonical document resource in Document Understanding
3052
- # AI. It is an interchange format that provides insights into documents and
3053
- # allows for collaboration between users and Document Understanding AI to
3054
- # iterate and optimize for quality.
3061
+ # Document represents the canonical document resource in Document AI. It is an
3062
+ # interchange format that provides insights into documents and allows for
3063
+ # collaboration between users and Document AI to iterate and optimize for
3064
+ # quality.
3055
3065
  # Corresponds to the JSON property `document`
3056
3066
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Document]
3057
3067
  attr_accessor :document
@@ -3326,10 +3336,10 @@ module Google
3326
3336
  attr_accessor :enable_schema_validation
3327
3337
  alias_method :enable_schema_validation?, :enable_schema_validation
3328
3338
 
3329
- # Document represents the canonical document resource in Document Understanding
3330
- # AI. It is an interchange format that provides insights into documents and
3331
- # allows for collaboration between users and Document Understanding AI to
3332
- # iterate and optimize for quality.
3339
+ # Document represents the canonical document resource in Document AI. It is an
3340
+ # interchange format that provides insights into documents and allows for
3341
+ # collaboration between users and Document AI to iterate and optimize for
3342
+ # quality.
3333
3343
  # Corresponds to the JSON property `inlineDocument`
3334
3344
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Document]
3335
3345
  attr_accessor :inline_document
@@ -3599,10 +3609,10 @@ module Google
3599
3609
  end
3600
3610
  end
3601
3611
 
3602
- # Document represents the canonical document resource in Document Understanding
3603
- # AI. It is an interchange format that provides insights into documents and
3604
- # allows for collaboration between users and Document Understanding AI to
3605
- # iterate and optimize for quality.
3612
+ # Document represents the canonical document resource in Document AI. It is an
3613
+ # interchange format that provides insights into documents and allows for
3614
+ # collaboration between users and Document AI to iterate and optimize for
3615
+ # quality.
3606
3616
  class GoogleCloudDocumentaiV1beta1Document
3607
3617
  include Google::Apis::Core::Hashable
3608
3618
 
@@ -3732,6 +3742,15 @@ module Google
3732
3742
  # @return [String]
3733
3743
  attr_accessor :mention_text
3734
3744
 
3745
+ # Optional. This attribute indicates that the processing didn't actually
3746
+ # identify this entity, but a confidence score was assigned that represent the
3747
+ # potential that this could be a false negative. A non-present entity should
3748
+ # have an empty mention_text and text_anchor.
3749
+ # Corresponds to the JSON property `nonPresent`
3750
+ # @return [Boolean]
3751
+ attr_accessor :non_present
3752
+ alias_method :non_present?, :non_present
3753
+
3735
3754
  # Parsed and normalized entity value.
3736
3755
  # Corresponds to the JSON property `normalizedValue`
3737
3756
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue]
@@ -3782,6 +3801,7 @@ module Google
3782
3801
  @id = args[:id] if args.key?(:id)
3783
3802
  @mention_id = args[:mention_id] if args.key?(:mention_id)
3784
3803
  @mention_text = args[:mention_text] if args.key?(:mention_text)
3804
+ @non_present = args[:non_present] if args.key?(:non_present)
3785
3805
  @normalized_value = args[:normalized_value] if args.key?(:normalized_value)
3786
3806
  @page_anchor = args[:page_anchor] if args.key?(:page_anchor)
3787
3807
  @properties = args[:properties] if args.key?(:properties)
@@ -5351,10 +5371,10 @@ module Google
5351
5371
  end
5352
5372
  end
5353
5373
 
5354
- # Document represents the canonical document resource in Document Understanding
5355
- # AI. It is an interchange format that provides insights into documents and
5356
- # allows for collaboration between users and Document Understanding AI to
5357
- # iterate and optimize for quality.
5374
+ # Document represents the canonical document resource in Document AI. It is an
5375
+ # interchange format that provides insights into documents and allows for
5376
+ # collaboration between users and Document AI to iterate and optimize for
5377
+ # quality.
5358
5378
  class GoogleCloudDocumentaiV1beta2Document
5359
5379
  include Google::Apis::Core::Hashable
5360
5380
 
@@ -5490,6 +5510,15 @@ module Google
5490
5510
  # @return [String]
5491
5511
  attr_accessor :mention_text
5492
5512
 
5513
+ # Optional. This attribute indicates that the processing didn't actually
5514
+ # identify this entity, but a confidence score was assigned that represent the
5515
+ # potential that this could be a false negative. A non-present entity should
5516
+ # have an empty mention_text and text_anchor.
5517
+ # Corresponds to the JSON property `nonPresent`
5518
+ # @return [Boolean]
5519
+ attr_accessor :non_present
5520
+ alias_method :non_present?, :non_present
5521
+
5493
5522
  # Parsed and normalized entity value.
5494
5523
  # Corresponds to the JSON property `normalizedValue`
5495
5524
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue]
@@ -5540,6 +5569,7 @@ module Google
5540
5569
  @id = args[:id] if args.key?(:id)
5541
5570
  @mention_id = args[:mention_id] if args.key?(:mention_id)
5542
5571
  @mention_text = args[:mention_text] if args.key?(:mention_text)
5572
+ @non_present = args[:non_present] if args.key?(:non_present)
5543
5573
  @normalized_value = args[:normalized_value] if args.key?(:normalized_value)
5544
5574
  @page_anchor = args[:page_anchor] if args.key?(:page_anchor)
5545
5575
  @properties = args[:properties] if args.key?(:properties)
@@ -7731,8 +7761,7 @@ module Google
7731
7761
  # A generic empty message that you can re-use to avoid defining duplicated empty
7732
7762
  # messages in your APIs. A typical example is to use it as the request or the
7733
7763
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
7734
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
7735
- # `Empty` is empty JSON object ````.
7764
+ # protobuf.Empty) returns (google.protobuf.Empty); `
7736
7765
  class GoogleProtobufEmpty
7737
7766
  include Google::Apis::Core::Hashable
7738
7767
 
@@ -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.31.0"
19
+ GEM_VERSION = "0.32.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220311"
25
+ REVISION = "20220321"
26
26
  end
27
27
  end
28
28
  end
@@ -1924,6 +1924,7 @@ module Google
1924
1924
  property :id, as: 'id'
1925
1925
  property :mention_id, as: 'mentionId'
1926
1926
  property :mention_text, as: 'mentionText'
1927
+ property :non_present, as: 'nonPresent'
1927
1928
  property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntityNormalizedValue::Representation
1928
1929
 
1929
1930
  property :page_anchor, as: 'pageAnchor', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageAnchor, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageAnchor::Representation
@@ -2626,6 +2627,7 @@ module Google
2626
2627
  property :id, as: 'id'
2627
2628
  property :mention_id, as: 'mentionId'
2628
2629
  property :mention_text, as: 'mentionText'
2630
+ property :non_present, as: 'nonPresent'
2629
2631
  property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue::Representation
2630
2632
 
2631
2633
  property :page_anchor, as: 'pageAnchor', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageAnchor, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageAnchor::Representation
@@ -3128,6 +3130,7 @@ module Google
3128
3130
  property :id, as: 'id'
3129
3131
  property :mention_id, as: 'mentionId'
3130
3132
  property :mention_text, as: 'mentionText'
3133
+ property :non_present, as: 'nonPresent'
3131
3134
  property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue::Representation
3132
3135
 
3133
3136
  property :page_anchor, as: 'pageAnchor', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageAnchor, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageAnchor::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.31.0
4
+ version: 0.32.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: 2022-03-21 00:00:00.000000000 Z
11
+ date: 2022-03-28 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.31.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.32.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1
63
63
  post_install_message:
64
64
  rdoc_options: []