google-cloud-document_ai-v1beta3 0.43.0 → 0.44.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: 69e7fcfc9f69f6936e9ee08093bc0948a9ba1f281890628d14b2bf905f12d33c
4
- data.tar.gz: fd28b68d0f45954dc3158a57e6de81531de767bf84b9979b32f3b9dd9267b7a4
3
+ metadata.gz: '0559c2d05164203b4a76a3a18f6f103511bd5b7577f531c8a19c5cbbe1a3e39b'
4
+ data.tar.gz: df86d8d69f0fe937e5bfe530e4d0909f84edd654ceec04ccb4ed7c91ca21ed67
5
5
  SHA512:
6
- metadata.gz: 0ef4650bc59641bbb7979eb6feb195f672f4aef9958ac2fb0c609b980d56f4ef9427042c8136efd80410bda69800d05f7320bd8142dd16a6adbb2f10dbf97069
7
- data.tar.gz: 9329af3be763ee68621068f124d42d305c74f8cd4f09ff3928c5a4dd3fbfd6b02547d1062186628723ee5ead43e782500950205215b7e4fd0de126720e763ea1
6
+ metadata.gz: 4ee4bb7dc454469ad3fd2a11159e6058fcf65239681348b3630c219ba39e735169d4c6ea136b0081f719229afe9736a6510f5fff9b125ed6cb2ee877059d55f5
7
+ data.tar.gz: 56ca637fd9e16b1ff81ca75c3986449457717b505ed762e0958d04c7652d98de818ec228222f1309d3d94f36fd35d2ad8705095374de400b2d027486d954bd67
@@ -16,7 +16,7 @@
16
16
 
17
17
  # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
18
 
19
- require "gapic/config"
19
+ require "gapic/rest"
20
20
 
21
21
  module Google
22
22
  module Cloud
@@ -42,7 +42,7 @@ module Google
42
42
  namespace.pop
43
43
  end
44
44
 
45
- default_config = Configuration.new parent_config
45
+ default_config = ::Gapic::Rest::HttpBindingOverrideConfiguration.new parent_config
46
46
  default_config.bindings_override["google.cloud.location.Locations.GetLocation"] = [
47
47
  Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
48
48
  uri_method: :get,
@@ -85,33 +85,6 @@ module Google
85
85
  yield @configure if block_given?
86
86
  @configure
87
87
  end
88
-
89
- ##
90
- # @private
91
- # Configuration class for the google.cloud.documentai.v1beta3 package.
92
- #
93
- # This class contains common configuration for all services
94
- # of the google.cloud.documentai.v1beta3 package.
95
- #
96
- # This configuration is for internal use of the client library classes,
97
- # and it is not intended that the end-users will read or change it.
98
- #
99
- class Configuration
100
- extend ::Gapic::Config
101
-
102
- # @private
103
- # Overrides for http bindings for the RPC of the mixins for this package.
104
- # Services in this package should use these when creating clients for the mixin services.
105
- # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
106
- config_attr :bindings_override, {}, ::Hash, nil
107
-
108
- # @private
109
- def initialize parent_config = nil
110
- @parent_config = parent_config unless parent_config.nil?
111
-
112
- yield self if block_given?
113
- end
114
- end
115
88
  end
116
89
  end
117
90
  end
@@ -252,15 +252,15 @@ module Google
252
252
  # @param inline_document [::Google::Cloud::DocumentAI::V1beta3::Document, ::Hash]
253
253
  # An inline document proto.
254
254
  #
255
- # Note: The following fields are mutually exclusive: `inline_document`, `raw_document`, `gcs_document`. If a field in that set is populated, all other fields in the set will automatically be cleared.
255
+ # Note: The following parameters are mutually exclusive: `inline_document`, `raw_document`, `gcs_document`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
256
256
  # @param raw_document [::Google::Cloud::DocumentAI::V1beta3::RawDocument, ::Hash]
257
257
  # A raw document content (bytes).
258
258
  #
259
- # Note: The following fields are mutually exclusive: `raw_document`, `inline_document`, `gcs_document`. If a field in that set is populated, all other fields in the set will automatically be cleared.
259
+ # Note: The following parameters are mutually exclusive: `raw_document`, `inline_document`, `gcs_document`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
260
260
  # @param gcs_document [::Google::Cloud::DocumentAI::V1beta3::GcsDocument, ::Hash]
261
261
  # A raw document on Google Cloud Storage.
262
262
  #
263
- # Note: The following fields are mutually exclusive: `gcs_document`, `inline_document`, `raw_document`. If a field in that set is populated, all other fields in the set will automatically be cleared.
263
+ # Note: The following parameters are mutually exclusive: `gcs_document`, `inline_document`, `raw_document`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
264
264
  # @param name [::String]
265
265
  # Required. The resource name of the
266
266
  # {::Google::Cloud::DocumentAI::V1beta3::Processor Processor} or
@@ -963,11 +963,11 @@ module Google
963
963
  # @param custom_document_extraction_options [::Google::Cloud::DocumentAI::V1beta3::TrainProcessorVersionRequest::CustomDocumentExtractionOptions, ::Hash]
964
964
  # Options to control Custom Document Extraction (CDE) Processor.
965
965
  #
966
- # Note: The following fields are mutually exclusive: `custom_document_extraction_options`, `foundation_model_tuning_options`. If a field in that set is populated, all other fields in the set will automatically be cleared.
966
+ # Note: The following parameters are mutually exclusive: `custom_document_extraction_options`, `foundation_model_tuning_options`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
967
967
  # @param foundation_model_tuning_options [::Google::Cloud::DocumentAI::V1beta3::TrainProcessorVersionRequest::FoundationModelTuningOptions, ::Hash]
968
968
  # Options to control foundation model tuning of a processor.
969
969
  #
970
- # Note: The following fields are mutually exclusive: `foundation_model_tuning_options`, `custom_document_extraction_options`. If a field in that set is populated, all other fields in the set will automatically be cleared.
970
+ # Note: The following parameters are mutually exclusive: `foundation_model_tuning_options`, `custom_document_extraction_options`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
971
971
  # @param parent [::String]
972
972
  # Required. The parent (project, location and processor) to create the new
973
973
  # version for. Format:
@@ -2432,12 +2432,12 @@ module Google
2432
2432
  # Note that ProcessorVersions with `model_type` `MODEL_TYPE_LLM` are not
2433
2433
  # supported.
2434
2434
  #
2435
- # Note: The following fields are mutually exclusive: `processor_version_source`, `external_processor_version_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2435
+ # Note: The following parameters are mutually exclusive: `processor_version_source`, `external_processor_version_source`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
2436
2436
  # @param external_processor_version_source [::Google::Cloud::DocumentAI::V1beta3::ImportProcessorVersionRequest::ExternalProcessorVersionSource, ::Hash]
2437
2437
  # The source processor version to import from. It can be from a different
2438
2438
  # environment and region than the destination processor.
2439
2439
  #
2440
- # Note: The following fields are mutually exclusive: `external_processor_version_source`, `processor_version_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2440
+ # Note: The following parameters are mutually exclusive: `external_processor_version_source`, `processor_version_source`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
2441
2441
  # @param parent [::String]
2442
2442
  # Required. The destination processor name to create the processor version
2443
2443
  # in. Format:
@@ -246,15 +246,15 @@ module Google
246
246
  # @param inline_document [::Google::Cloud::DocumentAI::V1beta3::Document, ::Hash]
247
247
  # An inline document proto.
248
248
  #
249
- # Note: The following fields are mutually exclusive: `inline_document`, `raw_document`, `gcs_document`. If a field in that set is populated, all other fields in the set will automatically be cleared.
249
+ # Note: The following parameters are mutually exclusive: `inline_document`, `raw_document`, `gcs_document`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
250
250
  # @param raw_document [::Google::Cloud::DocumentAI::V1beta3::RawDocument, ::Hash]
251
251
  # A raw document content (bytes).
252
252
  #
253
- # Note: The following fields are mutually exclusive: `raw_document`, `inline_document`, `gcs_document`. If a field in that set is populated, all other fields in the set will automatically be cleared.
253
+ # Note: The following parameters are mutually exclusive: `raw_document`, `inline_document`, `gcs_document`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
254
254
  # @param gcs_document [::Google::Cloud::DocumentAI::V1beta3::GcsDocument, ::Hash]
255
255
  # A raw document on Google Cloud Storage.
256
256
  #
257
- # Note: The following fields are mutually exclusive: `gcs_document`, `inline_document`, `raw_document`. If a field in that set is populated, all other fields in the set will automatically be cleared.
257
+ # Note: The following parameters are mutually exclusive: `gcs_document`, `inline_document`, `raw_document`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
258
258
  # @param name [::String]
259
259
  # Required. The resource name of the
260
260
  # {::Google::Cloud::DocumentAI::V1beta3::Processor Processor} or
@@ -908,11 +908,11 @@ module Google
908
908
  # @param custom_document_extraction_options [::Google::Cloud::DocumentAI::V1beta3::TrainProcessorVersionRequest::CustomDocumentExtractionOptions, ::Hash]
909
909
  # Options to control Custom Document Extraction (CDE) Processor.
910
910
  #
911
- # Note: The following fields are mutually exclusive: `custom_document_extraction_options`, `foundation_model_tuning_options`. If a field in that set is populated, all other fields in the set will automatically be cleared.
911
+ # Note: The following parameters are mutually exclusive: `custom_document_extraction_options`, `foundation_model_tuning_options`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
912
912
  # @param foundation_model_tuning_options [::Google::Cloud::DocumentAI::V1beta3::TrainProcessorVersionRequest::FoundationModelTuningOptions, ::Hash]
913
913
  # Options to control foundation model tuning of a processor.
914
914
  #
915
- # Note: The following fields are mutually exclusive: `foundation_model_tuning_options`, `custom_document_extraction_options`. If a field in that set is populated, all other fields in the set will automatically be cleared.
915
+ # Note: The following parameters are mutually exclusive: `foundation_model_tuning_options`, `custom_document_extraction_options`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
916
916
  # @param parent [::String]
917
917
  # Required. The parent (project, location and processor) to create the new
918
918
  # version for. Format:
@@ -2272,12 +2272,12 @@ module Google
2272
2272
  # Note that ProcessorVersions with `model_type` `MODEL_TYPE_LLM` are not
2273
2273
  # supported.
2274
2274
  #
2275
- # Note: The following fields are mutually exclusive: `processor_version_source`, `external_processor_version_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2275
+ # Note: The following parameters are mutually exclusive: `processor_version_source`, `external_processor_version_source`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
2276
2276
  # @param external_processor_version_source [::Google::Cloud::DocumentAI::V1beta3::ImportProcessorVersionRequest::ExternalProcessorVersionSource, ::Hash]
2277
2277
  # The source processor version to import from. It can be from a different
2278
2278
  # environment and region than the destination processor.
2279
2279
  #
2280
- # Note: The following fields are mutually exclusive: `external_processor_version_source`, `processor_version_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2280
+ # Note: The following parameters are mutually exclusive: `external_processor_version_source`, `processor_version_source`. At most one of these parameters can be set. If more than one is set, only one will be used, and it is not defined which one.
2281
2281
  # @param parent [::String]
2282
2282
  # Required. The destination processor name to create the processor version
2283
2283
  # in. Format:
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module DocumentAI
23
23
  module V1beta3
24
- VERSION = "0.43.0"
24
+ VERSION = "0.44.0"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-document_ai-v1beta3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.43.0
4
+ version: 0.44.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '1.0'
18
+ version: '1.2'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: '1.0'
25
+ version: '1.2'
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: google-cloud-errors
28
28
  requirement: !ruby/object:Gem::Requirement
@@ -150,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
150
150
  - !ruby/object:Gem::Version
151
151
  version: '0'
152
152
  requirements: []
153
- rubygems_version: 3.6.8
153
+ rubygems_version: 3.6.9
154
154
  specification_version: 4
155
155
  summary: Service to parse structured information from unstructured or semi-structured
156
156
  documents using state-of-the-art Google AI such as natural language, computer vision,