google-apis-documentai_v1 0.4.0 → 0.5.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: 4f8b387974f000ad29b8a6659adc4e3ae12dbf9a5641a404366533cec9a41654
4
- data.tar.gz: 501f4ba6b4c44a7ce5b42337cdf2d529128fc2d8f0faf4ddfbe2b3fc74ea4262
3
+ metadata.gz: bcbb6b4878504a3a6e14a781f6ca2b6cf1ccdec61c9b877ba4df751c259cb0f9
4
+ data.tar.gz: bf2c3ed5261d9f8f1f2752c878b200e11776a83d2fcc5b85f1c809ee73091748
5
5
  SHA512:
6
- metadata.gz: 66e257ec0bb0999db5003755a44be44b674d87d094c99308ae48218469eed7fd5ea3a502b63ec88be42bf48b48072a226fde36d255709ebdb07d4d22261d380a
7
- data.tar.gz: 4daf249b04c4ff0340ccf8a000e5aab25b37d8299e9ff0fea9b80f9d2f5ae508fc250d5b0c3b5a97bf8e4b8b281f3a07e52098e7aae551c98a1052d38263f68c
6
+ metadata.gz: 7f42af2cfc787f1c1165791d4e149eb558a15cfed46743407117aacf9ae51eafadcf598a41c3e540b42f57aaf7858e031ca92ed5f105392de0fc34a988780735
7
+ data.tar.gz: d7aa323341a3f094d27ee28e98ee1ddf8d271f668b8f4e0592ea87cad1c032b1bb5c972951627d4031e4b828646d3dbfe2a2a1fb24b0090637f4791423faef4e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.5.0 (2021-06-03)
4
+
5
+ * Regenerated from discovery document revision 20210527
6
+ * Regenerated using generator version 0.3.0
7
+
3
8
  ### v0.4.0 (2021-05-25)
4
9
 
5
10
  * Regenerated from discovery document revision 20210520
@@ -2369,10 +2369,16 @@ module Google
2369
2369
  end
2370
2370
  end
2371
2371
 
2372
- # Request message for review document method.
2372
+ # Request message for review document method. Next Id: 5.
2373
2373
  class GoogleCloudDocumentaiV1ReviewDocumentRequest
2374
2374
  include Google::Apis::Core::Hashable
2375
2375
 
2376
+ # Whether the validation should be performed on the ad-hoc review request.
2377
+ # Corresponds to the JSON property `enableSchemaValidation`
2378
+ # @return [Boolean]
2379
+ attr_accessor :enable_schema_validation
2380
+ alias_method :enable_schema_validation?, :enable_schema_validation
2381
+
2376
2382
  # Document represents the canonical document resource in Document Understanding
2377
2383
  # AI. It is an interchange format that provides insights into documents and
2378
2384
  # allows for collaboration between users and Document Understanding AI to
@@ -2387,6 +2393,7 @@ module Google
2387
2393
 
2388
2394
  # Update properties of this object
2389
2395
  def update!(**args)
2396
+ @enable_schema_validation = args[:enable_schema_validation] if args.key?(:enable_schema_validation)
2390
2397
  @inline_document = args[:inline_document] if args.key?(:inline_document)
2391
2398
  end
2392
2399
  end
@@ -5968,6 +5975,91 @@ module Google
5968
5975
  end
5969
5976
  end
5970
5977
 
5978
+ # The long running operation metadata for delete processor method.
5979
+ class GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata
5980
+ include Google::Apis::Core::Hashable
5981
+
5982
+ # The common metadata for long running operations.
5983
+ # Corresponds to the JSON property `commonMetadata`
5984
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
5985
+ attr_accessor :common_metadata
5986
+
5987
+ def initialize(**args)
5988
+ update!(**args)
5989
+ end
5990
+
5991
+ # Update properties of this object
5992
+ def update!(**args)
5993
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
5994
+ end
5995
+ end
5996
+
5997
+ # The long running operation metadata for disable processor method.
5998
+ class GoogleCloudDocumentaiV1beta3DisableProcessorMetadata
5999
+ include Google::Apis::Core::Hashable
6000
+
6001
+ # The common metadata for long running operations.
6002
+ # Corresponds to the JSON property `commonMetadata`
6003
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
6004
+ attr_accessor :common_metadata
6005
+
6006
+ def initialize(**args)
6007
+ update!(**args)
6008
+ end
6009
+
6010
+ # Update properties of this object
6011
+ def update!(**args)
6012
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
6013
+ end
6014
+ end
6015
+
6016
+ # Response message for the disable processor method. Intentionally empty proto
6017
+ # for adding fields in future.
6018
+ class GoogleCloudDocumentaiV1beta3DisableProcessorResponse
6019
+ include Google::Apis::Core::Hashable
6020
+
6021
+ def initialize(**args)
6022
+ update!(**args)
6023
+ end
6024
+
6025
+ # Update properties of this object
6026
+ def update!(**args)
6027
+ end
6028
+ end
6029
+
6030
+ # The long running operation metadata for enable processor method.
6031
+ class GoogleCloudDocumentaiV1beta3EnableProcessorMetadata
6032
+ include Google::Apis::Core::Hashable
6033
+
6034
+ # The common metadata for long running operations.
6035
+ # Corresponds to the JSON property `commonMetadata`
6036
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata]
6037
+ attr_accessor :common_metadata
6038
+
6039
+ def initialize(**args)
6040
+ update!(**args)
6041
+ end
6042
+
6043
+ # Update properties of this object
6044
+ def update!(**args)
6045
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
6046
+ end
6047
+ end
6048
+
6049
+ # Response message for the enable processor method. Intentionally empty proto
6050
+ # for adding fields in future.
6051
+ class GoogleCloudDocumentaiV1beta3EnableProcessorResponse
6052
+ include Google::Apis::Core::Hashable
6053
+
6054
+ def initialize(**args)
6055
+ update!(**args)
6056
+ end
6057
+
6058
+ # Update properties of this object
6059
+ def update!(**args)
6060
+ end
6061
+ end
6062
+
5971
6063
  # The status of human review on a processed document.
5972
6064
  class GoogleCloudDocumentaiV1beta3HumanReviewStatus
5973
6065
  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.4.0"
19
+ GEM_VERSION = "0.5.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
22
+ GENERATOR_VERSION = "0.3.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210520"
25
+ REVISION = "20210527"
26
26
  end
27
27
  end
28
28
  end
@@ -1006,6 +1006,36 @@ module Google
1006
1006
  include Google::Apis::Core::JsonObjectSupport
1007
1007
  end
1008
1008
 
1009
+ class GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata
1010
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1011
+
1012
+ include Google::Apis::Core::JsonObjectSupport
1013
+ end
1014
+
1015
+ class GoogleCloudDocumentaiV1beta3DisableProcessorMetadata
1016
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1017
+
1018
+ include Google::Apis::Core::JsonObjectSupport
1019
+ end
1020
+
1021
+ class GoogleCloudDocumentaiV1beta3DisableProcessorResponse
1022
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1023
+
1024
+ include Google::Apis::Core::JsonObjectSupport
1025
+ end
1026
+
1027
+ class GoogleCloudDocumentaiV1beta3EnableProcessorMetadata
1028
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1029
+
1030
+ include Google::Apis::Core::JsonObjectSupport
1031
+ end
1032
+
1033
+ class GoogleCloudDocumentaiV1beta3EnableProcessorResponse
1034
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1035
+
1036
+ include Google::Apis::Core::JsonObjectSupport
1037
+ end
1038
+
1009
1039
  class GoogleCloudDocumentaiV1beta3HumanReviewStatus
1010
1040
  class Representation < Google::Apis::Core::JsonRepresentation; end
1011
1041
 
@@ -1829,6 +1859,7 @@ module Google
1829
1859
  class GoogleCloudDocumentaiV1ReviewDocumentRequest
1830
1860
  # @private
1831
1861
  class Representation < Google::Apis::Core::JsonRepresentation
1862
+ property :enable_schema_validation, as: 'enableSchemaValidation'
1832
1863
  property :inline_document, as: 'inlineDocument', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Document, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Document::Representation
1833
1864
 
1834
1865
  end
@@ -2860,6 +2891,42 @@ module Google
2860
2891
  end
2861
2892
  end
2862
2893
 
2894
+ class GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata
2895
+ # @private
2896
+ class Representation < Google::Apis::Core::JsonRepresentation
2897
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
2898
+
2899
+ end
2900
+ end
2901
+
2902
+ class GoogleCloudDocumentaiV1beta3DisableProcessorMetadata
2903
+ # @private
2904
+ class Representation < Google::Apis::Core::JsonRepresentation
2905
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
2906
+
2907
+ end
2908
+ end
2909
+
2910
+ class GoogleCloudDocumentaiV1beta3DisableProcessorResponse
2911
+ # @private
2912
+ class Representation < Google::Apis::Core::JsonRepresentation
2913
+ end
2914
+ end
2915
+
2916
+ class GoogleCloudDocumentaiV1beta3EnableProcessorMetadata
2917
+ # @private
2918
+ class Representation < Google::Apis::Core::JsonRepresentation
2919
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
2920
+
2921
+ end
2922
+ end
2923
+
2924
+ class GoogleCloudDocumentaiV1beta3EnableProcessorResponse
2925
+ # @private
2926
+ class Representation < Google::Apis::Core::JsonRepresentation
2927
+ end
2928
+ end
2929
+
2863
2930
  class GoogleCloudDocumentaiV1beta3HumanReviewStatus
2864
2931
  # @private
2865
2932
  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.4.0
4
+ version: 0.5.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-05-31 00:00:00.000000000 Z
11
+ date: 2021-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.4.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.5.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1
57
57
  post_install_message:
58
58
  rdoc_options: []