google-apis-documentai_v1beta3 0.34.0 → 0.37.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: d8ddec4ba5c12ec235cb7571b1909c57ecc7a6f56f2abd3d2b3c623e9a74485e
4
- data.tar.gz: d9cc1f8f78fe0bdb6ca0cfa33ed043075cafcf29429ae59968091ab5c10f7088
3
+ metadata.gz: 34e2976796bee34eaa026392da168ffdce3312314bd12f91c7a75af3c8e49e41
4
+ data.tar.gz: 0f8e0b30172a2e9abb0fe10de3b7236fd1ff3ce064052295ecb7024f012b679a
5
5
  SHA512:
6
- metadata.gz: 857534320d6603b275516367306bc3798e5f7ff5dd6daa8a83ff2f01eb46e4e4e4212e98b4b24b3640a2f922d7ab88a1aaafd00d854c0209271b2b955a10cdd8
7
- data.tar.gz: c9926b2177758cb0d332b072fc718c769a59fd06a9e2e2bd25ab12d802607a1894241bd85de170a2e146022e79a2cbcc7738173d30fa3cdbb1df0163ed3dc0e4
6
+ metadata.gz: 70440bc8057990857ec3da91eba1c310d0a65a719c2dfac45fb1b4143f1d4f7d4ba0e0f423590f0dc033bcb251905c19f5b19eb27e9e65235b4426501cf890a5
7
+ data.tar.gz: d4c37829dc3783f4944a1edda9ec953d8f4c95b3e8835b61d8a4ec8f94e856c67ff1801a4a50059aa1030ceff1f8a472bbaba40220e94af77c320ec39f6ff9df
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
+ ### v0.37.0 (2022-03-09)
4
+
5
+ * Regenerated from discovery document revision 20220307
6
+
7
+ ### v0.36.0 (2022-03-01)
8
+
9
+ * Regenerated from discovery document revision 20220226
10
+
11
+ ### v0.35.0 (2022-02-24)
12
+
13
+ * Regenerated from discovery document revision 20220222
14
+
3
15
  ### v0.34.0 (2022-02-15)
4
16
 
5
17
  * Regenerated from discovery document revision 20220212
@@ -1424,7 +1424,7 @@ module Google
1424
1424
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentEntity>]
1425
1425
  attr_accessor :entities
1426
1426
 
1427
- # Relationship among Document.entities.
1427
+ # Placeholder. Relationship among Document.entities.
1428
1428
  # Corresponds to the JSON property `entityRelations`
1429
1429
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentEntityRelation>]
1430
1430
  attr_accessor :entity_relations
@@ -1451,7 +1451,7 @@ module Google
1451
1451
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPage>]
1452
1452
  attr_accessor :pages
1453
1453
 
1454
- # Revision history of this document.
1454
+ # Placeholder. Revision history of this document.
1455
1455
  # Corresponds to the JSON property `revisions`
1456
1456
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentRevision>]
1457
1457
  attr_accessor :revisions
@@ -1467,14 +1467,14 @@ module Google
1467
1467
  # @return [String]
1468
1468
  attr_accessor :text
1469
1469
 
1470
- # A list of text corrections made to [Document.text]. This is usually used for
1471
- # annotating corrections to OCR mistakes. Text changes for a given revision may
1472
- # not overlap with each other.
1470
+ # Placeholder. A list of text corrections made to [Document.text]. This is
1471
+ # usually used for annotating corrections to OCR mistakes. Text changes for a
1472
+ # given revision may not overlap with each other.
1473
1473
  # Corresponds to the JSON property `textChanges`
1474
1474
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentTextChange>]
1475
1475
  attr_accessor :text_changes
1476
1476
 
1477
- # Styles for the Document.text.
1477
+ # Placeholder. Styles for the Document.text.
1478
1478
  # Corresponds to the JSON property `textStyles`
1479
1479
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentStyle>]
1480
1480
  attr_accessor :text_styles
@@ -1623,11 +1623,11 @@ module Google
1623
1623
  # Represents a whole or partial calendar date, such as a birthday. The time of
1624
1624
  # day and time zone are either specified elsewhere or are insignificant. The
1625
1625
  # date is relative to the Gregorian Calendar. This can represent one of the
1626
- # following: * A full date, with non-zero year, month, and day values * A month
1627
- # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
1628
- # zero month and a zero day * A year and month, with a zero day (e.g., a credit
1629
- # card expiration date) Related types: * google.type.TimeOfDay * google.type.
1630
- # DateTime * google.protobuf.Timestamp
1626
+ # following: * A full date, with non-zero year, month, and day values. * A month
1627
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
1628
+ # with a zero month and a zero day. * A year and month, with a zero day (for
1629
+ # example, a credit card expiration date). Related types: * google.type.
1630
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
1631
1631
  # Corresponds to the JSON property `dateValue`
1632
1632
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypeDate]
1633
1633
  attr_accessor :date_value
@@ -3176,7 +3176,7 @@ module Google
3176
3176
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentEntity>]
3177
3177
  attr_accessor :entities
3178
3178
 
3179
- # Relationship among Document.entities.
3179
+ # Placeholder. Relationship among Document.entities.
3180
3180
  # Corresponds to the JSON property `entityRelations`
3181
3181
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentEntityRelation>]
3182
3182
  attr_accessor :entity_relations
@@ -3208,7 +3208,7 @@ module Google
3208
3208
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPage>]
3209
3209
  attr_accessor :pages
3210
3210
 
3211
- # Revision history of this document.
3211
+ # Placeholder. Revision history of this document.
3212
3212
  # Corresponds to the JSON property `revisions`
3213
3213
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentRevision>]
3214
3214
  attr_accessor :revisions
@@ -3224,14 +3224,14 @@ module Google
3224
3224
  # @return [String]
3225
3225
  attr_accessor :text
3226
3226
 
3227
- # A list of text corrections made to [Document.text]. This is usually used for
3228
- # annotating corrections to OCR mistakes. Text changes for a given revision may
3229
- # not overlap with each other.
3227
+ # Placeholder. A list of text corrections made to [Document.text]. This is
3228
+ # usually used for annotating corrections to OCR mistakes. Text changes for a
3229
+ # given revision may not overlap with each other.
3230
3230
  # Corresponds to the JSON property `textChanges`
3231
3231
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentTextChange>]
3232
3232
  attr_accessor :text_changes
3233
3233
 
3234
- # Styles for the Document.text.
3234
+ # Placeholder. Styles for the Document.text.
3235
3235
  # Corresponds to the JSON property `textStyles`
3236
3236
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentStyle>]
3237
3237
  attr_accessor :text_styles
@@ -3381,11 +3381,11 @@ module Google
3381
3381
  # Represents a whole or partial calendar date, such as a birthday. The time of
3382
3382
  # day and time zone are either specified elsewhere or are insignificant. The
3383
3383
  # date is relative to the Gregorian Calendar. This can represent one of the
3384
- # following: * A full date, with non-zero year, month, and day values * A month
3385
- # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
3386
- # zero month and a zero day * A year and month, with a zero day (e.g., a credit
3387
- # card expiration date) Related types: * google.type.TimeOfDay * google.type.
3388
- # DateTime * google.protobuf.Timestamp
3384
+ # following: * A full date, with non-zero year, month, and day values. * A month
3385
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
3386
+ # with a zero month and a zero day. * A year and month, with a zero day (for
3387
+ # example, a credit card expiration date). Related types: * google.type.
3388
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
3389
3389
  # Corresponds to the JSON property `dateValue`
3390
3390
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypeDate]
3391
3391
  attr_accessor :date_value
@@ -5362,7 +5362,7 @@ module Google
5362
5362
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntity>]
5363
5363
  attr_accessor :entities
5364
5364
 
5365
- # Relationship among Document.entities.
5365
+ # Placeholder. Relationship among Document.entities.
5366
5366
  # Corresponds to the JSON property `entityRelations`
5367
5367
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentEntityRelation>]
5368
5368
  attr_accessor :entity_relations
@@ -5389,7 +5389,7 @@ module Google
5389
5389
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPage>]
5390
5390
  attr_accessor :pages
5391
5391
 
5392
- # Revision history of this document.
5392
+ # Placeholder. Revision history of this document.
5393
5393
  # Corresponds to the JSON property `revisions`
5394
5394
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentRevision>]
5395
5395
  attr_accessor :revisions
@@ -5405,14 +5405,14 @@ module Google
5405
5405
  # @return [String]
5406
5406
  attr_accessor :text
5407
5407
 
5408
- # A list of text corrections made to [Document.text]. This is usually used for
5409
- # annotating corrections to OCR mistakes. Text changes for a given revision may
5410
- # not overlap with each other.
5408
+ # Placeholder. A list of text corrections made to [Document.text]. This is
5409
+ # usually used for annotating corrections to OCR mistakes. Text changes for a
5410
+ # given revision may not overlap with each other.
5411
5411
  # Corresponds to the JSON property `textChanges`
5412
5412
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentTextChange>]
5413
5413
  attr_accessor :text_changes
5414
5414
 
5415
- # Styles for the Document.text.
5415
+ # Placeholder. Styles for the Document.text.
5416
5416
  # Corresponds to the JSON property `textStyles`
5417
5417
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentStyle>]
5418
5418
  attr_accessor :text_styles
@@ -5561,11 +5561,11 @@ module Google
5561
5561
  # Represents a whole or partial calendar date, such as a birthday. The time of
5562
5562
  # day and time zone are either specified elsewhere or are insignificant. The
5563
5563
  # date is relative to the Gregorian Calendar. This can represent one of the
5564
- # following: * A full date, with non-zero year, month, and day values * A month
5565
- # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
5566
- # zero month and a zero day * A year and month, with a zero day (e.g., a credit
5567
- # card expiration date) Related types: * google.type.TimeOfDay * google.type.
5568
- # DateTime * google.protobuf.Timestamp
5564
+ # following: * A full date, with non-zero year, month, and day values. * A month
5565
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
5566
+ # with a zero month and a zero day. * A year and month, with a zero day (for
5567
+ # example, a credit card expiration date). Related types: * google.type.
5568
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
5569
5569
  # Corresponds to the JSON property `dateValue`
5570
5570
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypeDate]
5571
5571
  attr_accessor :date_value
@@ -7237,7 +7237,8 @@ module Google
7237
7237
  # @return [String]
7238
7238
  attr_accessor :state
7239
7239
 
7240
- # The processor type, e.g., INVOICE_PARSING, W2_PARSING, etc.
7240
+ # The processor type, e.g., OCR_PROCESSOR, INVOICE_PROCESSOR, etc. To get a list
7241
+ # of processors types, see FetchProcessorTypes.
7241
7242
  # Corresponds to the JSON property `type`
7242
7243
  # @return [String]
7243
7244
  attr_accessor :type
@@ -7349,6 +7350,16 @@ module Google
7349
7350
  # @return [String]
7350
7351
  attr_accessor :display_name
7351
7352
 
7353
+ # The KMS key name used for encryption.
7354
+ # Corresponds to the JSON property `kmsKeyName`
7355
+ # @return [String]
7356
+ attr_accessor :kms_key_name
7357
+
7358
+ # The KMS key version with which data is encrypted.
7359
+ # Corresponds to the JSON property `kmsKeyVersionName`
7360
+ # @return [String]
7361
+ attr_accessor :kms_key_version_name
7362
+
7352
7363
  # The resource name of the processor version. Format: `projects/`project`/
7353
7364
  # locations/`location`/processors/`processor`/processorVersions/`
7354
7365
  # processor_version``
@@ -7369,6 +7380,8 @@ module Google
7369
7380
  def update!(**args)
7370
7381
  @create_time = args[:create_time] if args.key?(:create_time)
7371
7382
  @display_name = args[:display_name] if args.key?(:display_name)
7383
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
7384
+ @kms_key_version_name = args[:kms_key_version_name] if args.key?(:kms_key_version_name)
7372
7385
  @name = args[:name] if args.key?(:name)
7373
7386
  @state = args[:state] if args.key?(:state)
7374
7387
  end
@@ -7941,11 +7954,11 @@ module Google
7941
7954
  # Represents a whole or partial calendar date, such as a birthday. The time of
7942
7955
  # day and time zone are either specified elsewhere or are insignificant. The
7943
7956
  # date is relative to the Gregorian Calendar. This can represent one of the
7944
- # following: * A full date, with non-zero year, month, and day values * A month
7945
- # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
7946
- # zero month and a zero day * A year and month, with a zero day (e.g., a credit
7947
- # card expiration date) Related types: * google.type.TimeOfDay * google.type.
7948
- # DateTime * google.protobuf.Timestamp
7957
+ # following: * A full date, with non-zero year, month, and day values. * A month
7958
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
7959
+ # with a zero month and a zero day. * A year and month, with a zero day (for
7960
+ # example, a credit card expiration date). Related types: * google.type.
7961
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
7949
7962
  class GoogleTypeDate
7950
7963
  include Google::Apis::Core::Hashable
7951
7964
 
@@ -8184,8 +8197,8 @@ module Google
8184
8197
  attr_accessor :recipients
8185
8198
 
8186
8199
  # Required. CLDR region code of the country/region of the address. This is never
8187
- # inferred and it is up to the user to ensure the value is correct. See http://
8188
- # cldr.unicode.org/ and http://www.unicode.org/cldr/charts/30/supplemental/
8200
+ # inferred and it is up to the user to ensure the value is correct. See https://
8201
+ # cldr.unicode.org/ and https://www.unicode.org/cldr/charts/30/supplemental/
8189
8202
  # territory_information.html for details. Example: "CH" for Switzerland.
8190
8203
  # Corresponds to the JSON property `regionCode`
8191
8204
  # @return [String]
@@ -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.34.0"
19
+ GEM_VERSION = "0.37.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
@@ -3683,6 +3683,8 @@ module Google
3683
3683
  class Representation < Google::Apis::Core::JsonRepresentation
3684
3684
  property :create_time, as: 'createTime'
3685
3685
  property :display_name, as: 'displayName'
3686
+ property :kms_key_name, as: 'kmsKeyName'
3687
+ property :kms_key_version_name, as: 'kmsKeyVersionName'
3686
3688
  property :name, as: 'name'
3687
3689
  property :state, as: 'state'
3688
3690
  end
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.34.0
4
+ version: 0.37.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_v1beta3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.34.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.37.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: []