google-apis-documentai_v1 0.70.0 → 0.72.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: 8f62428ab4057ab7d142378597bc91dff52f5c062f9919f8fe51373bcba053f9
4
- data.tar.gz: 32cfd53eb2c5ffbf7a2d80d02d6f0baa6b80c3e5eb1d35fded48f8b7b565e305
3
+ metadata.gz: ede15db11897461ab95039c95a5d430d1e0719800c57820eb02b979a1ac872b7
4
+ data.tar.gz: '09704d62aec5dd6f1601a4205c326ea854dce4c6f376490e0c2fea4c9c00b18d'
5
5
  SHA512:
6
- metadata.gz: 17c6a2395cd9a001c80ba4c0313d09d28128eec3d7171a9653bd851f1d69e6a35372fc38eadf0e3fa62c7f3b65e112f05fcd9c94bfefc5dfec18756ee49166ef
7
- data.tar.gz: e2e22e25dc67eb3b1543569c37376fe324b27041478ae6823022b95eaa402593524c9cfb0609b550999c21718b8d99b506eeb78850ac3b7dbd1abd39c1bf11db
6
+ metadata.gz: 0f7537027fbc6a79befc05a26e7a6f3a86529c4715ebb082c158fba46e8f553bb494b8279962f31861c27d57dfc6cf793d92b5fe3521b4b9c3e6e9a327873725
7
+ data.tar.gz: 673c26e3bab4fdd69fa3284dd92d2e50494a5873ca316971b232292c3d1e1cc4bc8a18c61cbe4cc4f5a799d2c6a2ec876cc798a31eb3f1bf3204b29eb0a6d695
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.72.0 (2023-08-13)
4
+
5
+ * Regenerated from discovery document revision 20230804
6
+
7
+ ### v0.71.0 (2023-08-03)
8
+
9
+ * Regenerated from discovery document revision 20230721
10
+
3
11
  ### v0.70.0 (2023-07-23)
4
12
 
5
13
  * Regenerated from discovery document revision 20230719
@@ -772,9 +772,9 @@ module Google
772
772
  end
773
773
  end
774
774
 
775
- # The validation status of each import config. Status is set to errors if there
776
- # is no documents to import in the import_config, or OK if the operation will
777
- # try to proceed at least one document.
775
+ # The validation status of each import config. Status is set to an error if
776
+ # there are no documents to import in the `import_config`, or `OK` if the
777
+ # operation will try to proceed with at least one document.
778
778
  class GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataImportConfigValidationResult
779
779
  include Google::Apis::Core::Hashable
780
780
 
@@ -1393,11 +1393,6 @@ module Google
1393
1393
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1GcsPrefix]
1394
1394
  attr_accessor :gcs_prefix
1395
1395
 
1396
- # Specifies a set of raw documents.
1397
- # Corresponds to the JSON property `rawDocuments`
1398
- # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1RawDocuments]
1399
- attr_accessor :raw_documents
1400
-
1401
1396
  def initialize(**args)
1402
1397
  update!(**args)
1403
1398
  end
@@ -1406,7 +1401,6 @@ module Google
1406
1401
  def update!(**args)
1407
1402
  @gcs_documents = args[:gcs_documents] if args.key?(:gcs_documents)
1408
1403
  @gcs_prefix = args[:gcs_prefix] if args.key?(:gcs_prefix)
1409
- @raw_documents = args[:raw_documents] if args.key?(:raw_documents)
1410
1404
  end
1411
1405
  end
1412
1406
 
@@ -4473,7 +4467,8 @@ module Google
4473
4467
  # @return [Array<String>]
4474
4468
  attr_accessor :advanced_ocr_options
4475
4469
 
4476
- # Turn on font id model and returns font style information.
4470
+ # Turn on font id model and returns font style information. Use PremiumFeatures.
4471
+ # compute_style_info instead.
4477
4472
  # Corresponds to the JSON property `computeStyleInfo`
4478
4473
  # @return [Boolean]
4479
4474
  attr_accessor :compute_style_info
@@ -4684,6 +4679,11 @@ module Google
4684
4679
  # @return [String]
4685
4680
  attr_accessor :process_endpoint
4686
4681
 
4682
+ # Output only. The processor version aliases.
4683
+ # Corresponds to the JSON property `processorVersionAliases`
4684
+ # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionAlias>]
4685
+ attr_accessor :processor_version_aliases
4686
+
4687
4687
  # Output only. The state of the processor.
4688
4688
  # Corresponds to the JSON property `state`
4689
4689
  # @return [String]
@@ -4707,6 +4707,7 @@ module Google
4707
4707
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
4708
4708
  @name = args[:name] if args.key?(:name)
4709
4709
  @process_endpoint = args[:process_endpoint] if args.key?(:process_endpoint)
4710
+ @processor_version_aliases = args[:processor_version_aliases] if args.key?(:processor_version_aliases)
4710
4711
  @state = args[:state] if args.key?(:state)
4711
4712
  @type = args[:type] if args.key?(:type)
4712
4713
  end
@@ -4870,6 +4871,31 @@ module Google
4870
4871
  end
4871
4872
  end
4872
4873
 
4874
+ # Contains the alias and the aliased resource name of processor version.
4875
+ class GoogleCloudDocumentaiV1ProcessorVersionAlias
4876
+ include Google::Apis::Core::Hashable
4877
+
4878
+ # The alias in the form of `processor_version` resource name.
4879
+ # Corresponds to the JSON property `alias`
4880
+ # @return [String]
4881
+ attr_accessor :alias
4882
+
4883
+ # The resource name of aliased processor version.
4884
+ # Corresponds to the JSON property `processorVersion`
4885
+ # @return [String]
4886
+ attr_accessor :processor_version
4887
+
4888
+ def initialize(**args)
4889
+ update!(**args)
4890
+ end
4891
+
4892
+ # Update properties of this object
4893
+ def update!(**args)
4894
+ @alias = args[:alias] if args.key?(:alias)
4895
+ @processor_version = args[:processor_version] if args.key?(:processor_version)
4896
+ end
4897
+ end
4898
+
4873
4899
  # Information about the upcoming deprecation of this processor version.
4874
4900
  class GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo
4875
4901
  include Google::Apis::Core::Hashable
@@ -4905,6 +4931,13 @@ module Google
4905
4931
  # @return [String]
4906
4932
  attr_accessor :content
4907
4933
 
4934
+ # The display name of the document, it supports all Unicode characters except
4935
+ # the following: `*`, `?`, `[`, `]`, `%`, ```, ```,`'`, `\"`, `,` `~`, `=` and `:
4936
+ # ` are reserved. If not specified, a default ID will be generated.
4937
+ # Corresponds to the JSON property `displayName`
4938
+ # @return [String]
4939
+ attr_accessor :display_name
4940
+
4908
4941
  # An IANA MIME type (RFC6838) indicating the nature and format of the content.
4909
4942
  # Corresponds to the JSON property `mimeType`
4910
4943
  # @return [String]
@@ -4917,29 +4950,11 @@ module Google
4917
4950
  # Update properties of this object
4918
4951
  def update!(**args)
4919
4952
  @content = args[:content] if args.key?(:content)
4953
+ @display_name = args[:display_name] if args.key?(:display_name)
4920
4954
  @mime_type = args[:mime_type] if args.key?(:mime_type)
4921
4955
  end
4922
4956
  end
4923
4957
 
4924
- # Specifies a set of raw documents.
4925
- class GoogleCloudDocumentaiV1RawDocuments
4926
- include Google::Apis::Core::Hashable
4927
-
4928
- # Specifies raw document content and mime type.
4929
- # Corresponds to the JSON property `documents`
4930
- # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1RawDocument>]
4931
- attr_accessor :documents
4932
-
4933
- def initialize(**args)
4934
- update!(**args)
4935
- end
4936
-
4937
- # Update properties of this object
4938
- def update!(**args)
4939
- @documents = args[:documents] if args.key?(:documents)
4940
- end
4941
- end
4942
-
4943
4958
  # The long-running operation metadata for the ReviewDocument method.
4944
4959
  class GoogleCloudDocumentaiV1ReviewDocumentOperationMetadata
4945
4960
  include Google::Apis::Core::Hashable
@@ -10313,9 +10328,9 @@ module Google
10313
10328
  end
10314
10329
  end
10315
10330
 
10316
- # The validation status of each import config. Status is set to errors if there
10317
- # is no documents to import in the import_config, or OK if the operation will
10318
- # try to proceed at least one document.
10331
+ # The validation status of each import config. Status is set to an error if
10332
+ # there are no documents to import in the `import_config`, or `OK` if the
10333
+ # operation will try to proceed with at least one document.
10319
10334
  class GoogleCloudDocumentaiV1beta3ImportDocumentsMetadataImportConfigValidationResult
10320
10335
  include Google::Apis::Core::Hashable
10321
10336
 
@@ -10857,13 +10872,13 @@ module Google
10857
10872
  # @return [String]
10858
10873
  attr_accessor :name
10859
10874
 
10860
- # The normal response of the operation in case of success. If the original
10861
- # method returns no data on success, such as `Delete`, the response is `google.
10862
- # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
10863
- # the response should be the resource. For other methods, the response should
10864
- # have the type `XxxResponse`, where `Xxx` is the original method name. For
10865
- # example, if the original method name is `TakeSnapshot()`, the inferred
10866
- # response type is `TakeSnapshotResponse`.
10875
+ # The normal, successful response of the operation. If the original method
10876
+ # returns no data on success, such as `Delete`, the response is `google.protobuf.
10877
+ # Empty`. If the original method is standard `Get`/`Create`/`Update`, the
10878
+ # response should be the resource. For other methods, the response should have
10879
+ # the type `XxxResponse`, where `Xxx` is the original method name. For example,
10880
+ # if the original method name is `TakeSnapshot()`, the inferred response type is
10881
+ # `TakeSnapshotResponse`.
10867
10882
  # Corresponds to the JSON property `response`
10868
10883
  # @return [Hash<String,Object>]
10869
10884
  attr_accessor :response
@@ -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.70.0"
19
+ GEM_VERSION = "0.72.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230719"
25
+ REVISION = "20230804"
26
26
  end
27
27
  end
28
28
  end
@@ -904,19 +904,19 @@ module Google
904
904
  include Google::Apis::Core::JsonObjectSupport
905
905
  end
906
906
 
907
- class GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo
907
+ class GoogleCloudDocumentaiV1ProcessorVersionAlias
908
908
  class Representation < Google::Apis::Core::JsonRepresentation; end
909
909
 
910
910
  include Google::Apis::Core::JsonObjectSupport
911
911
  end
912
912
 
913
- class GoogleCloudDocumentaiV1RawDocument
913
+ class GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo
914
914
  class Representation < Google::Apis::Core::JsonRepresentation; end
915
915
 
916
916
  include Google::Apis::Core::JsonObjectSupport
917
917
  end
918
918
 
919
- class GoogleCloudDocumentaiV1RawDocuments
919
+ class GoogleCloudDocumentaiV1RawDocument
920
920
  class Representation < Google::Apis::Core::JsonRepresentation; end
921
921
 
922
922
  include Google::Apis::Core::JsonObjectSupport
@@ -2425,8 +2425,6 @@ module Google
2425
2425
 
2426
2426
  property :gcs_prefix, as: 'gcsPrefix', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1GcsPrefix, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1GcsPrefix::Representation
2427
2427
 
2428
- property :raw_documents, as: 'rawDocuments', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1RawDocuments, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1RawDocuments::Representation
2429
-
2430
2428
  end
2431
2429
  end
2432
2430
 
@@ -3369,6 +3367,8 @@ module Google
3369
3367
  property :kms_key_name, as: 'kmsKeyName'
3370
3368
  property :name, as: 'name'
3371
3369
  property :process_endpoint, as: 'processEndpoint'
3370
+ collection :processor_version_aliases, as: 'processorVersionAliases', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionAlias, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionAlias::Representation
3371
+
3372
3372
  property :state, as: 'state'
3373
3373
  property :type, as: 'type'
3374
3374
  end
@@ -3414,6 +3414,14 @@ module Google
3414
3414
  end
3415
3415
  end
3416
3416
 
3417
+ class GoogleCloudDocumentaiV1ProcessorVersionAlias
3418
+ # @private
3419
+ class Representation < Google::Apis::Core::JsonRepresentation
3420
+ property :alias, as: 'alias'
3421
+ property :processor_version, as: 'processorVersion'
3422
+ end
3423
+ end
3424
+
3417
3425
  class GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo
3418
3426
  # @private
3419
3427
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3426,18 +3434,11 @@ module Google
3426
3434
  # @private
3427
3435
  class Representation < Google::Apis::Core::JsonRepresentation
3428
3436
  property :content, :base64 => true, as: 'content'
3437
+ property :display_name, as: 'displayName'
3429
3438
  property :mime_type, as: 'mimeType'
3430
3439
  end
3431
3440
  end
3432
3441
 
3433
- class GoogleCloudDocumentaiV1RawDocuments
3434
- # @private
3435
- class Representation < Google::Apis::Core::JsonRepresentation
3436
- collection :documents, as: 'documents', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1RawDocument, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1RawDocument::Representation
3437
-
3438
- end
3439
- end
3440
-
3441
3442
  class GoogleCloudDocumentaiV1ReviewDocumentOperationMetadata
3442
3443
  # @private
3443
3444
  class Representation < Google::Apis::Core::JsonRepresentation
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.70.0
4
+ version: 0.72.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: 2023-07-23 00:00:00.000000000 Z
11
+ date: 2023-08-20 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.70.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.72.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: []