google-apis-documentai_v1 0.16.0 → 0.20.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7deb42cd72695227553f4987c50dcaab58160e876afc30a747cb6080b5bda24
|
4
|
+
data.tar.gz: fb39b23b237290cf3d5991d3e9a750cbd78da4c255405f34a96a5abf4caa8355
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 559d4ec8e1d1ee8eb14d56e3afdd625f4fc0a20503326a19e79b14f56bfd56c486a8f8c0727474e2aecb5144776fc777ce1d5e67fbdb2fb3e579c2cbed406eca
|
7
|
+
data.tar.gz: aa0b0cea441c11e6f7b95e1bfa4937c18aacf5102917154fa2410a0192a5e5eedcdba77793b0b50853d6f75fea7753c9898161e5cb884cec51b6bfcfe693b701
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-documentai_v1
|
2
2
|
|
3
|
+
### v0.20.0 (2021-10-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211022
|
6
|
+
* Unspecified changes
|
7
|
+
|
8
|
+
### v0.19.0 (2021-10-14)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20211012
|
11
|
+
|
12
|
+
### v0.18.0 (2021-10-06)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20211002
|
15
|
+
|
16
|
+
### v0.17.0 (2021-09-28)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210926
|
19
|
+
|
3
20
|
### v0.16.0 (2021-09-15)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210911
|
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Documentai service in particular.)
|
67
67
|
|
@@ -95,6 +95,11 @@ module Google
|
|
95
95
|
# @return [String]
|
96
96
|
attr_accessor :create_time
|
97
97
|
|
98
|
+
# A related resource to this operation.
|
99
|
+
# Corresponds to the JSON property `resource`
|
100
|
+
# @return [String]
|
101
|
+
attr_accessor :resource
|
102
|
+
|
98
103
|
# The state of the operation.
|
99
104
|
# Corresponds to the JSON property `state`
|
100
105
|
# @return [String]
|
@@ -117,6 +122,7 @@ module Google
|
|
117
122
|
# Update properties of this object
|
118
123
|
def update!(**args)
|
119
124
|
@create_time = args[:create_time] if args.key?(:create_time)
|
125
|
+
@resource = args[:resource] if args.key?(:resource)
|
120
126
|
@state = args[:state] if args.key?(:state)
|
121
127
|
@state_message = args[:state_message] if args.key?(:state_message)
|
122
128
|
@update_time = args[:update_time] if args.key?(:update_time)
|
@@ -816,6 +822,11 @@ module Google
|
|
816
822
|
# @return [String]
|
817
823
|
attr_accessor :create_time
|
818
824
|
|
825
|
+
# A related resource to this operation.
|
826
|
+
# Corresponds to the JSON property `resource`
|
827
|
+
# @return [String]
|
828
|
+
attr_accessor :resource
|
829
|
+
|
819
830
|
# The state of the operation.
|
820
831
|
# Corresponds to the JSON property `state`
|
821
832
|
# @return [String]
|
@@ -838,6 +849,7 @@ module Google
|
|
838
849
|
# Update properties of this object
|
839
850
|
def update!(**args)
|
840
851
|
@create_time = args[:create_time] if args.key?(:create_time)
|
852
|
+
@resource = args[:resource] if args.key?(:resource)
|
841
853
|
@state = args[:state] if args.key?(:state)
|
842
854
|
@state_message = args[:state_message] if args.key?(:state_message)
|
843
855
|
@update_time = args[:update_time] if args.key?(:update_time)
|
@@ -2947,7 +2959,7 @@ module Google
|
|
2947
2959
|
# EU' endpoint to feach processor types. In the return, we will have an 'invoice
|
2948
2960
|
# parsing' processor with 'available_locations' field only containing 'US'. So
|
2949
2961
|
# the user can try to create an 'invoice parsing' processor under the location '
|
2950
|
-
# US'. Such attempt of creating under the location 'EU' will fail. Next ID:
|
2962
|
+
# US'. Such attempt of creating under the location 'EU' will fail. Next ID: 9.
|
2951
2963
|
class GoogleCloudDocumentaiV1ProcessorType
|
2952
2964
|
include Google::Apis::Core::Hashable
|
2953
2965
|
|
@@ -2968,13 +2980,18 @@ module Google
|
|
2968
2980
|
# @return [String]
|
2969
2981
|
attr_accessor :category
|
2970
2982
|
|
2983
|
+
# Launch stage of the processor type
|
2984
|
+
# Corresponds to the JSON property `launchStage`
|
2985
|
+
# @return [String]
|
2986
|
+
attr_accessor :launch_stage
|
2987
|
+
|
2971
2988
|
# The resource name of the processor type. Format: projects/`project`/
|
2972
2989
|
# processorTypes/`processor_type`
|
2973
2990
|
# Corresponds to the JSON property `name`
|
2974
2991
|
# @return [String]
|
2975
2992
|
attr_accessor :name
|
2976
2993
|
|
2977
|
-
# The type of the processor, e.g
|
2994
|
+
# The type of the processor, e.g., "invoice_parsing".
|
2978
2995
|
# Corresponds to the JSON property `type`
|
2979
2996
|
# @return [String]
|
2980
2997
|
attr_accessor :type
|
@@ -2988,6 +3005,7 @@ module Google
|
|
2988
3005
|
@allow_creation = args[:allow_creation] if args.key?(:allow_creation)
|
2989
3006
|
@available_locations = args[:available_locations] if args.key?(:available_locations)
|
2990
3007
|
@category = args[:category] if args.key?(:category)
|
3008
|
+
@launch_stage = args[:launch_stage] if args.key?(:launch_stage)
|
2991
3009
|
@name = args[:name] if args.key?(:name)
|
2992
3010
|
@type = args[:type] if args.key?(:type)
|
2993
3011
|
end
|
@@ -3209,7 +3227,8 @@ module Google
|
|
3209
3227
|
# entity is a date or time value. `money` - the entity represents a money value
|
3210
3228
|
# amount. `number` - the entity is a number - integer or floating point. `string`
|
3211
3229
|
# - the entity is a string value. `boolean` - the entity is a boolean value. `
|
3212
|
-
# address` - the entity is a location address.
|
3230
|
+
# address` - the entity is a location address. `duration` - the entity is a
|
3231
|
+
# duration.
|
3213
3232
|
# Corresponds to the JSON property `baseType`
|
3214
3233
|
# @return [String]
|
3215
3234
|
attr_accessor :base_type
|
@@ -3244,7 +3263,19 @@ module Google
|
|
3244
3263
|
# @return [String]
|
3245
3264
|
attr_accessor :source
|
3246
3265
|
|
3247
|
-
# Name of the type. It must
|
3266
|
+
# Name of the type. It must satisfy the following constraints: 1. Must be unique
|
3267
|
+
# within the set of same level types (with case-insensitive match). 2. Maximum
|
3268
|
+
# 50 characters. 3. Must start with a letter. 4. Allowed characters: ASCII
|
3269
|
+
# letters [a-zA-Z], ASCII digits [0-9], or one of the following punctuation
|
3270
|
+
# characters: * underscore '_' (recommended) * hyphen '-' (allowed, not
|
3271
|
+
# recommended) * colon ':' (allowed, not recommended) NOTE: Whitespace
|
3272
|
+
# characters are not allowed. 5. Cannot end with a punctuation character. 6.
|
3273
|
+
# Cannot contain the following restricted strings: "google", "DocumentAI" (case-
|
3274
|
+
# insensitive match). 7. A slash character '/' is reserved as a separator in
|
3275
|
+
# flattened representations of nested entity types (e.g., "line_item/amount") in
|
3276
|
+
# which case each part (e.g., "line_item", "amount") must comply with the rules
|
3277
|
+
# defined above. We recommend using the snake case ("snake_case") in entity type
|
3278
|
+
# names.
|
3248
3279
|
# Corresponds to the JSON property `type`
|
3249
3280
|
# @return [String]
|
3250
3281
|
attr_accessor :type
|
@@ -6987,6 +7018,11 @@ module Google
|
|
6987
7018
|
# @return [String]
|
6988
7019
|
attr_accessor :create_time
|
6989
7020
|
|
7021
|
+
# A related resource to this operation.
|
7022
|
+
# Corresponds to the JSON property `resource`
|
7023
|
+
# @return [String]
|
7024
|
+
attr_accessor :resource
|
7025
|
+
|
6990
7026
|
# The state of the operation.
|
6991
7027
|
# Corresponds to the JSON property `state`
|
6992
7028
|
# @return [String]
|
@@ -7009,6 +7045,7 @@ module Google
|
|
7009
7045
|
# Update properties of this object
|
7010
7046
|
def update!(**args)
|
7011
7047
|
@create_time = args[:create_time] if args.key?(:create_time)
|
7048
|
+
@resource = args[:resource] if args.key?(:resource)
|
7012
7049
|
@state = args[:state] if args.key?(:state)
|
7013
7050
|
@state_message = args[:state_message] if args.key?(:state_message)
|
7014
7051
|
@update_time = args[:update_time] if args.key?(:update_time)
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.20.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211022"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1422,6 +1422,7 @@ module Google
|
|
1422
1422
|
# @private
|
1423
1423
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1424
1424
|
property :create_time, as: 'createTime'
|
1425
|
+
property :resource, as: 'resource'
|
1425
1426
|
property :state, as: 'state'
|
1426
1427
|
property :state_message, as: 'stateMessage'
|
1427
1428
|
property :update_time, as: 'updateTime'
|
@@ -1694,6 +1695,7 @@ module Google
|
|
1694
1695
|
# @private
|
1695
1696
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1696
1697
|
property :create_time, as: 'createTime'
|
1698
|
+
property :resource, as: 'resource'
|
1697
1699
|
property :state, as: 'state'
|
1698
1700
|
property :state_message, as: 'stateMessage'
|
1699
1701
|
property :update_time, as: 'updateTime'
|
@@ -2325,6 +2327,7 @@ module Google
|
|
2325
2327
|
collection :available_locations, as: 'availableLocations', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorTypeLocationInfo, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorTypeLocationInfo::Representation
|
2326
2328
|
|
2327
2329
|
property :category, as: 'category'
|
2330
|
+
property :launch_stage, as: 'launchStage'
|
2328
2331
|
property :name, as: 'name'
|
2329
2332
|
property :type, as: 'type'
|
2330
2333
|
end
|
@@ -3478,6 +3481,7 @@ module Google
|
|
3478
3481
|
# @private
|
3479
3482
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3480
3483
|
property :create_time, as: 'createTime'
|
3484
|
+
property :resource, as: 'resource'
|
3481
3485
|
property :state, as: 'state'
|
3482
3486
|
property :state_message, as: 'stateMessage'
|
3483
3487
|
property :update_time, as: 'updateTime'
|
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
|
+
version: 0.20.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-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
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.20.0
|
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: []
|
65
65
|
require_paths:
|