google-apis-documentai_v1beta3 0.37.0 → 0.40.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: 34e2976796bee34eaa026392da168ffdce3312314bd12f91c7a75af3c8e49e41
4
- data.tar.gz: 0f8e0b30172a2e9abb0fe10de3b7236fd1ff3ce064052295ecb7024f012b679a
3
+ metadata.gz: 88e02f38a0e2fb9648af9a68101171266e89be4a6851a5d192f041340872662b
4
+ data.tar.gz: 223cedc53a3260668308c52d0f3a8cd40bc2d4fc71752a0578065aa572f201c2
5
5
  SHA512:
6
- metadata.gz: 70440bc8057990857ec3da91eba1c310d0a65a719c2dfac45fb1b4143f1d4f7d4ba0e0f423590f0dc033bcb251905c19f5b19eb27e9e65235b4426501cf890a5
7
- data.tar.gz: d4c37829dc3783f4944a1edda9ec953d8f4c95b3e8835b61d8a4ec8f94e856c67ff1801a4a50059aa1030ceff1f8a472bbaba40220e94af77c320ec39f6ff9df
6
+ metadata.gz: ff2707f6429988a1d1271ef5c028143e0464898524494f4ad5d2bf908785a74a7c48a19cb7905c09e449809ec41e05a4e7e8a090bf8c3bcd4b62582bee8dd4a6
7
+ data.tar.gz: '099523d4793e317b941663c10e50e56c4be973c1afa4ba59db36db45419d6b510b25baaef34f4e6bfcafa7fbc7e787069bb36fe354538cd63390b65c44ffd821'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
+ ### v0.40.0 (2022-03-29)
4
+
5
+ * Regenerated from discovery document revision 20220326
6
+
7
+ ### v0.39.0 (2022-03-23)
8
+
9
+ * Regenerated from discovery document revision 20220321
10
+
11
+ ### v0.38.0 (2022-03-15)
12
+
13
+ * Regenerated from discovery document revision 20220311
14
+
3
15
  ### v0.37.0 (2022-03-09)
4
16
 
5
17
  * Regenerated from discovery document revision 20220307
@@ -68,6 +68,11 @@ module Google
68
68
  # @return [String]
69
69
  attr_accessor :dest_dataset_type
70
70
 
71
+ # The destination dataset split type.
72
+ # Corresponds to the JSON property `destSplitType`
73
+ # @return [String]
74
+ attr_accessor :dest_split_type
75
+
71
76
  # The list of response details of each document.
72
77
  # Corresponds to the JSON property `individualBatchMoveStatuses`
73
78
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus>]
@@ -81,6 +86,7 @@ module Google
81
86
  def update!(**args)
82
87
  @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
83
88
  @dest_dataset_type = args[:dest_dataset_type] if args.key?(:dest_dataset_type)
89
+ @dest_split_type = args[:dest_split_type] if args.key?(:dest_split_type)
84
90
  @individual_batch_move_statuses = args[:individual_batch_move_statuses] if args.key?(:individual_batch_move_statuses)
85
91
  end
86
92
  end
@@ -1403,10 +1409,10 @@ module Google
1403
1409
  end
1404
1410
  end
1405
1411
 
1406
- # Document represents the canonical document resource in Document Understanding
1407
- # AI. It is an interchange format that provides insights into documents and
1408
- # allows for collaboration between users and Document Understanding AI to
1409
- # 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.
1410
1416
  class GoogleCloudDocumentaiV1beta1Document
1411
1417
  include Google::Apis::Core::Hashable
1412
1418
 
@@ -1536,6 +1542,15 @@ module Google
1536
1542
  # @return [String]
1537
1543
  attr_accessor :mention_text
1538
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
+
1539
1554
  # Parsed and normalized entity value.
1540
1555
  # Corresponds to the JSON property `normalizedValue`
1541
1556
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue]
@@ -1571,7 +1586,7 @@ module Google
1571
1586
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentTextAnchor]
1572
1587
  attr_accessor :text_anchor
1573
1588
 
1574
- # Entity type from a schema e.g. `Address`.
1589
+ # Required. Entity type from a schema e.g. `Address`.
1575
1590
  # Corresponds to the JSON property `type`
1576
1591
  # @return [String]
1577
1592
  attr_accessor :type
@@ -1586,6 +1601,7 @@ module Google
1586
1601
  @id = args[:id] if args.key?(:id)
1587
1602
  @mention_id = args[:mention_id] if args.key?(:mention_id)
1588
1603
  @mention_text = args[:mention_text] if args.key?(:mention_text)
1604
+ @non_present = args[:non_present] if args.key?(:non_present)
1589
1605
  @normalized_value = args[:normalized_value] if args.key?(:normalized_value)
1590
1606
  @page_anchor = args[:page_anchor] if args.key?(:page_anchor)
1591
1607
  @properties = args[:properties] if args.key?(:properties)
@@ -3155,10 +3171,10 @@ module Google
3155
3171
  end
3156
3172
  end
3157
3173
 
3158
- # Document represents the canonical document resource in Document Understanding
3159
- # AI. It is an interchange format that provides insights into documents and
3160
- # allows for collaboration between users and Document Understanding AI to
3161
- # 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.
3162
3178
  class GoogleCloudDocumentaiV1beta2Document
3163
3179
  include Google::Apis::Core::Hashable
3164
3180
 
@@ -3294,6 +3310,15 @@ module Google
3294
3310
  # @return [String]
3295
3311
  attr_accessor :mention_text
3296
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
+
3297
3322
  # Parsed and normalized entity value.
3298
3323
  # Corresponds to the JSON property `normalizedValue`
3299
3324
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue]
@@ -3329,7 +3354,7 @@ module Google
3329
3354
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentTextAnchor]
3330
3355
  attr_accessor :text_anchor
3331
3356
 
3332
- # Entity type from a schema e.g. `Address`.
3357
+ # Required. Entity type from a schema e.g. `Address`.
3333
3358
  # Corresponds to the JSON property `type`
3334
3359
  # @return [String]
3335
3360
  attr_accessor :type
@@ -3344,6 +3369,7 @@ module Google
3344
3369
  @id = args[:id] if args.key?(:id)
3345
3370
  @mention_id = args[:mention_id] if args.key?(:mention_id)
3346
3371
  @mention_text = args[:mention_text] if args.key?(:mention_text)
3372
+ @non_present = args[:non_present] if args.key?(:non_present)
3347
3373
  @normalized_value = args[:normalized_value] if args.key?(:normalized_value)
3348
3374
  @page_anchor = args[:page_anchor] if args.key?(:page_anchor)
3349
3375
  @properties = args[:properties] if args.key?(:properties)
@@ -5341,10 +5367,10 @@ module Google
5341
5367
  end
5342
5368
  end
5343
5369
 
5344
- # Document represents the canonical document resource in Document Understanding
5345
- # AI. It is an interchange format that provides insights into documents and
5346
- # allows for collaboration between users and Document Understanding AI to
5347
- # 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.
5348
5374
  class GoogleCloudDocumentaiV1beta3Document
5349
5375
  include Google::Apis::Core::Hashable
5350
5376
 
@@ -5474,6 +5500,15 @@ module Google
5474
5500
  # @return [String]
5475
5501
  attr_accessor :mention_text
5476
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
+
5477
5512
  # Parsed and normalized entity value.
5478
5513
  # Corresponds to the JSON property `normalizedValue`
5479
5514
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue]
@@ -5509,7 +5544,7 @@ module Google
5509
5544
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentTextAnchor]
5510
5545
  attr_accessor :text_anchor
5511
5546
 
5512
- # Entity type from a schema e.g. `Address`.
5547
+ # Required. Entity type from a schema e.g. `Address`.
5513
5548
  # Corresponds to the JSON property `type`
5514
5549
  # @return [String]
5515
5550
  attr_accessor :type
@@ -5524,6 +5559,7 @@ module Google
5524
5559
  @id = args[:id] if args.key?(:id)
5525
5560
  @mention_id = args[:mention_id] if args.key?(:mention_id)
5526
5561
  @mention_text = args[:mention_text] if args.key?(:mention_text)
5562
+ @non_present = args[:non_present] if args.key?(:non_present)
5527
5563
  @normalized_value = args[:normalized_value] if args.key?(:normalized_value)
5528
5564
  @page_anchor = args[:page_anchor] if args.key?(:page_anchor)
5529
5565
  @properties = args[:properties] if args.key?(:properties)
@@ -7116,18 +7152,18 @@ module Google
7116
7152
  class GoogleCloudDocumentaiV1beta3ProcessRequest
7117
7153
  include Google::Apis::Core::Hashable
7118
7154
 
7119
- # Document represents the canonical document resource in Document Understanding
7120
- # AI. It is an interchange format that provides insights into documents and
7121
- # allows for collaboration between users and Document Understanding AI to
7122
- # 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.
7123
7159
  # Corresponds to the JSON property `document`
7124
7160
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document]
7125
7161
  attr_accessor :document
7126
7162
 
7127
- # Document represents the canonical document resource in Document Understanding
7128
- # AI. It is an interchange format that provides insights into documents and
7129
- # allows for collaboration between users and Document Understanding AI to
7130
- # 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.
7131
7167
  # Corresponds to the JSON property `inlineDocument`
7132
7168
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document]
7133
7169
  attr_accessor :inline_document
@@ -7161,10 +7197,10 @@ module Google
7161
7197
  class GoogleCloudDocumentaiV1beta3ProcessResponse
7162
7198
  include Google::Apis::Core::Hashable
7163
7199
 
7164
- # Document represents the canonical document resource in Document Understanding
7165
- # AI. It is an interchange format that provides insights into documents and
7166
- # allows for collaboration between users and Document Understanding AI to
7167
- # 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.
7168
7204
  # Corresponds to the JSON property `document`
7169
7205
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document]
7170
7206
  attr_accessor :document
@@ -7350,6 +7386,12 @@ module Google
7350
7386
  # @return [String]
7351
7387
  attr_accessor :display_name
7352
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
+
7353
7395
  # The KMS key name used for encryption.
7354
7396
  # Corresponds to the JSON property `kmsKeyName`
7355
7397
  # @return [String]
@@ -7380,6 +7422,7 @@ module Google
7380
7422
  def update!(**args)
7381
7423
  @create_time = args[:create_time] if args.key?(:create_time)
7382
7424
  @display_name = args[:display_name] if args.key?(:display_name)
7425
+ @google_managed = args[:google_managed] if args.key?(:google_managed)
7383
7426
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
7384
7427
  @kms_key_version_name = args[:kms_key_version_name] if args.key?(:kms_key_version_name)
7385
7428
  @name = args[:name] if args.key?(:name)
@@ -7467,10 +7510,10 @@ module Google
7467
7510
  class GoogleCloudDocumentaiV1beta3ReviewDocumentRequest
7468
7511
  include Google::Apis::Core::Hashable
7469
7512
 
7470
- # Document represents the canonical document resource in Document Understanding
7471
- # AI. It is an interchange format that provides insights into documents and
7472
- # allows for collaboration between users and Document Understanding AI to
7473
- # 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.
7474
7517
  # Corresponds to the JSON property `document`
7475
7518
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document]
7476
7519
  attr_accessor :document
@@ -7481,10 +7524,10 @@ module Google
7481
7524
  attr_accessor :enable_schema_validation
7482
7525
  alias_method :enable_schema_validation?, :enable_schema_validation
7483
7526
 
7484
- # Document represents the canonical document resource in Document Understanding
7485
- # AI. It is an interchange format that provides insights into documents and
7486
- # allows for collaboration between users and Document Understanding AI to
7487
- # 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.
7488
7531
  # Corresponds to the JSON property `inlineDocument`
7489
7532
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document]
7490
7533
  attr_accessor :inline_document
@@ -7810,8 +7853,7 @@ module Google
7810
7853
  # A generic empty message that you can re-use to avoid defining duplicated empty
7811
7854
  # messages in your APIs. A typical example is to use it as the request or the
7812
7855
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
7813
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
7814
- # `Empty` is empty JSON object ````.
7856
+ # protobuf.Empty) returns (google.protobuf.Empty); `
7815
7857
  class GoogleProtobufEmpty
7816
7858
  include Google::Apis::Core::Hashable
7817
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.37.0"
19
+ GEM_VERSION = "0.40.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 = "20220307"
25
+ REVISION = "20220326"
26
26
  end
27
27
  end
28
28
  end
@@ -1476,6 +1476,7 @@ module Google
1476
1476
  property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1477
1477
 
1478
1478
  property :dest_dataset_type, as: 'destDatasetType'
1479
+ property :dest_split_type, as: 'destSplitType'
1479
1480
  collection :individual_batch_move_statuses, as: 'individualBatchMoveStatuses', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus::Representation
1480
1481
 
1481
1482
  end
@@ -1996,6 +1997,7 @@ module Google
1996
1997
  property :id, as: 'id'
1997
1998
  property :mention_id, as: 'mentionId'
1998
1999
  property :mention_text, as: 'mentionText'
2000
+ property :non_present, as: 'nonPresent'
1999
2001
  property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue::Representation
2000
2002
 
2001
2003
  property :page_anchor, as: 'pageAnchor', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageAnchor, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageAnchor::Representation
@@ -2498,6 +2500,7 @@ module Google
2498
2500
  property :id, as: 'id'
2499
2501
  property :mention_id, as: 'mentionId'
2500
2502
  property :mention_text, as: 'mentionText'
2503
+ property :non_present, as: 'nonPresent'
2501
2504
  property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue::Representation
2502
2505
 
2503
2506
  property :page_anchor, as: 'pageAnchor', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageAnchor, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageAnchor::Representation
@@ -3138,6 +3141,7 @@ module Google
3138
3141
  property :id, as: 'id'
3139
3142
  property :mention_id, as: 'mentionId'
3140
3143
  property :mention_text, as: 'mentionText'
3144
+ property :non_present, as: 'nonPresent'
3141
3145
  property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue::Representation
3142
3146
 
3143
3147
  property :page_anchor, as: 'pageAnchor', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageAnchor, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageAnchor::Representation
@@ -3683,6 +3687,7 @@ module Google
3683
3687
  class Representation < Google::Apis::Core::JsonRepresentation
3684
3688
  property :create_time, as: 'createTime'
3685
3689
  property :display_name, as: 'displayName'
3690
+ property :google_managed, as: 'googleManaged'
3686
3691
  property :kms_key_name, as: 'kmsKeyName'
3687
3692
  property :kms_key_version_name, as: 'kmsKeyVersionName'
3688
3693
  property :name, as: 'name'
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.37.0
4
+ version: 0.40.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-14 00:00:00.000000000 Z
11
+ date: 2022-04-04 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.37.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.40.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: []