google-apis-documentai_v1beta2 0.36.0 → 0.37.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: '06802cedc312bd311dc0e24a92ea004b8bf30b9f249f43833987436958d46c98'
4
- data.tar.gz: 04415fe88dc0e5f6227bedd3c9d675f5d9c22e4f903f1c0a8cfb33c7d27e19f0
3
+ metadata.gz: 1a79a6d5f97a2933cf2bb022a79d56c3e5248143fb527ee2bda50152814d3efa
4
+ data.tar.gz: 3e116270a90bf1130438460fd68a8b56cbdc6e7719ffce0c8b160362c1112644
5
5
  SHA512:
6
- metadata.gz: 8588ed69b42030111a47a7878b4f42609348c0a39e15f911a501f99298c00c63ba6badd1363c1c2d63a00ce89d5188d24a5c9c9039c61c78af989ee70ce319ff
7
- data.tar.gz: 27fecdde4107452c92a973a8a6f4306df97ae9f072a9ba694771171fb082dd0a7aef694a86567f2eb34f53ec7ad2129ba162f27f457fd7a2d9ddc30ae84b070f
6
+ metadata.gz: 7bfd770c015f9372f5f7563373455d9594b10de9effc8b41309eff5834ed848ea061cef20a47f32742b0654effbfddf8b237d08db2db39fc0d064b58ede2a365
7
+ data.tar.gz: 2dcbf1163eebc9be3f42dd6af143421175e51b5c68b1d3fdfbed10142bc6d11f667d7bba403f18cab310be4cbd88f8bbad1344bd00061b6b74b81cf1a7798f5f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-documentai_v1beta2
2
2
 
3
+ ### v0.37.0 (2022-05-10)
4
+
5
+ * Regenerated from discovery document revision 20220505
6
+
3
7
  ### v0.36.0 (2022-04-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20220421
@@ -1871,8 +1871,8 @@ module Google
1871
1871
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageToken>]
1872
1872
  attr_accessor :tokens
1873
1873
 
1874
- # Transformation matrices that were applied to the original document image to
1875
- # produce Page.image.
1874
+ # Transformation matrices (both already applied and not) to the original
1875
+ # document image to produce Page.image.
1876
1876
  # Corresponds to the JSON property `transforms`
1877
1877
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentPageMatrix>]
1878
1878
  attr_accessor :transforms
@@ -2247,6 +2247,14 @@ module Google
2247
2247
  class GoogleCloudDocumentaiV1beta1DocumentPageMatrix
2248
2248
  include Google::Apis::Core::Hashable
2249
2249
 
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
+
2250
2258
  # Number of columns in the matrix.
2251
2259
  # Corresponds to the JSON property `cols`
2252
2260
  # @return [Fixnum]
@@ -2277,6 +2285,7 @@ module Google
2277
2285
 
2278
2286
  # Update properties of this object
2279
2287
  def update!(**args)
2288
+ @applied = args[:applied] if args.key?(:applied)
2280
2289
  @cols = args[:cols] if args.key?(:cols)
2281
2290
  @data = args[:data] if args.key?(:data)
2282
2291
  @rows = args[:rows] if args.key?(:rows)
@@ -3716,8 +3725,8 @@ module Google
3716
3725
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageToken>]
3717
3726
  attr_accessor :tokens
3718
3727
 
3719
- # Transformation matrices that were applied to the original document image to
3720
- # produce Page.image.
3728
+ # Transformation matrices (both already applied and not) to the original
3729
+ # document image to produce Page.image.
3721
3730
  # Corresponds to the JSON property `transforms`
3722
3731
  # @return [Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentPageMatrix>]
3723
3732
  attr_accessor :transforms
@@ -4092,6 +4101,14 @@ module Google
4092
4101
  class GoogleCloudDocumentaiV1beta2DocumentPageMatrix
4093
4102
  include Google::Apis::Core::Hashable
4094
4103
 
4104
+ # Has the transformation already been applied to the current Document? Needed to
4105
+ # disambiguate pre-processing transformations already applied vs transformations
4106
+ # added at annotation time by HITL operators.
4107
+ # Corresponds to the JSON property `applied`
4108
+ # @return [Boolean]
4109
+ attr_accessor :applied
4110
+ alias_method :applied?, :applied
4111
+
4095
4112
  # Number of columns in the matrix.
4096
4113
  # Corresponds to the JSON property `cols`
4097
4114
  # @return [Fixnum]
@@ -4122,6 +4139,7 @@ module Google
4122
4139
 
4123
4140
  # Update properties of this object
4124
4141
  def update!(**args)
4142
+ @applied = args[:applied] if args.key?(:applied)
4125
4143
  @cols = args[:cols] if args.key?(:cols)
4126
4144
  @data = args[:data] if args.key?(:data)
4127
4145
  @rows = args[:rows] if args.key?(:rows)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DocumentaiV1beta2
18
18
  # Version of the google-apis-documentai_v1beta2 gem
19
- GEM_VERSION = "0.36.0"
19
+ GEM_VERSION = "0.37.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220421"
25
+ REVISION = "20220505"
26
26
  end
27
27
  end
28
28
  end
@@ -1882,6 +1882,7 @@ module Google
1882
1882
  class GoogleCloudDocumentaiV1beta1DocumentPageMatrix
1883
1883
  # @private
1884
1884
  class Representation < Google::Apis::Core::JsonRepresentation
1885
+ property :applied, as: 'applied'
1885
1886
  property :cols, as: 'cols'
1886
1887
  property :data, :base64 => true, as: 'data'
1887
1888
  property :rows, as: 'rows'
@@ -2409,6 +2410,7 @@ module Google
2409
2410
  class GoogleCloudDocumentaiV1beta2DocumentPageMatrix
2410
2411
  # @private
2411
2412
  class Representation < Google::Apis::Core::JsonRepresentation
2413
+ property :applied, as: 'applied'
2412
2414
  property :cols, as: 'cols'
2413
2415
  property :data, :base64 => true, as: 'data'
2414
2416
  property :rows, as: 'rows'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-documentai_v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.36.0
4
+ version: 0.37.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-02 00:00:00.000000000 Z
11
+ date: 2022-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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_v1beta2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.36.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.37.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta2
63
63
  post_install_message:
64
64
  rdoc_options: []