google-apis-documentai_v1 0.53.0 → 0.54.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: ba8737060d15b06f33ab74b588384e9561dfd3dd81312308c52a8962c8516d1c
4
- data.tar.gz: 9a829b91f4df30db20421ca9ff14fe6a0246323528e041992d3ccbcc241d17be
3
+ metadata.gz: d447c0eab599df90a2f7fc4c7aa351ca86150d9eb2b2549a611ffde0f1d11dc4
4
+ data.tar.gz: 0f0a6dfaeb72abaa55974f885241ab78b91710339a71e881282ae613a7666d7b
5
5
  SHA512:
6
- metadata.gz: 49b047eb5330bd91b43975bac996a9f01b7ed10cb5a21ed055e9c02bd1cb9e433c736874147c212695a5ff67ee2aa7de6137a88b0e111226429b486121e04dfa
7
- data.tar.gz: 276a2dd8053c1c12e3db6e0762f369723bef06aef040ab59af46b95b972a500882cd8f5816cf0e7cc7f970ce8951ef61eb0bbf3ae7edf5da13479eb1ea2b0c4f
6
+ metadata.gz: 8b5bca68c6c4004772aad3c34676ddb7b780f358b933be4e37a1aae0bc98e14f29aeb0167decbc53d9ae5a95acaa61052df9f39ab58275aa484553a43b0583e1
7
+ data.tar.gz: b808c8f96cb7454e22b3bf06f4fc7d0c45b63724722012c02c56b70056f852d8054b847ebad5ca7eaf4844d21daebf24c4356595f51e1e64b451b9cb6301aaad
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.54.0 (2023-01-15)
4
+
5
+ * Regenerated from discovery document revision 20230106
6
+ * Regenerated using generator version 0.11.1
7
+
3
8
  ### v0.53.0 (2022-12-07)
4
9
 
5
10
  * Regenerated from discovery document revision 20221201
@@ -389,8 +389,8 @@ module Google
389
389
  class GoogleCloudDocumentaiUiv1beta3DocumentId
390
390
  include Google::Apis::Core::Hashable
391
391
 
392
- # Identifies a document uniquely within the scope of a dataset in the GCS-based
393
- # option.
392
+ # Identifies a document uniquely within the scope of a dataset in the Cloud
393
+ # Storage option.
394
394
  # Corresponds to the JSON property `gcsManagedDocId`
395
395
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId]
396
396
  attr_accessor :gcs_managed_doc_id
@@ -411,12 +411,12 @@ module Google
411
411
  end
412
412
  end
413
413
 
414
- # Identifies a document uniquely within the scope of a dataset in the GCS-based
415
- # option.
414
+ # Identifies a document uniquely within the scope of a dataset in the Cloud
415
+ # Storage option.
416
416
  class GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId
417
417
  include Google::Apis::Core::Hashable
418
418
 
419
- # Optional. Id of the document (indexed) managed by Content Warehouse.
419
+ # Id of the document (indexed) managed by Content Warehouse.
420
420
  # Corresponds to the JSON property `cwDocId`
421
421
  # @return [String]
422
422
  attr_accessor :cw_doc_id
@@ -887,18 +887,17 @@ module Google
887
887
  class GoogleCloudDocumentaiUiv1beta3RevisionReference
888
888
  include Google::Apis::Core::Hashable
889
889
 
890
- # Read the revision generated by the processor version, returns error if it does
891
- # not exist.
890
+ # Reads the revision generated by the processor version.
892
891
  # Corresponds to the JSON property `latestProcessorVersion`
893
892
  # @return [String]
894
893
  attr_accessor :latest_processor_version
895
894
 
896
- # Read the revision by the predefined case.
895
+ # Reads the revision by the predefined case.
897
896
  # Corresponds to the JSON property `revisionCase`
898
897
  # @return [String]
899
898
  attr_accessor :revision_case
900
899
 
901
- # Read the revision given by the id, returns error if it does not exist.
900
+ # Reads the revision given by the id.
902
901
  # Corresponds to the JSON property `revisionId`
903
902
  # @return [String]
904
903
  attr_accessor :revision_id
@@ -4220,68 +4219,6 @@ module Google
4220
4219
  end
4221
4220
  end
4222
4221
 
4223
- # The long running operation metadata for AnalyzeHitlData.
4224
- class GoogleCloudDocumentaiV1alpha1AnalyzeHitlDataMetadata
4225
- include Google::Apis::Core::Hashable
4226
-
4227
- # The common metadata for long running operations.
4228
- # Corresponds to the JSON property `commonMetadata`
4229
- # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1alpha1CommonOperationMetadata]
4230
- attr_accessor :common_metadata
4231
-
4232
- def initialize(**args)
4233
- update!(**args)
4234
- end
4235
-
4236
- # Update properties of this object
4237
- def update!(**args)
4238
- @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
4239
- end
4240
- end
4241
-
4242
- # The common metadata for long running operations.
4243
- class GoogleCloudDocumentaiV1alpha1CommonOperationMetadata
4244
- include Google::Apis::Core::Hashable
4245
-
4246
- # The creation time of the operation.
4247
- # Corresponds to the JSON property `createTime`
4248
- # @return [String]
4249
- attr_accessor :create_time
4250
-
4251
- # A related resource to this operation.
4252
- # Corresponds to the JSON property `resource`
4253
- # @return [String]
4254
- attr_accessor :resource
4255
-
4256
- # The state of the operation.
4257
- # Corresponds to the JSON property `state`
4258
- # @return [String]
4259
- attr_accessor :state
4260
-
4261
- # A message providing more details about the current state of processing.
4262
- # Corresponds to the JSON property `stateMessage`
4263
- # @return [String]
4264
- attr_accessor :state_message
4265
-
4266
- # The last update time of the operation.
4267
- # Corresponds to the JSON property `updateTime`
4268
- # @return [String]
4269
- attr_accessor :update_time
4270
-
4271
- def initialize(**args)
4272
- update!(**args)
4273
- end
4274
-
4275
- # Update properties of this object
4276
- def update!(**args)
4277
- @create_time = args[:create_time] if args.key?(:create_time)
4278
- @resource = args[:resource] if args.key?(:resource)
4279
- @state = args[:state] if args.key?(:state)
4280
- @state_message = args[:state_message] if args.key?(:state_message)
4281
- @update_time = args[:update_time] if args.key?(:update_time)
4282
- end
4283
- end
4284
-
4285
4222
  # Encodes the detailed information of a barcode.
4286
4223
  class GoogleCloudDocumentaiV1beta1Barcode
4287
4224
  include Google::Apis::Core::Hashable
@@ -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.53.0"
19
+ GEM_VERSION = "0.54.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221201"
25
+ REVISION = "20230106"
26
26
  end
27
27
  end
28
28
  end
@@ -844,18 +844,6 @@ module Google
844
844
  include Google::Apis::Core::JsonObjectSupport
845
845
  end
846
846
 
847
- class GoogleCloudDocumentaiV1alpha1AnalyzeHitlDataMetadata
848
- class Representation < Google::Apis::Core::JsonRepresentation; end
849
-
850
- include Google::Apis::Core::JsonObjectSupport
851
- end
852
-
853
- class GoogleCloudDocumentaiV1alpha1CommonOperationMetadata
854
- class Representation < Google::Apis::Core::JsonRepresentation; end
855
-
856
- include Google::Apis::Core::JsonObjectSupport
857
- end
858
-
859
847
  class GoogleCloudDocumentaiV1beta1Barcode
860
848
  class Representation < Google::Apis::Core::JsonRepresentation; end
861
849
 
@@ -2970,25 +2958,6 @@ module Google
2970
2958
  end
2971
2959
  end
2972
2960
 
2973
- class GoogleCloudDocumentaiV1alpha1AnalyzeHitlDataMetadata
2974
- # @private
2975
- class Representation < Google::Apis::Core::JsonRepresentation
2976
- property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1alpha1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1alpha1CommonOperationMetadata::Representation
2977
-
2978
- end
2979
- end
2980
-
2981
- class GoogleCloudDocumentaiV1alpha1CommonOperationMetadata
2982
- # @private
2983
- class Representation < Google::Apis::Core::JsonRepresentation
2984
- property :create_time, as: 'createTime'
2985
- property :resource, as: 'resource'
2986
- property :state, as: 'state'
2987
- property :state_message, as: 'stateMessage'
2988
- property :update_time, as: 'updateTime'
2989
- end
2990
- end
2991
-
2992
2961
  class GoogleCloudDocumentaiV1beta1Barcode
2993
2962
  # @private
2994
2963
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -304,6 +304,36 @@ module Google
304
304
  execute_or_queue_command(command, &block)
305
305
  end
306
306
 
307
+ # Gets a processor type detail.
308
+ # @param [String] name
309
+ # Required. The processor type resource name.
310
+ # @param [String] fields
311
+ # Selector specifying which fields to include in a partial response.
312
+ # @param [String] quota_user
313
+ # Available to use for quota purposes for server-side applications. Can be any
314
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
315
+ # @param [Google::Apis::RequestOptions] options
316
+ # Request-specific options
317
+ #
318
+ # @yield [result, err] Result & error if block supplied
319
+ # @yieldparam result [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorType] parsed result object
320
+ # @yieldparam err [StandardError] error object if request failed
321
+ #
322
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorType]
323
+ #
324
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
325
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
326
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
327
+ def get_project_location_processor_type(name, fields: nil, quota_user: nil, options: nil, &block)
328
+ command = make_simple_command(:get, 'v1/{+name}', options)
329
+ command.response_representation = Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorType::Representation
330
+ command.response_class = Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorType
331
+ command.params['name'] = name unless name.nil?
332
+ command.query['fields'] = fields unless fields.nil?
333
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
334
+ execute_or_queue_command(command, &block)
335
+ end
336
+
307
337
  # Lists the processor types that exist.
308
338
  # @param [String] parent
309
339
  # Required. The location of processor type to list. The available processor
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.53.0
4
+ version: 0.54.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-12 00:00:00.000000000 Z
11
+ date: 2023-01-15 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.53.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.54.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.3.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Document AI API V1