google-apis-documentai_v1beta3 0.23.0 → 0.27.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: 7233a4d0021f9d64f35f4154dab6da4046e01824d8188e175212e1451913d265
|
4
|
+
data.tar.gz: e35d637cc79a2a958d16c5c9951fe5de2ea965382984705d3881ea4eef183985
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 442d13cdae32947d615adc9fe42bba9e3f8f9963f645b381f5d2b085a6f3dfa41657c0394fa6aefebe2052e4a980557bfabab57915d51ea8eff0361b4d78e329
|
7
|
+
data.tar.gz: 3ac91298dc3f8403db9527b4bdff2a16aa8693ac42f70da1b6bf9d33dbdb58f9d27a973995b669874c6e5de5c26793d59eb2ade0373e4d5f954b3e946f84bdb5
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-documentai_v1beta3
|
2
2
|
|
3
|
+
### v0.27.0 (2021-10-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211022
|
6
|
+
* Unspecified changes
|
7
|
+
|
8
|
+
### v0.26.0 (2021-10-14)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20211012
|
11
|
+
|
12
|
+
### v0.25.0 (2021-10-06)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20211002
|
15
|
+
|
16
|
+
### v0.24.0 (2021-09-28)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210926
|
19
|
+
|
3
20
|
### v0.23.0 (2021-09-09)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210907
|
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)
|
@@ -732,6 +738,11 @@ module Google
|
|
732
738
|
# @return [String]
|
733
739
|
attr_accessor :create_time
|
734
740
|
|
741
|
+
# A related resource to this operation.
|
742
|
+
# Corresponds to the JSON property `resource`
|
743
|
+
# @return [String]
|
744
|
+
attr_accessor :resource
|
745
|
+
|
735
746
|
# The state of the operation.
|
736
747
|
# Corresponds to the JSON property `state`
|
737
748
|
# @return [String]
|
@@ -754,6 +765,7 @@ module Google
|
|
754
765
|
# Update properties of this object
|
755
766
|
def update!(**args)
|
756
767
|
@create_time = args[:create_time] if args.key?(:create_time)
|
768
|
+
@resource = args[:resource] if args.key?(:resource)
|
757
769
|
@state = args[:state] if args.key?(:state)
|
758
770
|
@state_message = args[:state_message] if args.key?(:state_message)
|
759
771
|
@update_time = args[:update_time] if args.key?(:update_time)
|
@@ -4774,6 +4786,11 @@ module Google
|
|
4774
4786
|
# @return [String]
|
4775
4787
|
attr_accessor :create_time
|
4776
4788
|
|
4789
|
+
# A related resource to this operation.
|
4790
|
+
# Corresponds to the JSON property `resource`
|
4791
|
+
# @return [String]
|
4792
|
+
attr_accessor :resource
|
4793
|
+
|
4777
4794
|
# The state of the operation.
|
4778
4795
|
# Corresponds to the JSON property `state`
|
4779
4796
|
# @return [String]
|
@@ -4796,6 +4813,7 @@ module Google
|
|
4796
4813
|
# Update properties of this object
|
4797
4814
|
def update!(**args)
|
4798
4815
|
@create_time = args[:create_time] if args.key?(:create_time)
|
4816
|
+
@resource = args[:resource] if args.key?(:resource)
|
4799
4817
|
@state = args[:state] if args.key?(:state)
|
4800
4818
|
@state_message = args[:state_message] if args.key?(:state_message)
|
4801
4819
|
@update_time = args[:update_time] if args.key?(:update_time)
|
@@ -6923,7 +6941,7 @@ module Google
|
|
6923
6941
|
# EU' endpoint to feach processor types. In the return, we will have an 'invoice
|
6924
6942
|
# parsing' processor with 'available_locations' field only containing 'US'. So
|
6925
6943
|
# the user can try to create an 'invoice parsing' processor under the location '
|
6926
|
-
# US'. Such attempt of creating under the location 'EU' will fail. Next ID:
|
6944
|
+
# US'. Such attempt of creating under the location 'EU' will fail. Next ID: 9.
|
6927
6945
|
class GoogleCloudDocumentaiV1beta3ProcessorType
|
6928
6946
|
include Google::Apis::Core::Hashable
|
6929
6947
|
|
@@ -6944,13 +6962,18 @@ module Google
|
|
6944
6962
|
# @return [String]
|
6945
6963
|
attr_accessor :category
|
6946
6964
|
|
6965
|
+
# Launch stage of the processor type
|
6966
|
+
# Corresponds to the JSON property `launchStage`
|
6967
|
+
# @return [String]
|
6968
|
+
attr_accessor :launch_stage
|
6969
|
+
|
6947
6970
|
# The resource name of the processor type. Format: projects/`project`/
|
6948
6971
|
# processorTypes/`processor_type`
|
6949
6972
|
# Corresponds to the JSON property `name`
|
6950
6973
|
# @return [String]
|
6951
6974
|
attr_accessor :name
|
6952
6975
|
|
6953
|
-
# The type of the processor, e.g
|
6976
|
+
# The type of the processor, e.g., "invoice_parsing".
|
6954
6977
|
# Corresponds to the JSON property `type`
|
6955
6978
|
# @return [String]
|
6956
6979
|
attr_accessor :type
|
@@ -6964,6 +6987,7 @@ module Google
|
|
6964
6987
|
@allow_creation = args[:allow_creation] if args.key?(:allow_creation)
|
6965
6988
|
@available_locations = args[:available_locations] if args.key?(:available_locations)
|
6966
6989
|
@category = args[:category] if args.key?(:category)
|
6990
|
+
@launch_stage = args[:launch_stage] if args.key?(:launch_stage)
|
6967
6991
|
@name = args[:name] if args.key?(:name)
|
6968
6992
|
@type = args[:type] if args.key?(:type)
|
6969
6993
|
end
|
@@ -7219,7 +7243,8 @@ module Google
|
|
7219
7243
|
# entity is a date or time value. `money` - the entity represents a money value
|
7220
7244
|
# amount. `number` - the entity is a number - integer or floating point. `string`
|
7221
7245
|
# - the entity is a string value. `boolean` - the entity is a boolean value. `
|
7222
|
-
# address` - the entity is a location address.
|
7246
|
+
# address` - the entity is a location address. `duration` - the entity is a
|
7247
|
+
# duration.
|
7223
7248
|
# Corresponds to the JSON property `baseType`
|
7224
7249
|
# @return [String]
|
7225
7250
|
attr_accessor :base_type
|
@@ -7254,7 +7279,19 @@ module Google
|
|
7254
7279
|
# @return [String]
|
7255
7280
|
attr_accessor :source
|
7256
7281
|
|
7257
|
-
# Name of the type. It must
|
7282
|
+
# Name of the type. It must satisfy the following constraints: 1. Must be unique
|
7283
|
+
# within the set of same level types (with case-insensitive match). 2. Maximum
|
7284
|
+
# 50 characters. 3. Must start with a letter. 4. Allowed characters: ASCII
|
7285
|
+
# letters [a-zA-Z], ASCII digits [0-9], or one of the following punctuation
|
7286
|
+
# characters: * underscore '_' (recommended) * hyphen '-' (allowed, not
|
7287
|
+
# recommended) * colon ':' (allowed, not recommended) NOTE: Whitespace
|
7288
|
+
# characters are not allowed. 5. Cannot end with a punctuation character. 6.
|
7289
|
+
# Cannot contain the following restricted strings: "google", "DocumentAI" (case-
|
7290
|
+
# insensitive match). 7. A slash character '/' is reserved as a separator in
|
7291
|
+
# flattened representations of nested entity types (e.g., "line_item/amount") in
|
7292
|
+
# which case each part (e.g., "line_item", "amount") must comply with the rules
|
7293
|
+
# defined above. We recommend using the snake case ("snake_case") in entity type
|
7294
|
+
# names.
|
7258
7295
|
# Corresponds to the JSON property `type`
|
7259
7296
|
# @return [String]
|
7260
7297
|
attr_accessor :type
|
@@ -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.27.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
|
@@ -1434,6 +1434,7 @@ module Google
|
|
1434
1434
|
# @private
|
1435
1435
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1436
1436
|
property :create_time, as: 'createTime'
|
1437
|
+
property :resource, as: 'resource'
|
1437
1438
|
property :state, as: 'state'
|
1438
1439
|
property :state_message, as: 'stateMessage'
|
1439
1440
|
property :update_time, as: 'updateTime'
|
@@ -1675,6 +1676,7 @@ module Google
|
|
1675
1676
|
# @private
|
1676
1677
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1677
1678
|
property :create_time, as: 'createTime'
|
1679
|
+
property :resource, as: 'resource'
|
1678
1680
|
property :state, as: 'state'
|
1679
1681
|
property :state_message, as: 'stateMessage'
|
1680
1682
|
property :update_time, as: 'updateTime'
|
@@ -2862,6 +2864,7 @@ module Google
|
|
2862
2864
|
# @private
|
2863
2865
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2864
2866
|
property :create_time, as: 'createTime'
|
2867
|
+
property :resource, as: 'resource'
|
2865
2868
|
property :state, as: 'state'
|
2866
2869
|
property :state_message, as: 'stateMessage'
|
2867
2870
|
property :update_time, as: 'updateTime'
|
@@ -3496,6 +3499,7 @@ module Google
|
|
3496
3499
|
collection :available_locations, as: 'availableLocations', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorTypeLocationInfo, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessorTypeLocationInfo::Representation
|
3497
3500
|
|
3498
3501
|
property :category, as: 'category'
|
3502
|
+
property :launch_stage, as: 'launchStage'
|
3499
3503
|
property :name, as: 'name'
|
3500
3504
|
property :type, as: 'type'
|
3501
3505
|
end
|
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.27.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_v1beta3/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_v1beta3/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.27.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta3
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|