google-apis-documentai_v1 0.29.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: 89acd2b04ff36e88c20c9e7118acf413cb9fdcfa1961c92554475259ea82e85e
4
- data.tar.gz: 68828fea3a1410497ca27bfa7e7a3d1ce97c1014fac70b043a5b08f330bcc3fd
3
+ metadata.gz: d3f9daa8a4c64a9159feae67822c0ee6cdc1bcfb26aa8c0f9b6ecadc26a98825
4
+ data.tar.gz: b7fe13bdb782c52b3e287b2432cfb2f881a5164879ff27ba315410729aff2dac
5
5
  SHA512:
6
- metadata.gz: 2b35037105b1b0eb377257d429e45c26c2911bc1457a9d798af0088976e742fb3ff9b55789b6543be6a9a656632aac5a7f44778476bc74e82c15aa5a6d0d81ae
7
- data.tar.gz: d9f482ed42671a3da17457ee7e65940b113718f2b3ca4cbd108b20d4079aea148b2a91a371e7440840f35bd2e3f142d1b591b94f7294cec3ace5738960361173
6
+ metadata.gz: a53eb45b1b48bf0a17e88a12d7ab57000e69f5e9a4092515e4dd11913b4ad9580a46a6a60b6070ffdcd2fb49717cd4aac949619e1d9f68f6557cbabbfa664bc1
7
+ data.tar.gz: 8604f3167d1e340056958f529644f0bb68ab8041394b6c6a4c2b54bbbbb46caedbbc4c3e492d999a22a649ded02324f43eb17055b92e1ede92c06d9be3dbb65f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
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
+
7
+ ### v0.31.0 (2022-03-15)
8
+
9
+ * Regenerated from discovery document revision 20220311
10
+
11
+ ### v0.30.0 (2022-03-09)
12
+
13
+ * Regenerated from discovery document revision 20220307
14
+
3
15
  ### v0.29.0 (2022-03-01)
4
16
 
5
17
  * Regenerated from discovery document revision 20220226
@@ -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]
@@ -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)
@@ -1451,11 +1467,11 @@ module Google
1451
1467
  # Represents a whole or partial calendar date, such as a birthday. The time of
1452
1468
  # day and time zone are either specified elsewhere or are insignificant. The
1453
1469
  # date is relative to the Gregorian Calendar. This can represent one of the
1454
- # following: * A full date, with non-zero year, month, and day values * A month
1455
- # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
1456
- # zero month and a zero day * A year and month, with a zero day (e.g., a credit
1457
- # card expiration date) Related types: * google.type.TimeOfDay * google.type.
1458
- # DateTime * google.protobuf.Timestamp
1470
+ # following: * A full date, with non-zero year, month, and day values. * A month
1471
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
1472
+ # with a zero month and a zero day. * A year and month, with a zero day (for
1473
+ # example, a credit card expiration date). Related types: * google.type.
1474
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
1459
1475
  # Corresponds to the JSON property `dateValue`
1460
1476
  # @return [Google::Apis::DocumentaiV1::GoogleTypeDate]
1461
1477
  attr_accessor :date_value
@@ -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
@@ -3320,10 +3336,10 @@ module Google
3320
3336
  attr_accessor :enable_schema_validation
3321
3337
  alias_method :enable_schema_validation?, :enable_schema_validation
3322
3338
 
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.
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.
3327
3343
  # Corresponds to the JSON property `inlineDocument`
3328
3344
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Document]
3329
3345
  attr_accessor :inline_document
@@ -3593,10 +3609,10 @@ module Google
3593
3609
  end
3594
3610
  end
3595
3611
 
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.
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.
3600
3616
  class GoogleCloudDocumentaiV1beta1Document
3601
3617
  include Google::Apis::Core::Hashable
3602
3618
 
@@ -3726,6 +3742,15 @@ module Google
3726
3742
  # @return [String]
3727
3743
  attr_accessor :mention_text
3728
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
+
3729
3754
  # Parsed and normalized entity value.
3730
3755
  # Corresponds to the JSON property `normalizedValue`
3731
3756
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue]
@@ -3776,6 +3801,7 @@ module Google
3776
3801
  @id = args[:id] if args.key?(:id)
3777
3802
  @mention_id = args[:mention_id] if args.key?(:mention_id)
3778
3803
  @mention_text = args[:mention_text] if args.key?(:mention_text)
3804
+ @non_present = args[:non_present] if args.key?(:non_present)
3779
3805
  @normalized_value = args[:normalized_value] if args.key?(:normalized_value)
3780
3806
  @page_anchor = args[:page_anchor] if args.key?(:page_anchor)
3781
3807
  @properties = args[:properties] if args.key?(:properties)
@@ -3813,11 +3839,11 @@ module Google
3813
3839
  # Represents a whole or partial calendar date, such as a birthday. The time of
3814
3840
  # day and time zone are either specified elsewhere or are insignificant. The
3815
3841
  # date is relative to the Gregorian Calendar. This can represent one of the
3816
- # following: * A full date, with non-zero year, month, and day values * A month
3817
- # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
3818
- # zero month and a zero day * A year and month, with a zero day (e.g., a credit
3819
- # card expiration date) Related types: * google.type.TimeOfDay * google.type.
3820
- # DateTime * google.protobuf.Timestamp
3842
+ # following: * A full date, with non-zero year, month, and day values. * A month
3843
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
3844
+ # with a zero month and a zero day. * A year and month, with a zero day (for
3845
+ # example, a credit card expiration date). Related types: * google.type.
3846
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
3821
3847
  # Corresponds to the JSON property `dateValue`
3822
3848
  # @return [Google::Apis::DocumentaiV1::GoogleTypeDate]
3823
3849
  attr_accessor :date_value
@@ -5345,10 +5371,10 @@ module Google
5345
5371
  end
5346
5372
  end
5347
5373
 
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.
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.
5352
5378
  class GoogleCloudDocumentaiV1beta2Document
5353
5379
  include Google::Apis::Core::Hashable
5354
5380
 
@@ -5484,6 +5510,15 @@ module Google
5484
5510
  # @return [String]
5485
5511
  attr_accessor :mention_text
5486
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
+
5487
5522
  # Parsed and normalized entity value.
5488
5523
  # Corresponds to the JSON property `normalizedValue`
5489
5524
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue]
@@ -5534,6 +5569,7 @@ module Google
5534
5569
  @id = args[:id] if args.key?(:id)
5535
5570
  @mention_id = args[:mention_id] if args.key?(:mention_id)
5536
5571
  @mention_text = args[:mention_text] if args.key?(:mention_text)
5572
+ @non_present = args[:non_present] if args.key?(:non_present)
5537
5573
  @normalized_value = args[:normalized_value] if args.key?(:normalized_value)
5538
5574
  @page_anchor = args[:page_anchor] if args.key?(:page_anchor)
5539
5575
  @properties = args[:properties] if args.key?(:properties)
@@ -5571,11 +5607,11 @@ module Google
5571
5607
  # Represents a whole or partial calendar date, such as a birthday. The time of
5572
5608
  # day and time zone are either specified elsewhere or are insignificant. The
5573
5609
  # date is relative to the Gregorian Calendar. This can represent one of the
5574
- # following: * A full date, with non-zero year, month, and day values * A month
5575
- # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
5576
- # zero month and a zero day * A year and month, with a zero day (e.g., a credit
5577
- # card expiration date) Related types: * google.type.TimeOfDay * google.type.
5578
- # DateTime * google.protobuf.Timestamp
5610
+ # following: * A full date, with non-zero year, month, and day values. * A month
5611
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
5612
+ # with a zero month and a zero day. * A year and month, with a zero day (for
5613
+ # example, a credit card expiration date). Related types: * google.type.
5614
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
5579
5615
  # Corresponds to the JSON property `dateValue`
5580
5616
  # @return [Google::Apis::DocumentaiV1::GoogleTypeDate]
5581
5617
  attr_accessor :date_value
@@ -7725,8 +7761,7 @@ module Google
7725
7761
  # A generic empty message that you can re-use to avoid defining duplicated empty
7726
7762
  # messages in your APIs. A typical example is to use it as the request or the
7727
7763
  # 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 ````.
7764
+ # protobuf.Empty) returns (google.protobuf.Empty); `
7730
7765
  class GoogleProtobufEmpty
7731
7766
  include Google::Apis::Core::Hashable
7732
7767
 
@@ -7869,11 +7904,11 @@ module Google
7869
7904
  # Represents a whole or partial calendar date, such as a birthday. The time of
7870
7905
  # day and time zone are either specified elsewhere or are insignificant. The
7871
7906
  # date is relative to the Gregorian Calendar. This can represent one of the
7872
- # following: * A full date, with non-zero year, month, and day values * A month
7873
- # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
7874
- # zero month and a zero day * A year and month, with a zero day (e.g., a credit
7875
- # card expiration date) Related types: * google.type.TimeOfDay * google.type.
7876
- # DateTime * google.protobuf.Timestamp
7907
+ # following: * A full date, with non-zero year, month, and day values. * A month
7908
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
7909
+ # with a zero month and a zero day. * A year and month, with a zero day (for
7910
+ # example, a credit card expiration date). Related types: * google.type.
7911
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
7877
7912
  class GoogleTypeDate
7878
7913
  include Google::Apis::Core::Hashable
7879
7914
 
@@ -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.29.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 = "20220226"
25
+ REVISION = "20220321"
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
@@ -2625,6 +2627,7 @@ module Google
2625
2627
  property :id, as: 'id'
2626
2628
  property :mention_id, as: 'mentionId'
2627
2629
  property :mention_text, as: 'mentionText'
2630
+ property :non_present, as: 'nonPresent'
2628
2631
  property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentEntityNormalizedValue::Representation
2629
2632
 
2630
2633
  property :page_anchor, as: 'pageAnchor', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageAnchor, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageAnchor::Representation
@@ -3127,6 +3130,7 @@ module Google
3127
3130
  property :id, as: 'id'
3128
3131
  property :mention_id, as: 'mentionId'
3129
3132
  property :mention_text, as: 'mentionText'
3133
+ property :non_present, as: 'nonPresent'
3130
3134
  property :normalized_value, as: 'normalizedValue', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue::Representation
3131
3135
 
3132
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.29.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-07 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.29.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: []