google-apis-documentai_v1beta3 0.29.0 → 0.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 329044d27895d51679036ff3bcfa51b45583540c73eaf087490c3e6270026b50
4
- data.tar.gz: dd2d91c98e84f0c19fddddc6482ae50ee04ddfc7643478072822a951beafd71c
3
+ metadata.gz: 54881d713ec3072ff77587cb0ad006bedf24609dcd3426ab80f20927af272e99
4
+ data.tar.gz: b72e127a17eef359c96e69b8b6b8490b1050e40abf79f23bb9715d4dd0f83eb3
5
5
  SHA512:
6
- metadata.gz: 1a679d401f801e4673633d2d671946b717567819d2c5fb1541704a1babe3bbc4590bb4f7b7ffbaa3ae233b3dda3be04814069d98ed428e358ad4f4890fc7af4a
7
- data.tar.gz: faf45fdaa88ddf7bb98aa8b16ff2a463dadc9bb9b1f237d0f7418c7fc06087ec1af4f3f2707c345249dddc6dccabd063aaa1224fa303e546a818434f91ad2300
6
+ metadata.gz: 4eeb81c79c8ec2f94dce1c20f85235a8af04b0e5b2c5db5cd07c5a3e53a519db31bde7748bd09cb873ccb6ec82c80a58b8c421225c40294d55d07961f135acc2
7
+ data.tar.gz: b335e5b8c50cd9872b28628bada6ebf32c740f3d3c0dd328f3676387a5d1ccebcd616d4f641427a3984ed76be0d78d517a73d9b262e391717877d24d49f946c4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
+ ### v0.30.0 (2022-01-06)
4
+
5
+ * Regenerated from discovery document revision 20211230
6
+ * Unspecified changes
7
+
3
8
  ### v0.29.0 (2021-12-07)
4
9
 
5
10
  * 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]
@@ -1363,7 +1363,7 @@ module Google
1363
1363
  end
1364
1364
  end
1365
1365
 
1366
- # An entity that could be a phrase in the text or a property belongs to the
1366
+ # An entity that could be a phrase in the text or a property that belongs to the
1367
1367
  # document. It is a known entity type, such as a person, an organization, or
1368
1368
  # location.
1369
1369
  class GoogleCloudDocumentaiV1beta1DocumentEntity
@@ -1521,8 +1521,8 @@ module Google
1521
1521
  attr_accessor :money_value
1522
1522
 
1523
1523
  # 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
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
1526
1526
  # processors may not generate float or int normalized text by default. Below are
1527
1527
  # sample formats mapped to structured values. - Money/Currency type (`
1528
1528
  # money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in
@@ -2324,7 +2324,7 @@ module Google
2324
2324
  attr_accessor :id
2325
2325
 
2326
2326
  # The index of the parent item in the corresponding item list (eg. list of
2327
- # entities, properties within entities, etc.) on parent revision.
2327
+ # entities, properties within entities, etc.) in the parent revision.
2328
2328
  # Corresponds to the JSON property `index`
2329
2329
  # @return [Fixnum]
2330
2330
  attr_accessor :index
@@ -3090,7 +3090,7 @@ module Google
3090
3090
  end
3091
3091
  end
3092
3092
 
3093
- # An entity that could be a phrase in the text or a property belongs to the
3093
+ # An entity that could be a phrase in the text or a property that belongs to the
3094
3094
  # document. It is a known entity type, such as a person, an organization, or
3095
3095
  # location.
3096
3096
  class GoogleCloudDocumentaiV1beta2DocumentEntity
@@ -3248,8 +3248,8 @@ module Google
3248
3248
  attr_accessor :money_value
3249
3249
 
3250
3250
  # 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
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
3253
3253
  # processors may not generate float or int normalized text by default. Below are
3254
3254
  # sample formats mapped to structured values. - Money/Currency type (`
3255
3255
  # money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in
@@ -4088,7 +4088,7 @@ module Google
4088
4088
  attr_accessor :id
4089
4089
 
4090
4090
  # The index of the parent item in the corresponding item list (eg. list of
4091
- # entities, properties within entities, etc.) on parent revision.
4091
+ # entities, properties within entities, etc.) in the parent revision.
4092
4092
  # Corresponds to the JSON property `index`
4093
4093
  # @return [Fixnum]
4094
4094
  attr_accessor :index
@@ -4802,7 +4802,7 @@ module Google
4802
4802
  # @return [String]
4803
4803
  attr_accessor :input_gcs_source
4804
4804
 
4805
- # The output_gcs_destination (in the request as 'output_gcs_destination') of the
4805
+ # The output_gcs_destination (in the request as `output_gcs_destination`) of the
4806
4806
  # processed document if it was successful, otherwise empty.
4807
4807
  # Corresponds to the JSON property `outputGcsDestination`
4808
4808
  # @return [String]
@@ -5239,7 +5239,7 @@ module Google
5239
5239
  end
5240
5240
  end
5241
5241
 
5242
- # An entity that could be a phrase in the text or a property belongs to the
5242
+ # An entity that could be a phrase in the text or a property that belongs to the
5243
5243
  # document. It is a known entity type, such as a person, an organization, or
5244
5244
  # location.
5245
5245
  class GoogleCloudDocumentaiV1beta3DocumentEntity
@@ -5397,8 +5397,8 @@ module Google
5397
5397
  attr_accessor :money_value
5398
5398
 
5399
5399
  # 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
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
5402
5402
  # processors may not generate float or int normalized text by default. Below are
5403
5403
  # sample formats mapped to structured values. - Money/Currency type (`
5404
5404
  # money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in
@@ -6239,7 +6239,7 @@ module Google
6239
6239
  attr_accessor :id
6240
6240
 
6241
6241
  # The index of the parent item in the corresponding item list (eg. list of
6242
- # entities, properties within entities, etc.) on parent revision.
6242
+ # entities, properties within entities, etc.) in the parent revision.
6243
6243
  # Corresponds to the JSON property `index`
6244
6244
  # @return [Fixnum]
6245
6245
  attr_accessor :index
@@ -6956,7 +6956,7 @@ module Google
6956
6956
  end
6957
6957
  end
6958
6958
 
6959
- # The first-class citizen for DAI. Each processor defines how to extract
6959
+ # The first-class citizen for Document AI. Each processor defines how to extract
6960
6960
  # structural information from a document.
6961
6961
  class GoogleCloudDocumentaiV1beta3Processor
6962
6962
  include Google::Apis::Core::Hashable
@@ -6982,8 +6982,8 @@ module Google
6982
6982
  # @return [String]
6983
6983
  attr_accessor :kms_key_name
6984
6984
 
6985
- # Output only. Immutable. The resource name of the processor. Format: projects/`
6986
- # project`/locations/`location`/processors/`processor`
6985
+ # Output only. Immutable. The resource name of the processor. Format: `projects/`
6986
+ # project`/locations/`location`/processors/`processor``
6987
6987
  # Corresponds to the JSON property `name`
6988
6988
  # @return [String]
6989
6989
  attr_accessor :name
@@ -7022,26 +7022,12 @@ module Google
7022
7022
  end
7023
7023
 
7024
7024
  # 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.
7025
+ # understanding task on a certain type of document.
7040
7026
  class GoogleCloudDocumentaiV1beta3ProcessorType
7041
7027
  include Google::Apis::Core::Hashable
7042
7028
 
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.
7029
+ # Whether the processor type allows creation. If true, users can create a
7030
+ # processor of this processor type. Otherwise, users need to request access.
7045
7031
  # Corresponds to the JSON property `allowCreation`
7046
7032
  # @return [Boolean]
7047
7033
  attr_accessor :allow_creation
@@ -7125,9 +7111,9 @@ module Google
7125
7111
  # @return [String]
7126
7112
  attr_accessor :display_name
7127
7113
 
7128
- # The resource name of the processor version. Format: projects/`project`/
7114
+ # The resource name of the processor version. Format: `projects/`project`/
7129
7115
  # locations/`location`/processors/`processor`/processorVersions/`
7130
- # processor_version`
7116
+ # processor_version``
7131
7117
  # Corresponds to the JSON property `name`
7132
7118
  # @return [String]
7133
7119
  attr_accessor :name
@@ -7220,7 +7206,7 @@ module Google
7220
7206
  end
7221
7207
  end
7222
7208
 
7223
- # Request message for review document method. Next Id: 6.
7209
+ # Request message for review document method.
7224
7210
  class GoogleCloudDocumentaiV1beta3ReviewDocumentRequest
7225
7211
  include Google::Apis::Core::Hashable
7226
7212
 
@@ -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.30.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211203"
25
+ REVISION = "20211230"
26
26
  end
27
27
  end
28
28
  end
@@ -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.30.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-13 00:00:00.000000000 Z
11
+ date: 2022-01-10 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.30.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.4
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Document AI API V1beta3