google-apis-documentai_v1 0.35.0 → 0.38.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: f60e76f679a7326d47449917f96101b3fe666ab0b876c1a2a7c128fd7d37b8d3
4
- data.tar.gz: ccfd36cc348e015c9e6542eaf622606c983cbb10504f497ddcc5982623f66a70
3
+ metadata.gz: 5ed69d0e1c952ed963a6ec14dbb46cf282cc49a71d7f1009ffee557715a623fb
4
+ data.tar.gz: 1ba2ea3301e975fb155f02f82c9dd2d3228039544530db08b957b25db2bf6df7
5
5
  SHA512:
6
- metadata.gz: cbca5a7cac2e910955822feb1ddd52cec35c0403c1d10c21b4b59e079af0c7f9d8e0a5b7f70248143fb1a20eb96781190e9cc09fe93cb3152cc5d2b83ab22dbd
7
- data.tar.gz: b43c64d0f98b7ab68accd37fdc8e92faf2667d3eca826d1b73bc1ada47b8b4e08791199efe764472492652ab93ff25488bb0f8a642a844d62dc21b1413f3ddc4
6
+ metadata.gz: '06382443436bc0ceaa651f6d03f74f142cbe13774ce1c07b3bc64dff3d4b09086088fca091ee22512376e7dcd89ad82eb47ecd46e7e4c7d4b24ed2d7d1d78d26'
7
+ data.tar.gz: a017098d3055231f79b3418421dc29bf58a50f96cf65a7dbb6aa1ec4d39ffaeae7de91960f28aa7b56eb959b21612c428385e525cc79f6c4905d3699621a872b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.38.0 (2022-05-17)
4
+
5
+ * Regenerated from discovery document revision 20220513
6
+
7
+ ### v0.37.0 (2022-05-10)
8
+
9
+ * Regenerated from discovery document revision 20220505
10
+
11
+ ### v0.36.0 (2022-04-26)
12
+
13
+ * Regenerated from discovery document revision 20220421
14
+
3
15
  ### v0.35.0 (2022-04-12)
4
16
 
5
17
  * Regenerated from discovery document revision 20220409
@@ -31,6 +31,11 @@ module Google
31
31
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
32
32
  attr_accessor :common_metadata
33
33
 
34
+ # The list of response details of each document.
35
+ # Corresponds to the JSON property `individualBatchDeleteStatuses`
36
+ # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus>]
37
+ attr_accessor :individual_batch_delete_statuses
38
+
34
39
  def initialize(**args)
35
40
  update!(**args)
36
41
  end
@@ -38,6 +43,37 @@ module Google
38
43
  # Update properties of this object
39
44
  def update!(**args)
40
45
  @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
46
+ @individual_batch_delete_statuses = args[:individual_batch_delete_statuses] if args.key?(:individual_batch_delete_statuses)
47
+ end
48
+ end
49
+
50
+ # The status of each individual document in the batch delete process.
51
+ class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus
52
+ include Google::Apis::Core::Hashable
53
+
54
+ # Document Identifier.
55
+ # Corresponds to the JSON property `documentId`
56
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3DocumentId]
57
+ attr_accessor :document_id
58
+
59
+ # The `Status` type defines a logical error model that is suitable for different
60
+ # programming environments, including REST APIs and RPC APIs. It is used by [
61
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
62
+ # data: error code, error message, and error details. You can find out more
63
+ # about this error model and how to work with it in the [API Design Guide](https:
64
+ # //cloud.google.com/apis/design/errors).
65
+ # Corresponds to the JSON property `status`
66
+ # @return [Google::Apis::DocumentaiV1::GoogleRpcStatus]
67
+ attr_accessor :status
68
+
69
+ def initialize(**args)
70
+ update!(**args)
71
+ end
72
+
73
+ # Update properties of this object
74
+ def update!(**args)
75
+ @document_id = args[:document_id] if args.key?(:document_id)
76
+ @status = args[:status] if args.key?(:status)
41
77
  end
42
78
  end
43
79
 
@@ -1702,8 +1738,8 @@ module Google
1702
1738
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageToken>]
1703
1739
  attr_accessor :tokens
1704
1740
 
1705
- # Transformation matrices that were applied to the original document image to
1706
- # produce Page.image.
1741
+ # Transformation matrices (both already applied and not) to the original
1742
+ # document image to produce Page.image.
1707
1743
  # Corresponds to the JSON property `transforms`
1708
1744
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageMatrix>]
1709
1745
  attr_accessor :transforms
@@ -2078,6 +2114,14 @@ module Google
2078
2114
  class GoogleCloudDocumentaiV1DocumentPageMatrix
2079
2115
  include Google::Apis::Core::Hashable
2080
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
+
2081
2125
  # Number of columns in the matrix.
2082
2126
  # Corresponds to the JSON property `cols`
2083
2127
  # @return [Fixnum]
@@ -2108,6 +2152,7 @@ module Google
2108
2152
 
2109
2153
  # Update properties of this object
2110
2154
  def update!(**args)
2155
+ @applied = args[:applied] if args.key?(:applied)
2111
2156
  @cols = args[:cols] if args.key?(:cols)
2112
2157
  @data = args[:data] if args.key?(:data)
2113
2158
  @rows = args[:rows] if args.key?(:rows)
@@ -3041,6 +3086,11 @@ module Google
3041
3086
  class GoogleCloudDocumentaiV1ProcessRequest
3042
3087
  include Google::Apis::Core::Hashable
3043
3088
 
3089
+ # Specifies which fields to include in ProcessResponse's document.
3090
+ # Corresponds to the JSON property `fieldMask`
3091
+ # @return [String]
3092
+ attr_accessor :field_mask
3093
+
3044
3094
  # Document represents the canonical document resource in Document AI. It is an
3045
3095
  # interchange format that provides insights into documents and allows for
3046
3096
  # collaboration between users and Document AI to iterate and optimize for
@@ -3067,6 +3117,7 @@ module Google
3067
3117
 
3068
3118
  # Update properties of this object
3069
3119
  def update!(**args)
3120
+ @field_mask = args[:field_mask] if args.key?(:field_mask)
3070
3121
  @inline_document = args[:inline_document] if args.key?(:inline_document)
3071
3122
  @raw_document = args[:raw_document] if args.key?(:raw_document)
3072
3123
  @skip_human_review = args[:skip_human_review] if args.key?(:skip_human_review)
@@ -4073,8 +4124,8 @@ module Google
4073
4124
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageToken>]
4074
4125
  attr_accessor :tokens
4075
4126
 
4076
- # Transformation matrices that were applied to the original document image to
4077
- # produce Page.image.
4127
+ # Transformation matrices (both already applied and not) to the original
4128
+ # document image to produce Page.image.
4078
4129
  # Corresponds to the JSON property `transforms`
4079
4130
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageMatrix>]
4080
4131
  attr_accessor :transforms
@@ -4449,6 +4500,14 @@ module Google
4449
4500
  class GoogleCloudDocumentaiV1beta1DocumentPageMatrix
4450
4501
  include Google::Apis::Core::Hashable
4451
4502
 
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
+
4452
4511
  # Number of columns in the matrix.
4453
4512
  # Corresponds to the JSON property `cols`
4454
4513
  # @return [Fixnum]
@@ -4479,6 +4538,7 @@ module Google
4479
4538
 
4480
4539
  # Update properties of this object
4481
4540
  def update!(**args)
4541
+ @applied = args[:applied] if args.key?(:applied)
4482
4542
  @cols = args[:cols] if args.key?(:cols)
4483
4543
  @data = args[:data] if args.key?(:data)
4484
4544
  @rows = args[:rows] if args.key?(:rows)
@@ -5878,8 +5938,8 @@ module Google
5878
5938
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageToken>]
5879
5939
  attr_accessor :tokens
5880
5940
 
5881
- # Transformation matrices that were applied to the original document image to
5882
- # produce Page.image.
5941
+ # Transformation matrices (both already applied and not) to the original
5942
+ # document image to produce Page.image.
5883
5943
  # Corresponds to the JSON property `transforms`
5884
5944
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageMatrix>]
5885
5945
  attr_accessor :transforms
@@ -6254,6 +6314,14 @@ module Google
6254
6314
  class GoogleCloudDocumentaiV1beta2DocumentPageMatrix
6255
6315
  include Google::Apis::Core::Hashable
6256
6316
 
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
+
6257
6325
  # Number of columns in the matrix.
6258
6326
  # Corresponds to the JSON property `cols`
6259
6327
  # @return [Fixnum]
@@ -6284,6 +6352,7 @@ module Google
6284
6352
 
6285
6353
  # Update properties of this object
6286
6354
  def update!(**args)
6355
+ @applied = args[:applied] if args.key?(:applied)
6287
6356
  @cols = args[:cols] if args.key?(:cols)
6288
6357
  @data = args[:data] if args.key?(:data)
6289
6358
  @rows = args[:rows] if args.key?(:rows)
@@ -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.35.0"
19
+ GEM_VERSION = "0.38.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 = "20220409"
25
+ REVISION = "20220513"
26
26
  end
27
27
  end
28
28
  end
@@ -28,6 +28,12 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
+ class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
31
37
  class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsResponse
32
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
39
 
@@ -1461,6 +1467,18 @@ module Google
1461
1467
  class Representation < Google::Apis::Core::JsonRepresentation
1462
1468
  property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1463
1469
 
1470
+ collection :individual_batch_delete_statuses, as: 'individualBatchDeleteStatuses', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus::Representation
1471
+
1472
+ end
1473
+ end
1474
+
1475
+ class GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus
1476
+ # @private
1477
+ class Representation < Google::Apis::Core::JsonRepresentation
1478
+ property :document_id, as: 'documentId', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3DocumentId, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3DocumentId::Representation
1479
+
1480
+ property :status, as: 'status', class: Google::Apis::DocumentaiV1::GoogleRpcStatus, decorator: Google::Apis::DocumentaiV1::GoogleRpcStatus::Representation
1481
+
1464
1482
  end
1465
1483
  end
1466
1484
 
@@ -2142,6 +2160,7 @@ module Google
2142
2160
  class GoogleCloudDocumentaiV1DocumentPageMatrix
2143
2161
  # @private
2144
2162
  class Representation < Google::Apis::Core::JsonRepresentation
2163
+ property :applied, as: 'applied'
2145
2164
  property :cols, as: 'cols'
2146
2165
  property :data, :base64 => true, as: 'data'
2147
2166
  property :rows, as: 'rows'
@@ -2430,6 +2449,7 @@ module Google
2430
2449
  class GoogleCloudDocumentaiV1ProcessRequest
2431
2450
  # @private
2432
2451
  class Representation < Google::Apis::Core::JsonRepresentation
2452
+ property :field_mask, as: 'fieldMask'
2433
2453
  property :inline_document, as: 'inlineDocument', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Document, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1Document::Representation
2434
2454
 
2435
2455
  property :raw_document, as: 'rawDocument', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1RawDocument, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1RawDocument::Representation
@@ -2841,6 +2861,7 @@ module Google
2841
2861
  class GoogleCloudDocumentaiV1beta1DocumentPageMatrix
2842
2862
  # @private
2843
2863
  class Representation < Google::Apis::Core::JsonRepresentation
2864
+ property :applied, as: 'applied'
2844
2865
  property :cols, as: 'cols'
2845
2866
  property :data, :base64 => true, as: 'data'
2846
2867
  property :rows, as: 'rows'
@@ -3353,6 +3374,7 @@ module Google
3353
3374
  class GoogleCloudDocumentaiV1beta2DocumentPageMatrix
3354
3375
  # @private
3355
3376
  class Representation < Google::Apis::Core::JsonRepresentation
3377
+ property :applied, as: 'applied'
3356
3378
  property :cols, as: 'cols'
3357
3379
  property :data, :base64 => true, as: 'data'
3358
3380
  property :rows, as: 'rows'
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.35.0
4
+ version: 0.38.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-04-18 00:00:00.000000000 Z
11
+ date: 2022-05-23 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.35.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.38.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: []