google-apis-documentai_v1 0.30.0 → 0.33.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: 1ad16f5038e19c0c83b15b329bcda41d55027b82bdc939f34f3625c530ba2311
4
- data.tar.gz: cc627ce60bf87f4e9aa27a6217b09091a79ac103868e05467d707bc2044927b4
3
+ metadata.gz: c91749d4825581ae5dc9a8199ac1846acd231ad910eb7fc4f4cff5bbfd3cb860
4
+ data.tar.gz: 243cd52ab16969dbc1211116297b3e27a2fb58745de0e977c91618b3b7c890e2
5
5
  SHA512:
6
- metadata.gz: 9d4621013e6bdcf4fd2f964451370e0ea91e9f57be46c47203a1297821cc12ad590156b1dd2a55cd6492f4c92e674ff565f6cce554176ae6058e2d6bfd149107
7
- data.tar.gz: c5d255975824dbe7fb72981c89229083411c41c2db9e944c3eb52318d8889ea4485fdd0164c0fb6c017a0313efd9d22feaed445a8f6dc8204e3bf217245d604c
6
+ metadata.gz: 8946bf13195b24831c89a7750895db5f54f6151b3ed6541d694efbab88c00031e4cd1761f73d319716daa2c0faaa1c31362f79b7c845f98c9c6b19bab5171525
7
+ data.tar.gz: 6fbe890abfc4943cb1f62873598f29cf79d48e4851951a2aabddb7dc47d42182047396b35b9d9078c80896914fdf57855f6b4698a6763207688d70715d4e3dc3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.33.0 (2022-03-29)
4
+
5
+ * Regenerated from discovery document revision 20220326
6
+
7
+ ### v0.32.0 (2022-03-23)
8
+
9
+ * Regenerated from discovery document revision 20220321
10
+
11
+ ### v0.31.0 (2022-03-15)
12
+
13
+ * Regenerated from discovery document revision 20220311
14
+
3
15
  ### v0.30.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::DocumentaiV1::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
@@ -1231,10 +1237,10 @@ module Google
1231
1237
  end
1232
1238
  end
1233
1239
 
1234
- # Document represents the canonical document resource in Document Understanding
1235
- # AI. It is an interchange format that provides insights into documents and
1236
- # allows for collaboration between users and Document Understanding AI to
1237
- # 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.
1238
1244
  class GoogleCloudDocumentaiV1Document
1239
1245
  include Google::Apis::Core::Hashable
1240
1246
 
@@ -1364,6 +1370,15 @@ module Google
1364
1370
  # @return [String]
1365
1371
  attr_accessor :mention_text
1366
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
+
1367
1382
  # Parsed and normalized entity value.
1368
1383
  # Corresponds to the JSON property `normalizedValue`
1369
1384
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntityNormalizedValue]
@@ -1399,7 +1414,7 @@ module Google
1399
1414
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentTextAnchor]
1400
1415
  attr_accessor :text_anchor
1401
1416
 
1402
- # Entity type from a schema e.g. `Address`.
1417
+ # Required. Entity type from a schema e.g. `Address`.
1403
1418
  # Corresponds to the JSON property `type`
1404
1419
  # @return [String]
1405
1420
  attr_accessor :type
@@ -1414,6 +1429,7 @@ module Google
1414
1429
  @id = args[:id] if args.key?(:id)
1415
1430
  @mention_id = args[:mention_id] if args.key?(:mention_id)
1416
1431
  @mention_text = args[:mention_text] if args.key?(:mention_text)
1432
+ @non_present = args[:non_present] if args.key?(:non_present)
1417
1433
  @normalized_value = args[:normalized_value] if args.key?(:normalized_value)
1418
1434
  @page_anchor = args[:page_anchor] if args.key?(:page_anchor)
1419
1435
  @properties = args[:properties] if args.key?(:properties)
@@ -3006,10 +3022,10 @@ module Google
3006
3022
  class GoogleCloudDocumentaiV1ProcessRequest
3007
3023
  include Google::Apis::Core::Hashable
3008
3024
 
3009
- # Document represents the canonical document resource in Document Understanding
3010
- # AI. It is an interchange format that provides insights into documents and
3011
- # allows for collaboration between users and Document Understanding AI to
3012
- # 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.
3013
3029
  # Corresponds to the JSON property `inlineDocument`
3014
3030
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Document]
3015
3031
  attr_accessor :inline_document
@@ -3042,10 +3058,10 @@ module Google
3042
3058
  class GoogleCloudDocumentaiV1ProcessResponse
3043
3059
  include Google::Apis::Core::Hashable
3044
3060
 
3045
- # Document represents the canonical document resource in Document Understanding
3046
- # AI. It is an interchange format that provides insights into documents and
3047
- # allows for collaboration between users and Document Understanding AI to
3048
- # 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.
3049
3065
  # Corresponds to the JSON property `document`
3050
3066
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Document]
3051
3067
  attr_accessor :document
@@ -3222,6 +3238,12 @@ module Google
3222
3238
  # @return [String]
3223
3239
  attr_accessor :display_name
3224
3240
 
3241
+ # Denotes that this ProcessorVersion is managed by google.
3242
+ # Corresponds to the JSON property `googleManaged`
3243
+ # @return [Boolean]
3244
+ attr_accessor :google_managed
3245
+ alias_method :google_managed?, :google_managed
3246
+
3225
3247
  # The KMS key name used for encryption.
3226
3248
  # Corresponds to the JSON property `kmsKeyName`
3227
3249
  # @return [String]
@@ -3252,6 +3274,7 @@ module Google
3252
3274
  def update!(**args)
3253
3275
  @create_time = args[:create_time] if args.key?(:create_time)
3254
3276
  @display_name = args[:display_name] if args.key?(:display_name)
3277
+ @google_managed = args[:google_managed] if args.key?(:google_managed)
3255
3278
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
3256
3279
  @kms_key_version_name = args[:kms_key_version_name] if args.key?(:kms_key_version_name)
3257
3280
  @name = args[:name] if args.key?(:name)
@@ -3320,10 +3343,10 @@ module Google
3320
3343
  attr_accessor :enable_schema_validation
3321
3344
  alias_method :enable_schema_validation?, :enable_schema_validation
3322
3345
 
3323
- # Document represents the canonical document resource in Document Understanding
3324
- # AI. It is an interchange format that provides insights into documents and
3325
- # allows for collaboration between users and Document Understanding AI to
3326
- # iterate and optimize for quality.
3346
+ # Document represents the canonical document resource in Document AI. It is an
3347
+ # interchange format that provides insights into documents and allows for
3348
+ # collaboration between users and Document AI to iterate and optimize for
3349
+ # quality.
3327
3350
  # Corresponds to the JSON property `inlineDocument`
3328
3351
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Document]
3329
3352
  attr_accessor :inline_document
@@ -3593,10 +3616,10 @@ module Google
3593
3616
  end
3594
3617
  end
3595
3618
 
3596
- # Document represents the canonical document resource in Document Understanding
3597
- # AI. It is an interchange format that provides insights into documents and
3598
- # allows for collaboration between users and Document Understanding AI to
3599
- # iterate and optimize for quality.
3619
+ # Document represents the canonical document resource in Document AI. It is an
3620
+ # interchange format that provides insights into documents and allows for
3621
+ # collaboration between users and Document AI to iterate and optimize for
3622
+ # quality.
3600
3623
  class GoogleCloudDocumentaiV1beta1Document
3601
3624
  include Google::Apis::Core::Hashable
3602
3625
 
@@ -3726,6 +3749,15 @@ module Google
3726
3749
  # @return [String]
3727
3750
  attr_accessor :mention_text
3728
3751
 
3752
+ # Optional. This attribute indicates that the processing didn't actually
3753
+ # identify this entity, but a confidence score was assigned that represent the
3754
+ # potential that this could be a false negative. A non-present entity should
3755
+ # have an empty mention_text and text_anchor.
3756
+ # Corresponds to the JSON property `nonPresent`
3757
+ # @return [Boolean]
3758
+ attr_accessor :non_present
3759
+ alias_method :non_present?, :non_present
3760
+
3729
3761
  # Parsed and normalized entity value.
3730
3762
  # Corresponds to the JSON property `normalizedValue`
3731
3763
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue]
@@ -3761,7 +3793,7 @@ module Google
3761
3793
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentTextAnchor]
3762
3794
  attr_accessor :text_anchor
3763
3795
 
3764
- # Entity type from a schema e.g. `Address`.
3796
+ # Required. Entity type from a schema e.g. `Address`.
3765
3797
  # Corresponds to the JSON property `type`
3766
3798
  # @return [String]
3767
3799
  attr_accessor :type
@@ -3776,6 +3808,7 @@ module Google
3776
3808
  @id = args[:id] if args.key?(:id)
3777
3809
  @mention_id = args[:mention_id] if args.key?(:mention_id)
3778
3810
  @mention_text = args[:mention_text] if args.key?(:mention_text)
3811
+ @non_present = args[:non_present] if args.key?(:non_present)
3779
3812
  @normalized_value = args[:normalized_value] if args.key?(:normalized_value)
3780
3813
  @page_anchor = args[:page_anchor] if args.key?(:page_anchor)
3781
3814
  @properties = args[:properties] if args.key?(:properties)
@@ -5345,10 +5378,10 @@ module Google
5345
5378
  end
5346
5379
  end
5347
5380
 
5348
- # Document represents the canonical document resource in Document Understanding
5349
- # AI. It is an interchange format that provides insights into documents and
5350
- # allows for collaboration between users and Document Understanding AI to
5351
- # iterate and optimize for quality.
5381
+ # Document represents the canonical document resource in Document AI. It is an
5382
+ # interchange format that provides insights into documents and allows for
5383
+ # collaboration between users and Document AI to iterate and optimize for
5384
+ # quality.
5352
5385
  class GoogleCloudDocumentaiV1beta2Document
5353
5386
  include Google::Apis::Core::Hashable
5354
5387
 
@@ -5484,6 +5517,15 @@ module Google
5484
5517
  # @return [String]
5485
5518
  attr_accessor :mention_text
5486
5519
 
5520
+ # Optional. This attribute indicates that the processing didn't actually
5521
+ # identify this entity, but a confidence score was assigned that represent the
5522
+ # potential that this could be a false negative. A non-present entity should
5523
+ # have an empty mention_text and text_anchor.
5524
+ # Corresponds to the JSON property `nonPresent`
5525
+ # @return [Boolean]
5526
+ attr_accessor :non_present
5527
+ alias_method :non_present?, :non_present
5528
+
5487
5529
  # Parsed and normalized entity value.
5488
5530
  # Corresponds to the JSON property `normalizedValue`
5489
5531
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue]
@@ -5519,7 +5561,7 @@ module Google
5519
5561
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentTextAnchor]
5520
5562
  attr_accessor :text_anchor
5521
5563
 
5522
- # Entity type from a schema e.g. `Address`.
5564
+ # Required. Entity type from a schema e.g. `Address`.
5523
5565
  # Corresponds to the JSON property `type`
5524
5566
  # @return [String]
5525
5567
  attr_accessor :type
@@ -5534,6 +5576,7 @@ module Google
5534
5576
  @id = args[:id] if args.key?(:id)
5535
5577
  @mention_id = args[:mention_id] if args.key?(:mention_id)
5536
5578
  @mention_text = args[:mention_text] if args.key?(:mention_text)
5579
+ @non_present = args[:non_present] if args.key?(:non_present)
5537
5580
  @normalized_value = args[:normalized_value] if args.key?(:normalized_value)
5538
5581
  @page_anchor = args[:page_anchor] if args.key?(:page_anchor)
5539
5582
  @properties = args[:properties] if args.key?(:properties)
@@ -7725,8 +7768,7 @@ module Google
7725
7768
  # A generic empty message that you can re-use to avoid defining duplicated empty
7726
7769
  # messages in your APIs. A typical example is to use it as the request or the
7727
7770
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
7728
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
7729
- # `Empty` is empty JSON object ````.
7771
+ # protobuf.Empty) returns (google.protobuf.Empty); `
7730
7772
  class GoogleProtobufEmpty
7731
7773
  include Google::Apis::Core::Hashable
7732
7774
 
@@ -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.30.0"
19
+ GEM_VERSION = "0.33.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
@@ -1464,6 +1464,7 @@ module Google
1464
1464
  property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1465
1465
 
1466
1466
  property :dest_dataset_type, as: 'destDatasetType'
1467
+ property :dest_split_type, as: 'destSplitType'
1467
1468
  collection :individual_batch_move_statuses, as: 'individualBatchMoveStatuses', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus::Representation
1468
1469
 
1469
1470
  end
@@ -1923,6 +1924,7 @@ module Google
1923
1924
  property :id, as: 'id'
1924
1925
  property :mention_id, as: 'mentionId'
1925
1926
  property :mention_text, as: 'mentionText'
1927
+ property :non_present, as: 'nonPresent'
1926
1928
  property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntityNormalizedValue::Representation
1927
1929
 
1928
1930
  property :page_anchor, as: 'pageAnchor', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageAnchor, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageAnchor::Representation
@@ -2465,6 +2467,7 @@ module Google
2465
2467
  class Representation < Google::Apis::Core::JsonRepresentation
2466
2468
  property :create_time, as: 'createTime'
2467
2469
  property :display_name, as: 'displayName'
2470
+ property :google_managed, as: 'googleManaged'
2468
2471
  property :kms_key_name, as: 'kmsKeyName'
2469
2472
  property :kms_key_version_name, as: 'kmsKeyVersionName'
2470
2473
  property :name, as: 'name'
@@ -2625,6 +2628,7 @@ module Google
2625
2628
  property :id, as: 'id'
2626
2629
  property :mention_id, as: 'mentionId'
2627
2630
  property :mention_text, as: 'mentionText'
2631
+ property :non_present, as: 'nonPresent'
2628
2632
  property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue::Representation
2629
2633
 
2630
2634
  property :page_anchor, as: 'pageAnchor', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageAnchor, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageAnchor::Representation
@@ -3127,6 +3131,7 @@ module Google
3127
3131
  property :id, as: 'id'
3128
3132
  property :mention_id, as: 'mentionId'
3129
3133
  property :mention_text, as: 'mentionText'
3134
+ property :non_present, as: 'nonPresent'
3130
3135
  property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue::Representation
3131
3136
 
3132
3137
  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.30.0
4
+ version: 0.33.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.30.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.33.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: []