google-apis-documentai_v1 0.22.0 → 0.26.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: 90d271cf9685a78ad2dd7d3e5a6f68ce8ea4228def3bd9e8908cc75e2c672276
4
- data.tar.gz: bd54b0a10f031f392f8f48642c523e145e4c06ba9ff1e03b850d1837aba789dd
3
+ metadata.gz: 9335995e23ed4af0f56f6483e5fd80ea096064081f42ae4fc4fa7fd4f77af540
4
+ data.tar.gz: 6fbddd75f120be38fae80bb952bd3832ac898d141d4644bfa8671fcd9eaafac8
5
5
  SHA512:
6
- metadata.gz: 7cd1e8f0012c8c69e0eeb36e0a6ed12ec9a5fa126650570cb061e83f9bdd39eb0d8d136fd5a70bbfcdba2eb7309667179bca1e2cb0ce3218a46db47a85d3cb6a
7
- data.tar.gz: 9a783e14d0af2ceb22edc904f6323f309202c232f3b15015f8e3e7080ef40c6c212e1b9d51487dcdcb7fd2c6863b50e8a2e0d56c6d75b10b5ae790518ce6bacf
6
+ metadata.gz: f9f9f5e105e3177430edef647297b4afdae0b779cb9ca0ca154c9cd0d4f6d8386c3207c2bc7bd4066846a4df55270b368f9650eaa53b2a092e3c323a038d1b4f
7
+ data.tar.gz: 5b6556385eb0e5d5064376472d1fad5974ed28372628c539bb84bd40fd19ba95d609c1262da33210252b8a067755e93fe98c75aac0599d4b77f6c0ad4cf69f61
data/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.26.0 (2022-02-08)
4
+
5
+ * Regenerated from discovery document revision 20220205
6
+
7
+ ### v0.25.0 (2022-02-01)
8
+
9
+ * Regenerated from discovery document revision 20220129
10
+
11
+ ### v0.24.0 (2022-01-20)
12
+
13
+ * Regenerated from discovery document revision 20220114
14
+ * Regenerated using generator version 0.4.1
15
+
16
+ ### v0.23.0 (2022-01-06)
17
+
18
+ * Regenerated from discovery document revision 20211230
19
+ * Unspecified changes
20
+
3
21
  ### v0.22.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_v1"
51
51
  client = Google::Apis::DocumentaiV1::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.
@@ -881,7 +881,7 @@ module Google
881
881
  # @return [String]
882
882
  attr_accessor :input_gcs_source
883
883
 
884
- # The output_gcs_destination (in the request as 'output_gcs_destination') of the
884
+ # The output_gcs_destination (in the request as `output_gcs_destination`) of the
885
885
  # processed document if it was successful, otherwise empty.
886
886
  # Corresponds to the JSON property `outputGcsDestination`
887
887
  # @return [String]
@@ -1259,7 +1259,7 @@ module Google
1259
1259
  end
1260
1260
  end
1261
1261
 
1262
- # An entity that could be a phrase in the text or a property belongs to the
1262
+ # An entity that could be a phrase in the text or a property that belongs to the
1263
1263
  # document. It is a known entity type, such as a person, an organization, or
1264
1264
  # location.
1265
1265
  class GoogleCloudDocumentaiV1DocumentEntity
@@ -1375,10 +1375,10 @@ module Google
1375
1375
  # day and time zone are either specified elsewhere or are insignificant. The
1376
1376
  # date is relative to the Gregorian Calendar. This can represent one of the
1377
1377
  # following: * A full date, with non-zero year, month, and day values * A month
1378
- # and day value, with a zero year, such as an anniversary * A year on its own,
1379
- # with zero month and day values * A year and month value, with a zero day, such
1380
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
1381
- # google.protobuf.Timestamp`.
1378
+ # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
1379
+ # zero month and a zero day * A year and month, with a zero day (e.g., a credit
1380
+ # card expiration date) Related types: * google.type.TimeOfDay * google.type.
1381
+ # DateTime * google.protobuf.Timestamp
1382
1382
  # Corresponds to the JSON property `dateValue`
1383
1383
  # @return [Google::Apis::DocumentaiV1::GoogleTypeDate]
1384
1384
  attr_accessor :date_value
@@ -1417,8 +1417,8 @@ module Google
1417
1417
  attr_accessor :money_value
1418
1418
 
1419
1419
  # Optional. An optional field to store a normalized string. For some entity
1420
- # types, one of respective 'structured_value' fields may also be populated. Also
1421
- # not all the types of 'structured_value' will be normalized. For example, some
1420
+ # types, one of respective `structured_value` fields may also be populated. Also
1421
+ # not all the types of `structured_value` will be normalized. For example, some
1422
1422
  # processors may not generate float or int normalized text by default. Below are
1423
1423
  # sample formats mapped to structured values. - Money/Currency type (`
1424
1424
  # money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in
@@ -2259,7 +2259,7 @@ module Google
2259
2259
  attr_accessor :id
2260
2260
 
2261
2261
  # The index of the parent item in the corresponding item list (eg. list of
2262
- # entities, properties within entities, etc.) on parent revision.
2262
+ # entities, properties within entities, etc.) in the parent revision.
2263
2263
  # Corresponds to the JSON property `index`
2264
2264
  # @return [Fixnum]
2265
2265
  attr_accessor :index
@@ -2958,7 +2958,7 @@ module Google
2958
2958
  end
2959
2959
  end
2960
2960
 
2961
- # The first-class citizen for DAI. Each processor defines how to extract
2961
+ # The first-class citizen for Document AI. Each processor defines how to extract
2962
2962
  # structural information from a document.
2963
2963
  class GoogleCloudDocumentaiV1Processor
2964
2964
  include Google::Apis::Core::Hashable
@@ -2984,8 +2984,8 @@ module Google
2984
2984
  # @return [String]
2985
2985
  attr_accessor :kms_key_name
2986
2986
 
2987
- # Output only. Immutable. The resource name of the processor. Format: projects/`
2988
- # project`/locations/`location`/processors/`processor`
2987
+ # Output only. Immutable. The resource name of the processor. Format: `projects/`
2988
+ # project`/locations/`location`/processors/`processor``
2989
2989
  # Corresponds to the JSON property `name`
2990
2990
  # @return [String]
2991
2991
  attr_accessor :name
@@ -3024,26 +3024,12 @@ module Google
3024
3024
  end
3025
3025
 
3026
3026
  # A processor type is responsible for performing a certain document
3027
- # understanding task on a certain type of document. All processor types are
3028
- # created by the documentai service internally. User will only list all
3029
- # available processor types via UI. For different users (projects), the
3030
- # available processor types may be different since we'll expose the access of
3031
- # some types via EAP whitelisting. We make the ProcessorType a resource under
3032
- # location so we have a unified API and keep the possibility that UI will load
3033
- # different available processor types from different regions. But for alpha the
3034
- # behavior is that the user will always get the union of all available processor
3035
- # types among all regions no matter which regionalized endpoint is called, and
3036
- # then we use the 'available_locations' field to show under which regions a
3037
- # processor type is available. For example, users can call either the 'US' or '
3038
- # EU' endpoint to feach processor types. In the return, we will have an 'invoice
3039
- # parsing' processor with 'available_locations' field only containing 'US'. So
3040
- # the user can try to create an 'invoice parsing' processor under the location '
3041
- # US'. Such attempt of creating under the location 'EU' will fail. Next ID: 9.
3027
+ # understanding task on a certain type of document.
3042
3028
  class GoogleCloudDocumentaiV1ProcessorType
3043
3029
  include Google::Apis::Core::Hashable
3044
3030
 
3045
- # Whether the processor type allows creation. If yes, user can create a
3046
- # processor of this processor type. Otherwise, user needs to request access.
3031
+ # Whether the processor type allows creation. If true, users can create a
3032
+ # processor of this processor type. Otherwise, users need to request access.
3047
3033
  # Corresponds to the JSON property `allowCreation`
3048
3034
  # @return [Boolean]
3049
3035
  attr_accessor :allow_creation
@@ -3127,9 +3113,9 @@ module Google
3127
3113
  # @return [String]
3128
3114
  attr_accessor :display_name
3129
3115
 
3130
- # The resource name of the processor version. Format: projects/`project`/
3116
+ # The resource name of the processor version. Format: `projects/`project`/
3131
3117
  # locations/`location`/processors/`processor`/processorVersions/`
3132
- # processor_version`
3118
+ # processor_version``
3133
3119
  # Corresponds to the JSON property `name`
3134
3120
  # @return [String]
3135
3121
  attr_accessor :name
@@ -3187,6 +3173,11 @@ module Google
3187
3173
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1CommonOperationMetadata]
3188
3174
  attr_accessor :common_metadata
3189
3175
 
3176
+ # The Crowd Compute question ID.
3177
+ # Corresponds to the JSON property `questionId`
3178
+ # @return [String]
3179
+ attr_accessor :question_id
3180
+
3190
3181
  def initialize(**args)
3191
3182
  update!(**args)
3192
3183
  end
@@ -3194,10 +3185,11 @@ module Google
3194
3185
  # Update properties of this object
3195
3186
  def update!(**args)
3196
3187
  @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
3188
+ @question_id = args[:question_id] if args.key?(:question_id)
3197
3189
  end
3198
3190
  end
3199
3191
 
3200
- # Request message for review document method. Next Id: 6.
3192
+ # Request message for review document method.
3201
3193
  class GoogleCloudDocumentaiV1ReviewDocumentRequest
3202
3194
  include Google::Apis::Core::Hashable
3203
3195
 
@@ -3373,6 +3365,68 @@ module Google
3373
3365
  end
3374
3366
  end
3375
3367
 
3368
+ # The long running operation metadata for AnalyzeHitlData.
3369
+ class GoogleCloudDocumentaiV1alpha1AnalyzeHitlDataMetadata
3370
+ include Google::Apis::Core::Hashable
3371
+
3372
+ # The common metadata for long running operations.
3373
+ # Corresponds to the JSON property `commonMetadata`
3374
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1alpha1CommonOperationMetadata]
3375
+ attr_accessor :common_metadata
3376
+
3377
+ def initialize(**args)
3378
+ update!(**args)
3379
+ end
3380
+
3381
+ # Update properties of this object
3382
+ def update!(**args)
3383
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
3384
+ end
3385
+ end
3386
+
3387
+ # The common metadata for long running operations.
3388
+ class GoogleCloudDocumentaiV1alpha1CommonOperationMetadata
3389
+ include Google::Apis::Core::Hashable
3390
+
3391
+ # The creation time of the operation.
3392
+ # Corresponds to the JSON property `createTime`
3393
+ # @return [String]
3394
+ attr_accessor :create_time
3395
+
3396
+ # A related resource to this operation.
3397
+ # Corresponds to the JSON property `resource`
3398
+ # @return [String]
3399
+ attr_accessor :resource
3400
+
3401
+ # The state of the operation.
3402
+ # Corresponds to the JSON property `state`
3403
+ # @return [String]
3404
+ attr_accessor :state
3405
+
3406
+ # A message providing more details about the current state of processing.
3407
+ # Corresponds to the JSON property `stateMessage`
3408
+ # @return [String]
3409
+ attr_accessor :state_message
3410
+
3411
+ # The last update time of the operation.
3412
+ # Corresponds to the JSON property `updateTime`
3413
+ # @return [String]
3414
+ attr_accessor :update_time
3415
+
3416
+ def initialize(**args)
3417
+ update!(**args)
3418
+ end
3419
+
3420
+ # Update properties of this object
3421
+ def update!(**args)
3422
+ @create_time = args[:create_time] if args.key?(:create_time)
3423
+ @resource = args[:resource] if args.key?(:resource)
3424
+ @state = args[:state] if args.key?(:state)
3425
+ @state_message = args[:state_message] if args.key?(:state_message)
3426
+ @update_time = args[:update_time] if args.key?(:update_time)
3427
+ end
3428
+ end
3429
+
3376
3430
  # Response to an batch document processing request. This is returned in the LRO
3377
3431
  # Operation after the operation is complete.
3378
3432
  class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
@@ -3523,7 +3577,7 @@ module Google
3523
3577
  end
3524
3578
  end
3525
3579
 
3526
- # An entity that could be a phrase in the text or a property belongs to the
3580
+ # An entity that could be a phrase in the text or a property that belongs to the
3527
3581
  # document. It is a known entity type, such as a person, an organization, or
3528
3582
  # location.
3529
3583
  class GoogleCloudDocumentaiV1beta1DocumentEntity
@@ -3639,10 +3693,10 @@ module Google
3639
3693
  # day and time zone are either specified elsewhere or are insignificant. The
3640
3694
  # date is relative to the Gregorian Calendar. This can represent one of the
3641
3695
  # following: * A full date, with non-zero year, month, and day values * A month
3642
- # and day value, with a zero year, such as an anniversary * A year on its own,
3643
- # with zero month and day values * A year and month value, with a zero day, such
3644
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
3645
- # google.protobuf.Timestamp`.
3696
+ # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
3697
+ # zero month and a zero day * A year and month, with a zero day (e.g., a credit
3698
+ # card expiration date) Related types: * google.type.TimeOfDay * google.type.
3699
+ # DateTime * google.protobuf.Timestamp
3646
3700
  # Corresponds to the JSON property `dateValue`
3647
3701
  # @return [Google::Apis::DocumentaiV1::GoogleTypeDate]
3648
3702
  attr_accessor :date_value
@@ -3681,8 +3735,8 @@ module Google
3681
3735
  attr_accessor :money_value
3682
3736
 
3683
3737
  # Optional. An optional field to store a normalized string. For some entity
3684
- # types, one of respective 'structured_value' fields may also be populated. Also
3685
- # not all the types of 'structured_value' will be normalized. For example, some
3738
+ # types, one of respective `structured_value` fields may also be populated. Also
3739
+ # not all the types of `structured_value` will be normalized. For example, some
3686
3740
  # processors may not generate float or int normalized text by default. Below are
3687
3741
  # sample formats mapped to structured values. - Money/Currency type (`
3688
3742
  # money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in
@@ -4484,7 +4538,7 @@ module Google
4484
4538
  attr_accessor :id
4485
4539
 
4486
4540
  # The index of the parent item in the corresponding item list (eg. list of
4487
- # entities, properties within entities, etc.) on parent revision.
4541
+ # entities, properties within entities, etc.) in the parent revision.
4488
4542
  # Corresponds to the JSON property `index`
4489
4543
  # @return [Fixnum]
4490
4544
  attr_accessor :index
@@ -5250,7 +5304,7 @@ module Google
5250
5304
  end
5251
5305
  end
5252
5306
 
5253
- # An entity that could be a phrase in the text or a property belongs to the
5307
+ # An entity that could be a phrase in the text or a property that belongs to the
5254
5308
  # document. It is a known entity type, such as a person, an organization, or
5255
5309
  # location.
5256
5310
  class GoogleCloudDocumentaiV1beta2DocumentEntity
@@ -5366,10 +5420,10 @@ module Google
5366
5420
  # day and time zone are either specified elsewhere or are insignificant. The
5367
5421
  # date is relative to the Gregorian Calendar. This can represent one of the
5368
5422
  # following: * A full date, with non-zero year, month, and day values * A month
5369
- # and day value, with a zero year, such as an anniversary * A year on its own,
5370
- # with zero month and day values * A year and month value, with a zero day, such
5371
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
5372
- # google.protobuf.Timestamp`.
5423
+ # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
5424
+ # zero month and a zero day * A year and month, with a zero day (e.g., a credit
5425
+ # card expiration date) Related types: * google.type.TimeOfDay * google.type.
5426
+ # DateTime * google.protobuf.Timestamp
5373
5427
  # Corresponds to the JSON property `dateValue`
5374
5428
  # @return [Google::Apis::DocumentaiV1::GoogleTypeDate]
5375
5429
  attr_accessor :date_value
@@ -5408,8 +5462,8 @@ module Google
5408
5462
  attr_accessor :money_value
5409
5463
 
5410
5464
  # Optional. An optional field to store a normalized string. For some entity
5411
- # types, one of respective 'structured_value' fields may also be populated. Also
5412
- # not all the types of 'structured_value' will be normalized. For example, some
5465
+ # types, one of respective `structured_value` fields may also be populated. Also
5466
+ # not all the types of `structured_value` will be normalized. For example, some
5413
5467
  # processors may not generate float or int normalized text by default. Below are
5414
5468
  # sample formats mapped to structured values. - Money/Currency type (`
5415
5469
  # money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in
@@ -6248,7 +6302,7 @@ module Google
6248
6302
  attr_accessor :id
6249
6303
 
6250
6304
  # The index of the parent item in the corresponding item list (eg. list of
6251
- # entities, properties within entities, etc.) on parent revision.
6305
+ # entities, properties within entities, etc.) in the parent revision.
6252
6306
  # Corresponds to the JSON property `index`
6253
6307
  # @return [Fixnum]
6254
6308
  attr_accessor :index
@@ -6937,7 +6991,7 @@ module Google
6937
6991
  # @return [String]
6938
6992
  attr_accessor :input_gcs_source
6939
6993
 
6940
- # The output_gcs_destination (in the request as 'output_gcs_destination') of the
6994
+ # The output_gcs_destination (in the request as `output_gcs_destination`) of the
6941
6995
  # processed document if it was successful, otherwise empty.
6942
6996
  # Corresponds to the JSON property `outputGcsDestination`
6943
6997
  # @return [String]
@@ -7207,6 +7261,11 @@ module Google
7207
7261
  # @return [String]
7208
7262
  attr_accessor :create_time
7209
7263
 
7264
+ # The Crowd Compute question ID.
7265
+ # Corresponds to the JSON property `questionId`
7266
+ # @return [String]
7267
+ attr_accessor :question_id
7268
+
7210
7269
  # Used only when Operation.done is false.
7211
7270
  # Corresponds to the JSON property `state`
7212
7271
  # @return [String]
@@ -7231,6 +7290,7 @@ module Google
7231
7290
  def update!(**args)
7232
7291
  @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
7233
7292
  @create_time = args[:create_time] if args.key?(:create_time)
7293
+ @question_id = args[:question_id] if args.key?(:question_id)
7234
7294
  @state = args[:state] if args.key?(:state)
7235
7295
  @state_message = args[:state_message] if args.key?(:state_message)
7236
7296
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -7627,10 +7687,10 @@ module Google
7627
7687
  # day and time zone are either specified elsewhere or are insignificant. The
7628
7688
  # date is relative to the Gregorian Calendar. This can represent one of the
7629
7689
  # following: * A full date, with non-zero year, month, and day values * A month
7630
- # and day value, with a zero year, such as an anniversary * A year on its own,
7631
- # with zero month and day values * A year and month value, with a zero day, such
7632
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
7633
- # google.protobuf.Timestamp`.
7690
+ # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
7691
+ # zero month and a zero day * A year and month, with a zero day (e.g., a credit
7692
+ # card expiration date) Related types: * google.type.TimeOfDay * google.type.
7693
+ # DateTime * google.protobuf.Timestamp
7634
7694
  class GoogleTypeDate
7635
7695
  include Google::Apis::Core::Hashable
7636
7696
 
@@ -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.22.0"
19
+ GEM_VERSION = "0.26.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
@@ -700,6 +700,18 @@ module Google
700
700
  include Google::Apis::Core::JsonObjectSupport
701
701
  end
702
702
 
703
+ class GoogleCloudDocumentaiV1alpha1AnalyzeHitlDataMetadata
704
+ class Representation < Google::Apis::Core::JsonRepresentation; end
705
+
706
+ include Google::Apis::Core::JsonObjectSupport
707
+ end
708
+
709
+ class GoogleCloudDocumentaiV1alpha1CommonOperationMetadata
710
+ class Representation < Google::Apis::Core::JsonRepresentation; end
711
+
712
+ include Google::Apis::Core::JsonObjectSupport
713
+ end
714
+
703
715
  class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
704
716
  class Representation < Google::Apis::Core::JsonRepresentation; end
705
717
 
@@ -2397,6 +2409,7 @@ module Google
2397
2409
  class Representation < Google::Apis::Core::JsonRepresentation
2398
2410
  property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1CommonOperationMetadata::Representation
2399
2411
 
2412
+ property :question_id, as: 'questionId'
2400
2413
  end
2401
2414
  end
2402
2415
 
@@ -2466,6 +2479,25 @@ module Google
2466
2479
  end
2467
2480
  end
2468
2481
 
2482
+ class GoogleCloudDocumentaiV1alpha1AnalyzeHitlDataMetadata
2483
+ # @private
2484
+ class Representation < Google::Apis::Core::JsonRepresentation
2485
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1alpha1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1alpha1CommonOperationMetadata::Representation
2486
+
2487
+ end
2488
+ end
2489
+
2490
+ class GoogleCloudDocumentaiV1alpha1CommonOperationMetadata
2491
+ # @private
2492
+ class Representation < Google::Apis::Core::JsonRepresentation
2493
+ property :create_time, as: 'createTime'
2494
+ property :resource, as: 'resource'
2495
+ property :state, as: 'state'
2496
+ property :state_message, as: 'stateMessage'
2497
+ property :update_time, as: 'updateTime'
2498
+ end
2499
+ end
2500
+
2469
2501
  class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
2470
2502
  # @private
2471
2503
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3569,6 +3601,7 @@ module Google
3569
3601
  property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
3570
3602
 
3571
3603
  property :create_time, as: 'createTime'
3604
+ property :question_id, as: 'questionId'
3572
3605
  property :state, as: 'state'
3573
3606
  property :state_message, as: 'stateMessage'
3574
3607
  property :update_time, as: 'updateTime'
@@ -84,11 +84,12 @@ module Google
84
84
  execute_or_queue_command(command, &block)
85
85
  end
86
86
 
87
- # Fetches processor types.
87
+ # Fetches processor types. Note that we do not use ListProcessorTypes here
88
+ # because it is not paginated.
88
89
  # @param [String] parent
89
90
  # Required. The project of processor type to list. The available processor types
90
- # may depend on the whitelisting on projects. Format: projects/`project`/
91
- # locations/`location`
91
+ # may depend on the allow-listing on projects. Format: `projects/`project`/
92
+ # locations/`location``
92
93
  # @param [String] fields
93
94
  # Selector specifying which fields to include in a partial response.
94
95
  # @param [String] quota_user
@@ -306,10 +307,10 @@ module Google
306
307
  # LRO endpoint to batch process many documents. The output is written to Cloud
307
308
  # Storage as JSON in the [Document] format.
308
309
  # @param [String] name
309
- # Required. The resource name of Processor or ProcessorVersion. Format: projects/
310
- # `project`/locations/`location`/processors/`processor`, or projects/`project`/
311
- # locations/`location`/processors/`processor`/processorVersions/`
312
- # processorVersion`
310
+ # Required. The resource name of Processor or ProcessorVersion. Format: `
311
+ # projects/`project`/locations/`location`/processors/`processor``, or `projects/`
312
+ # project`/locations/`location`/processors/`processor`/processorVersions/`
313
+ # processorVersion``
313
314
  # @param [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1BatchProcessRequest] google_cloud_documentai_v1_batch_process_request_object
314
315
  # @param [String] fields
315
316
  # Selector specifying which fields to include in a partial response.
@@ -344,7 +345,7 @@ module Google
344
345
  # will be at "ENABLED" state by default after its creation.
345
346
  # @param [String] parent
346
347
  # Required. The parent (project and location) under which to create the
347
- # processor. Format: projects/`project`/locations/`location`
348
+ # processor. Format: `projects/`project`/locations/`location``
348
349
  # @param [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Processor] google_cloud_documentai_v1_processor_object
349
350
  # @param [String] fields
350
351
  # Selector specifying which fields to include in a partial response.
@@ -505,7 +506,7 @@ module Google
505
506
  # Lists all processors which belong to this project.
506
507
  # @param [String] parent
507
508
  # Required. The parent (project and location) which owns this collection of
508
- # Processors. Format: projects/`project`/locations/`location`
509
+ # Processors. Format: `projects/`project`/locations/`location``
509
510
  # @param [Fixnum] page_size
510
511
  # The maximum number of processors to return. If unspecified, at most 50
511
512
  # processors will be returned. The maximum value is 100; values above 100 will
@@ -546,9 +547,9 @@ module Google
546
547
  # @param [String] name
547
548
  # Required. The resource name of the Processor or ProcessorVersion to use for
548
549
  # processing. If a Processor is specified, the server will use its default
549
- # version. Format: projects/`project`/locations/`location`/processors/`processor`
550
- # , or projects/`project`/locations/`location`/processors/`processor`/
551
- # processorVersions/`processorVersion`
550
+ # version. Format: `projects/`project`/locations/`location`/processors/`
551
+ # processor``, or `projects/`project`/locations/`location`/processors/`processor`
552
+ # /processorVersions/`processorVersion``
552
553
  # @param [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessRequest] google_cloud_documentai_v1_process_request_object
553
554
  # @param [String] fields
554
555
  # Selector specifying which fields to include in a partial response.
@@ -651,10 +652,10 @@ module Google
651
652
  # LRO endpoint to batch process many documents. The output is written to Cloud
652
653
  # Storage as JSON in the [Document] format.
653
654
  # @param [String] name
654
- # Required. The resource name of Processor or ProcessorVersion. Format: projects/
655
- # `project`/locations/`location`/processors/`processor`, or projects/`project`/
656
- # locations/`location`/processors/`processor`/processorVersions/`
657
- # processorVersion`
655
+ # Required. The resource name of Processor or ProcessorVersion. Format: `
656
+ # projects/`project`/locations/`location`/processors/`processor``, or `projects/`
657
+ # project`/locations/`location`/processors/`processor`/processorVersions/`
658
+ # processorVersion``
658
659
  # @param [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1BatchProcessRequest] google_cloud_documentai_v1_batch_process_request_object
659
660
  # @param [String] fields
660
661
  # Selector specifying which fields to include in a partial response.
@@ -782,7 +783,7 @@ module Google
782
783
  # Lists all versions of a processor.
783
784
  # @param [String] parent
784
785
  # Required. The parent (project, location and processor) to list all versions.
785
- # Format: projects/`project`/locations/`location`/processors/`processor`
786
+ # Format: `projects/`project`/locations/`location`/processors/`processor``
786
787
  # @param [Fixnum] page_size
787
788
  # The maximum number of processor versions to return. If unspecified, at most 10
788
789
  # processor versions will be returned. The maximum value is 20; values above 20
@@ -823,9 +824,9 @@ module Google
823
824
  # @param [String] name
824
825
  # Required. The resource name of the Processor or ProcessorVersion to use for
825
826
  # processing. If a Processor is specified, the server will use its default
826
- # version. Format: projects/`project`/locations/`location`/processors/`processor`
827
- # , or projects/`project`/locations/`location`/processors/`processor`/
828
- # processorVersions/`processorVersion`
827
+ # version. Format: `projects/`project`/locations/`location`/processors/`
828
+ # processor``, or `projects/`project`/locations/`location`/processors/`processor`
829
+ # /processorVersions/`processorVersion``
829
830
  # @param [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessRequest] google_cloud_documentai_v1_process_request_object
830
831
  # @param [String] fields
831
832
  # 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_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.0
4
+ version: 0.26.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.22.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.26.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: []
@@ -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 V1