google-apis-documentai_v1beta3 0.29.0 → 0.33.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: 329044d27895d51679036ff3bcfa51b45583540c73eaf087490c3e6270026b50
4
- data.tar.gz: dd2d91c98e84f0c19fddddc6482ae50ee04ddfc7643478072822a951beafd71c
3
+ metadata.gz: ae2184bc70965678a2a88c88aef6904acfc5568eb2671208a65213a35dc57945
4
+ data.tar.gz: dd3e7b32350bf3112289e1eb5bff40a59add704c5ac9b37faaaa40a93b2f1019
5
5
  SHA512:
6
- metadata.gz: 1a679d401f801e4673633d2d671946b717567819d2c5fb1541704a1babe3bbc4590bb4f7b7ffbaa3ae233b3dda3be04814069d98ed428e358ad4f4890fc7af4a
7
- data.tar.gz: faf45fdaa88ddf7bb98aa8b16ff2a463dadc9bb9b1f237d0f7418c7fc06087ec1af4f3f2707c345249dddc6dccabd063aaa1224fa303e546a818434f91ad2300
6
+ metadata.gz: 7443590e4bb38d05792bae98cad15da7d00cb06337279132497b52d8858ec2aae2e8de6a6ad40cf501663c310fbdd035292994540df043a51f44e23c577184f3
7
+ data.tar.gz: 4eee0a963a9c081e111bba859c05d45e3276ad6bad41c6af08a404ff31f66adcd4506d978070860a6eccd8f834d552b1f9394543759e89adb0c8948578506e2f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
+ ### v0.33.0 (2022-02-08)
4
+
5
+ * Regenerated from discovery document revision 20220205
6
+
7
+ ### v0.32.0 (2022-02-01)
8
+
9
+ * Regenerated from discovery document revision 20220129
10
+
11
+ ### v0.31.0 (2022-01-20)
12
+
13
+ * Regenerated from discovery document revision 20220114
14
+ * Regenerated using generator version 0.4.1
15
+
16
+ ### v0.30.0 (2022-01-06)
17
+
18
+ * Regenerated from discovery document revision 20211230
19
+ * Unspecified changes
20
+
3
21
  ### v0.29.0 (2021-12-07)
4
22
 
5
23
  * Regenerated from discovery document revision 20211203
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/documentai_v1beta3"
51
51
  client = Google::Apis::DocumentaiV1beta3::DocumentService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -856,7 +856,7 @@ module Google
856
856
  # @return [String]
857
857
  attr_accessor :input_gcs_source
858
858
 
859
- # The output_gcs_destination (in the request as 'output_gcs_destination') of the
859
+ # The output_gcs_destination (in the request as `output_gcs_destination`) of the
860
860
  # processed document if it was successful, otherwise empty.
861
861
  # Corresponds to the JSON property `outputGcsDestination`
862
862
  # @return [String]
@@ -1120,6 +1120,11 @@ module Google
1120
1120
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1CommonOperationMetadata]
1121
1121
  attr_accessor :common_metadata
1122
1122
 
1123
+ # The Crowd Compute question ID.
1124
+ # Corresponds to the JSON property `questionId`
1125
+ # @return [String]
1126
+ attr_accessor :question_id
1127
+
1123
1128
  def initialize(**args)
1124
1129
  update!(**args)
1125
1130
  end
@@ -1127,6 +1132,7 @@ module Google
1127
1132
  # Update properties of this object
1128
1133
  def update!(**args)
1129
1134
  @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
1135
+ @question_id = args[:question_id] if args.key?(:question_id)
1130
1136
  end
1131
1137
  end
1132
1138
 
@@ -1213,6 +1219,68 @@ module Google
1213
1219
  end
1214
1220
  end
1215
1221
 
1222
+ # The long running operation metadata for AnalyzeHitlData.
1223
+ class GoogleCloudDocumentaiV1alpha1AnalyzeHitlDataMetadata
1224
+ include Google::Apis::Core::Hashable
1225
+
1226
+ # The common metadata for long running operations.
1227
+ # Corresponds to the JSON property `commonMetadata`
1228
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1alpha1CommonOperationMetadata]
1229
+ attr_accessor :common_metadata
1230
+
1231
+ def initialize(**args)
1232
+ update!(**args)
1233
+ end
1234
+
1235
+ # Update properties of this object
1236
+ def update!(**args)
1237
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
1238
+ end
1239
+ end
1240
+
1241
+ # The common metadata for long running operations.
1242
+ class GoogleCloudDocumentaiV1alpha1CommonOperationMetadata
1243
+ include Google::Apis::Core::Hashable
1244
+
1245
+ # The creation time of the operation.
1246
+ # Corresponds to the JSON property `createTime`
1247
+ # @return [String]
1248
+ attr_accessor :create_time
1249
+
1250
+ # A related resource to this operation.
1251
+ # Corresponds to the JSON property `resource`
1252
+ # @return [String]
1253
+ attr_accessor :resource
1254
+
1255
+ # The state of the operation.
1256
+ # Corresponds to the JSON property `state`
1257
+ # @return [String]
1258
+ attr_accessor :state
1259
+
1260
+ # A message providing more details about the current state of processing.
1261
+ # Corresponds to the JSON property `stateMessage`
1262
+ # @return [String]
1263
+ attr_accessor :state_message
1264
+
1265
+ # The last update time of the operation.
1266
+ # Corresponds to the JSON property `updateTime`
1267
+ # @return [String]
1268
+ attr_accessor :update_time
1269
+
1270
+ def initialize(**args)
1271
+ update!(**args)
1272
+ end
1273
+
1274
+ # Update properties of this object
1275
+ def update!(**args)
1276
+ @create_time = args[:create_time] if args.key?(:create_time)
1277
+ @resource = args[:resource] if args.key?(:resource)
1278
+ @state = args[:state] if args.key?(:state)
1279
+ @state_message = args[:state_message] if args.key?(:state_message)
1280
+ @update_time = args[:update_time] if args.key?(:update_time)
1281
+ end
1282
+ end
1283
+
1216
1284
  # Response to an batch document processing request. This is returned in the LRO
1217
1285
  # Operation after the operation is complete.
1218
1286
  class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
@@ -1363,7 +1431,7 @@ module Google
1363
1431
  end
1364
1432
  end
1365
1433
 
1366
- # An entity that could be a phrase in the text or a property belongs to the
1434
+ # An entity that could be a phrase in the text or a property that belongs to the
1367
1435
  # document. It is a known entity type, such as a person, an organization, or
1368
1436
  # location.
1369
1437
  class GoogleCloudDocumentaiV1beta1DocumentEntity
@@ -1479,10 +1547,10 @@ module Google
1479
1547
  # day and time zone are either specified elsewhere or are insignificant. The
1480
1548
  # date is relative to the Gregorian Calendar. This can represent one of the
1481
1549
  # following: * A full date, with non-zero year, month, and day values * A month
1482
- # and day value, with a zero year, such as an anniversary * A year on its own,
1483
- # with zero month and day values * A year and month value, with a zero day, such
1484
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
1485
- # google.protobuf.Timestamp`.
1550
+ # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
1551
+ # zero month and a zero day * A year and month, with a zero day (e.g., a credit
1552
+ # card expiration date) Related types: * google.type.TimeOfDay * google.type.
1553
+ # DateTime * google.protobuf.Timestamp
1486
1554
  # Corresponds to the JSON property `dateValue`
1487
1555
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypeDate]
1488
1556
  attr_accessor :date_value
@@ -1521,8 +1589,8 @@ module Google
1521
1589
  attr_accessor :money_value
1522
1590
 
1523
1591
  # Optional. An optional field to store a normalized string. For some entity
1524
- # types, one of respective 'structured_value' fields may also be populated. Also
1525
- # not all the types of 'structured_value' will be normalized. For example, some
1592
+ # types, one of respective `structured_value` fields may also be populated. Also
1593
+ # not all the types of `structured_value` will be normalized. For example, some
1526
1594
  # processors may not generate float or int normalized text by default. Below are
1527
1595
  # sample formats mapped to structured values. - Money/Currency type (`
1528
1596
  # money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in
@@ -2324,7 +2392,7 @@ module Google
2324
2392
  attr_accessor :id
2325
2393
 
2326
2394
  # The index of the parent item in the corresponding item list (eg. list of
2327
- # entities, properties within entities, etc.) on parent revision.
2395
+ # entities, properties within entities, etc.) in the parent revision.
2328
2396
  # Corresponds to the JSON property `index`
2329
2397
  # @return [Fixnum]
2330
2398
  attr_accessor :index
@@ -3090,7 +3158,7 @@ module Google
3090
3158
  end
3091
3159
  end
3092
3160
 
3093
- # An entity that could be a phrase in the text or a property belongs to the
3161
+ # An entity that could be a phrase in the text or a property that belongs to the
3094
3162
  # document. It is a known entity type, such as a person, an organization, or
3095
3163
  # location.
3096
3164
  class GoogleCloudDocumentaiV1beta2DocumentEntity
@@ -3206,10 +3274,10 @@ module Google
3206
3274
  # day and time zone are either specified elsewhere or are insignificant. The
3207
3275
  # date is relative to the Gregorian Calendar. This can represent one of the
3208
3276
  # following: * A full date, with non-zero year, month, and day values * A month
3209
- # and day value, with a zero year, such as an anniversary * A year on its own,
3210
- # with zero month and day values * A year and month value, with a zero day, such
3211
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
3212
- # google.protobuf.Timestamp`.
3277
+ # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
3278
+ # zero month and a zero day * A year and month, with a zero day (e.g., a credit
3279
+ # card expiration date) Related types: * google.type.TimeOfDay * google.type.
3280
+ # DateTime * google.protobuf.Timestamp
3213
3281
  # Corresponds to the JSON property `dateValue`
3214
3282
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypeDate]
3215
3283
  attr_accessor :date_value
@@ -3248,8 +3316,8 @@ module Google
3248
3316
  attr_accessor :money_value
3249
3317
 
3250
3318
  # Optional. An optional field to store a normalized string. For some entity
3251
- # types, one of respective 'structured_value' fields may also be populated. Also
3252
- # not all the types of 'structured_value' will be normalized. For example, some
3319
+ # types, one of respective `structured_value` fields may also be populated. Also
3320
+ # not all the types of `structured_value` will be normalized. For example, some
3253
3321
  # processors may not generate float or int normalized text by default. Below are
3254
3322
  # sample formats mapped to structured values. - Money/Currency type (`
3255
3323
  # money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in
@@ -4088,7 +4156,7 @@ module Google
4088
4156
  attr_accessor :id
4089
4157
 
4090
4158
  # The index of the parent item in the corresponding item list (eg. list of
4091
- # entities, properties within entities, etc.) on parent revision.
4159
+ # entities, properties within entities, etc.) in the parent revision.
4092
4160
  # Corresponds to the JSON property `index`
4093
4161
  # @return [Fixnum]
4094
4162
  attr_accessor :index
@@ -4802,7 +4870,7 @@ module Google
4802
4870
  # @return [String]
4803
4871
  attr_accessor :input_gcs_source
4804
4872
 
4805
- # The output_gcs_destination (in the request as 'output_gcs_destination') of the
4873
+ # The output_gcs_destination (in the request as `output_gcs_destination`) of the
4806
4874
  # processed document if it was successful, otherwise empty.
4807
4875
  # Corresponds to the JSON property `outputGcsDestination`
4808
4876
  # @return [String]
@@ -5239,7 +5307,7 @@ module Google
5239
5307
  end
5240
5308
  end
5241
5309
 
5242
- # An entity that could be a phrase in the text or a property belongs to the
5310
+ # An entity that could be a phrase in the text or a property that belongs to the
5243
5311
  # document. It is a known entity type, such as a person, an organization, or
5244
5312
  # location.
5245
5313
  class GoogleCloudDocumentaiV1beta3DocumentEntity
@@ -5355,10 +5423,10 @@ module Google
5355
5423
  # day and time zone are either specified elsewhere or are insignificant. The
5356
5424
  # date is relative to the Gregorian Calendar. This can represent one of the
5357
5425
  # following: * A full date, with non-zero year, month, and day values * A month
5358
- # and day value, with a zero year, such as an anniversary * A year on its own,
5359
- # with zero month and day values * A year and month value, with a zero day, such
5360
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
5361
- # google.protobuf.Timestamp`.
5426
+ # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
5427
+ # zero month and a zero day * A year and month, with a zero day (e.g., a credit
5428
+ # card expiration date) Related types: * google.type.TimeOfDay * google.type.
5429
+ # DateTime * google.protobuf.Timestamp
5362
5430
  # Corresponds to the JSON property `dateValue`
5363
5431
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypeDate]
5364
5432
  attr_accessor :date_value
@@ -5397,8 +5465,8 @@ module Google
5397
5465
  attr_accessor :money_value
5398
5466
 
5399
5467
  # Optional. An optional field to store a normalized string. For some entity
5400
- # types, one of respective 'structured_value' fields may also be populated. Also
5401
- # not all the types of 'structured_value' will be normalized. For example, some
5468
+ # types, one of respective `structured_value` fields may also be populated. Also
5469
+ # not all the types of `structured_value` will be normalized. For example, some
5402
5470
  # processors may not generate float or int normalized text by default. Below are
5403
5471
  # sample formats mapped to structured values. - Money/Currency type (`
5404
5472
  # money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in
@@ -6239,7 +6307,7 @@ module Google
6239
6307
  attr_accessor :id
6240
6308
 
6241
6309
  # The index of the parent item in the corresponding item list (eg. list of
6242
- # entities, properties within entities, etc.) on parent revision.
6310
+ # entities, properties within entities, etc.) in the parent revision.
6243
6311
  # Corresponds to the JSON property `index`
6244
6312
  # @return [Fixnum]
6245
6313
  attr_accessor :index
@@ -6956,7 +7024,7 @@ module Google
6956
7024
  end
6957
7025
  end
6958
7026
 
6959
- # The first-class citizen for DAI. Each processor defines how to extract
7027
+ # The first-class citizen for Document AI. Each processor defines how to extract
6960
7028
  # structural information from a document.
6961
7029
  class GoogleCloudDocumentaiV1beta3Processor
6962
7030
  include Google::Apis::Core::Hashable
@@ -6982,8 +7050,8 @@ module Google
6982
7050
  # @return [String]
6983
7051
  attr_accessor :kms_key_name
6984
7052
 
6985
- # Output only. Immutable. The resource name of the processor. Format: projects/`
6986
- # project`/locations/`location`/processors/`processor`
7053
+ # Output only. Immutable. The resource name of the processor. Format: `projects/`
7054
+ # project`/locations/`location`/processors/`processor``
6987
7055
  # Corresponds to the JSON property `name`
6988
7056
  # @return [String]
6989
7057
  attr_accessor :name
@@ -7022,26 +7090,12 @@ module Google
7022
7090
  end
7023
7091
 
7024
7092
  # A processor type is responsible for performing a certain document
7025
- # understanding task on a certain type of document. All processor types are
7026
- # created by the documentai service internally. User will only list all
7027
- # available processor types via UI. For different users (projects), the
7028
- # available processor types may be different since we'll expose the access of
7029
- # some types via EAP whitelisting. We make the ProcessorType a resource under
7030
- # location so we have a unified API and keep the possibility that UI will load
7031
- # different available processor types from different regions. But for alpha the
7032
- # behavior is that the user will always get the union of all available processor
7033
- # types among all regions no matter which regionalized endpoint is called, and
7034
- # then we use the 'available_locations' field to show under which regions a
7035
- # processor type is available. For example, users can call either the 'US' or '
7036
- # EU' endpoint to feach processor types. In the return, we will have an 'invoice
7037
- # parsing' processor with 'available_locations' field only containing 'US'. So
7038
- # the user can try to create an 'invoice parsing' processor under the location '
7039
- # US'. Such attempt of creating under the location 'EU' will fail. Next ID: 9.
7093
+ # understanding task on a certain type of document.
7040
7094
  class GoogleCloudDocumentaiV1beta3ProcessorType
7041
7095
  include Google::Apis::Core::Hashable
7042
7096
 
7043
- # Whether the processor type allows creation. If yes, user can create a
7044
- # processor of this processor type. Otherwise, user needs to request access.
7097
+ # Whether the processor type allows creation. If true, users can create a
7098
+ # processor of this processor type. Otherwise, users need to request access.
7045
7099
  # Corresponds to the JSON property `allowCreation`
7046
7100
  # @return [Boolean]
7047
7101
  attr_accessor :allow_creation
@@ -7125,9 +7179,9 @@ module Google
7125
7179
  # @return [String]
7126
7180
  attr_accessor :display_name
7127
7181
 
7128
- # The resource name of the processor version. Format: projects/`project`/
7182
+ # The resource name of the processor version. Format: `projects/`project`/
7129
7183
  # locations/`location`/processors/`processor`/processorVersions/`
7130
- # processor_version`
7184
+ # processor_version``
7131
7185
  # Corresponds to the JSON property `name`
7132
7186
  # @return [String]
7133
7187
  attr_accessor :name
@@ -7190,6 +7244,11 @@ module Google
7190
7244
  # @return [String]
7191
7245
  attr_accessor :create_time
7192
7246
 
7247
+ # The Crowd Compute question ID.
7248
+ # Corresponds to the JSON property `questionId`
7249
+ # @return [String]
7250
+ attr_accessor :question_id
7251
+
7193
7252
  # Used only when Operation.done is false.
7194
7253
  # Corresponds to the JSON property `state`
7195
7254
  # @return [String]
@@ -7214,13 +7273,14 @@ module Google
7214
7273
  def update!(**args)
7215
7274
  @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
7216
7275
  @create_time = args[:create_time] if args.key?(:create_time)
7276
+ @question_id = args[:question_id] if args.key?(:question_id)
7217
7277
  @state = args[:state] if args.key?(:state)
7218
7278
  @state_message = args[:state_message] if args.key?(:state_message)
7219
7279
  @update_time = args[:update_time] if args.key?(:update_time)
7220
7280
  end
7221
7281
  end
7222
7282
 
7223
- # Request message for review document method. Next Id: 6.
7283
+ # Request message for review document method.
7224
7284
  class GoogleCloudDocumentaiV1beta3ReviewDocumentRequest
7225
7285
  include Google::Apis::Core::Hashable
7226
7286
 
@@ -7712,10 +7772,10 @@ module Google
7712
7772
  # day and time zone are either specified elsewhere or are insignificant. The
7713
7773
  # date is relative to the Gregorian Calendar. This can represent one of the
7714
7774
  # following: * A full date, with non-zero year, month, and day values * A month
7715
- # and day value, with a zero year, such as an anniversary * A year on its own,
7716
- # with zero month and day values * A year and month value, with a zero day, such
7717
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
7718
- # google.protobuf.Timestamp`.
7775
+ # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
7776
+ # zero month and a zero day * A year and month, with a zero day (e.g., a credit
7777
+ # card expiration date) Related types: * google.type.TimeOfDay * google.type.
7778
+ # DateTime * google.protobuf.Timestamp
7719
7779
  class GoogleTypeDate
7720
7780
  include Google::Apis::Core::Hashable
7721
7781
 
@@ -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.29.0"
19
+ GEM_VERSION = "0.33.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211203"
25
+ REVISION = "20220205"
26
26
  end
27
27
  end
28
28
  end
@@ -352,6 +352,18 @@ module Google
352
352
  include Google::Apis::Core::JsonObjectSupport
353
353
  end
354
354
 
355
+ class GoogleCloudDocumentaiV1alpha1AnalyzeHitlDataMetadata
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class GoogleCloudDocumentaiV1alpha1CommonOperationMetadata
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
355
367
  class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
356
368
  class Representation < Google::Apis::Core::JsonRepresentation; end
357
369
 
@@ -1813,6 +1825,7 @@ module Google
1813
1825
  class Representation < Google::Apis::Core::JsonRepresentation
1814
1826
  property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1CommonOperationMetadata::Representation
1815
1827
 
1828
+ property :question_id, as: 'questionId'
1816
1829
  end
1817
1830
  end
1818
1831
 
@@ -1851,6 +1864,25 @@ module Google
1851
1864
  end
1852
1865
  end
1853
1866
 
1867
+ class GoogleCloudDocumentaiV1alpha1AnalyzeHitlDataMetadata
1868
+ # @private
1869
+ class Representation < Google::Apis::Core::JsonRepresentation
1870
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1alpha1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1alpha1CommonOperationMetadata::Representation
1871
+
1872
+ end
1873
+ end
1874
+
1875
+ class GoogleCloudDocumentaiV1alpha1CommonOperationMetadata
1876
+ # @private
1877
+ class Representation < Google::Apis::Core::JsonRepresentation
1878
+ property :create_time, as: 'createTime'
1879
+ property :resource, as: 'resource'
1880
+ property :state, as: 'state'
1881
+ property :state_message, as: 'stateMessage'
1882
+ property :update_time, as: 'updateTime'
1883
+ end
1884
+ end
1885
+
1854
1886
  class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
1855
1887
  # @private
1856
1888
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3572,6 +3604,7 @@ module Google
3572
3604
  property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
3573
3605
 
3574
3606
  property :create_time, as: 'createTime'
3607
+ property :question_id, as: 'questionId'
3575
3608
  property :state, as: 'state'
3576
3609
  property :state_message, as: 'stateMessage'
3577
3610
  property :update_time, as: 'updateTime'
@@ -51,11 +51,12 @@ module Google
51
51
  @batch_path = 'batch'
52
52
  end
53
53
 
54
- # Fetches processor types.
54
+ # Fetches processor types. Note that we do not use ListProcessorTypes here
55
+ # because it is not paginated.
55
56
  # @param [String] parent
56
57
  # Required. The project of processor type to list. The available processor types
57
- # may depend on the whitelisting on projects. Format: projects/`project`/
58
- # locations/`location`
58
+ # may depend on the allow-listing on projects. Format: `projects/`project`/
59
+ # locations/`location``
59
60
  # @param [String] fields
60
61
  # Selector specifying which fields to include in a partial response.
61
62
  # @param [String] quota_user
@@ -273,10 +274,10 @@ module Google
273
274
  # LRO endpoint to batch process many documents. The output is written to Cloud
274
275
  # Storage as JSON in the [Document] format.
275
276
  # @param [String] name
276
- # Required. The resource name of Processor or ProcessorVersion. Format: projects/
277
- # `project`/locations/`location`/processors/`processor`, or projects/`project`/
278
- # locations/`location`/processors/`processor`/processorVersions/`
279
- # processorVersion`
277
+ # Required. The resource name of Processor or ProcessorVersion. Format: `
278
+ # projects/`project`/locations/`location`/processors/`processor``, or `projects/`
279
+ # project`/locations/`location`/processors/`processor`/processorVersions/`
280
+ # processorVersion``
280
281
  # @param [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequest] google_cloud_documentai_v1beta3_batch_process_request_object
281
282
  # @param [String] fields
282
283
  # Selector specifying which fields to include in a partial response.
@@ -311,7 +312,7 @@ module Google
311
312
  # will be at "ENABLED" state by default after its creation.
312
313
  # @param [String] parent
313
314
  # Required. The parent (project and location) under which to create the
314
- # processor. Format: projects/`project`/locations/`location`
315
+ # processor. Format: `projects/`project`/locations/`location``
315
316
  # @param [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Processor] google_cloud_documentai_v1beta3_processor_object
316
317
  # @param [String] fields
317
318
  # Selector specifying which fields to include in a partial response.
@@ -472,7 +473,7 @@ module Google
472
473
  # Lists all processors which belong to this project.
473
474
  # @param [String] parent
474
475
  # Required. The parent (project and location) which owns this collection of
475
- # Processors. Format: projects/`project`/locations/`location`
476
+ # Processors. Format: `projects/`project`/locations/`location``
476
477
  # @param [Fixnum] page_size
477
478
  # The maximum number of processors to return. If unspecified, at most 50
478
479
  # processors will be returned. The maximum value is 100; values above 100 will
@@ -513,9 +514,9 @@ module Google
513
514
  # @param [String] name
514
515
  # Required. The resource name of the Processor or ProcessorVersion to use for
515
516
  # processing. If a Processor is specified, the server will use its default
516
- # version. Format: projects/`project`/locations/`location`/processors/`processor`
517
- # , or projects/`project`/locations/`location`/processors/`processor`/
518
- # processorVersions/`processorVersion`
517
+ # version. Format: `projects/`project`/locations/`location`/processors/`
518
+ # processor``, or `projects/`project`/locations/`location`/processors/`processor`
519
+ # /processorVersions/`processorVersion``
519
520
  # @param [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessRequest] google_cloud_documentai_v1beta3_process_request_object
520
521
  # @param [String] fields
521
522
  # Selector specifying which fields to include in a partial response.
@@ -618,10 +619,10 @@ module Google
618
619
  # LRO endpoint to batch process many documents. The output is written to Cloud
619
620
  # Storage as JSON in the [Document] format.
620
621
  # @param [String] name
621
- # Required. The resource name of Processor or ProcessorVersion. Format: projects/
622
- # `project`/locations/`location`/processors/`processor`, or projects/`project`/
623
- # locations/`location`/processors/`processor`/processorVersions/`
624
- # processorVersion`
622
+ # Required. The resource name of Processor or ProcessorVersion. Format: `
623
+ # projects/`project`/locations/`location`/processors/`processor``, or `projects/`
624
+ # project`/locations/`location`/processors/`processor`/processorVersions/`
625
+ # processorVersion``
625
626
  # @param [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequest] google_cloud_documentai_v1beta3_batch_process_request_object
626
627
  # @param [String] fields
627
628
  # Selector specifying which fields to include in a partial response.
@@ -749,7 +750,7 @@ module Google
749
750
  # Lists all versions of a processor.
750
751
  # @param [String] parent
751
752
  # Required. The parent (project, location and processor) to list all versions.
752
- # Format: projects/`project`/locations/`location`/processors/`processor`
753
+ # Format: `projects/`project`/locations/`location`/processors/`processor``
753
754
  # @param [Fixnum] page_size
754
755
  # The maximum number of processor versions to return. If unspecified, at most 10
755
756
  # processor versions will be returned. The maximum value is 20; values above 20
@@ -790,9 +791,9 @@ module Google
790
791
  # @param [String] name
791
792
  # Required. The resource name of the Processor or ProcessorVersion to use for
792
793
  # processing. If a Processor is specified, the server will use its default
793
- # version. Format: projects/`project`/locations/`location`/processors/`processor`
794
- # , or projects/`project`/locations/`location`/processors/`processor`/
795
- # processorVersions/`processorVersion`
794
+ # version. Format: `projects/`project`/locations/`location`/processors/`
795
+ # processor``, or `projects/`project`/locations/`location`/processors/`processor`
796
+ # /processorVersions/`processorVersion``
796
797
  # @param [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessRequest] google_cloud_documentai_v1beta3_process_request_object
797
798
  # @param [String] fields
798
799
  # Selector specifying which fields to include in a partial response.
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.29.0
4
+ version: 0.33.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-13 00:00:00.000000000 Z
11
+ date: 2022-02-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.29.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.33.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.2.17
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Document AI API V1beta3