google-apis-documentai_v1 0.38.0 → 0.41.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: a28c1b0b4dfc1f1ab8f63ea00fecdf5eb07634e8e6be06ec556a421e51561eee
|
4
|
+
data.tar.gz: adc1004b767819f3248b547d0e673f59001304adc75135cc34b598468cbb392c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 868f99de13ea9443d68854d09ffef8173c9e4f3fb38b9617f1f69a24616bb9f7ab0ec9a6d17cce25438693b29cb3e528cf348b4e20b2b6826a826cf87ed36c97
|
7
|
+
data.tar.gz: 87a187f60b5193d6481679bbca8045066366967a4bca6b245cdfd2699c3298b031df6b4ec6531fe1bf814dc65bf5470e9b618c901caa6722a49aca76ca98d8a7
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,20 @@
|
|
1
1
|
# Release history for google-apis-documentai_v1
|
2
2
|
|
3
|
+
### v0.41.0 (2022-07-01)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.8.0
|
6
|
+
|
7
|
+
### v0.40.0 (2022-06-18)
|
8
|
+
|
9
|
+
* Regenerated using generator version 0.7.0
|
10
|
+
* Regenerated from discovery document revision 20220610
|
11
|
+
|
12
|
+
### v0.39.0 (2022-06-08)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20220602
|
15
|
+
* Regenerated using generator version 0.5.0
|
16
|
+
* Unspecified changes
|
17
|
+
|
3
18
|
### v0.38.0 (2022-05-17)
|
4
19
|
|
5
20
|
* Regenerated from discovery document revision 20220513
|
@@ -1738,8 +1738,8 @@ module Google
|
|
1738
1738
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageToken>]
|
1739
1739
|
attr_accessor :tokens
|
1740
1740
|
|
1741
|
-
# Transformation matrices
|
1742
|
-
#
|
1741
|
+
# Transformation matrices that were applied to the original document image to
|
1742
|
+
# produce Page.image.
|
1743
1743
|
# Corresponds to the JSON property `transforms`
|
1744
1744
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageMatrix>]
|
1745
1745
|
attr_accessor :transforms
|
@@ -2114,14 +2114,6 @@ module Google
|
|
2114
2114
|
class GoogleCloudDocumentaiV1DocumentPageMatrix
|
2115
2115
|
include Google::Apis::Core::Hashable
|
2116
2116
|
|
2117
|
-
# Has the transformation already been applied to the current Document? Needed to
|
2118
|
-
# disambiguate pre-processing transformations already applied vs transformations
|
2119
|
-
# added at annotation time by HITL operators.
|
2120
|
-
# Corresponds to the JSON property `applied`
|
2121
|
-
# @return [Boolean]
|
2122
|
-
attr_accessor :applied
|
2123
|
-
alias_method :applied?, :applied
|
2124
|
-
|
2125
2117
|
# Number of columns in the matrix.
|
2126
2118
|
# Corresponds to the JSON property `cols`
|
2127
2119
|
# @return [Fixnum]
|
@@ -2152,7 +2144,6 @@ module Google
|
|
2152
2144
|
|
2153
2145
|
# Update properties of this object
|
2154
2146
|
def update!(**args)
|
2155
|
-
@applied = args[:applied] if args.key?(:applied)
|
2156
2147
|
@cols = args[:cols] if args.key?(:cols)
|
2157
2148
|
@data = args[:data] if args.key?(:data)
|
2158
2149
|
@rows = args[:rows] if args.key?(:rows)
|
@@ -2555,6 +2546,177 @@ module Google
|
|
2555
2546
|
end
|
2556
2547
|
end
|
2557
2548
|
|
2549
|
+
# The schema defines the output of the processed document by a processor.
|
2550
|
+
class GoogleCloudDocumentaiV1DocumentSchema
|
2551
|
+
include Google::Apis::Core::Hashable
|
2552
|
+
|
2553
|
+
# Description of the schema.
|
2554
|
+
# Corresponds to the JSON property `description`
|
2555
|
+
# @return [String]
|
2556
|
+
attr_accessor :description
|
2557
|
+
|
2558
|
+
# Display name to show to users.
|
2559
|
+
# Corresponds to the JSON property `displayName`
|
2560
|
+
# @return [String]
|
2561
|
+
attr_accessor :display_name
|
2562
|
+
|
2563
|
+
# Entity types of the schema.
|
2564
|
+
# Corresponds to the JSON property `entityTypes`
|
2565
|
+
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchemaEntityType>]
|
2566
|
+
attr_accessor :entity_types
|
2567
|
+
|
2568
|
+
# Metadata for global schema behavior.
|
2569
|
+
# Corresponds to the JSON property `metadata`
|
2570
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchemaMetadata]
|
2571
|
+
attr_accessor :metadata
|
2572
|
+
|
2573
|
+
def initialize(**args)
|
2574
|
+
update!(**args)
|
2575
|
+
end
|
2576
|
+
|
2577
|
+
# Update properties of this object
|
2578
|
+
def update!(**args)
|
2579
|
+
@description = args[:description] if args.key?(:description)
|
2580
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
2581
|
+
@entity_types = args[:entity_types] if args.key?(:entity_types)
|
2582
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
2583
|
+
end
|
2584
|
+
end
|
2585
|
+
|
2586
|
+
# EntityType is the wrapper of a label of the corresponding model with detailed
|
2587
|
+
# attributes and limitations for entity-based processors. Multiple types can
|
2588
|
+
# also compose a dependency tree to represent nested types.
|
2589
|
+
class GoogleCloudDocumentaiV1DocumentSchemaEntityType
|
2590
|
+
include Google::Apis::Core::Hashable
|
2591
|
+
|
2592
|
+
# The entity type that this type is derived from. For now, one and only one
|
2593
|
+
# should be set.
|
2594
|
+
# Corresponds to the JSON property `baseTypes`
|
2595
|
+
# @return [Array<String>]
|
2596
|
+
attr_accessor :base_types
|
2597
|
+
|
2598
|
+
# User defined name for the type.
|
2599
|
+
# Corresponds to the JSON property `displayName`
|
2600
|
+
# @return [String]
|
2601
|
+
attr_accessor :display_name
|
2602
|
+
|
2603
|
+
# Defines the a list of enum values.
|
2604
|
+
# Corresponds to the JSON property `enumValues`
|
2605
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValues]
|
2606
|
+
attr_accessor :enum_values
|
2607
|
+
|
2608
|
+
# Name of the type. It must be unique within the schema file and cannot be a '
|
2609
|
+
# Common Type'. Besides that we use the following naming conventions: - *use
|
2610
|
+
# snake_casing* - name matching is case-insensitive - Maximum 64 characters. -
|
2611
|
+
# Must start with a letter. - Allowed characters: ASCII letters [a-z0-9_-]. (For
|
2612
|
+
# backward compatibility internal infrastructure and tooling can handle any
|
2613
|
+
# ascii character) - The '/' is sometimes used to denote a property of a type.
|
2614
|
+
# For example line_item/amount. This convention is deprecated, but will still be
|
2615
|
+
# honored for backward compatibility.
|
2616
|
+
# Corresponds to the JSON property `name`
|
2617
|
+
# @return [String]
|
2618
|
+
attr_accessor :name
|
2619
|
+
|
2620
|
+
# Describing the nested structure, or composition of an entity.
|
2621
|
+
# Corresponds to the JSON property `properties`
|
2622
|
+
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty>]
|
2623
|
+
attr_accessor :properties
|
2624
|
+
|
2625
|
+
def initialize(**args)
|
2626
|
+
update!(**args)
|
2627
|
+
end
|
2628
|
+
|
2629
|
+
# Update properties of this object
|
2630
|
+
def update!(**args)
|
2631
|
+
@base_types = args[:base_types] if args.key?(:base_types)
|
2632
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
2633
|
+
@enum_values = args[:enum_values] if args.key?(:enum_values)
|
2634
|
+
@name = args[:name] if args.key?(:name)
|
2635
|
+
@properties = args[:properties] if args.key?(:properties)
|
2636
|
+
end
|
2637
|
+
end
|
2638
|
+
|
2639
|
+
# Defines the a list of enum values.
|
2640
|
+
class GoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValues
|
2641
|
+
include Google::Apis::Core::Hashable
|
2642
|
+
|
2643
|
+
# The individual values that this enum values type can include.
|
2644
|
+
# Corresponds to the JSON property `values`
|
2645
|
+
# @return [Array<String>]
|
2646
|
+
attr_accessor :values
|
2647
|
+
|
2648
|
+
def initialize(**args)
|
2649
|
+
update!(**args)
|
2650
|
+
end
|
2651
|
+
|
2652
|
+
# Update properties of this object
|
2653
|
+
def update!(**args)
|
2654
|
+
@values = args[:values] if args.key?(:values)
|
2655
|
+
end
|
2656
|
+
end
|
2657
|
+
|
2658
|
+
# Defines properties that can be part of the entity type.
|
2659
|
+
class GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty
|
2660
|
+
include Google::Apis::Core::Hashable
|
2661
|
+
|
2662
|
+
# The name of the property. Follows the same guidelines as the EntityType name.
|
2663
|
+
# Corresponds to the JSON property `name`
|
2664
|
+
# @return [String]
|
2665
|
+
attr_accessor :name
|
2666
|
+
|
2667
|
+
# Occurrence type limits the number of instances an entity type appears in the
|
2668
|
+
# document.
|
2669
|
+
# Corresponds to the JSON property `occurrenceType`
|
2670
|
+
# @return [String]
|
2671
|
+
attr_accessor :occurrence_type
|
2672
|
+
|
2673
|
+
# A reference to the value type of the property. This type is subject to the
|
2674
|
+
# same conventions as the `Entity.base_types` field.
|
2675
|
+
# Corresponds to the JSON property `valueType`
|
2676
|
+
# @return [String]
|
2677
|
+
attr_accessor :value_type
|
2678
|
+
|
2679
|
+
def initialize(**args)
|
2680
|
+
update!(**args)
|
2681
|
+
end
|
2682
|
+
|
2683
|
+
# Update properties of this object
|
2684
|
+
def update!(**args)
|
2685
|
+
@name = args[:name] if args.key?(:name)
|
2686
|
+
@occurrence_type = args[:occurrence_type] if args.key?(:occurrence_type)
|
2687
|
+
@value_type = args[:value_type] if args.key?(:value_type)
|
2688
|
+
end
|
2689
|
+
end
|
2690
|
+
|
2691
|
+
# Metadata for global schema behavior.
|
2692
|
+
class GoogleCloudDocumentaiV1DocumentSchemaMetadata
|
2693
|
+
include Google::Apis::Core::Hashable
|
2694
|
+
|
2695
|
+
# If true, on a given page, there can be multiple `document` annotations
|
2696
|
+
# covering it.
|
2697
|
+
# Corresponds to the JSON property `documentAllowMultipleLabels`
|
2698
|
+
# @return [Boolean]
|
2699
|
+
attr_accessor :document_allow_multiple_labels
|
2700
|
+
alias_method :document_allow_multiple_labels?, :document_allow_multiple_labels
|
2701
|
+
|
2702
|
+
# If true, a `document` entity type can be applied to subdocument ( splitting).
|
2703
|
+
# Otherwise, it can only be applied to the entire document (classification).
|
2704
|
+
# Corresponds to the JSON property `documentSplitter`
|
2705
|
+
# @return [Boolean]
|
2706
|
+
attr_accessor :document_splitter
|
2707
|
+
alias_method :document_splitter?, :document_splitter
|
2708
|
+
|
2709
|
+
def initialize(**args)
|
2710
|
+
update!(**args)
|
2711
|
+
end
|
2712
|
+
|
2713
|
+
# Update properties of this object
|
2714
|
+
def update!(**args)
|
2715
|
+
@document_allow_multiple_labels = args[:document_allow_multiple_labels] if args.key?(:document_allow_multiple_labels)
|
2716
|
+
@document_splitter = args[:document_splitter] if args.key?(:document_splitter)
|
2717
|
+
end
|
2718
|
+
end
|
2719
|
+
|
2558
2720
|
# For a large document, sharding may be performed to produce several document
|
2559
2721
|
# shards. Each document shard contains this field to detail which shard it is.
|
2560
2722
|
class GoogleCloudDocumentaiV1DocumentShardInfo
|
@@ -3438,6 +3600,11 @@ module Google
|
|
3438
3600
|
class GoogleCloudDocumentaiV1ReviewDocumentRequest
|
3439
3601
|
include Google::Apis::Core::Hashable
|
3440
3602
|
|
3603
|
+
# The schema defines the output of the processed document by a processor.
|
3604
|
+
# Corresponds to the JSON property `documentSchema`
|
3605
|
+
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchema]
|
3606
|
+
attr_accessor :document_schema
|
3607
|
+
|
3441
3608
|
# Whether the validation should be performed on the ad-hoc review request.
|
3442
3609
|
# Corresponds to the JSON property `enableSchemaValidation`
|
3443
3610
|
# @return [Boolean]
|
@@ -3463,6 +3630,7 @@ module Google
|
|
3463
3630
|
|
3464
3631
|
# Update properties of this object
|
3465
3632
|
def update!(**args)
|
3633
|
+
@document_schema = args[:document_schema] if args.key?(:document_schema)
|
3466
3634
|
@enable_schema_validation = args[:enable_schema_validation] if args.key?(:enable_schema_validation)
|
3467
3635
|
@inline_document = args[:inline_document] if args.key?(:inline_document)
|
3468
3636
|
@priority = args[:priority] if args.key?(:priority)
|
@@ -3473,11 +3641,22 @@ module Google
|
|
3473
3641
|
class GoogleCloudDocumentaiV1ReviewDocumentResponse
|
3474
3642
|
include Google::Apis::Core::Hashable
|
3475
3643
|
|
3476
|
-
# The Cloud Storage uri for the human reviewed document
|
3644
|
+
# The Cloud Storage uri for the human reviewed document if the review is
|
3645
|
+
# succeeded.
|
3477
3646
|
# Corresponds to the JSON property `gcsDestination`
|
3478
3647
|
# @return [String]
|
3479
3648
|
attr_accessor :gcs_destination
|
3480
3649
|
|
3650
|
+
# The reason why the review is rejected by reviewer.
|
3651
|
+
# Corresponds to the JSON property `rejectionReason`
|
3652
|
+
# @return [String]
|
3653
|
+
attr_accessor :rejection_reason
|
3654
|
+
|
3655
|
+
# The state of the review operation.
|
3656
|
+
# Corresponds to the JSON property `state`
|
3657
|
+
# @return [String]
|
3658
|
+
attr_accessor :state
|
3659
|
+
|
3481
3660
|
def initialize(**args)
|
3482
3661
|
update!(**args)
|
3483
3662
|
end
|
@@ -3485,6 +3664,8 @@ module Google
|
|
3485
3664
|
# Update properties of this object
|
3486
3665
|
def update!(**args)
|
3487
3666
|
@gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
|
3667
|
+
@rejection_reason = args[:rejection_reason] if args.key?(:rejection_reason)
|
3668
|
+
@state = args[:state] if args.key?(:state)
|
3488
3669
|
end
|
3489
3670
|
end
|
3490
3671
|
|
@@ -3512,6 +3693,8 @@ module Google
|
|
3512
3693
|
include Google::Apis::Core::Hashable
|
3513
3694
|
|
3514
3695
|
# Required. The resource name of child ProcessorVersion to use as default.
|
3696
|
+
# Format: `projects/`project`/locations/`location`/processors/`processor`/
|
3697
|
+
# processorVersions/`version``
|
3515
3698
|
# Corresponds to the JSON property `defaultProcessorVersion`
|
3516
3699
|
# @return [String]
|
3517
3700
|
attr_accessor :default_processor_version
|
@@ -4124,8 +4307,8 @@ module Google
|
|
4124
4307
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageToken>]
|
4125
4308
|
attr_accessor :tokens
|
4126
4309
|
|
4127
|
-
# Transformation matrices
|
4128
|
-
#
|
4310
|
+
# Transformation matrices that were applied to the original document image to
|
4311
|
+
# produce Page.image.
|
4129
4312
|
# Corresponds to the JSON property `transforms`
|
4130
4313
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageMatrix>]
|
4131
4314
|
attr_accessor :transforms
|
@@ -4500,14 +4683,6 @@ module Google
|
|
4500
4683
|
class GoogleCloudDocumentaiV1beta1DocumentPageMatrix
|
4501
4684
|
include Google::Apis::Core::Hashable
|
4502
4685
|
|
4503
|
-
# Has the transformation already been applied to the current Document? Needed to
|
4504
|
-
# disambiguate pre-processing transformations already applied vs transformations
|
4505
|
-
# added at annotation time by HITL operators.
|
4506
|
-
# Corresponds to the JSON property `applied`
|
4507
|
-
# @return [Boolean]
|
4508
|
-
attr_accessor :applied
|
4509
|
-
alias_method :applied?, :applied
|
4510
|
-
|
4511
4686
|
# Number of columns in the matrix.
|
4512
4687
|
# Corresponds to the JSON property `cols`
|
4513
4688
|
# @return [Fixnum]
|
@@ -4538,7 +4713,6 @@ module Google
|
|
4538
4713
|
|
4539
4714
|
# Update properties of this object
|
4540
4715
|
def update!(**args)
|
4541
|
-
@applied = args[:applied] if args.key?(:applied)
|
4542
4716
|
@cols = args[:cols] if args.key?(:cols)
|
4543
4717
|
@data = args[:data] if args.key?(:data)
|
4544
4718
|
@rows = args[:rows] if args.key?(:rows)
|
@@ -5938,8 +6112,8 @@ module Google
|
|
5938
6112
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageToken>]
|
5939
6113
|
attr_accessor :tokens
|
5940
6114
|
|
5941
|
-
# Transformation matrices
|
5942
|
-
#
|
6115
|
+
# Transformation matrices that were applied to the original document image to
|
6116
|
+
# produce Page.image.
|
5943
6117
|
# Corresponds to the JSON property `transforms`
|
5944
6118
|
# @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageMatrix>]
|
5945
6119
|
attr_accessor :transforms
|
@@ -6314,14 +6488,6 @@ module Google
|
|
6314
6488
|
class GoogleCloudDocumentaiV1beta2DocumentPageMatrix
|
6315
6489
|
include Google::Apis::Core::Hashable
|
6316
6490
|
|
6317
|
-
# Has the transformation already been applied to the current Document? Needed to
|
6318
|
-
# disambiguate pre-processing transformations already applied vs transformations
|
6319
|
-
# added at annotation time by HITL operators.
|
6320
|
-
# Corresponds to the JSON property `applied`
|
6321
|
-
# @return [Boolean]
|
6322
|
-
attr_accessor :applied
|
6323
|
-
alias_method :applied?, :applied
|
6324
|
-
|
6325
6491
|
# Number of columns in the matrix.
|
6326
6492
|
# Corresponds to the JSON property `cols`
|
6327
6493
|
# @return [Fixnum]
|
@@ -6352,7 +6518,6 @@ module Google
|
|
6352
6518
|
|
6353
6519
|
# Update properties of this object
|
6354
6520
|
def update!(**args)
|
6355
|
-
@applied = args[:applied] if args.key?(:applied)
|
6356
6521
|
@cols = args[:cols] if args.key?(:cols)
|
6357
6522
|
@data = args[:data] if args.key?(:data)
|
6358
6523
|
@rows = args[:rows] if args.key?(:rows)
|
@@ -7646,11 +7811,22 @@ module Google
|
|
7646
7811
|
class GoogleCloudDocumentaiV1beta3ReviewDocumentResponse
|
7647
7812
|
include Google::Apis::Core::Hashable
|
7648
7813
|
|
7649
|
-
# The Cloud Storage uri for the human reviewed document
|
7814
|
+
# The Cloud Storage uri for the human reviewed document if the review is
|
7815
|
+
# succeeded.
|
7650
7816
|
# Corresponds to the JSON property `gcsDestination`
|
7651
7817
|
# @return [String]
|
7652
7818
|
attr_accessor :gcs_destination
|
7653
7819
|
|
7820
|
+
# The reason why the review is rejected by reviewer.
|
7821
|
+
# Corresponds to the JSON property `rejectionReason`
|
7822
|
+
# @return [String]
|
7823
|
+
attr_accessor :rejection_reason
|
7824
|
+
|
7825
|
+
# The state of the review operation.
|
7826
|
+
# Corresponds to the JSON property `state`
|
7827
|
+
# @return [String]
|
7828
|
+
attr_accessor :state
|
7829
|
+
|
7654
7830
|
def initialize(**args)
|
7655
7831
|
update!(**args)
|
7656
7832
|
end
|
@@ -7658,6 +7834,8 @@ module Google
|
|
7658
7834
|
# Update properties of this object
|
7659
7835
|
def update!(**args)
|
7660
7836
|
@gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
|
7837
|
+
@rejection_reason = args[:rejection_reason] if args.key?(:rejection_reason)
|
7838
|
+
@state = args[:state] if args.key?(:state)
|
7661
7839
|
end
|
7662
7840
|
end
|
7663
7841
|
|
@@ -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.41.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.8.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220610"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -532,6 +532,36 @@ module Google
|
|
532
532
|
include Google::Apis::Core::JsonObjectSupport
|
533
533
|
end
|
534
534
|
|
535
|
+
class GoogleCloudDocumentaiV1DocumentSchema
|
536
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
537
|
+
|
538
|
+
include Google::Apis::Core::JsonObjectSupport
|
539
|
+
end
|
540
|
+
|
541
|
+
class GoogleCloudDocumentaiV1DocumentSchemaEntityType
|
542
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
543
|
+
|
544
|
+
include Google::Apis::Core::JsonObjectSupport
|
545
|
+
end
|
546
|
+
|
547
|
+
class GoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValues
|
548
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
549
|
+
|
550
|
+
include Google::Apis::Core::JsonObjectSupport
|
551
|
+
end
|
552
|
+
|
553
|
+
class GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty
|
554
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
555
|
+
|
556
|
+
include Google::Apis::Core::JsonObjectSupport
|
557
|
+
end
|
558
|
+
|
559
|
+
class GoogleCloudDocumentaiV1DocumentSchemaMetadata
|
560
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
561
|
+
|
562
|
+
include Google::Apis::Core::JsonObjectSupport
|
563
|
+
end
|
564
|
+
|
535
565
|
class GoogleCloudDocumentaiV1DocumentShardInfo
|
536
566
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
537
567
|
|
@@ -2160,7 +2190,6 @@ module Google
|
|
2160
2190
|
class GoogleCloudDocumentaiV1DocumentPageMatrix
|
2161
2191
|
# @private
|
2162
2192
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2163
|
-
property :applied, as: 'applied'
|
2164
2193
|
property :cols, as: 'cols'
|
2165
2194
|
property :data, :base64 => true, as: 'data'
|
2166
2195
|
property :rows, as: 'rows'
|
@@ -2298,6 +2327,55 @@ module Google
|
|
2298
2327
|
end
|
2299
2328
|
end
|
2300
2329
|
|
2330
|
+
class GoogleCloudDocumentaiV1DocumentSchema
|
2331
|
+
# @private
|
2332
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2333
|
+
property :description, as: 'description'
|
2334
|
+
property :display_name, as: 'displayName'
|
2335
|
+
collection :entity_types, as: 'entityTypes', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchemaEntityType, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchemaEntityType::Representation
|
2336
|
+
|
2337
|
+
property :metadata, as: 'metadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchemaMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchemaMetadata::Representation
|
2338
|
+
|
2339
|
+
end
|
2340
|
+
end
|
2341
|
+
|
2342
|
+
class GoogleCloudDocumentaiV1DocumentSchemaEntityType
|
2343
|
+
# @private
|
2344
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2345
|
+
collection :base_types, as: 'baseTypes'
|
2346
|
+
property :display_name, as: 'displayName'
|
2347
|
+
property :enum_values, as: 'enumValues', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValues, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValues::Representation
|
2348
|
+
|
2349
|
+
property :name, as: 'name'
|
2350
|
+
collection :properties, as: 'properties', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty::Representation
|
2351
|
+
|
2352
|
+
end
|
2353
|
+
end
|
2354
|
+
|
2355
|
+
class GoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValues
|
2356
|
+
# @private
|
2357
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2358
|
+
collection :values, as: 'values'
|
2359
|
+
end
|
2360
|
+
end
|
2361
|
+
|
2362
|
+
class GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty
|
2363
|
+
# @private
|
2364
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2365
|
+
property :name, as: 'name'
|
2366
|
+
property :occurrence_type, as: 'occurrenceType'
|
2367
|
+
property :value_type, as: 'valueType'
|
2368
|
+
end
|
2369
|
+
end
|
2370
|
+
|
2371
|
+
class GoogleCloudDocumentaiV1DocumentSchemaMetadata
|
2372
|
+
# @private
|
2373
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2374
|
+
property :document_allow_multiple_labels, as: 'documentAllowMultipleLabels'
|
2375
|
+
property :document_splitter, as: 'documentSplitter'
|
2376
|
+
end
|
2377
|
+
end
|
2378
|
+
|
2301
2379
|
class GoogleCloudDocumentaiV1DocumentShardInfo
|
2302
2380
|
# @private
|
2303
2381
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2545,6 +2623,8 @@ module Google
|
|
2545
2623
|
class GoogleCloudDocumentaiV1ReviewDocumentRequest
|
2546
2624
|
# @private
|
2547
2625
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2626
|
+
property :document_schema, as: 'documentSchema', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchema, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchema::Representation
|
2627
|
+
|
2548
2628
|
property :enable_schema_validation, as: 'enableSchemaValidation'
|
2549
2629
|
property :inline_document, as: 'inlineDocument', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Document, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Document::Representation
|
2550
2630
|
|
@@ -2556,6 +2636,8 @@ module Google
|
|
2556
2636
|
# @private
|
2557
2637
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2558
2638
|
property :gcs_destination, as: 'gcsDestination'
|
2639
|
+
property :rejection_reason, as: 'rejectionReason'
|
2640
|
+
property :state, as: 'state'
|
2559
2641
|
end
|
2560
2642
|
end
|
2561
2643
|
|
@@ -2861,7 +2943,6 @@ module Google
|
|
2861
2943
|
class GoogleCloudDocumentaiV1beta1DocumentPageMatrix
|
2862
2944
|
# @private
|
2863
2945
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2864
|
-
property :applied, as: 'applied'
|
2865
2946
|
property :cols, as: 'cols'
|
2866
2947
|
property :data, :base64 => true, as: 'data'
|
2867
2948
|
property :rows, as: 'rows'
|
@@ -3374,7 +3455,6 @@ module Google
|
|
3374
3455
|
class GoogleCloudDocumentaiV1beta2DocumentPageMatrix
|
3375
3456
|
# @private
|
3376
3457
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3377
|
-
property :applied, as: 'applied'
|
3378
3458
|
property :cols, as: 'cols'
|
3379
3459
|
property :data, :base64 => true, as: 'data'
|
3380
3460
|
property :rows, as: 'rows'
|
@@ -3769,6 +3849,8 @@ module Google
|
|
3769
3849
|
# @private
|
3770
3850
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3771
3851
|
property :gcs_destination, as: 'gcsDestination'
|
3852
|
+
property :rejection_reason, as: 'rejectionReason'
|
3853
|
+
property :state, as: 'state'
|
3772
3854
|
end
|
3773
3855
|
end
|
3774
3856
|
|
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.41.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: 2022-
|
11
|
+
date: 2022-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.7'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.41.0
|
62
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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.3.
|
78
|
+
rubygems_version: 3.3.14
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Document AI API V1
|