google-apis-documentai_v1beta3 0.14.0 → 0.15.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: c5a7c8ef0311e7cf6c92173ae32503a29bcaa843e1ddfcd5cdb6b9db3d0ce266
|
4
|
+
data.tar.gz: 3b77a8fe012b1f353608f3c71f056321ea89c98bac32d21ee7325abfb1b414de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64433852663dd4aa48309d825ccabbe204f35da99db28570776249ef4485b4097774ca7280ccbd39771b628160d293e2beafac8db5b2d0ecf3211b5a51aec645
|
7
|
+
data.tar.gz: 2a233c45bc83196104a933643951f53e8a6910ee09f5632554073718b1de8e8774277496a1db6850b2c578538585c0b01b23866eab3a4af111814ff3cb1e9daf
|
data/CHANGELOG.md
CHANGED
@@ -6315,11 +6315,6 @@ module Google
|
|
6315
6315
|
# @return [String]
|
6316
6316
|
attr_accessor :name
|
6317
6317
|
|
6318
|
-
# The schema defines the output of the processed document by a processor.
|
6319
|
-
# Corresponds to the JSON property `schema`
|
6320
|
-
# @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Schema]
|
6321
|
-
attr_accessor :schema
|
6322
|
-
|
6323
6318
|
# The type of the processor, e.g, "invoice_parsing".
|
6324
6319
|
# Corresponds to the JSON property `type`
|
6325
6320
|
# @return [String]
|
@@ -6335,7 +6330,6 @@ module Google
|
|
6335
6330
|
@available_locations = args[:available_locations] if args.key?(:available_locations)
|
6336
6331
|
@category = args[:category] if args.key?(:category)
|
6337
6332
|
@name = args[:name] if args.key?(:name)
|
6338
|
-
@schema = args[:schema] if args.key?(:schema)
|
6339
6333
|
@type = args[:type] if args.key?(:type)
|
6340
6334
|
end
|
6341
6335
|
end
|
@@ -6492,105 +6486,6 @@ module Google
|
|
6492
6486
|
end
|
6493
6487
|
end
|
6494
6488
|
|
6495
|
-
# The schema defines the output of the processed document by a processor.
|
6496
|
-
class GoogleCloudDocumentaiV1beta3Schema
|
6497
|
-
include Google::Apis::Core::Hashable
|
6498
|
-
|
6499
|
-
# Description of the schema.
|
6500
|
-
# Corresponds to the JSON property `description`
|
6501
|
-
# @return [String]
|
6502
|
-
attr_accessor :description
|
6503
|
-
|
6504
|
-
# Display name to show to users.
|
6505
|
-
# Corresponds to the JSON property `displayName`
|
6506
|
-
# @return [String]
|
6507
|
-
attr_accessor :display_name
|
6508
|
-
|
6509
|
-
# Entity types of the schema.
|
6510
|
-
# Corresponds to the JSON property `entityTypes`
|
6511
|
-
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3SchemaEntityType>]
|
6512
|
-
attr_accessor :entity_types
|
6513
|
-
|
6514
|
-
def initialize(**args)
|
6515
|
-
update!(**args)
|
6516
|
-
end
|
6517
|
-
|
6518
|
-
# Update properties of this object
|
6519
|
-
def update!(**args)
|
6520
|
-
@description = args[:description] if args.key?(:description)
|
6521
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
6522
|
-
@entity_types = args[:entity_types] if args.key?(:entity_types)
|
6523
|
-
end
|
6524
|
-
end
|
6525
|
-
|
6526
|
-
# EntityType is the wrapper of a label of the corresponding model with detailed
|
6527
|
-
# attributes and limitations for entity-based processors. Multiple types can
|
6528
|
-
# also compose a dependency tree to represent nested types.
|
6529
|
-
class GoogleCloudDocumentaiV1beta3SchemaEntityType
|
6530
|
-
include Google::Apis::Core::Hashable
|
6531
|
-
|
6532
|
-
# Type of the entity. It must be one of the following: `document` - the entity
|
6533
|
-
# represents a classification of a logical document. `object` - if the entity
|
6534
|
-
# has properties it is likely an object (or or a document.) `datetime` - the
|
6535
|
-
# entity is a date or time value. `money` - the entity represents a money value
|
6536
|
-
# amount. `number` - the entity is a number - integer or floating point. `string`
|
6537
|
-
# - the entity is a string value. `boolean` - the entity is a boolean value. `
|
6538
|
-
# address` - the entity is a location address.
|
6539
|
-
# Corresponds to the JSON property `baseType`
|
6540
|
-
# @return [String]
|
6541
|
-
attr_accessor :base_type
|
6542
|
-
|
6543
|
-
# Description of the entity type.
|
6544
|
-
# Corresponds to the JSON property `description`
|
6545
|
-
# @return [String]
|
6546
|
-
attr_accessor :description
|
6547
|
-
|
6548
|
-
# If specified, lists all the possible values for this entity.
|
6549
|
-
# Corresponds to the JSON property `enumValues`
|
6550
|
-
# @return [Array<String>]
|
6551
|
-
attr_accessor :enum_values
|
6552
|
-
|
6553
|
-
# Occurrence type limits the number of times an entity type appears in the
|
6554
|
-
# document.
|
6555
|
-
# Corresponds to the JSON property `occurrenceType`
|
6556
|
-
# @return [String]
|
6557
|
-
attr_accessor :occurrence_type
|
6558
|
-
|
6559
|
-
# Describing the nested structure of an entity. An EntityType may consist of
|
6560
|
-
# several other EntityTypes. For example, in a document there can be an
|
6561
|
-
# EntityType 'ID', which consists of EntityType 'name' and 'address', with
|
6562
|
-
# corresponding attributes, such as TEXT for both types and ONCE for occurrence
|
6563
|
-
# types.
|
6564
|
-
# Corresponds to the JSON property `properties`
|
6565
|
-
# @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3SchemaEntityType>]
|
6566
|
-
attr_accessor :properties
|
6567
|
-
|
6568
|
-
# Source of this entity type.
|
6569
|
-
# Corresponds to the JSON property `source`
|
6570
|
-
# @return [String]
|
6571
|
-
attr_accessor :source
|
6572
|
-
|
6573
|
-
# Name of the type. It must be unique within the set of same level types.
|
6574
|
-
# Corresponds to the JSON property `type`
|
6575
|
-
# @return [String]
|
6576
|
-
attr_accessor :type
|
6577
|
-
|
6578
|
-
def initialize(**args)
|
6579
|
-
update!(**args)
|
6580
|
-
end
|
6581
|
-
|
6582
|
-
# Update properties of this object
|
6583
|
-
def update!(**args)
|
6584
|
-
@base_type = args[:base_type] if args.key?(:base_type)
|
6585
|
-
@description = args[:description] if args.key?(:description)
|
6586
|
-
@enum_values = args[:enum_values] if args.key?(:enum_values)
|
6587
|
-
@occurrence_type = args[:occurrence_type] if args.key?(:occurrence_type)
|
6588
|
-
@properties = args[:properties] if args.key?(:properties)
|
6589
|
-
@source = args[:source] if args.key?(:source)
|
6590
|
-
@type = args[:type] if args.key?(:type)
|
6591
|
-
end
|
6592
|
-
end
|
6593
|
-
|
6594
6489
|
# A vertex represents a 2D point in the image. NOTE: the vertex coordinates are
|
6595
6490
|
# in the same scale as the original image.
|
6596
6491
|
class GoogleCloudDocumentaiV1beta3Vertex
|
@@ -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.15.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.3.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210617"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1102,18 +1102,6 @@ module Google
|
|
1102
1102
|
include Google::Apis::Core::JsonObjectSupport
|
1103
1103
|
end
|
1104
1104
|
|
1105
|
-
class GoogleCloudDocumentaiV1beta3Schema
|
1106
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1107
|
-
|
1108
|
-
include Google::Apis::Core::JsonObjectSupport
|
1109
|
-
end
|
1110
|
-
|
1111
|
-
class GoogleCloudDocumentaiV1beta3SchemaEntityType
|
1112
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1113
|
-
|
1114
|
-
include Google::Apis::Core::JsonObjectSupport
|
1115
|
-
end
|
1116
|
-
|
1117
1105
|
class GoogleCloudDocumentaiV1beta3Vertex
|
1118
1106
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1119
1107
|
|
@@ -3062,8 +3050,6 @@ module Google
|
|
3062
3050
|
|
3063
3051
|
property :category, as: 'category'
|
3064
3052
|
property :name, as: 'name'
|
3065
|
-
property :schema, as: 'schema', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Schema, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Schema::Representation
|
3066
|
-
|
3067
3053
|
property :type, as: 'type'
|
3068
3054
|
end
|
3069
3055
|
end
|
@@ -3114,30 +3100,6 @@ module Google
|
|
3114
3100
|
end
|
3115
3101
|
end
|
3116
3102
|
|
3117
|
-
class GoogleCloudDocumentaiV1beta3Schema
|
3118
|
-
# @private
|
3119
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
3120
|
-
property :description, as: 'description'
|
3121
|
-
property :display_name, as: 'displayName'
|
3122
|
-
collection :entity_types, as: 'entityTypes', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3SchemaEntityType, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3SchemaEntityType::Representation
|
3123
|
-
|
3124
|
-
end
|
3125
|
-
end
|
3126
|
-
|
3127
|
-
class GoogleCloudDocumentaiV1beta3SchemaEntityType
|
3128
|
-
# @private
|
3129
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
3130
|
-
property :base_type, as: 'baseType'
|
3131
|
-
property :description, as: 'description'
|
3132
|
-
collection :enum_values, as: 'enumValues'
|
3133
|
-
property :occurrence_type, as: 'occurrenceType'
|
3134
|
-
collection :properties, as: 'properties', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3SchemaEntityType, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3SchemaEntityType::Representation
|
3135
|
-
|
3136
|
-
property :source, as: 'source'
|
3137
|
-
property :type, as: 'type'
|
3138
|
-
end
|
3139
|
-
end
|
3140
|
-
|
3141
3103
|
class GoogleCloudDocumentaiV1beta3Vertex
|
3142
3104
|
# @private
|
3143
3105
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
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.15.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-06-
|
11
|
+
date: 2021-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.3'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.3'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Cloud Document AI API V1beta3. Simple
|
28
34
|
REST clients are Ruby client libraries that provide access to Google services via
|
29
35
|
their HTTP REST API endpoints. These libraries are generated and updated automatically
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.15.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-documentai_v1beta3
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|