google-apis-documentai_v1 0.27.0 → 0.30.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: 5c287f6c606c9fc5f5f2c59da268b1a9d2084e42af3f6394c4c018ba1eaae5a2
4
- data.tar.gz: 03231645672c84d6510119c2a431be608bd3efd714591ca6d6308645427461ea
3
+ metadata.gz: 1ad16f5038e19c0c83b15b329bcda41d55027b82bdc939f34f3625c530ba2311
4
+ data.tar.gz: cc627ce60bf87f4e9aa27a6217b09091a79ac103868e05467d707bc2044927b4
5
5
  SHA512:
6
- metadata.gz: 0d4d9410f6c507bf6feb32dd8edb32517755aabb34949e0143ecdd2ca50b67ac6f9edb80a0f5ac948b1b4dfb4df5405139f7c0ca79f9845022cbdd061da681bc
7
- data.tar.gz: f46fe75933268fa758991ad40e5dbd664aac6b3cd7c72974ccf72e00554e77ce2fb261809fc60622c2e5b61b58322b1b99bd6483dee58daefee0d4c67f22a507
6
+ metadata.gz: 9d4621013e6bdcf4fd2f964451370e0ea91e9f57be46c47203a1297821cc12ad590156b1dd2a55cd6492f4c92e674ff565f6cce554176ae6058e2d6bfd149107
7
+ data.tar.gz: c5d255975824dbe7fb72981c89229083411c41c2db9e944c3eb52318d8889ea4485fdd0164c0fb6c017a0313efd9d22feaed445a8f6dc8204e3bf217245d604c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.30.0 (2022-03-09)
4
+
5
+ * Regenerated from discovery document revision 20220307
6
+
7
+ ### v0.29.0 (2022-03-01)
8
+
9
+ * Regenerated from discovery document revision 20220226
10
+
11
+ ### v0.28.0 (2022-02-24)
12
+
13
+ * Regenerated from discovery document revision 20220222
14
+
3
15
  ### v0.27.0 (2022-02-15)
4
16
 
5
17
  * Regenerated from discovery document revision 20220212
@@ -1252,7 +1252,7 @@ module Google
1252
1252
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntity>]
1253
1253
  attr_accessor :entities
1254
1254
 
1255
- # Relationship among Document.entities.
1255
+ # Placeholder. Relationship among Document.entities.
1256
1256
  # Corresponds to the JSON property `entityRelations`
1257
1257
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentEntityRelation>]
1258
1258
  attr_accessor :entity_relations
@@ -1279,7 +1279,7 @@ module Google
1279
1279
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPage>]
1280
1280
  attr_accessor :pages
1281
1281
 
1282
- # Revision history of this document.
1282
+ # Placeholder. Revision history of this document.
1283
1283
  # Corresponds to the JSON property `revisions`
1284
1284
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentRevision>]
1285
1285
  attr_accessor :revisions
@@ -1295,14 +1295,14 @@ module Google
1295
1295
  # @return [String]
1296
1296
  attr_accessor :text
1297
1297
 
1298
- # A list of text corrections made to [Document.text]. This is usually used for
1299
- # annotating corrections to OCR mistakes. Text changes for a given revision may
1300
- # not overlap with each other.
1298
+ # Placeholder. A list of text corrections made to [Document.text]. This is
1299
+ # usually used for annotating corrections to OCR mistakes. Text changes for a
1300
+ # given revision may not overlap with each other.
1301
1301
  # Corresponds to the JSON property `textChanges`
1302
1302
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentTextChange>]
1303
1303
  attr_accessor :text_changes
1304
1304
 
1305
- # Styles for the Document.text.
1305
+ # Placeholder. Styles for the Document.text.
1306
1306
  # Corresponds to the JSON property `textStyles`
1307
1307
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentStyle>]
1308
1308
  attr_accessor :text_styles
@@ -1451,11 +1451,11 @@ module Google
1451
1451
  # Represents a whole or partial calendar date, such as a birthday. The time of
1452
1452
  # day and time zone are either specified elsewhere or are insignificant. The
1453
1453
  # 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
1454
+ # following: * A full date, with non-zero year, month, and day values. * A month
1455
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
1456
+ # with a zero month and a zero day. * A year and month, with a zero day (for
1457
+ # example, a credit card expiration date). Related types: * google.type.
1458
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
1459
1459
  # Corresponds to the JSON property `dateValue`
1460
1460
  # @return [Google::Apis::DocumentaiV1::GoogleTypeDate]
1461
1461
  attr_accessor :date_value
@@ -3109,7 +3109,8 @@ module Google
3109
3109
  # @return [String]
3110
3110
  attr_accessor :state
3111
3111
 
3112
- # The processor type, e.g., INVOICE_PARSING, W2_PARSING, etc.
3112
+ # The processor type, e.g., OCR_PROCESSOR, INVOICE_PROCESSOR, etc. To get a list
3113
+ # of processors types, see FetchProcessorTypes.
3113
3114
  # Corresponds to the JSON property `type`
3114
3115
  # @return [String]
3115
3116
  attr_accessor :type
@@ -3221,6 +3222,16 @@ module Google
3221
3222
  # @return [String]
3222
3223
  attr_accessor :display_name
3223
3224
 
3225
+ # The KMS key name used for encryption.
3226
+ # Corresponds to the JSON property `kmsKeyName`
3227
+ # @return [String]
3228
+ attr_accessor :kms_key_name
3229
+
3230
+ # The KMS key version with which data is encrypted.
3231
+ # Corresponds to the JSON property `kmsKeyVersionName`
3232
+ # @return [String]
3233
+ attr_accessor :kms_key_version_name
3234
+
3224
3235
  # The resource name of the processor version. Format: `projects/`project`/
3225
3236
  # locations/`location`/processors/`processor`/processorVersions/`
3226
3237
  # processor_version``
@@ -3241,6 +3252,8 @@ module Google
3241
3252
  def update!(**args)
3242
3253
  @create_time = args[:create_time] if args.key?(:create_time)
3243
3254
  @display_name = args[:display_name] if args.key?(:display_name)
3255
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
3256
+ @kms_key_version_name = args[:kms_key_version_name] if args.key?(:kms_key_version_name)
3244
3257
  @name = args[:name] if args.key?(:name)
3245
3258
  @state = args[:state] if args.key?(:state)
3246
3259
  end
@@ -3601,7 +3614,7 @@ module Google
3601
3614
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentEntity>]
3602
3615
  attr_accessor :entities
3603
3616
 
3604
- # Relationship among Document.entities.
3617
+ # Placeholder. Relationship among Document.entities.
3605
3618
  # Corresponds to the JSON property `entityRelations`
3606
3619
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentEntityRelation>]
3607
3620
  attr_accessor :entity_relations
@@ -3628,7 +3641,7 @@ module Google
3628
3641
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPage>]
3629
3642
  attr_accessor :pages
3630
3643
 
3631
- # Revision history of this document.
3644
+ # Placeholder. Revision history of this document.
3632
3645
  # Corresponds to the JSON property `revisions`
3633
3646
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentRevision>]
3634
3647
  attr_accessor :revisions
@@ -3644,14 +3657,14 @@ module Google
3644
3657
  # @return [String]
3645
3658
  attr_accessor :text
3646
3659
 
3647
- # A list of text corrections made to [Document.text]. This is usually used for
3648
- # annotating corrections to OCR mistakes. Text changes for a given revision may
3649
- # not overlap with each other.
3660
+ # Placeholder. A list of text corrections made to [Document.text]. This is
3661
+ # usually used for annotating corrections to OCR mistakes. Text changes for a
3662
+ # given revision may not overlap with each other.
3650
3663
  # Corresponds to the JSON property `textChanges`
3651
3664
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentTextChange>]
3652
3665
  attr_accessor :text_changes
3653
3666
 
3654
- # Styles for the Document.text.
3667
+ # Placeholder. Styles for the Document.text.
3655
3668
  # Corresponds to the JSON property `textStyles`
3656
3669
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentStyle>]
3657
3670
  attr_accessor :text_styles
@@ -3800,11 +3813,11 @@ module Google
3800
3813
  # Represents a whole or partial calendar date, such as a birthday. The time of
3801
3814
  # day and time zone are either specified elsewhere or are insignificant. The
3802
3815
  # date is relative to the Gregorian Calendar. This can represent one of the
3803
- # following: * A full date, with non-zero year, month, and day values * A month
3804
- # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
3805
- # zero month and a zero day * A year and month, with a zero day (e.g., a credit
3806
- # card expiration date) Related types: * google.type.TimeOfDay * google.type.
3807
- # DateTime * google.protobuf.Timestamp
3816
+ # following: * A full date, with non-zero year, month, and day values. * A month
3817
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
3818
+ # with a zero month and a zero day. * A year and month, with a zero day (for
3819
+ # example, a credit card expiration date). Related types: * google.type.
3820
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
3808
3821
  # Corresponds to the JSON property `dateValue`
3809
3822
  # @return [Google::Apis::DocumentaiV1::GoogleTypeDate]
3810
3823
  attr_accessor :date_value
@@ -5353,7 +5366,7 @@ module Google
5353
5366
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentEntity>]
5354
5367
  attr_accessor :entities
5355
5368
 
5356
- # Relationship among Document.entities.
5369
+ # Placeholder. Relationship among Document.entities.
5357
5370
  # Corresponds to the JSON property `entityRelations`
5358
5371
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentEntityRelation>]
5359
5372
  attr_accessor :entity_relations
@@ -5385,7 +5398,7 @@ module Google
5385
5398
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPage>]
5386
5399
  attr_accessor :pages
5387
5400
 
5388
- # Revision history of this document.
5401
+ # Placeholder. Revision history of this document.
5389
5402
  # Corresponds to the JSON property `revisions`
5390
5403
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentRevision>]
5391
5404
  attr_accessor :revisions
@@ -5401,14 +5414,14 @@ module Google
5401
5414
  # @return [String]
5402
5415
  attr_accessor :text
5403
5416
 
5404
- # A list of text corrections made to [Document.text]. This is usually used for
5405
- # annotating corrections to OCR mistakes. Text changes for a given revision may
5406
- # not overlap with each other.
5417
+ # Placeholder. A list of text corrections made to [Document.text]. This is
5418
+ # usually used for annotating corrections to OCR mistakes. Text changes for a
5419
+ # given revision may not overlap with each other.
5407
5420
  # Corresponds to the JSON property `textChanges`
5408
5421
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentTextChange>]
5409
5422
  attr_accessor :text_changes
5410
5423
 
5411
- # Styles for the Document.text.
5424
+ # Placeholder. Styles for the Document.text.
5412
5425
  # Corresponds to the JSON property `textStyles`
5413
5426
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentStyle>]
5414
5427
  attr_accessor :text_styles
@@ -5558,11 +5571,11 @@ module Google
5558
5571
  # Represents a whole or partial calendar date, such as a birthday. The time of
5559
5572
  # day and time zone are either specified elsewhere or are insignificant. The
5560
5573
  # date is relative to the Gregorian Calendar. This can represent one of the
5561
- # following: * A full date, with non-zero year, month, and day values * A month
5562
- # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
5563
- # zero month and a zero day * A year and month, with a zero day (e.g., a credit
5564
- # card expiration date) Related types: * google.type.TimeOfDay * google.type.
5565
- # DateTime * google.protobuf.Timestamp
5574
+ # following: * A full date, with non-zero year, month, and day values. * A month
5575
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
5576
+ # with a zero month and a zero day. * A year and month, with a zero day (for
5577
+ # example, a credit card expiration date). Related types: * google.type.
5578
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
5566
5579
  # Corresponds to the JSON property `dateValue`
5567
5580
  # @return [Google::Apis::DocumentaiV1::GoogleTypeDate]
5568
5581
  attr_accessor :date_value
@@ -7856,11 +7869,11 @@ module Google
7856
7869
  # Represents a whole or partial calendar date, such as a birthday. The time of
7857
7870
  # day and time zone are either specified elsewhere or are insignificant. The
7858
7871
  # date is relative to the Gregorian Calendar. This can represent one of the
7859
- # following: * A full date, with non-zero year, month, and day values * A month
7860
- # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
7861
- # zero month and a zero day * A year and month, with a zero day (e.g., a credit
7862
- # card expiration date) Related types: * google.type.TimeOfDay * google.type.
7863
- # DateTime * google.protobuf.Timestamp
7872
+ # following: * A full date, with non-zero year, month, and day values. * A month
7873
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
7874
+ # with a zero month and a zero day. * A year and month, with a zero day (for
7875
+ # example, a credit card expiration date). Related types: * google.type.
7876
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
7864
7877
  class GoogleTypeDate
7865
7878
  include Google::Apis::Core::Hashable
7866
7879
 
@@ -8099,8 +8112,8 @@ module Google
8099
8112
  attr_accessor :recipients
8100
8113
 
8101
8114
  # Required. CLDR region code of the country/region of the address. This is never
8102
- # inferred and it is up to the user to ensure the value is correct. See http://
8103
- # cldr.unicode.org/ and http://www.unicode.org/cldr/charts/30/supplemental/
8115
+ # inferred and it is up to the user to ensure the value is correct. See https://
8116
+ # cldr.unicode.org/ and https://www.unicode.org/cldr/charts/30/supplemental/
8104
8117
  # territory_information.html for details. Example: "CH" for Switzerland.
8105
8118
  # Corresponds to the JSON property `regionCode`
8106
8119
  # @return [String]
@@ -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.27.0"
19
+ GEM_VERSION = "0.30.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 = "20220212"
25
+ REVISION = "20220307"
26
26
  end
27
27
  end
28
28
  end
@@ -2465,6 +2465,8 @@ module Google
2465
2465
  class Representation < Google::Apis::Core::JsonRepresentation
2466
2466
  property :create_time, as: 'createTime'
2467
2467
  property :display_name, as: 'displayName'
2468
+ property :kms_key_name, as: 'kmsKeyName'
2469
+ property :kms_key_version_name, as: 'kmsKeyVersionName'
2468
2470
  property :name, as: 'name'
2469
2471
  property :state, as: 'state'
2470
2472
  end
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.27.0
4
+ version: 0.30.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-02-21 00:00:00.000000000 Z
11
+ date: 2022-03-14 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.27.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.30.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: []