google-apis-documentai_v1beta3 0.45.0 → 0.48.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: 390cda7dd1322a38b09d1028def4e197798601ac0a90dd99859a0210da8220d2
4
- data.tar.gz: 00120da15608eada5bc300e767ee8b4495bcd28d10417b7b5ccb91651c04ac86
3
+ metadata.gz: ac0d7d819286c11302b2225d60eef4403baec5f965bd1a490c6da0acb45d19ff
4
+ data.tar.gz: 840278a47fb25d0902ec10ae7cd31898e95ed4b93d827aa13f3b1b14ce2c2ac2
5
5
  SHA512:
6
- metadata.gz: 6b005747bc206ab3d43e4155d65f1f288a8b6e91c52534773dc7d3a9820ee763311ed07c4791f233651a47b89725dad9eb2870f610d1671ad7722f824eedfb8b
7
- data.tar.gz: f0edc1eb2f1c923474dcff55ec31a1bd9c57eeceb80f6632f79bfba8d34559f0579cd5c7e1eebaef40ca62acfc0533800b2fdce55fb809b72f9eb3a06df81e1c
6
+ metadata.gz: 052621bd35727b0b2e0b56272b7cad3a393d2729aabca5bb854eb4d3e65b822d8959e6e1030a80141244223b797c8adc0232ac0d2271753a29b0c426ec33077a
7
+ data.tar.gz: 0ec955793a69c08ffea281fe61330d872490bb2497be4c23f57a4164f3eae144a9557937b52ae5a92c5b2fe96be2b80ad279f0921c23f1d3ab86c28d115ef12f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
+ ### v0.48.0 (2022-06-21)
4
+
5
+ * Regenerated using generator version 0.7.0
6
+
7
+ ### v0.47.0 (2022-06-14)
8
+
9
+ * Regenerated from discovery document revision 20220610
10
+ * Regenerated using generator version 0.6.0
11
+
12
+ ### v0.46.0 (2022-06-08)
13
+
14
+ * Regenerated from discovery document revision 20220602
15
+ * Regenerated using generator version 0.5.0
16
+
3
17
  ### v0.45.0 (2022-05-17)
4
18
 
5
19
  * Regenerated from discovery document revision 20220513
@@ -1278,11 +1278,22 @@ module Google
1278
1278
  class GoogleCloudDocumentaiV1ReviewDocumentResponse
1279
1279
  include Google::Apis::Core::Hashable
1280
1280
 
1281
- # The Cloud Storage uri for the human reviewed document.
1281
+ # The Cloud Storage uri for the human reviewed document if the review is
1282
+ # succeeded.
1282
1283
  # Corresponds to the JSON property `gcsDestination`
1283
1284
  # @return [String]
1284
1285
  attr_accessor :gcs_destination
1285
1286
 
1287
+ # The reason why the review is rejected by reviewer.
1288
+ # Corresponds to the JSON property `rejectionReason`
1289
+ # @return [String]
1290
+ attr_accessor :rejection_reason
1291
+
1292
+ # The state of the review operation.
1293
+ # Corresponds to the JSON property `state`
1294
+ # @return [String]
1295
+ attr_accessor :state
1296
+
1286
1297
  def initialize(**args)
1287
1298
  update!(**args)
1288
1299
  end
@@ -1290,6 +1301,8 @@ module Google
1290
1301
  # Update properties of this object
1291
1302
  def update!(**args)
1292
1303
  @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
1304
+ @rejection_reason = args[:rejection_reason] if args.key?(:rejection_reason)
1305
+ @state = args[:state] if args.key?(:state)
1293
1306
  end
1294
1307
  end
1295
1308
 
@@ -1871,8 +1884,8 @@ module Google
1871
1884
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageToken>]
1872
1885
  attr_accessor :tokens
1873
1886
 
1874
- # Transformation matrices (both already applied and not) to the original
1875
- # document image to produce Page.image.
1887
+ # Transformation matrices that were applied to the original document image to
1888
+ # produce Page.image.
1876
1889
  # Corresponds to the JSON property `transforms`
1877
1890
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageMatrix>]
1878
1891
  attr_accessor :transforms
@@ -2247,14 +2260,6 @@ module Google
2247
2260
  class GoogleCloudDocumentaiV1beta1DocumentPageMatrix
2248
2261
  include Google::Apis::Core::Hashable
2249
2262
 
2250
- # Has the transformation already been applied to the current Document? Needed to
2251
- # disambiguate pre-processing transformations already applied vs transformations
2252
- # added at annotation time by HITL operators.
2253
- # Corresponds to the JSON property `applied`
2254
- # @return [Boolean]
2255
- attr_accessor :applied
2256
- alias_method :applied?, :applied
2257
-
2258
2263
  # Number of columns in the matrix.
2259
2264
  # Corresponds to the JSON property `cols`
2260
2265
  # @return [Fixnum]
@@ -2285,7 +2290,6 @@ module Google
2285
2290
 
2286
2291
  # Update properties of this object
2287
2292
  def update!(**args)
2288
- @applied = args[:applied] if args.key?(:applied)
2289
2293
  @cols = args[:cols] if args.key?(:cols)
2290
2294
  @data = args[:data] if args.key?(:data)
2291
2295
  @rows = args[:rows] if args.key?(:rows)
@@ -3685,8 +3689,8 @@ module Google
3685
3689
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageToken>]
3686
3690
  attr_accessor :tokens
3687
3691
 
3688
- # Transformation matrices (both already applied and not) to the original
3689
- # document image to produce Page.image.
3692
+ # Transformation matrices that were applied to the original document image to
3693
+ # produce Page.image.
3690
3694
  # Corresponds to the JSON property `transforms`
3691
3695
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageMatrix>]
3692
3696
  attr_accessor :transforms
@@ -4061,14 +4065,6 @@ module Google
4061
4065
  class GoogleCloudDocumentaiV1beta2DocumentPageMatrix
4062
4066
  include Google::Apis::Core::Hashable
4063
4067
 
4064
- # Has the transformation already been applied to the current Document? Needed to
4065
- # disambiguate pre-processing transformations already applied vs transformations
4066
- # added at annotation time by HITL operators.
4067
- # Corresponds to the JSON property `applied`
4068
- # @return [Boolean]
4069
- attr_accessor :applied
4070
- alias_method :applied?, :applied
4071
-
4072
4068
  # Number of columns in the matrix.
4073
4069
  # Corresponds to the JSON property `cols`
4074
4070
  # @return [Fixnum]
@@ -4099,7 +4095,6 @@ module Google
4099
4095
 
4100
4096
  # Update properties of this object
4101
4097
  def update!(**args)
4102
- @applied = args[:applied] if args.key?(:applied)
4103
4098
  @cols = args[:cols] if args.key?(:cols)
4104
4099
  @data = args[:data] if args.key?(:data)
4105
4100
  @rows = args[:rows] if args.key?(:rows)
@@ -5886,8 +5881,8 @@ module Google
5886
5881
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageToken>]
5887
5882
  attr_accessor :tokens
5888
5883
 
5889
- # Transformation matrices (both already applied and not) to the original
5890
- # document image to produce Page.image.
5884
+ # Transformation matrices that were applied to the original document image to
5885
+ # produce Page.image.
5891
5886
  # Corresponds to the JSON property `transforms`
5892
5887
  # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageMatrix>]
5893
5888
  attr_accessor :transforms
@@ -6262,14 +6257,6 @@ module Google
6262
6257
  class GoogleCloudDocumentaiV1beta3DocumentPageMatrix
6263
6258
  include Google::Apis::Core::Hashable
6264
6259
 
6265
- # Has the transformation already been applied to the current Document? Needed to
6266
- # disambiguate pre-processing transformations already applied vs transformations
6267
- # added at annotation time by HITL operators.
6268
- # Corresponds to the JSON property `applied`
6269
- # @return [Boolean]
6270
- attr_accessor :applied
6271
- alias_method :applied?, :applied
6272
-
6273
6260
  # Number of columns in the matrix.
6274
6261
  # Corresponds to the JSON property `cols`
6275
6262
  # @return [Fixnum]
@@ -6300,7 +6287,6 @@ module Google
6300
6287
 
6301
6288
  # Update properties of this object
6302
6289
  def update!(**args)
6303
- @applied = args[:applied] if args.key?(:applied)
6304
6290
  @cols = args[:cols] if args.key?(:cols)
6305
6291
  @data = args[:data] if args.key?(:data)
6306
6292
  @rows = args[:rows] if args.key?(:rows)
@@ -6703,6 +6689,177 @@ module Google
6703
6689
  end
6704
6690
  end
6705
6691
 
6692
+ # The schema defines the output of the processed document by a processor.
6693
+ class GoogleCloudDocumentaiV1beta3DocumentSchema
6694
+ include Google::Apis::Core::Hashable
6695
+
6696
+ # Description of the schema.
6697
+ # Corresponds to the JSON property `description`
6698
+ # @return [String]
6699
+ attr_accessor :description
6700
+
6701
+ # Display name to show to users.
6702
+ # Corresponds to the JSON property `displayName`
6703
+ # @return [String]
6704
+ attr_accessor :display_name
6705
+
6706
+ # Entity types of the schema.
6707
+ # Corresponds to the JSON property `entityTypes`
6708
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType>]
6709
+ attr_accessor :entity_types
6710
+
6711
+ # Metadata for global schema behavior.
6712
+ # Corresponds to the JSON property `metadata`
6713
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchemaMetadata]
6714
+ attr_accessor :metadata
6715
+
6716
+ def initialize(**args)
6717
+ update!(**args)
6718
+ end
6719
+
6720
+ # Update properties of this object
6721
+ def update!(**args)
6722
+ @description = args[:description] if args.key?(:description)
6723
+ @display_name = args[:display_name] if args.key?(:display_name)
6724
+ @entity_types = args[:entity_types] if args.key?(:entity_types)
6725
+ @metadata = args[:metadata] if args.key?(:metadata)
6726
+ end
6727
+ end
6728
+
6729
+ # EntityType is the wrapper of a label of the corresponding model with detailed
6730
+ # attributes and limitations for entity-based processors. Multiple types can
6731
+ # also compose a dependency tree to represent nested types.
6732
+ class GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType
6733
+ include Google::Apis::Core::Hashable
6734
+
6735
+ # The entity type that this type is derived from. For now, one and only one
6736
+ # should be set.
6737
+ # Corresponds to the JSON property `baseTypes`
6738
+ # @return [Array<String>]
6739
+ attr_accessor :base_types
6740
+
6741
+ # User defined name for the type.
6742
+ # Corresponds to the JSON property `displayName`
6743
+ # @return [String]
6744
+ attr_accessor :display_name
6745
+
6746
+ # Defines the a list of enum values.
6747
+ # Corresponds to the JSON property `enumValues`
6748
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeEnumValues]
6749
+ attr_accessor :enum_values
6750
+
6751
+ # Name of the type. It must be unique within the schema file and cannot be a '
6752
+ # Common Type'. Besides that we use the following naming conventions: - *use
6753
+ # snake_casing* - name matching is case-insensitive - Maximum 64 characters. -
6754
+ # Must start with a letter. - Allowed characters: ASCII letters [a-z0-9_-]. (For
6755
+ # backward compatibility internal infrastructure and tooling can handle any
6756
+ # ascii character) - The '/' is sometimes used to denote a property of a type.
6757
+ # For example line_item/amount. This convention is deprecated, but will still be
6758
+ # honored for backward compatibility.
6759
+ # Corresponds to the JSON property `name`
6760
+ # @return [String]
6761
+ attr_accessor :name
6762
+
6763
+ # Describing the nested structure, or composition of an entity.
6764
+ # Corresponds to the JSON property `properties`
6765
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeProperty>]
6766
+ attr_accessor :properties
6767
+
6768
+ def initialize(**args)
6769
+ update!(**args)
6770
+ end
6771
+
6772
+ # Update properties of this object
6773
+ def update!(**args)
6774
+ @base_types = args[:base_types] if args.key?(:base_types)
6775
+ @display_name = args[:display_name] if args.key?(:display_name)
6776
+ @enum_values = args[:enum_values] if args.key?(:enum_values)
6777
+ @name = args[:name] if args.key?(:name)
6778
+ @properties = args[:properties] if args.key?(:properties)
6779
+ end
6780
+ end
6781
+
6782
+ # Defines the a list of enum values.
6783
+ class GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeEnumValues
6784
+ include Google::Apis::Core::Hashable
6785
+
6786
+ # The individual values that this enum values type can include.
6787
+ # Corresponds to the JSON property `values`
6788
+ # @return [Array<String>]
6789
+ attr_accessor :values
6790
+
6791
+ def initialize(**args)
6792
+ update!(**args)
6793
+ end
6794
+
6795
+ # Update properties of this object
6796
+ def update!(**args)
6797
+ @values = args[:values] if args.key?(:values)
6798
+ end
6799
+ end
6800
+
6801
+ # Defines properties that can be part of the entity type.
6802
+ class GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeProperty
6803
+ include Google::Apis::Core::Hashable
6804
+
6805
+ # The name of the property. Follows the same guidelines as the EntityType name.
6806
+ # Corresponds to the JSON property `name`
6807
+ # @return [String]
6808
+ attr_accessor :name
6809
+
6810
+ # Occurrence type limits the number of instances an entity type appears in the
6811
+ # document.
6812
+ # Corresponds to the JSON property `occurrenceType`
6813
+ # @return [String]
6814
+ attr_accessor :occurrence_type
6815
+
6816
+ # A reference to the value type of the property. This type is subject to the
6817
+ # same conventions as the `Entity.base_types` field.
6818
+ # Corresponds to the JSON property `valueType`
6819
+ # @return [String]
6820
+ attr_accessor :value_type
6821
+
6822
+ def initialize(**args)
6823
+ update!(**args)
6824
+ end
6825
+
6826
+ # Update properties of this object
6827
+ def update!(**args)
6828
+ @name = args[:name] if args.key?(:name)
6829
+ @occurrence_type = args[:occurrence_type] if args.key?(:occurrence_type)
6830
+ @value_type = args[:value_type] if args.key?(:value_type)
6831
+ end
6832
+ end
6833
+
6834
+ # Metadata for global schema behavior.
6835
+ class GoogleCloudDocumentaiV1beta3DocumentSchemaMetadata
6836
+ include Google::Apis::Core::Hashable
6837
+
6838
+ # If true, on a given page, there can be multiple `document` annotations
6839
+ # covering it.
6840
+ # Corresponds to the JSON property `documentAllowMultipleLabels`
6841
+ # @return [Boolean]
6842
+ attr_accessor :document_allow_multiple_labels
6843
+ alias_method :document_allow_multiple_labels?, :document_allow_multiple_labels
6844
+
6845
+ # If true, a `document` entity type can be applied to subdocument ( splitting).
6846
+ # Otherwise, it can only be applied to the entire document (classification).
6847
+ # Corresponds to the JSON property `documentSplitter`
6848
+ # @return [Boolean]
6849
+ attr_accessor :document_splitter
6850
+ alias_method :document_splitter?, :document_splitter
6851
+
6852
+ def initialize(**args)
6853
+ update!(**args)
6854
+ end
6855
+
6856
+ # Update properties of this object
6857
+ def update!(**args)
6858
+ @document_allow_multiple_labels = args[:document_allow_multiple_labels] if args.key?(:document_allow_multiple_labels)
6859
+ @document_splitter = args[:document_splitter] if args.key?(:document_splitter)
6860
+ end
6861
+ end
6862
+
6706
6863
  # For a large document, sharding may be performed to produce several document
6707
6864
  # shards. Each document shard contains this field to detail which shard it is.
6708
6865
  class GoogleCloudDocumentaiV1beta3DocumentShardInfo
@@ -7637,6 +7794,11 @@ module Google
7637
7794
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document]
7638
7795
  attr_accessor :document
7639
7796
 
7797
+ # The schema defines the output of the processed document by a processor.
7798
+ # Corresponds to the JSON property `documentSchema`
7799
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema]
7800
+ attr_accessor :document_schema
7801
+
7640
7802
  # Whether the validation should be performed on the ad-hoc review request.
7641
7803
  # Corresponds to the JSON property `enableSchemaValidation`
7642
7804
  # @return [Boolean]
@@ -7663,6 +7825,7 @@ module Google
7663
7825
  # Update properties of this object
7664
7826
  def update!(**args)
7665
7827
  @document = args[:document] if args.key?(:document)
7828
+ @document_schema = args[:document_schema] if args.key?(:document_schema)
7666
7829
  @enable_schema_validation = args[:enable_schema_validation] if args.key?(:enable_schema_validation)
7667
7830
  @inline_document = args[:inline_document] if args.key?(:inline_document)
7668
7831
  @priority = args[:priority] if args.key?(:priority)
@@ -7673,11 +7836,22 @@ module Google
7673
7836
  class GoogleCloudDocumentaiV1beta3ReviewDocumentResponse
7674
7837
  include Google::Apis::Core::Hashable
7675
7838
 
7676
- # The Cloud Storage uri for the human reviewed document.
7839
+ # The Cloud Storage uri for the human reviewed document if the review is
7840
+ # succeeded.
7677
7841
  # Corresponds to the JSON property `gcsDestination`
7678
7842
  # @return [String]
7679
7843
  attr_accessor :gcs_destination
7680
7844
 
7845
+ # The reason why the review is rejected by reviewer.
7846
+ # Corresponds to the JSON property `rejectionReason`
7847
+ # @return [String]
7848
+ attr_accessor :rejection_reason
7849
+
7850
+ # The state of the review operation.
7851
+ # Corresponds to the JSON property `state`
7852
+ # @return [String]
7853
+ attr_accessor :state
7854
+
7681
7855
  def initialize(**args)
7682
7856
  update!(**args)
7683
7857
  end
@@ -7685,6 +7859,8 @@ module Google
7685
7859
  # Update properties of this object
7686
7860
  def update!(**args)
7687
7861
  @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
7862
+ @rejection_reason = args[:rejection_reason] if args.key?(:rejection_reason)
7863
+ @state = args[:state] if args.key?(:state)
7688
7864
  end
7689
7865
  end
7690
7866
 
@@ -7712,6 +7888,8 @@ module Google
7712
7888
  include Google::Apis::Core::Hashable
7713
7889
 
7714
7890
  # Required. The resource name of child ProcessorVersion to use as default.
7891
+ # Format: `projects/`project`/locations/`location`/processors/`processor`/
7892
+ # processorVersions/`version``
7715
7893
  # Corresponds to the JSON property `defaultProcessorVersion`
7716
7894
  # @return [String]
7717
7895
  attr_accessor :default_processor_version
@@ -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.45.0"
19
+ GEM_VERSION = "0.48.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.7.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220513"
25
+ REVISION = "20220610"
26
26
  end
27
27
  end
28
28
  end
@@ -1192,6 +1192,36 @@ module Google
1192
1192
  include Google::Apis::Core::JsonObjectSupport
1193
1193
  end
1194
1194
 
1195
+ class GoogleCloudDocumentaiV1beta3DocumentSchema
1196
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1197
+
1198
+ include Google::Apis::Core::JsonObjectSupport
1199
+ end
1200
+
1201
+ class GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType
1202
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1203
+
1204
+ include Google::Apis::Core::JsonObjectSupport
1205
+ end
1206
+
1207
+ class GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeEnumValues
1208
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1209
+
1210
+ include Google::Apis::Core::JsonObjectSupport
1211
+ end
1212
+
1213
+ class GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeProperty
1214
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1215
+
1216
+ include Google::Apis::Core::JsonObjectSupport
1217
+ end
1218
+
1219
+ class GoogleCloudDocumentaiV1beta3DocumentSchemaMetadata
1220
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1221
+
1222
+ include Google::Apis::Core::JsonObjectSupport
1223
+ end
1224
+
1195
1225
  class GoogleCloudDocumentaiV1beta3DocumentShardInfo
1196
1226
  class Representation < Google::Apis::Core::JsonRepresentation; end
1197
1227
 
@@ -1934,6 +1964,8 @@ module Google
1934
1964
  # @private
1935
1965
  class Representation < Google::Apis::Core::JsonRepresentation
1936
1966
  property :gcs_destination, as: 'gcsDestination'
1967
+ property :rejection_reason, as: 'rejectionReason'
1968
+ property :state, as: 'state'
1937
1969
  end
1938
1970
  end
1939
1971
 
@@ -2218,7 +2250,6 @@ module Google
2218
2250
  class GoogleCloudDocumentaiV1beta1DocumentPageMatrix
2219
2251
  # @private
2220
2252
  class Representation < Google::Apis::Core::JsonRepresentation
2221
- property :applied, as: 'applied'
2222
2253
  property :cols, as: 'cols'
2223
2254
  property :data, :base64 => true, as: 'data'
2224
2255
  property :rows, as: 'rows'
@@ -2731,7 +2762,6 @@ module Google
2731
2762
  class GoogleCloudDocumentaiV1beta2DocumentPageMatrix
2732
2763
  # @private
2733
2764
  class Representation < Google::Apis::Core::JsonRepresentation
2734
- property :applied, as: 'applied'
2735
2765
  property :cols, as: 'cols'
2736
2766
  property :data, :base64 => true, as: 'data'
2737
2767
  property :rows, as: 'rows'
@@ -3379,7 +3409,6 @@ module Google
3379
3409
  class GoogleCloudDocumentaiV1beta3DocumentPageMatrix
3380
3410
  # @private
3381
3411
  class Representation < Google::Apis::Core::JsonRepresentation
3382
- property :applied, as: 'applied'
3383
3412
  property :cols, as: 'cols'
3384
3413
  property :data, :base64 => true, as: 'data'
3385
3414
  property :rows, as: 'rows'
@@ -3517,6 +3546,55 @@ module Google
3517
3546
  end
3518
3547
  end
3519
3548
 
3549
+ class GoogleCloudDocumentaiV1beta3DocumentSchema
3550
+ # @private
3551
+ class Representation < Google::Apis::Core::JsonRepresentation
3552
+ property :description, as: 'description'
3553
+ property :display_name, as: 'displayName'
3554
+ collection :entity_types, as: 'entityTypes', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType::Representation
3555
+
3556
+ property :metadata, as: 'metadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchemaMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchemaMetadata::Representation
3557
+
3558
+ end
3559
+ end
3560
+
3561
+ class GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType
3562
+ # @private
3563
+ class Representation < Google::Apis::Core::JsonRepresentation
3564
+ collection :base_types, as: 'baseTypes'
3565
+ property :display_name, as: 'displayName'
3566
+ property :enum_values, as: 'enumValues', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeEnumValues, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeEnumValues::Representation
3567
+
3568
+ property :name, as: 'name'
3569
+ collection :properties, as: 'properties', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeProperty, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeProperty::Representation
3570
+
3571
+ end
3572
+ end
3573
+
3574
+ class GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeEnumValues
3575
+ # @private
3576
+ class Representation < Google::Apis::Core::JsonRepresentation
3577
+ collection :values, as: 'values'
3578
+ end
3579
+ end
3580
+
3581
+ class GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeProperty
3582
+ # @private
3583
+ class Representation < Google::Apis::Core::JsonRepresentation
3584
+ property :name, as: 'name'
3585
+ property :occurrence_type, as: 'occurrenceType'
3586
+ property :value_type, as: 'valueType'
3587
+ end
3588
+ end
3589
+
3590
+ class GoogleCloudDocumentaiV1beta3DocumentSchemaMetadata
3591
+ # @private
3592
+ class Representation < Google::Apis::Core::JsonRepresentation
3593
+ property :document_allow_multiple_labels, as: 'documentAllowMultipleLabels'
3594
+ property :document_splitter, as: 'documentSplitter'
3595
+ end
3596
+ end
3597
+
3520
3598
  class GoogleCloudDocumentaiV1beta3DocumentShardInfo
3521
3599
  # @private
3522
3600
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3773,6 +3851,8 @@ module Google
3773
3851
  class Representation < Google::Apis::Core::JsonRepresentation
3774
3852
  property :document, as: 'document', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document::Representation
3775
3853
 
3854
+ property :document_schema, as: 'documentSchema', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema::Representation
3855
+
3776
3856
  property :enable_schema_validation, as: 'enableSchemaValidation'
3777
3857
  property :inline_document, as: 'inlineDocument', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document::Representation
3778
3858
 
@@ -3784,6 +3864,8 @@ module Google
3784
3864
  # @private
3785
3865
  class Representation < Google::Apis::Core::JsonRepresentation
3786
3866
  property :gcs_destination, as: 'gcsDestination'
3867
+ property :rejection_reason, as: 'rejectionReason'
3868
+ property :state, as: 'state'
3787
3869
  end
3788
3870
  end
3789
3871
 
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.45.0
4
+ version: 0.48.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-05-23 00:00:00.000000000 Z
11
+ date: 2022-06-27 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.4'
19
+ version: '0.6'
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.4'
29
+ version: '0.6'
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_v1beta3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.45.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.48.0
62
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: []
@@ -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.5
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 V1beta3