google-apis-documentai_v1beta3 0.38.0 → 0.41.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: f6516ef3504d473d8a34ac41978eeec840bd9b6ff1864e4ec95ff1f97aaf926b
4
- data.tar.gz: 94b26bba62e448efd229d4092817474b05ed61da786a5a86789e77d7705c0a6f
3
+ metadata.gz: 2b47142a5515eefb6795a7d4b9e7d07e91d8e3e566af847db9f16165840f347c
4
+ data.tar.gz: 80d3839d3062adef83fb7a5e1ffd6d16003c2d7f554b6677028cfadb91e8fe3d
5
5
  SHA512:
6
- metadata.gz: ca084d924a7592a34a414a4742c10a91ae1bbf7d81a6c30c2c850e96eb55bf6e5dcb0ffa6bfc8e49a124ea23a62f9e43f15f02ebe7110bbeaa3d82900b8e83ee
7
- data.tar.gz: bc5224581392c8cd9a518ad0061d3c09d4d5275f5e608daf0ebcab67b75ff78b0e0cf4dc69cb102ae9c40da41f7e3b540950c8e3a8cf748a3af93bab2d6a2821
6
+ metadata.gz: 262e98500ccc8211dce292b7674c10223ff10abf88671fcaef504e62c94aef82a4c1b14590712c93280e798d632e4e34a183b7e02887312ed22a58b0f2a04b47
7
+ data.tar.gz: 2c68c26e685cc25fa25e5fb62fed568ca918b4b4ea5d22478530f0706b72c346ca362d39b628719c28101fd69bf9d4796229441d437ac507f340f8a480a95a4d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
+ ### v0.41.0 (2022-04-05)
4
+
5
+ * Regenerated from discovery document revision 20220401
6
+
7
+ ### v0.40.0 (2022-03-29)
8
+
9
+ * Regenerated from discovery document revision 20220326
10
+
11
+ ### v0.39.0 (2022-03-23)
12
+
13
+ * Regenerated from discovery document revision 20220321
14
+
3
15
  ### v0.38.0 (2022-03-15)
4
16
 
5
17
  * 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]
@@ -1577,7 +1586,7 @@ module Google
1577
1586
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentTextAnchor]
1578
1587
  attr_accessor :text_anchor
1579
1588
 
1580
- # Entity type from a schema e.g. `Address`.
1589
+ # Required. Entity type from a schema e.g. `Address`.
1581
1590
  # Corresponds to the JSON property `type`
1582
1591
  # @return [String]
1583
1592
  attr_accessor :type
@@ -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]
@@ -3335,7 +3354,7 @@ module Google
3335
3354
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentTextAnchor]
3336
3355
  attr_accessor :text_anchor
3337
3356
 
3338
- # Entity type from a schema e.g. `Address`.
3357
+ # Required. Entity type from a schema e.g. `Address`.
3339
3358
  # Corresponds to the JSON property `type`
3340
3359
  # @return [String]
3341
3360
  attr_accessor :type
@@ -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]
@@ -5515,7 +5544,7 @@ module Google
5515
5544
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentTextAnchor]
5516
5545
  attr_accessor :text_anchor
5517
5546
 
5518
- # Entity type from a schema e.g. `Address`.
5547
+ # Required. Entity type from a schema e.g. `Address`.
5519
5548
  # Corresponds to the JSON property `type`
5520
5549
  # @return [String]
5521
5550
  attr_accessor :type
@@ -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
@@ -7342,7 +7372,7 @@ module Google
7342
7372
  # have multiple versions, pre-trained by Google internally or up-trained by the
7343
7373
  # customer. At a time, a processor can only have one default version version. So
7344
7374
  # the processor's behavior (when processing documents) is defined by a default
7345
- # version.
7375
+ # version
7346
7376
  class GoogleCloudDocumentaiV1beta3ProcessorVersion
7347
7377
  include Google::Apis::Core::Hashable
7348
7378
 
@@ -7356,6 +7386,12 @@ module Google
7356
7386
  # @return [String]
7357
7387
  attr_accessor :display_name
7358
7388
 
7389
+ # Denotes that this ProcessorVersion is managed by google.
7390
+ # Corresponds to the JSON property `googleManaged`
7391
+ # @return [Boolean]
7392
+ attr_accessor :google_managed
7393
+ alias_method :google_managed?, :google_managed
7394
+
7359
7395
  # The KMS key name used for encryption.
7360
7396
  # Corresponds to the JSON property `kmsKeyName`
7361
7397
  # @return [String]
@@ -7386,6 +7422,7 @@ module Google
7386
7422
  def update!(**args)
7387
7423
  @create_time = args[:create_time] if args.key?(:create_time)
7388
7424
  @display_name = args[:display_name] if args.key?(:display_name)
7425
+ @google_managed = args[:google_managed] if args.key?(:google_managed)
7389
7426
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
7390
7427
  @kms_key_version_name = args[:kms_key_version_name] if args.key?(:kms_key_version_name)
7391
7428
  @name = args[:name] if args.key?(:name)
@@ -7473,10 +7510,10 @@ module Google
7473
7510
  class GoogleCloudDocumentaiV1beta3ReviewDocumentRequest
7474
7511
  include Google::Apis::Core::Hashable
7475
7512
 
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.
7513
+ # Document represents the canonical document resource in Document AI. It is an
7514
+ # interchange format that provides insights into documents and allows for
7515
+ # collaboration between users and Document AI to iterate and optimize for
7516
+ # quality.
7480
7517
  # Corresponds to the JSON property `document`
7481
7518
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document]
7482
7519
  attr_accessor :document
@@ -7487,10 +7524,10 @@ module Google
7487
7524
  attr_accessor :enable_schema_validation
7488
7525
  alias_method :enable_schema_validation?, :enable_schema_validation
7489
7526
 
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.
7527
+ # Document represents the canonical document resource in Document AI. It is an
7528
+ # interchange format that provides insights into documents and allows for
7529
+ # collaboration between users and Document AI to iterate and optimize for
7530
+ # quality.
7494
7531
  # Corresponds to the JSON property `inlineDocument`
7495
7532
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document]
7496
7533
  attr_accessor :inline_document
@@ -7816,8 +7853,7 @@ module Google
7816
7853
  # A generic empty message that you can re-use to avoid defining duplicated empty
7817
7854
  # messages in your APIs. A typical example is to use it as the request or the
7818
7855
  # 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 ````.
7856
+ # protobuf.Empty) returns (google.protobuf.Empty); `
7821
7857
  class GoogleProtobufEmpty
7822
7858
  include Google::Apis::Core::Hashable
7823
7859
 
@@ -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.41.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 = "20220401"
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
@@ -3684,6 +3687,7 @@ module Google
3684
3687
  class Representation < Google::Apis::Core::JsonRepresentation
3685
3688
  property :create_time, as: 'createTime'
3686
3689
  property :display_name, as: 'displayName'
3690
+ property :google_managed, as: 'googleManaged'
3687
3691
  property :kms_key_name, as: 'kmsKeyName'
3688
3692
  property :kms_key_version_name, as: 'kmsKeyVersionName'
3689
3693
  property :name, as: 'name'
@@ -119,8 +119,8 @@ module Google
119
119
  # The resource that owns the locations collection, if applicable.
120
120
  # @param [String] filter
121
121
  # A filter to narrow down results to a preferred subset. The filtering language
122
- # accepts strings like "displayName=tokyo", and is documented in more detail in [
123
- # AIP-160](https://google.aip.dev/160).
122
+ # accepts strings like `"displayName=tokyo"`, and is documented in more detail
123
+ # in [AIP-160](https://google.aip.dev/160).
124
124
  # @param [Fixnum] page_size
125
125
  # The maximum number of results to return. If not set, the service selects a
126
126
  # default.
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.41.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-04-11 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.41.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: []