google-apis-documentai_v1beta3 0.38.0 → 0.39.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: f6516ef3504d473d8a34ac41978eeec840bd9b6ff1864e4ec95ff1f97aaf926b
4
- data.tar.gz: 94b26bba62e448efd229d4092817474b05ed61da786a5a86789e77d7705c0a6f
3
+ metadata.gz: 87601590185a1d189c9f035851f236da1954b5ede2051e6f0ec16539856bef36
4
+ data.tar.gz: 0ccc15c66ecd88eef60ebd55f3ada6e21ddc2508c22ea712ad4330da3728e2b7
5
5
  SHA512:
6
- metadata.gz: ca084d924a7592a34a414a4742c10a91ae1bbf7d81a6c30c2c850e96eb55bf6e5dcb0ffa6bfc8e49a124ea23a62f9e43f15f02ebe7110bbeaa3d82900b8e83ee
7
- data.tar.gz: bc5224581392c8cd9a518ad0061d3c09d4d5275f5e608daf0ebcab67b75ff78b0e0cf4dc69cb102ae9c40da41f7e3b540950c8e3a8cf748a3af93bab2d6a2821
6
+ metadata.gz: a14c653f15c49d370a6af06b1f14c1dff5a349c380fb0e0e9d1c114209ad86abde8e124f8347ea388b66988c9f7b2c0b7610d9647f216b02e0a893feb731587a
7
+ data.tar.gz: 43f5ff91da96ec403b37cec0a57c7f6d2d7c9d3919657ef36bb30ac068444f5cbfa6036daa54035ab7b1725d2b224b4b192272b5c638927a13b4e7ad67f02991
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
+ ### v0.39.0 (2022-03-23)
4
+
5
+ * Regenerated from discovery document revision 20220321
6
+
3
7
  ### v0.38.0 (2022-03-15)
4
8
 
5
9
  * Regenerated from discovery document revision 20220311
@@ -1409,10 +1409,10 @@ module Google
1409
1409
  end
1410
1410
  end
1411
1411
 
1412
- # Document represents the canonical document resource in Document Understanding
1413
- # AI. It is an interchange format that provides insights into documents and
1414
- # allows for collaboration between users and Document Understanding AI to
1415
- # iterate and optimize for quality.
1412
+ # Document represents the canonical document resource in Document AI. It is an
1413
+ # interchange format that provides insights into documents and allows for
1414
+ # collaboration between users and Document AI to iterate and optimize for
1415
+ # quality.
1416
1416
  class GoogleCloudDocumentaiV1beta1Document
1417
1417
  include Google::Apis::Core::Hashable
1418
1418
 
@@ -1542,6 +1542,15 @@ module Google
1542
1542
  # @return [String]
1543
1543
  attr_accessor :mention_text
1544
1544
 
1545
+ # Optional. This attribute indicates that the processing didn't actually
1546
+ # identify this entity, but a confidence score was assigned that represent the
1547
+ # potential that this could be a false negative. A non-present entity should
1548
+ # have an empty mention_text and text_anchor.
1549
+ # Corresponds to the JSON property `nonPresent`
1550
+ # @return [Boolean]
1551
+ attr_accessor :non_present
1552
+ alias_method :non_present?, :non_present
1553
+
1545
1554
  # Parsed and normalized entity value.
1546
1555
  # Corresponds to the JSON property `normalizedValue`
1547
1556
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue]
@@ -1592,6 +1601,7 @@ module Google
1592
1601
  @id = args[:id] if args.key?(:id)
1593
1602
  @mention_id = args[:mention_id] if args.key?(:mention_id)
1594
1603
  @mention_text = args[:mention_text] if args.key?(:mention_text)
1604
+ @non_present = args[:non_present] if args.key?(:non_present)
1595
1605
  @normalized_value = args[:normalized_value] if args.key?(:normalized_value)
1596
1606
  @page_anchor = args[:page_anchor] if args.key?(:page_anchor)
1597
1607
  @properties = args[:properties] if args.key?(:properties)
@@ -3161,10 +3171,10 @@ module Google
3161
3171
  end
3162
3172
  end
3163
3173
 
3164
- # Document represents the canonical document resource in Document Understanding
3165
- # AI. It is an interchange format that provides insights into documents and
3166
- # allows for collaboration between users and Document Understanding AI to
3167
- # iterate and optimize for quality.
3174
+ # Document represents the canonical document resource in Document AI. It is an
3175
+ # interchange format that provides insights into documents and allows for
3176
+ # collaboration between users and Document AI to iterate and optimize for
3177
+ # quality.
3168
3178
  class GoogleCloudDocumentaiV1beta2Document
3169
3179
  include Google::Apis::Core::Hashable
3170
3180
 
@@ -3300,6 +3310,15 @@ module Google
3300
3310
  # @return [String]
3301
3311
  attr_accessor :mention_text
3302
3312
 
3313
+ # Optional. This attribute indicates that the processing didn't actually
3314
+ # identify this entity, but a confidence score was assigned that represent the
3315
+ # potential that this could be a false negative. A non-present entity should
3316
+ # have an empty mention_text and text_anchor.
3317
+ # Corresponds to the JSON property `nonPresent`
3318
+ # @return [Boolean]
3319
+ attr_accessor :non_present
3320
+ alias_method :non_present?, :non_present
3321
+
3303
3322
  # Parsed and normalized entity value.
3304
3323
  # Corresponds to the JSON property `normalizedValue`
3305
3324
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue]
@@ -3350,6 +3369,7 @@ module Google
3350
3369
  @id = args[:id] if args.key?(:id)
3351
3370
  @mention_id = args[:mention_id] if args.key?(:mention_id)
3352
3371
  @mention_text = args[:mention_text] if args.key?(:mention_text)
3372
+ @non_present = args[:non_present] if args.key?(:non_present)
3353
3373
  @normalized_value = args[:normalized_value] if args.key?(:normalized_value)
3354
3374
  @page_anchor = args[:page_anchor] if args.key?(:page_anchor)
3355
3375
  @properties = args[:properties] if args.key?(:properties)
@@ -5347,10 +5367,10 @@ module Google
5347
5367
  end
5348
5368
  end
5349
5369
 
5350
- # Document represents the canonical document resource in Document Understanding
5351
- # AI. It is an interchange format that provides insights into documents and
5352
- # allows for collaboration between users and Document Understanding AI to
5353
- # iterate and optimize for quality.
5370
+ # Document represents the canonical document resource in Document AI. It is an
5371
+ # interchange format that provides insights into documents and allows for
5372
+ # collaboration between users and Document AI to iterate and optimize for
5373
+ # quality.
5354
5374
  class GoogleCloudDocumentaiV1beta3Document
5355
5375
  include Google::Apis::Core::Hashable
5356
5376
 
@@ -5480,6 +5500,15 @@ module Google
5480
5500
  # @return [String]
5481
5501
  attr_accessor :mention_text
5482
5502
 
5503
+ # Optional. This attribute indicates that the processing didn't actually
5504
+ # identify this entity, but a confidence score was assigned that represent the
5505
+ # potential that this could be a false negative. A non-present entity should
5506
+ # have an empty mention_text and text_anchor.
5507
+ # Corresponds to the JSON property `nonPresent`
5508
+ # @return [Boolean]
5509
+ attr_accessor :non_present
5510
+ alias_method :non_present?, :non_present
5511
+
5483
5512
  # Parsed and normalized entity value.
5484
5513
  # Corresponds to the JSON property `normalizedValue`
5485
5514
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue]
@@ -5530,6 +5559,7 @@ module Google
5530
5559
  @id = args[:id] if args.key?(:id)
5531
5560
  @mention_id = args[:mention_id] if args.key?(:mention_id)
5532
5561
  @mention_text = args[:mention_text] if args.key?(:mention_text)
5562
+ @non_present = args[:non_present] if args.key?(:non_present)
5533
5563
  @normalized_value = args[:normalized_value] if args.key?(:normalized_value)
5534
5564
  @page_anchor = args[:page_anchor] if args.key?(:page_anchor)
5535
5565
  @properties = args[:properties] if args.key?(:properties)
@@ -7122,18 +7152,18 @@ module Google
7122
7152
  class GoogleCloudDocumentaiV1beta3ProcessRequest
7123
7153
  include Google::Apis::Core::Hashable
7124
7154
 
7125
- # Document represents the canonical document resource in Document Understanding
7126
- # AI. It is an interchange format that provides insights into documents and
7127
- # allows for collaboration between users and Document Understanding AI to
7128
- # iterate and optimize for quality.
7155
+ # Document represents the canonical document resource in Document AI. It is an
7156
+ # interchange format that provides insights into documents and allows for
7157
+ # collaboration between users and Document AI to iterate and optimize for
7158
+ # quality.
7129
7159
  # Corresponds to the JSON property `document`
7130
7160
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document]
7131
7161
  attr_accessor :document
7132
7162
 
7133
- # Document represents the canonical document resource in Document Understanding
7134
- # AI. It is an interchange format that provides insights into documents and
7135
- # allows for collaboration between users and Document Understanding AI to
7136
- # iterate and optimize for quality.
7163
+ # Document represents the canonical document resource in Document AI. It is an
7164
+ # interchange format that provides insights into documents and allows for
7165
+ # collaboration between users and Document AI to iterate and optimize for
7166
+ # quality.
7137
7167
  # Corresponds to the JSON property `inlineDocument`
7138
7168
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document]
7139
7169
  attr_accessor :inline_document
@@ -7167,10 +7197,10 @@ module Google
7167
7197
  class GoogleCloudDocumentaiV1beta3ProcessResponse
7168
7198
  include Google::Apis::Core::Hashable
7169
7199
 
7170
- # Document represents the canonical document resource in Document Understanding
7171
- # AI. It is an interchange format that provides insights into documents and
7172
- # allows for collaboration between users and Document Understanding AI to
7173
- # iterate and optimize for quality.
7200
+ # Document represents the canonical document resource in Document AI. It is an
7201
+ # interchange format that provides insights into documents and allows for
7202
+ # collaboration between users and Document AI to iterate and optimize for
7203
+ # quality.
7174
7204
  # Corresponds to the JSON property `document`
7175
7205
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document]
7176
7206
  attr_accessor :document
@@ -7473,10 +7503,10 @@ module Google
7473
7503
  class GoogleCloudDocumentaiV1beta3ReviewDocumentRequest
7474
7504
  include Google::Apis::Core::Hashable
7475
7505
 
7476
- # Document represents the canonical document resource in Document Understanding
7477
- # AI. It is an interchange format that provides insights into documents and
7478
- # allows for collaboration between users and Document Understanding AI to
7479
- # iterate and optimize for quality.
7506
+ # Document represents the canonical document resource in Document AI. It is an
7507
+ # interchange format that provides insights into documents and allows for
7508
+ # collaboration between users and Document AI to iterate and optimize for
7509
+ # quality.
7480
7510
  # Corresponds to the JSON property `document`
7481
7511
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document]
7482
7512
  attr_accessor :document
@@ -7487,10 +7517,10 @@ module Google
7487
7517
  attr_accessor :enable_schema_validation
7488
7518
  alias_method :enable_schema_validation?, :enable_schema_validation
7489
7519
 
7490
- # Document represents the canonical document resource in Document Understanding
7491
- # AI. It is an interchange format that provides insights into documents and
7492
- # allows for collaboration between users and Document Understanding AI to
7493
- # iterate and optimize for quality.
7520
+ # Document represents the canonical document resource in Document AI. It is an
7521
+ # interchange format that provides insights into documents and allows for
7522
+ # collaboration between users and Document AI to iterate and optimize for
7523
+ # quality.
7494
7524
  # Corresponds to the JSON property `inlineDocument`
7495
7525
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document]
7496
7526
  attr_accessor :inline_document
@@ -7816,8 +7846,7 @@ module Google
7816
7846
  # A generic empty message that you can re-use to avoid defining duplicated empty
7817
7847
  # messages in your APIs. A typical example is to use it as the request or the
7818
7848
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
7819
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
7820
- # `Empty` is empty JSON object ````.
7849
+ # protobuf.Empty) returns (google.protobuf.Empty); `
7821
7850
  class GoogleProtobufEmpty
7822
7851
  include Google::Apis::Core::Hashable
7823
7852
 
@@ -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.38.0"
19
+ GEM_VERSION = "0.39.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
@@ -1997,6 +1997,7 @@ module Google
1997
1997
  property :id, as: 'id'
1998
1998
  property :mention_id, as: 'mentionId'
1999
1999
  property :mention_text, as: 'mentionText'
2000
+ property :non_present, as: 'nonPresent'
2000
2001
  property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue::Representation
2001
2002
 
2002
2003
  property :page_anchor, as: 'pageAnchor', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageAnchor, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageAnchor::Representation
@@ -2499,6 +2500,7 @@ module Google
2499
2500
  property :id, as: 'id'
2500
2501
  property :mention_id, as: 'mentionId'
2501
2502
  property :mention_text, as: 'mentionText'
2503
+ property :non_present, as: 'nonPresent'
2502
2504
  property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue::Representation
2503
2505
 
2504
2506
  property :page_anchor, as: 'pageAnchor', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageAnchor, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageAnchor::Representation
@@ -3139,6 +3141,7 @@ module Google
3139
3141
  property :id, as: 'id'
3140
3142
  property :mention_id, as: 'mentionId'
3141
3143
  property :mention_text, as: 'mentionText'
3144
+ property :non_present, as: 'nonPresent'
3142
3145
  property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue::Representation
3143
3146
 
3144
3147
  property :page_anchor, as: 'pageAnchor', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageAnchor, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageAnchor::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.38.0
4
+ version: 0.39.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_v1beta3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.38.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.39.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: []