google-apis-documentai_v1beta3 0.3.0 → 0.4.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0803862974190a0a02cc6378078979f9c0ba21b18eed77e74ba63638fdd784d3'
|
4
|
+
data.tar.gz: ccb98735cf9d3397a580584af0178f7d9c636b984289056a432c5c2a0be1bc2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c526cd355017e449d85b7888b37a6ffc3e3fe83274d6d05090a1acca4823569cf3f629e794f89168bb587326b9526c2b3770f421ccf494595ed588295d6de0c4
|
7
|
+
data.tar.gz: d6956507aa2d49d0bfda10a9c2b18282f22612df7993699e1d317170b55ef1da1cb0188fde26cc83f3fc52ecc19cbea08784b897732baa17c058c0a30bbc485f
|
data/CHANGELOG.md
CHANGED
@@ -896,6 +896,12 @@ module Google
|
|
896
896
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleTypePostalAddress]
|
897
897
|
attr_accessor :address_value
|
898
898
|
|
899
|
+
# Boolean value. Can be used for entities with binary values, or for checkboxes.
|
900
|
+
# Corresponds to the JSON property `booleanValue`
|
901
|
+
# @return [Boolean]
|
902
|
+
attr_accessor :boolean_value
|
903
|
+
alias_method :boolean_value?, :boolean_value
|
904
|
+
|
899
905
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
900
906
|
# day and time zone are either specified elsewhere or are insignificant. The
|
901
907
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
@@ -948,6 +954,7 @@ module Google
|
|
948
954
|
# Update properties of this object
|
949
955
|
def update!(**args)
|
950
956
|
@address_value = args[:address_value] if args.key?(:address_value)
|
957
|
+
@boolean_value = args[:boolean_value] if args.key?(:boolean_value)
|
951
958
|
@date_value = args[:date_value] if args.key?(:date_value)
|
952
959
|
@datetime_value = args[:datetime_value] if args.key?(:datetime_value)
|
953
960
|
@money_value = args[:money_value] if args.key?(:money_value)
|
@@ -2592,6 +2599,12 @@ module Google
|
|
2592
2599
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleTypePostalAddress]
|
2593
2600
|
attr_accessor :address_value
|
2594
2601
|
|
2602
|
+
# Boolean value. Can be used for entities with binary values, or for checkboxes.
|
2603
|
+
# Corresponds to the JSON property `booleanValue`
|
2604
|
+
# @return [Boolean]
|
2605
|
+
attr_accessor :boolean_value
|
2606
|
+
alias_method :boolean_value?, :boolean_value
|
2607
|
+
|
2595
2608
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
2596
2609
|
# day and time zone are either specified elsewhere or are insignificant. The
|
2597
2610
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
@@ -2644,6 +2657,7 @@ module Google
|
|
2644
2657
|
# Update properties of this object
|
2645
2658
|
def update!(**args)
|
2646
2659
|
@address_value = args[:address_value] if args.key?(:address_value)
|
2660
|
+
@boolean_value = args[:boolean_value] if args.key?(:boolean_value)
|
2647
2661
|
@date_value = args[:date_value] if args.key?(:date_value)
|
2648
2662
|
@datetime_value = args[:datetime_value] if args.key?(:datetime_value)
|
2649
2663
|
@money_value = args[:money_value] if args.key?(:money_value)
|
@@ -4068,6 +4082,31 @@ module Google
|
|
4068
4082
|
end
|
4069
4083
|
end
|
4070
4084
|
|
4085
|
+
# The common config to specify a set of documents used as input.
|
4086
|
+
class GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig
|
4087
|
+
include Google::Apis::Core::Hashable
|
4088
|
+
|
4089
|
+
# Specifies a set of documents on Cloud Storage.
|
4090
|
+
# Corresponds to the JSON property `gcsDocuments`
|
4091
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GcsDocuments]
|
4092
|
+
attr_accessor :gcs_documents
|
4093
|
+
|
4094
|
+
# Specifies all documents on Cloud Storage with a common prefix.
|
4095
|
+
# Corresponds to the JSON property `gcsPrefix`
|
4096
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GcsPrefix]
|
4097
|
+
attr_accessor :gcs_prefix
|
4098
|
+
|
4099
|
+
def initialize(**args)
|
4100
|
+
update!(**args)
|
4101
|
+
end
|
4102
|
+
|
4103
|
+
# Update properties of this object
|
4104
|
+
def update!(**args)
|
4105
|
+
@gcs_documents = args[:gcs_documents] if args.key?(:gcs_documents)
|
4106
|
+
@gcs_prefix = args[:gcs_prefix] if args.key?(:gcs_prefix)
|
4107
|
+
end
|
4108
|
+
end
|
4109
|
+
|
4071
4110
|
# The long running operation metadata for batch process method.
|
4072
4111
|
class GoogleCloudDocumentaiV1beta3BatchProcessMetadata
|
4073
4112
|
include Google::Apis::Core::Hashable
|
@@ -4182,9 +4221,9 @@ module Google
|
|
4182
4221
|
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchInputConfig>]
|
4183
4222
|
attr_accessor :input_configs
|
4184
4223
|
|
4185
|
-
# The
|
4224
|
+
# The common config to specify a set of documents used as input.
|
4186
4225
|
# Corresponds to the JSON property `inputDocuments`
|
4187
|
-
# @return [Google::Apis::DocumentaiV1beta3::
|
4226
|
+
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig]
|
4188
4227
|
attr_accessor :input_documents
|
4189
4228
|
|
4190
4229
|
# The message for output config in batch process.
|
@@ -4550,6 +4589,12 @@ module Google
|
|
4550
4589
|
# @return [Google::Apis::DocumentaiV1beta3::GoogleTypePostalAddress]
|
4551
4590
|
attr_accessor :address_value
|
4552
4591
|
|
4592
|
+
# Boolean value. Can be used for entities with binary values, or for checkboxes.
|
4593
|
+
# Corresponds to the JSON property `booleanValue`
|
4594
|
+
# @return [Boolean]
|
4595
|
+
attr_accessor :boolean_value
|
4596
|
+
alias_method :boolean_value?, :boolean_value
|
4597
|
+
|
4553
4598
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
4554
4599
|
# day and time zone are either specified elsewhere or are insignificant. The
|
4555
4600
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
@@ -4602,6 +4647,7 @@ module Google
|
|
4602
4647
|
# Update properties of this object
|
4603
4648
|
def update!(**args)
|
4604
4649
|
@address_value = args[:address_value] if args.key?(:address_value)
|
4650
|
+
@boolean_value = args[:boolean_value] if args.key?(:boolean_value)
|
4605
4651
|
@date_value = args[:date_value] if args.key?(:date_value)
|
4606
4652
|
@datetime_value = args[:datetime_value] if args.key?(:datetime_value)
|
4607
4653
|
@money_value = args[:money_value] if args.key?(:money_value)
|
@@ -5805,6 +5851,69 @@ module Google
|
|
5805
5851
|
end
|
5806
5852
|
end
|
5807
5853
|
|
5854
|
+
# Specifies a document stored on Cloud Storage.
|
5855
|
+
class GoogleCloudDocumentaiV1beta3GcsDocument
|
5856
|
+
include Google::Apis::Core::Hashable
|
5857
|
+
|
5858
|
+
# The Cloud Storage object uri.
|
5859
|
+
# Corresponds to the JSON property `gcsUri`
|
5860
|
+
# @return [String]
|
5861
|
+
attr_accessor :gcs_uri
|
5862
|
+
|
5863
|
+
# An IANA MIME type (RFC6838) of the content.
|
5864
|
+
# Corresponds to the JSON property `mimeType`
|
5865
|
+
# @return [String]
|
5866
|
+
attr_accessor :mime_type
|
5867
|
+
|
5868
|
+
def initialize(**args)
|
5869
|
+
update!(**args)
|
5870
|
+
end
|
5871
|
+
|
5872
|
+
# Update properties of this object
|
5873
|
+
def update!(**args)
|
5874
|
+
@gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
|
5875
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
5876
|
+
end
|
5877
|
+
end
|
5878
|
+
|
5879
|
+
# Specifies a set of documents on Cloud Storage.
|
5880
|
+
class GoogleCloudDocumentaiV1beta3GcsDocuments
|
5881
|
+
include Google::Apis::Core::Hashable
|
5882
|
+
|
5883
|
+
# The list of documents.
|
5884
|
+
# Corresponds to the JSON property `documents`
|
5885
|
+
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GcsDocument>]
|
5886
|
+
attr_accessor :documents
|
5887
|
+
|
5888
|
+
def initialize(**args)
|
5889
|
+
update!(**args)
|
5890
|
+
end
|
5891
|
+
|
5892
|
+
# Update properties of this object
|
5893
|
+
def update!(**args)
|
5894
|
+
@documents = args[:documents] if args.key?(:documents)
|
5895
|
+
end
|
5896
|
+
end
|
5897
|
+
|
5898
|
+
# Specifies all documents on Cloud Storage with a common prefix.
|
5899
|
+
class GoogleCloudDocumentaiV1beta3GcsPrefix
|
5900
|
+
include Google::Apis::Core::Hashable
|
5901
|
+
|
5902
|
+
# The URI prefix.
|
5903
|
+
# Corresponds to the JSON property `gcsUriPrefix`
|
5904
|
+
# @return [String]
|
5905
|
+
attr_accessor :gcs_uri_prefix
|
5906
|
+
|
5907
|
+
def initialize(**args)
|
5908
|
+
update!(**args)
|
5909
|
+
end
|
5910
|
+
|
5911
|
+
# Update properties of this object
|
5912
|
+
def update!(**args)
|
5913
|
+
@gcs_uri_prefix = args[:gcs_uri_prefix] if args.key?(:gcs_uri_prefix)
|
5914
|
+
end
|
5915
|
+
end
|
5916
|
+
|
5808
5917
|
# The status of human review on a processed document.
|
5809
5918
|
class GoogleCloudDocumentaiV1beta3HumanReviewStatus
|
5810
5919
|
include Google::Apis::Core::Hashable
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.4.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.1.2"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210222"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -706,6 +706,12 @@ module Google
|
|
706
706
|
include Google::Apis::Core::JsonObjectSupport
|
707
707
|
end
|
708
708
|
|
709
|
+
class GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig
|
710
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
711
|
+
|
712
|
+
include Google::Apis::Core::JsonObjectSupport
|
713
|
+
end
|
714
|
+
|
709
715
|
class GoogleCloudDocumentaiV1beta3BatchProcessMetadata
|
710
716
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
711
717
|
|
@@ -964,6 +970,24 @@ module Google
|
|
964
970
|
include Google::Apis::Core::JsonObjectSupport
|
965
971
|
end
|
966
972
|
|
973
|
+
class GoogleCloudDocumentaiV1beta3GcsDocument
|
974
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
975
|
+
|
976
|
+
include Google::Apis::Core::JsonObjectSupport
|
977
|
+
end
|
978
|
+
|
979
|
+
class GoogleCloudDocumentaiV1beta3GcsDocuments
|
980
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
981
|
+
|
982
|
+
include Google::Apis::Core::JsonObjectSupport
|
983
|
+
end
|
984
|
+
|
985
|
+
class GoogleCloudDocumentaiV1beta3GcsPrefix
|
986
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
987
|
+
|
988
|
+
include Google::Apis::Core::JsonObjectSupport
|
989
|
+
end
|
990
|
+
|
967
991
|
class GoogleCloudDocumentaiV1beta3HumanReviewStatus
|
968
992
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
969
993
|
|
@@ -1379,6 +1403,7 @@ module Google
|
|
1379
1403
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1380
1404
|
property :address_value, as: 'addressValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypePostalAddress, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypePostalAddress::Representation
|
1381
1405
|
|
1406
|
+
property :boolean_value, as: 'booleanValue'
|
1382
1407
|
property :date_value, as: 'dateValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypeDate, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeDate::Representation
|
1383
1408
|
|
1384
1409
|
property :datetime_value, as: 'datetimeValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypeDateTime, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeDateTime::Representation
|
@@ -1871,6 +1896,7 @@ module Google
|
|
1871
1896
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1872
1897
|
property :address_value, as: 'addressValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypePostalAddress, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypePostalAddress::Representation
|
1873
1898
|
|
1899
|
+
property :boolean_value, as: 'booleanValue'
|
1874
1900
|
property :date_value, as: 'dateValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypeDate, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeDate::Representation
|
1875
1901
|
|
1876
1902
|
property :datetime_value, as: 'datetimeValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypeDateTime, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeDateTime::Representation
|
@@ -2298,6 +2324,16 @@ module Google
|
|
2298
2324
|
end
|
2299
2325
|
end
|
2300
2326
|
|
2327
|
+
class GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig
|
2328
|
+
# @private
|
2329
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2330
|
+
property :gcs_documents, as: 'gcsDocuments', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GcsDocuments, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GcsDocuments::Representation
|
2331
|
+
|
2332
|
+
property :gcs_prefix, as: 'gcsPrefix', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GcsPrefix, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GcsPrefix::Representation
|
2333
|
+
|
2334
|
+
end
|
2335
|
+
end
|
2336
|
+
|
2301
2337
|
class GoogleCloudDocumentaiV1beta3BatchProcessMetadata
|
2302
2338
|
# @private
|
2303
2339
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2330,7 +2366,7 @@ module Google
|
|
2330
2366
|
|
2331
2367
|
collection :input_configs, as: 'inputConfigs', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchInputConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchInputConfig::Representation
|
2332
2368
|
|
2333
|
-
property :input_documents, as: 'inputDocuments', class: Google::Apis::DocumentaiV1beta3::
|
2369
|
+
property :input_documents, as: 'inputDocuments', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig::Representation
|
2334
2370
|
|
2335
2371
|
property :output_config, as: 'outputConfig', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchOutputConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchOutputConfig::Representation
|
2336
2372
|
|
@@ -2434,6 +2470,7 @@ module Google
|
|
2434
2470
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2435
2471
|
property :address_value, as: 'addressValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypePostalAddress, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypePostalAddress::Representation
|
2436
2472
|
|
2473
|
+
property :boolean_value, as: 'booleanValue'
|
2437
2474
|
property :date_value, as: 'dateValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypeDate, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeDate::Representation
|
2438
2475
|
|
2439
2476
|
property :datetime_value, as: 'datetimeValue', class: Google::Apis::DocumentaiV1beta3::GoogleTypeDateTime, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeDateTime::Representation
|
@@ -2798,6 +2835,29 @@ module Google
|
|
2798
2835
|
end
|
2799
2836
|
end
|
2800
2837
|
|
2838
|
+
class GoogleCloudDocumentaiV1beta3GcsDocument
|
2839
|
+
# @private
|
2840
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2841
|
+
property :gcs_uri, as: 'gcsUri'
|
2842
|
+
property :mime_type, as: 'mimeType'
|
2843
|
+
end
|
2844
|
+
end
|
2845
|
+
|
2846
|
+
class GoogleCloudDocumentaiV1beta3GcsDocuments
|
2847
|
+
# @private
|
2848
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2849
|
+
collection :documents, as: 'documents', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GcsDocument, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GcsDocument::Representation
|
2850
|
+
|
2851
|
+
end
|
2852
|
+
end
|
2853
|
+
|
2854
|
+
class GoogleCloudDocumentaiV1beta3GcsPrefix
|
2855
|
+
# @private
|
2856
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2857
|
+
property :gcs_uri_prefix, as: 'gcsUriPrefix'
|
2858
|
+
end
|
2859
|
+
end
|
2860
|
+
|
2801
2861
|
class GoogleCloudDocumentaiV1beta3HumanReviewStatus
|
2802
2862
|
# @private
|
2803
2863
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.
|
4
|
+
version: 0.4.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-
|
11
|
+
date: 2021-03-01 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_v1beta3/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.4.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1beta3
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
72
|
+
rubygems_version: 3.2.11
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Cloud Document AI API V1beta3
|