google-apis-documentai_v1 0.40.0 → 0.43.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: be5ececd02b9f9dbf25b6739dce0ef884a496b1c081f3541cbf18e6d0f05aad3
4
- data.tar.gz: 14667b36b7607697b7d8bb6b93f44aaa11f84ad9382d6bfcbb82ae08d472ea51
3
+ metadata.gz: 360c58d4ea3c60d328dfb7a63c4e6b9e737e58188d68f797174adf6d31bac042
4
+ data.tar.gz: de5c0e1aa51e95990dedd9c2c8b1e730f94cd93a9f47c5ee35c49b5fab02c9a3
5
5
  SHA512:
6
- metadata.gz: 4c786b71ffc0c31a5d60514b9e820518a6a1156fca8e4e74ff00b29a6fc9b3cbaedc1554b9b4da1446f088504458df1a11336f65703ce84768f4902b738fd93f
7
- data.tar.gz: 72f71f559ffca11f184be335b54360e782a5b24d34446e752696df69a8eefba0668f0862674dfe5065b84c9f31ff5db583dd89761f11e89f8281cda0c0f34bb8
6
+ metadata.gz: cc6817642170e179db82066f07d6788649b72e57089271e1ec27dfa79ec65018bafd387337ba313657eba6feb2edb43d0395d59d53f68a0e233a0718a55b6942
7
+ data.tar.gz: 1a2036bde0e00e97637f7c447370f2998f0956f7703ccb8103f1955a081a49e31dbb582f631c2683558c4fd1463e67a383a5efebde14867c70dec6bad594881e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.43.0 (2022-07-26)
4
+
5
+ * Regenerated from discovery document revision 20220720
6
+
7
+ ### v0.42.0 (2022-07-12)
8
+
9
+ * Regenerated from discovery document revision 20220711
10
+ * Regenerated using generator version 0.9.0
11
+
12
+ ### v0.41.0 (2022-07-01)
13
+
14
+ * Regenerated using generator version 0.8.0
15
+
3
16
  ### v0.40.0 (2022-06-18)
4
17
 
5
18
  * Regenerated using generator version 0.7.0
@@ -548,6 +548,11 @@ module Google
548
548
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus>]
549
549
  attr_accessor :individual_import_statuses
550
550
 
551
+ # Total number of the documents that are qualified for importing.
552
+ # Corresponds to the JSON property `totalDocumentCount`
553
+ # @return [Fixnum]
554
+ attr_accessor :total_document_count
555
+
551
556
  def initialize(**args)
552
557
  update!(**args)
553
558
  end
@@ -556,6 +561,7 @@ module Google
556
561
  def update!(**args)
557
562
  @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
558
563
  @individual_import_statuses = args[:individual_import_statuses] if args.key?(:individual_import_statuses)
564
+ @total_document_count = args[:total_document_count] if args.key?(:total_document_count)
559
565
  end
560
566
  end
561
567
 
@@ -933,6 +939,46 @@ module Google
933
939
  end
934
940
  end
935
941
 
942
+ # Encodes the detailed information of a barcode.
943
+ class GoogleCloudDocumentaiV1Barcode
944
+ include Google::Apis::Core::Hashable
945
+
946
+ # Format of a barcode. The supported formats are: CODE_128: Code 128 type.
947
+ # CODE_39: Code 39 type. CODE_93: Code 93 type. CODABAR: Codabar type.
948
+ # DATA_MATRIX: 2D Data Matrix type. ITF: ITF type. EAN_13: EAN-13 type. EAN_8:
949
+ # EAN-8 type. QR_CODE: 2D QR code type. UPC_A: UPC-A type. UPC_E: UPC-E type.
950
+ # PDF417: PDF417 type. AZTEC: 2D Aztec code type. DATABAR: GS1 DataBar code type.
951
+ # Corresponds to the JSON property `format`
952
+ # @return [String]
953
+ attr_accessor :format
954
+
955
+ # Raw value encoded in the barcode. For example, 'MEBKM:TITLE:Google;URL:https://
956
+ # www.google.com;;'.
957
+ # Corresponds to the JSON property `rawValue`
958
+ # @return [String]
959
+ attr_accessor :raw_value
960
+
961
+ # Value format describes the format of the value that a barcode encodes. The
962
+ # supported formats are: CONTACT_INFO: Contact information. EMAIL: Email address.
963
+ # ISBN: ISBN identifier. PHONE: Phone number. PRODUCT: Product. SMS: SMS
964
+ # message. TEXT: Text string. URL: URL address. WIFI: Wifi information. GEO: Geo-
965
+ # localization. CALENDAR_EVENT: Calendar event. DRIVER_LICENSE: Driver's license.
966
+ # Corresponds to the JSON property `valueFormat`
967
+ # @return [String]
968
+ attr_accessor :value_format
969
+
970
+ def initialize(**args)
971
+ update!(**args)
972
+ end
973
+
974
+ # Update properties of this object
975
+ def update!(**args)
976
+ @format = args[:format] if args.key?(:format)
977
+ @raw_value = args[:raw_value] if args.key?(:raw_value)
978
+ @value_format = args[:value_format] if args.key?(:value_format)
979
+ end
980
+ end
981
+
936
982
  # The common config to specify a set of documents used as input.
937
983
  class GoogleCloudDocumentaiV1BatchDocumentsInputConfig
938
984
  include Google::Apis::Core::Hashable
@@ -1504,11 +1550,11 @@ module Google
1504
1550
  # Box or similar. It is not intended to model geographical locations (roads,
1505
1551
  # towns, mountains). In typical usage an address would be created via user input
1506
1552
  # or from importing existing data, depending on the type of process. Advice on
1507
- # address input / editing: - Use an i18n-ready address widget such as https://
1508
- # github.com/google/libaddressinput) - Users should not be presented with UI
1509
- # elements for input or editing of fields outside countries where that field is
1510
- # used. For more guidance on how to use this schema, please see: https://support.
1511
- # google.com/business/answer/6397478
1553
+ # address input / editing: - Use an internationalization-ready address widget
1554
+ # such as https://github.com/google/libaddressinput) - Users should not be
1555
+ # presented with UI elements for input or editing of fields outside countries
1556
+ # where that field is used. For more guidance on how to use this schema, please
1557
+ # see: https://support.google.com/business/answer/6397478
1512
1558
  # Corresponds to the JSON property `addressValue`
1513
1559
  # @return [Google::Apis::DocumentaiV1::GoogleTypePostalAddress]
1514
1560
  attr_accessor :address_value
@@ -1537,9 +1583,9 @@ module Google
1537
1583
  # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
1538
1584
  # calendar day in a particular time zone. * When neither time_zone nor
1539
1585
  # utc_offset is set: a civil time on a calendar day in local time. The date is
1540
- # relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
1541
- # considered not to have a specific year. month and day must have valid, non-
1542
- # zero values. This type may also be used to represent a physical time if all
1586
+ # relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
1587
+ # the DateTime is considered not to have a specific year, month, or day
1588
+ # respectively. This type may also be used to represent a physical time if all
1543
1589
  # the date and time fields are set and either case of the `time_offset` oneof is
1544
1590
  # set. Consider using `Timestamp` message for physical time instead. If your use
1545
1591
  # case also would like to store the user's timezone, that can be done in another
@@ -1674,6 +1720,11 @@ module Google
1674
1720
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageBlock>]
1675
1721
  attr_accessor :blocks
1676
1722
 
1723
+ # A list of detected barcodes.
1724
+ # Corresponds to the JSON property `detectedBarcodes`
1725
+ # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageDetectedBarcode>]
1726
+ attr_accessor :detected_barcodes
1727
+
1677
1728
  # A list of detected languages together with confidence.
1678
1729
  # Corresponds to the JSON property `detectedLanguages`
1679
1730
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageDetectedLanguage>]
@@ -1757,6 +1808,7 @@ module Google
1757
1808
  # Update properties of this object
1758
1809
  def update!(**args)
1759
1810
  @blocks = args[:blocks] if args.key?(:blocks)
1811
+ @detected_barcodes = args[:detected_barcodes] if args.key?(:detected_barcodes)
1760
1812
  @detected_languages = args[:detected_languages] if args.key?(:detected_languages)
1761
1813
  @dimension = args[:dimension] if args.key?(:dimension)
1762
1814
  @form_fields = args[:form_fields] if args.key?(:form_fields)
@@ -1874,6 +1926,31 @@ module Google
1874
1926
  end
1875
1927
  end
1876
1928
 
1929
+ # A detected barcode.
1930
+ class GoogleCloudDocumentaiV1DocumentPageDetectedBarcode
1931
+ include Google::Apis::Core::Hashable
1932
+
1933
+ # Encodes the detailed information of a barcode.
1934
+ # Corresponds to the JSON property `barcode`
1935
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Barcode]
1936
+ attr_accessor :barcode
1937
+
1938
+ # Visual element describing a layout unit on a page.
1939
+ # Corresponds to the JSON property `layout`
1940
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageLayout]
1941
+ attr_accessor :layout
1942
+
1943
+ def initialize(**args)
1944
+ update!(**args)
1945
+ end
1946
+
1947
+ # Update properties of this object
1948
+ def update!(**args)
1949
+ @barcode = args[:barcode] if args.key?(:barcode)
1950
+ @layout = args[:layout] if args.key?(:layout)
1951
+ end
1952
+ end
1953
+
1877
1954
  # Detected language for a structural component.
1878
1955
  class GoogleCloudDocumentaiV1DocumentPageDetectedLanguage
1879
1956
  include Google::Apis::Core::Hashable
@@ -2706,6 +2783,12 @@ module Google
2706
2783
  attr_accessor :document_splitter
2707
2784
  alias_method :document_splitter?, :document_splitter
2708
2785
 
2786
+ # If set, all the nested entities must be prefixed with the parents.
2787
+ # Corresponds to the JSON property `prefixedNamingOnProperties`
2788
+ # @return [Boolean]
2789
+ attr_accessor :prefixed_naming_on_properties
2790
+ alias_method :prefixed_naming_on_properties?, :prefixed_naming_on_properties
2791
+
2709
2792
  def initialize(**args)
2710
2793
  update!(**args)
2711
2794
  end
@@ -2714,6 +2797,7 @@ module Google
2714
2797
  def update!(**args)
2715
2798
  @document_allow_multiple_labels = args[:document_allow_multiple_labels] if args.key?(:document_allow_multiple_labels)
2716
2799
  @document_splitter = args[:document_splitter] if args.key?(:document_splitter)
2800
+ @prefixed_naming_on_properties = args[:prefixed_naming_on_properties] if args.key?(:prefixed_naming_on_properties)
2717
2801
  end
2718
2802
  end
2719
2803
 
@@ -3168,6 +3252,31 @@ module Google
3168
3252
  end
3169
3253
  end
3170
3254
 
3255
+ # Response message for list processor types.
3256
+ class GoogleCloudDocumentaiV1ListProcessorTypesResponse
3257
+ include Google::Apis::Core::Hashable
3258
+
3259
+ # Points to the next page, otherwise empty.
3260
+ # Corresponds to the JSON property `nextPageToken`
3261
+ # @return [String]
3262
+ attr_accessor :next_page_token
3263
+
3264
+ # The processor types.
3265
+ # Corresponds to the JSON property `processorTypes`
3266
+ # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorType>]
3267
+ attr_accessor :processor_types
3268
+
3269
+ def initialize(**args)
3270
+ update!(**args)
3271
+ end
3272
+
3273
+ # Update properties of this object
3274
+ def update!(**args)
3275
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3276
+ @processor_types = args[:processor_types] if args.key?(:processor_types)
3277
+ end
3278
+ end
3279
+
3171
3280
  # Response message for list processors.
3172
3281
  class GoogleCloudDocumentaiV1ListProcessorVersionsResponse
3173
3282
  include Google::Apis::Core::Hashable
@@ -3855,6 +3964,46 @@ module Google
3855
3964
  end
3856
3965
  end
3857
3966
 
3967
+ # Encodes the detailed information of a barcode.
3968
+ class GoogleCloudDocumentaiV1beta1Barcode
3969
+ include Google::Apis::Core::Hashable
3970
+
3971
+ # Format of a barcode. The supported formats are: CODE_128: Code 128 type.
3972
+ # CODE_39: Code 39 type. CODE_93: Code 93 type. CODABAR: Codabar type.
3973
+ # DATA_MATRIX: 2D Data Matrix type. ITF: ITF type. EAN_13: EAN-13 type. EAN_8:
3974
+ # EAN-8 type. QR_CODE: 2D QR code type. UPC_A: UPC-A type. UPC_E: UPC-E type.
3975
+ # PDF417: PDF417 type. AZTEC: 2D Aztec code type. DATABAR: GS1 DataBar code type.
3976
+ # Corresponds to the JSON property `format`
3977
+ # @return [String]
3978
+ attr_accessor :format
3979
+
3980
+ # Raw value encoded in the barcode. For example, 'MEBKM:TITLE:Google;URL:https://
3981
+ # www.google.com;;'.
3982
+ # Corresponds to the JSON property `rawValue`
3983
+ # @return [String]
3984
+ attr_accessor :raw_value
3985
+
3986
+ # Value format describes the format of the value that a barcode encodes. The
3987
+ # supported formats are: CONTACT_INFO: Contact information. EMAIL: Email address.
3988
+ # ISBN: ISBN identifier. PHONE: Phone number. PRODUCT: Product. SMS: SMS
3989
+ # message. TEXT: Text string. URL: URL address. WIFI: Wifi information. GEO: Geo-
3990
+ # localization. CALENDAR_EVENT: Calendar event. DRIVER_LICENSE: Driver's license.
3991
+ # Corresponds to the JSON property `valueFormat`
3992
+ # @return [String]
3993
+ attr_accessor :value_format
3994
+
3995
+ def initialize(**args)
3996
+ update!(**args)
3997
+ end
3998
+
3999
+ # Update properties of this object
4000
+ def update!(**args)
4001
+ @format = args[:format] if args.key?(:format)
4002
+ @raw_value = args[:raw_value] if args.key?(:raw_value)
4003
+ @value_format = args[:value_format] if args.key?(:value_format)
4004
+ end
4005
+ end
4006
+
3858
4007
  # Response to an batch document processing request. This is returned in the LRO
3859
4008
  # Operation after the operation is complete.
3860
4009
  class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
@@ -4112,11 +4261,11 @@ module Google
4112
4261
  # Box or similar. It is not intended to model geographical locations (roads,
4113
4262
  # towns, mountains). In typical usage an address would be created via user input
4114
4263
  # or from importing existing data, depending on the type of process. Advice on
4115
- # address input / editing: - Use an i18n-ready address widget such as https://
4116
- # github.com/google/libaddressinput) - Users should not be presented with UI
4117
- # elements for input or editing of fields outside countries where that field is
4118
- # used. For more guidance on how to use this schema, please see: https://support.
4119
- # google.com/business/answer/6397478
4264
+ # address input / editing: - Use an internationalization-ready address widget
4265
+ # such as https://github.com/google/libaddressinput) - Users should not be
4266
+ # presented with UI elements for input or editing of fields outside countries
4267
+ # where that field is used. For more guidance on how to use this schema, please
4268
+ # see: https://support.google.com/business/answer/6397478
4120
4269
  # Corresponds to the JSON property `addressValue`
4121
4270
  # @return [Google::Apis::DocumentaiV1::GoogleTypePostalAddress]
4122
4271
  attr_accessor :address_value
@@ -4145,9 +4294,9 @@ module Google
4145
4294
  # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
4146
4295
  # calendar day in a particular time zone. * When neither time_zone nor
4147
4296
  # utc_offset is set: a civil time on a calendar day in local time. The date is
4148
- # relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
4149
- # considered not to have a specific year. month and day must have valid, non-
4150
- # zero values. This type may also be used to represent a physical time if all
4297
+ # relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
4298
+ # the DateTime is considered not to have a specific year, month, or day
4299
+ # respectively. This type may also be used to represent a physical time if all
4151
4300
  # the date and time fields are set and either case of the `time_offset` oneof is
4152
4301
  # set. Consider using `Timestamp` message for physical time instead. If your use
4153
4302
  # case also would like to store the user's timezone, that can be done in another
@@ -4243,6 +4392,11 @@ module Google
4243
4392
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageBlock>]
4244
4393
  attr_accessor :blocks
4245
4394
 
4395
+ # A list of detected barcodes.
4396
+ # Corresponds to the JSON property `detectedBarcodes`
4397
+ # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode>]
4398
+ attr_accessor :detected_barcodes
4399
+
4246
4400
  # A list of detected languages together with confidence.
4247
4401
  # Corresponds to the JSON property `detectedLanguages`
4248
4402
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage>]
@@ -4326,6 +4480,7 @@ module Google
4326
4480
  # Update properties of this object
4327
4481
  def update!(**args)
4328
4482
  @blocks = args[:blocks] if args.key?(:blocks)
4483
+ @detected_barcodes = args[:detected_barcodes] if args.key?(:detected_barcodes)
4329
4484
  @detected_languages = args[:detected_languages] if args.key?(:detected_languages)
4330
4485
  @dimension = args[:dimension] if args.key?(:dimension)
4331
4486
  @form_fields = args[:form_fields] if args.key?(:form_fields)
@@ -4443,6 +4598,31 @@ module Google
4443
4598
  end
4444
4599
  end
4445
4600
 
4601
+ # A detected barcode.
4602
+ class GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode
4603
+ include Google::Apis::Core::Hashable
4604
+
4605
+ # Encodes the detailed information of a barcode.
4606
+ # Corresponds to the JSON property `barcode`
4607
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1Barcode]
4608
+ attr_accessor :barcode
4609
+
4610
+ # Visual element describing a layout unit on a page.
4611
+ # Corresponds to the JSON property `layout`
4612
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageLayout]
4613
+ attr_accessor :layout
4614
+
4615
+ def initialize(**args)
4616
+ update!(**args)
4617
+ end
4618
+
4619
+ # Update properties of this object
4620
+ def update!(**args)
4621
+ @barcode = args[:barcode] if args.key?(:barcode)
4622
+ @layout = args[:layout] if args.key?(:layout)
4623
+ end
4624
+ end
4625
+
4446
4626
  # Detected language for a structural component.
4447
4627
  class GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage
4448
4628
  include Google::Apis::Core::Hashable
@@ -5617,6 +5797,46 @@ module Google
5617
5797
  end
5618
5798
  end
5619
5799
 
5800
+ # Encodes the detailed information of a barcode.
5801
+ class GoogleCloudDocumentaiV1beta2Barcode
5802
+ include Google::Apis::Core::Hashable
5803
+
5804
+ # Format of a barcode. The supported formats are: CODE_128: Code 128 type.
5805
+ # CODE_39: Code 39 type. CODE_93: Code 93 type. CODABAR: Codabar type.
5806
+ # DATA_MATRIX: 2D Data Matrix type. ITF: ITF type. EAN_13: EAN-13 type. EAN_8:
5807
+ # EAN-8 type. QR_CODE: 2D QR code type. UPC_A: UPC-A type. UPC_E: UPC-E type.
5808
+ # PDF417: PDF417 type. AZTEC: 2D Aztec code type. DATABAR: GS1 DataBar code type.
5809
+ # Corresponds to the JSON property `format`
5810
+ # @return [String]
5811
+ attr_accessor :format
5812
+
5813
+ # Raw value encoded in the barcode. For example, 'MEBKM:TITLE:Google;URL:https://
5814
+ # www.google.com;;'.
5815
+ # Corresponds to the JSON property `rawValue`
5816
+ # @return [String]
5817
+ attr_accessor :raw_value
5818
+
5819
+ # Value format describes the format of the value that a barcode encodes. The
5820
+ # supported formats are: CONTACT_INFO: Contact information. EMAIL: Email address.
5821
+ # ISBN: ISBN identifier. PHONE: Phone number. PRODUCT: Product. SMS: SMS
5822
+ # message. TEXT: Text string. URL: URL address. WIFI: Wifi information. GEO: Geo-
5823
+ # localization. CALENDAR_EVENT: Calendar event. DRIVER_LICENSE: Driver's license.
5824
+ # Corresponds to the JSON property `valueFormat`
5825
+ # @return [String]
5826
+ attr_accessor :value_format
5827
+
5828
+ def initialize(**args)
5829
+ update!(**args)
5830
+ end
5831
+
5832
+ # Update properties of this object
5833
+ def update!(**args)
5834
+ @format = args[:format] if args.key?(:format)
5835
+ @raw_value = args[:raw_value] if args.key?(:raw_value)
5836
+ @value_format = args[:value_format] if args.key?(:value_format)
5837
+ end
5838
+ end
5839
+
5620
5840
  # Response to an batch document processing request. This is returned in the LRO
5621
5841
  # Operation after the operation is complete.
5622
5842
  class GoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse
@@ -5880,11 +6100,11 @@ module Google
5880
6100
  # Box or similar. It is not intended to model geographical locations (roads,
5881
6101
  # towns, mountains). In typical usage an address would be created via user input
5882
6102
  # or from importing existing data, depending on the type of process. Advice on
5883
- # address input / editing: - Use an i18n-ready address widget such as https://
5884
- # github.com/google/libaddressinput) - Users should not be presented with UI
5885
- # elements for input or editing of fields outside countries where that field is
5886
- # used. For more guidance on how to use this schema, please see: https://support.
5887
- # google.com/business/answer/6397478
6103
+ # address input / editing: - Use an internationalization-ready address widget
6104
+ # such as https://github.com/google/libaddressinput) - Users should not be
6105
+ # presented with UI elements for input or editing of fields outside countries
6106
+ # where that field is used. For more guidance on how to use this schema, please
6107
+ # see: https://support.google.com/business/answer/6397478
5888
6108
  # Corresponds to the JSON property `addressValue`
5889
6109
  # @return [Google::Apis::DocumentaiV1::GoogleTypePostalAddress]
5890
6110
  attr_accessor :address_value
@@ -5913,9 +6133,9 @@ module Google
5913
6133
  # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
5914
6134
  # calendar day in a particular time zone. * When neither time_zone nor
5915
6135
  # utc_offset is set: a civil time on a calendar day in local time. The date is
5916
- # relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
5917
- # considered not to have a specific year. month and day must have valid, non-
5918
- # zero values. This type may also be used to represent a physical time if all
6136
+ # relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
6137
+ # the DateTime is considered not to have a specific year, month, or day
6138
+ # respectively. This type may also be used to represent a physical time if all
5919
6139
  # the date and time fields are set and either case of the `time_offset` oneof is
5920
6140
  # set. Consider using `Timestamp` message for physical time instead. If your use
5921
6141
  # case also would like to store the user's timezone, that can be done in another
@@ -6048,6 +6268,11 @@ module Google
6048
6268
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageBlock>]
6049
6269
  attr_accessor :blocks
6050
6270
 
6271
+ # A list of detected barcodes.
6272
+ # Corresponds to the JSON property `detectedBarcodes`
6273
+ # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode>]
6274
+ attr_accessor :detected_barcodes
6275
+
6051
6276
  # A list of detected languages together with confidence.
6052
6277
  # Corresponds to the JSON property `detectedLanguages`
6053
6278
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage>]
@@ -6131,6 +6356,7 @@ module Google
6131
6356
  # Update properties of this object
6132
6357
  def update!(**args)
6133
6358
  @blocks = args[:blocks] if args.key?(:blocks)
6359
+ @detected_barcodes = args[:detected_barcodes] if args.key?(:detected_barcodes)
6134
6360
  @detected_languages = args[:detected_languages] if args.key?(:detected_languages)
6135
6361
  @dimension = args[:dimension] if args.key?(:dimension)
6136
6362
  @form_fields = args[:form_fields] if args.key?(:form_fields)
@@ -6248,6 +6474,31 @@ module Google
6248
6474
  end
6249
6475
  end
6250
6476
 
6477
+ # A detected barcode.
6478
+ class GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode
6479
+ include Google::Apis::Core::Hashable
6480
+
6481
+ # Encodes the detailed information of a barcode.
6482
+ # Corresponds to the JSON property `barcode`
6483
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2Barcode]
6484
+ attr_accessor :barcode
6485
+
6486
+ # Visual element describing a layout unit on a page.
6487
+ # Corresponds to the JSON property `layout`
6488
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageLayout]
6489
+ attr_accessor :layout
6490
+
6491
+ def initialize(**args)
6492
+ update!(**args)
6493
+ end
6494
+
6495
+ # Update properties of this object
6496
+ def update!(**args)
6497
+ @barcode = args[:barcode] if args.key?(:barcode)
6498
+ @layout = args[:layout] if args.key?(:layout)
6499
+ end
6500
+ end
6501
+
6251
6502
  # Detected language for a structural component.
6252
6503
  class GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage
6253
6504
  include Google::Apis::Core::Hashable
@@ -8252,9 +8503,9 @@ module Google
8252
8503
  # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
8253
8504
  # calendar day in a particular time zone. * When neither time_zone nor
8254
8505
  # utc_offset is set: a civil time on a calendar day in local time. The date is
8255
- # relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
8256
- # considered not to have a specific year. month and day must have valid, non-
8257
- # zero values. This type may also be used to represent a physical time if all
8506
+ # relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
8507
+ # the DateTime is considered not to have a specific year, month, or day
8508
+ # respectively. This type may also be used to represent a physical time if all
8258
8509
  # the date and time fields are set and either case of the `time_offset` oneof is
8259
8510
  # set. Consider using `Timestamp` message for physical time instead. If your use
8260
8511
  # case also would like to store the user's timezone, that can be done in another
@@ -8263,34 +8514,38 @@ module Google
8263
8514
  class GoogleTypeDateTime
8264
8515
  include Google::Apis::Core::Hashable
8265
8516
 
8266
- # Required. Day of month. Must be from 1 to 31 and valid for the year and month.
8517
+ # Optional. Day of month. Must be from 1 to 31 and valid for the year and month,
8518
+ # or 0 if specifying a datetime without a day.
8267
8519
  # Corresponds to the JSON property `day`
8268
8520
  # @return [Fixnum]
8269
8521
  attr_accessor :day
8270
8522
 
8271
- # Required. Hours of day in 24 hour format. Should be from 0 to 23. An API may
8272
- # choose to allow the value "24:00:00" for scenarios like business closing time.
8523
+ # Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to
8524
+ # 0 (midnight). An API may choose to allow the value "24:00:00" for scenarios
8525
+ # like business closing time.
8273
8526
  # Corresponds to the JSON property `hours`
8274
8527
  # @return [Fixnum]
8275
8528
  attr_accessor :hours
8276
8529
 
8277
- # Required. Minutes of hour of day. Must be from 0 to 59.
8530
+ # Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
8278
8531
  # Corresponds to the JSON property `minutes`
8279
8532
  # @return [Fixnum]
8280
8533
  attr_accessor :minutes
8281
8534
 
8282
- # Required. Month of year. Must be from 1 to 12.
8535
+ # Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime
8536
+ # without a month.
8283
8537
  # Corresponds to the JSON property `month`
8284
8538
  # @return [Fixnum]
8285
8539
  attr_accessor :month
8286
8540
 
8287
- # Required. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
8541
+ # Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999,
8542
+ # defaults to 0.
8288
8543
  # Corresponds to the JSON property `nanos`
8289
8544
  # @return [Fixnum]
8290
8545
  attr_accessor :nanos
8291
8546
 
8292
- # Required. Seconds of minutes of the time. Must normally be from 0 to 59. An
8293
- # API may allow the value 60 if it allows leap-seconds.
8547
+ # Optional. Seconds of minutes of the time. Must normally be from 0 to 59,
8548
+ # defaults to 0. An API may allow the value 60 if it allows leap-seconds.
8294
8549
  # Corresponds to the JSON property `seconds`
8295
8550
  # @return [Fixnum]
8296
8551
  attr_accessor :seconds
@@ -8372,11 +8627,11 @@ module Google
8372
8627
  # Box or similar. It is not intended to model geographical locations (roads,
8373
8628
  # towns, mountains). In typical usage an address would be created via user input
8374
8629
  # or from importing existing data, depending on the type of process. Advice on
8375
- # address input / editing: - Use an i18n-ready address widget such as https://
8376
- # github.com/google/libaddressinput) - Users should not be presented with UI
8377
- # elements for input or editing of fields outside countries where that field is
8378
- # used. For more guidance on how to use this schema, please see: https://support.
8379
- # google.com/business/answer/6397478
8630
+ # address input / editing: - Use an internationalization-ready address widget
8631
+ # such as https://github.com/google/libaddressinput) - Users should not be
8632
+ # presented with UI elements for input or editing of fields outside countries
8633
+ # where that field is used. For more guidance on how to use this schema, please
8634
+ # see: https://support.google.com/business/answer/6397478
8380
8635
  class GoogleTypePostalAddress
8381
8636
  include Google::Apis::Core::Hashable
8382
8637
 
@@ -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.40.0"
19
+ GEM_VERSION = "0.43.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.7.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220610"
25
+ REVISION = "20220720"
26
26
  end
27
27
  end
28
28
  end
@@ -268,6 +268,12 @@ module Google
268
268
  include Google::Apis::Core::JsonObjectSupport
269
269
  end
270
270
 
271
+ class GoogleCloudDocumentaiV1Barcode
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
271
277
  class GoogleCloudDocumentaiV1BatchDocumentsInputConfig
272
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
273
279
 
@@ -418,6 +424,12 @@ module Google
418
424
  include Google::Apis::Core::JsonObjectSupport
419
425
  end
420
426
 
427
+ class GoogleCloudDocumentaiV1DocumentPageDetectedBarcode
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
421
433
  class GoogleCloudDocumentaiV1DocumentPageDetectedLanguage
422
434
  class Representation < Google::Apis::Core::JsonRepresentation; end
423
435
 
@@ -646,6 +658,12 @@ module Google
646
658
  include Google::Apis::Core::JsonObjectSupport
647
659
  end
648
660
 
661
+ class GoogleCloudDocumentaiV1ListProcessorTypesResponse
662
+ class Representation < Google::Apis::Core::JsonRepresentation; end
663
+
664
+ include Google::Apis::Core::JsonObjectSupport
665
+ end
666
+
649
667
  class GoogleCloudDocumentaiV1ListProcessorVersionsResponse
650
668
  class Representation < Google::Apis::Core::JsonRepresentation; end
651
669
 
@@ -784,6 +802,12 @@ module Google
784
802
  include Google::Apis::Core::JsonObjectSupport
785
803
  end
786
804
 
805
+ class GoogleCloudDocumentaiV1beta1Barcode
806
+ class Representation < Google::Apis::Core::JsonRepresentation; end
807
+
808
+ include Google::Apis::Core::JsonObjectSupport
809
+ end
810
+
787
811
  class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
788
812
  class Representation < Google::Apis::Core::JsonRepresentation; end
789
813
 
@@ -844,6 +868,12 @@ module Google
844
868
  include Google::Apis::Core::JsonObjectSupport
845
869
  end
846
870
 
871
+ class GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode
872
+ class Representation < Google::Apis::Core::JsonRepresentation; end
873
+
874
+ include Google::Apis::Core::JsonObjectSupport
875
+ end
876
+
847
877
  class GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage
848
878
  class Representation < Google::Apis::Core::JsonRepresentation; end
849
879
 
@@ -1042,6 +1072,12 @@ module Google
1042
1072
  include Google::Apis::Core::JsonObjectSupport
1043
1073
  end
1044
1074
 
1075
+ class GoogleCloudDocumentaiV1beta2Barcode
1076
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1077
+
1078
+ include Google::Apis::Core::JsonObjectSupport
1079
+ end
1080
+
1045
1081
  class GoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse
1046
1082
  class Representation < Google::Apis::Core::JsonRepresentation; end
1047
1083
 
@@ -1108,6 +1144,12 @@ module Google
1108
1144
  include Google::Apis::Core::JsonObjectSupport
1109
1145
  end
1110
1146
 
1147
+ class GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode
1148
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1149
+
1150
+ include Google::Apis::Core::JsonObjectSupport
1151
+ end
1152
+
1111
1153
  class GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage
1112
1154
  class Representation < Google::Apis::Core::JsonRepresentation; end
1113
1155
 
@@ -1694,6 +1736,7 @@ module Google
1694
1736
 
1695
1737
  collection :individual_import_statuses, as: 'individualImportStatuses', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus::Representation
1696
1738
 
1739
+ property :total_document_count, as: 'totalDocumentCount'
1697
1740
  end
1698
1741
  end
1699
1742
 
@@ -1831,6 +1874,15 @@ module Google
1831
1874
  end
1832
1875
  end
1833
1876
 
1877
+ class GoogleCloudDocumentaiV1Barcode
1878
+ # @private
1879
+ class Representation < Google::Apis::Core::JsonRepresentation
1880
+ property :format, as: 'format'
1881
+ property :raw_value, as: 'rawValue'
1882
+ property :value_format, as: 'valueFormat'
1883
+ end
1884
+ end
1885
+
1834
1886
  class GoogleCloudDocumentaiV1BatchDocumentsInputConfig
1835
1887
  # @private
1836
1888
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2055,6 +2107,8 @@ module Google
2055
2107
  class Representation < Google::Apis::Core::JsonRepresentation
2056
2108
  collection :blocks, as: 'blocks', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageBlock, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageBlock::Representation
2057
2109
 
2110
+ collection :detected_barcodes, as: 'detectedBarcodes', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageDetectedBarcode, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageDetectedBarcode::Representation
2111
+
2058
2112
  collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageDetectedLanguage::Representation
2059
2113
 
2060
2114
  property :dimension, as: 'dimension', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageDimension, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageDimension::Representation
@@ -2117,6 +2171,16 @@ module Google
2117
2171
  end
2118
2172
  end
2119
2173
 
2174
+ class GoogleCloudDocumentaiV1DocumentPageDetectedBarcode
2175
+ # @private
2176
+ class Representation < Google::Apis::Core::JsonRepresentation
2177
+ property :barcode, as: 'barcode', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Barcode, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Barcode::Representation
2178
+
2179
+ property :layout, as: 'layout', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageLayout::Representation
2180
+
2181
+ end
2182
+ end
2183
+
2120
2184
  class GoogleCloudDocumentaiV1DocumentPageDetectedLanguage
2121
2185
  # @private
2122
2186
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2373,6 +2437,7 @@ module Google
2373
2437
  class Representation < Google::Apis::Core::JsonRepresentation
2374
2438
  property :document_allow_multiple_labels, as: 'documentAllowMultipleLabels'
2375
2439
  property :document_splitter, as: 'documentSplitter'
2440
+ property :prefixed_naming_on_properties, as: 'prefixedNamingOnProperties'
2376
2441
  end
2377
2442
  end
2378
2443
 
@@ -2498,6 +2563,15 @@ module Google
2498
2563
  end
2499
2564
  end
2500
2565
 
2566
+ class GoogleCloudDocumentaiV1ListProcessorTypesResponse
2567
+ # @private
2568
+ class Representation < Google::Apis::Core::JsonRepresentation
2569
+ property :next_page_token, as: 'nextPageToken'
2570
+ collection :processor_types, as: 'processorTypes', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorType, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorType::Representation
2571
+
2572
+ end
2573
+ end
2574
+
2501
2575
  class GoogleCloudDocumentaiV1ListProcessorVersionsResponse
2502
2576
  # @private
2503
2577
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2709,6 +2783,15 @@ module Google
2709
2783
  end
2710
2784
  end
2711
2785
 
2786
+ class GoogleCloudDocumentaiV1beta1Barcode
2787
+ # @private
2788
+ class Representation < Google::Apis::Core::JsonRepresentation
2789
+ property :format, as: 'format'
2790
+ property :raw_value, as: 'rawValue'
2791
+ property :value_format, as: 'valueFormat'
2792
+ end
2793
+ end
2794
+
2712
2795
  class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
2713
2796
  # @private
2714
2797
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2808,6 +2891,8 @@ module Google
2808
2891
  class Representation < Google::Apis::Core::JsonRepresentation
2809
2892
  collection :blocks, as: 'blocks', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageBlock, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageBlock::Representation
2810
2893
 
2894
+ collection :detected_barcodes, as: 'detectedBarcodes', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode::Representation
2895
+
2811
2896
  collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage::Representation
2812
2897
 
2813
2898
  property :dimension, as: 'dimension', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageDimension, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageDimension::Representation
@@ -2870,6 +2955,16 @@ module Google
2870
2955
  end
2871
2956
  end
2872
2957
 
2958
+ class GoogleCloudDocumentaiV1beta1DocumentPageDetectedBarcode
2959
+ # @private
2960
+ class Representation < Google::Apis::Core::JsonRepresentation
2961
+ property :barcode, as: 'barcode', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1Barcode, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1Barcode::Representation
2962
+
2963
+ property :layout, as: 'layout', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
2964
+
2965
+ end
2966
+ end
2967
+
2873
2968
  class GoogleCloudDocumentaiV1beta1DocumentPageDetectedLanguage
2874
2969
  # @private
2875
2970
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3210,6 +3305,15 @@ module Google
3210
3305
  end
3211
3306
  end
3212
3307
 
3308
+ class GoogleCloudDocumentaiV1beta2Barcode
3309
+ # @private
3310
+ class Representation < Google::Apis::Core::JsonRepresentation
3311
+ property :format, as: 'format'
3312
+ property :raw_value, as: 'rawValue'
3313
+ property :value_format, as: 'valueFormat'
3314
+ end
3315
+ end
3316
+
3213
3317
  class GoogleCloudDocumentaiV1beta2BatchProcessDocumentsResponse
3214
3318
  # @private
3215
3319
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3320,6 +3424,8 @@ module Google
3320
3424
  class Representation < Google::Apis::Core::JsonRepresentation
3321
3425
  collection :blocks, as: 'blocks', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageBlock, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageBlock::Representation
3322
3426
 
3427
+ collection :detected_barcodes, as: 'detectedBarcodes', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode::Representation
3428
+
3323
3429
  collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage::Representation
3324
3430
 
3325
3431
  property :dimension, as: 'dimension', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageDimension, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageDimension::Representation
@@ -3382,6 +3488,16 @@ module Google
3382
3488
  end
3383
3489
  end
3384
3490
 
3491
+ class GoogleCloudDocumentaiV1beta2DocumentPageDetectedBarcode
3492
+ # @private
3493
+ class Representation < Google::Apis::Core::JsonRepresentation
3494
+ property :barcode, as: 'barcode', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2Barcode, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2Barcode::Representation
3495
+
3496
+ property :layout, as: 'layout', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
3497
+
3498
+ end
3499
+ end
3500
+
3385
3501
  class GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage
3386
3502
  # @private
3387
3503
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -304,6 +304,46 @@ module Google
304
304
  execute_or_queue_command(command, &block)
305
305
  end
306
306
 
307
+ # Lists the processor types that exist.
308
+ # @param [String] parent
309
+ # Required. The location of processor type to list. The available processor
310
+ # types may depend on the allow-listing on projects. Format: `projects/`project`/
311
+ # locations/`location``
312
+ # @param [Fixnum] page_size
313
+ # The maximum number of processor types to return. If unspecified, at most 100
314
+ # processor types will be returned. The maximum value is 500; values above 500
315
+ # will be coerced to 500.
316
+ # @param [String] page_token
317
+ # Used to retrieve the next page of results, empty if at the end of the list.
318
+ # @param [String] fields
319
+ # Selector specifying which fields to include in a partial response.
320
+ # @param [String] quota_user
321
+ # Available to use for quota purposes for server-side applications. Can be any
322
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
323
+ # @param [Google::Apis::RequestOptions] options
324
+ # Request-specific options
325
+ #
326
+ # @yield [result, err] Result & error if block supplied
327
+ # @yieldparam result [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ListProcessorTypesResponse] parsed result object
328
+ # @yieldparam err [StandardError] error object if request failed
329
+ #
330
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ListProcessorTypesResponse]
331
+ #
332
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
333
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
334
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
335
+ def list_project_location_processor_types(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
336
+ command = make_simple_command(:get, 'v1/{+parent}/processorTypes', options)
337
+ command.response_representation = Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ListProcessorTypesResponse::Representation
338
+ command.response_class = Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ListProcessorTypesResponse
339
+ command.params['parent'] = parent unless parent.nil?
340
+ command.query['pageSize'] = page_size unless page_size.nil?
341
+ command.query['pageToken'] = page_token unless page_token.nil?
342
+ command.query['fields'] = fields unless fields.nil?
343
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
344
+ execute_or_queue_command(command, &block)
345
+ end
346
+
307
347
  # LRO endpoint to batch process many documents. The output is written to Cloud
308
348
  # Storage as JSON in the [Document] format.
309
349
  # @param [String] name
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.40.0
4
+ version: 0.43.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-06-20 00:00:00.000000000 Z
11
+ date: 2022-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.6'
19
+ version: '0.7'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.6'
29
+ version: '0.7'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.40.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.43.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: []