google-apis-documentai_v1beta2 0.26.0 → 0.27.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: 5a7d09032e418f8b02bbfd214a25363a67824bb29e06452a270576aba9e42654
4
- data.tar.gz: ac49576c3429dfece5f582b2099a75407cbc613434809739337f12c3b51e40ef
3
+ metadata.gz: 7e1567c737a9f43c77998ad7c9bd4bb676b47796aca39567fd86b8df689e0cb3
4
+ data.tar.gz: b9ef6018a1525f30a1356379d7aba114b15a804d3d6208e54929b4bff4b88941
5
5
  SHA512:
6
- metadata.gz: 7fd2929d6a0c57889346ea3ae221d38aed50db26f2d94f239f1c9006a51910d1751513dd2958ce0b18a3f191d8622e97cb4c765da16cf2cb21bee95496756564
7
- data.tar.gz: 0b009b5f697c6564d941bdfac183ce18403be21ff1df82a25781ad1124e85a4d3514be8352d6798f8cebfbb48ec11ce5a396187476e2ff3a67aea477792e9cd9
6
+ metadata.gz: 3b80cd8740095ef561a5494f4074e19882a93c9e5b6b98a75970983cc3387de7ae5836c9663e4f3665201731c0ae9aa28971f88e0f2954d302f560c8cd1192e2
7
+ data.tar.gz: 0a7d381f357bf5bd8908748989196a978ab0d717a80e4d3cabd07ea9c4e9f1af191d97c98f4fd5681df15003d49cb51bd50524cef69aee45ca950980f9dce5d2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-documentai_v1beta2
2
2
 
3
+ ### v0.27.0 (2022-02-01)
4
+
5
+ * Regenerated from discovery document revision 20220129
6
+
3
7
  ### v0.26.0 (2022-01-20)
4
8
 
5
9
  * Regenerated from discovery document revision 20220114
@@ -1219,6 +1219,68 @@ module Google
1219
1219
  end
1220
1220
  end
1221
1221
 
1222
+ # The long running operation metadata for AnalyzeHitlData.
1223
+ class GoogleCloudDocumentaiV1alpha1AnalyzeHitlDataMetadata
1224
+ include Google::Apis::Core::Hashable
1225
+
1226
+ # The common metadata for long running operations.
1227
+ # Corresponds to the JSON property `commonMetadata`
1228
+ # @return [Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1alpha1CommonOperationMetadata]
1229
+ attr_accessor :common_metadata
1230
+
1231
+ def initialize(**args)
1232
+ update!(**args)
1233
+ end
1234
+
1235
+ # Update properties of this object
1236
+ def update!(**args)
1237
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
1238
+ end
1239
+ end
1240
+
1241
+ # The common metadata for long running operations.
1242
+ class GoogleCloudDocumentaiV1alpha1CommonOperationMetadata
1243
+ include Google::Apis::Core::Hashable
1244
+
1245
+ # The creation time of the operation.
1246
+ # Corresponds to the JSON property `createTime`
1247
+ # @return [String]
1248
+ attr_accessor :create_time
1249
+
1250
+ # A related resource to this operation.
1251
+ # Corresponds to the JSON property `resource`
1252
+ # @return [String]
1253
+ attr_accessor :resource
1254
+
1255
+ # The state of the operation.
1256
+ # Corresponds to the JSON property `state`
1257
+ # @return [String]
1258
+ attr_accessor :state
1259
+
1260
+ # A message providing more details about the current state of processing.
1261
+ # Corresponds to the JSON property `stateMessage`
1262
+ # @return [String]
1263
+ attr_accessor :state_message
1264
+
1265
+ # The last update time of the operation.
1266
+ # Corresponds to the JSON property `updateTime`
1267
+ # @return [String]
1268
+ attr_accessor :update_time
1269
+
1270
+ def initialize(**args)
1271
+ update!(**args)
1272
+ end
1273
+
1274
+ # Update properties of this object
1275
+ def update!(**args)
1276
+ @create_time = args[:create_time] if args.key?(:create_time)
1277
+ @resource = args[:resource] if args.key?(:resource)
1278
+ @state = args[:state] if args.key?(:state)
1279
+ @state_message = args[:state_message] if args.key?(:state_message)
1280
+ @update_time = args[:update_time] if args.key?(:update_time)
1281
+ end
1282
+ end
1283
+
1222
1284
  # Response to an batch document processing request. This is returned in the LRO
1223
1285
  # Operation after the operation is complete.
1224
1286
  class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
@@ -1481,14 +1543,8 @@ module Google
1481
1543
  attr_accessor :boolean_value
1482
1544
  alias_method :boolean_value?, :boolean_value
1483
1545
 
1484
- # Represents a whole or partial calendar date, such as a birthday. The time of
1485
- # day and time zone are either specified elsewhere or are insignificant. The
1486
- # date is relative to the Gregorian Calendar. This can represent one of the
1487
- # following: * A full date, with non-zero year, month, and day values * A month
1488
- # and day value, with a zero year, such as an anniversary * A year on its own,
1489
- # with zero month and day values * A year and month value, with a zero day, such
1490
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
1491
- # google.protobuf.Timestamp`.
1546
+ # Date value. Includes year, month, day. See also: https://github.com/googleapis/
1547
+ # googleapis/blob/master/google/type/date.proto
1492
1548
  # Corresponds to the JSON property `dateValue`
1493
1549
  # @return [Google::Apis::DocumentaiV1beta2::GoogleTypeDate]
1494
1550
  attr_accessor :date_value
@@ -3248,14 +3304,8 @@ module Google
3248
3304
  attr_accessor :boolean_value
3249
3305
  alias_method :boolean_value?, :boolean_value
3250
3306
 
3251
- # Represents a whole or partial calendar date, such as a birthday. The time of
3252
- # day and time zone are either specified elsewhere or are insignificant. The
3253
- # date is relative to the Gregorian Calendar. This can represent one of the
3254
- # following: * A full date, with non-zero year, month, and day values * A month
3255
- # and day value, with a zero year, such as an anniversary * A year on its own,
3256
- # with zero month and day values * A year and month value, with a zero day, such
3257
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
3258
- # google.protobuf.Timestamp`.
3307
+ # Date value. Includes year, month, day. See also: https://github.com/googleapis/
3308
+ # googleapis/blob/master/google/type/date.proto
3259
3309
  # Corresponds to the JSON property `dateValue`
3260
3310
  # @return [Google::Apis::DocumentaiV1beta2::GoogleTypeDate]
3261
3311
  attr_accessor :date_value
@@ -5671,14 +5721,7 @@ module Google
5671
5721
  end
5672
5722
  end
5673
5723
 
5674
- # Represents a whole or partial calendar date, such as a birthday. The time of
5675
- # day and time zone are either specified elsewhere or are insignificant. The
5676
- # date is relative to the Gregorian Calendar. This can represent one of the
5677
- # following: * A full date, with non-zero year, month, and day values * A month
5678
- # and day value, with a zero year, such as an anniversary * A year on its own,
5679
- # with zero month and day values * A year and month value, with a zero day, such
5680
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
5681
- # google.protobuf.Timestamp`.
5724
+ #
5682
5725
  class GoogleTypeDate
5683
5726
  include Google::Apis::Core::Hashable
5684
5727
 
@@ -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.26.0"
19
+ GEM_VERSION = "0.27.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 = "20220114"
25
+ REVISION = "20220129"
26
26
  end
27
27
  end
28
28
  end
@@ -352,6 +352,18 @@ module Google
352
352
  include Google::Apis::Core::JsonObjectSupport
353
353
  end
354
354
 
355
+ class GoogleCloudDocumentaiV1alpha1AnalyzeHitlDataMetadata
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class GoogleCloudDocumentaiV1alpha1CommonOperationMetadata
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
355
367
  class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
356
368
  class Representation < Google::Apis::Core::JsonRepresentation; end
357
369
 
@@ -1528,6 +1540,25 @@ module Google
1528
1540
  end
1529
1541
  end
1530
1542
 
1543
+ class GoogleCloudDocumentaiV1alpha1AnalyzeHitlDataMetadata
1544
+ # @private
1545
+ class Representation < Google::Apis::Core::JsonRepresentation
1546
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1alpha1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1alpha1CommonOperationMetadata::Representation
1547
+
1548
+ end
1549
+ end
1550
+
1551
+ class GoogleCloudDocumentaiV1alpha1CommonOperationMetadata
1552
+ # @private
1553
+ class Representation < Google::Apis::Core::JsonRepresentation
1554
+ property :create_time, as: 'createTime'
1555
+ property :resource, as: 'resource'
1556
+ property :state, as: 'state'
1557
+ property :state_message, as: 'stateMessage'
1558
+ property :update_time, as: 'updateTime'
1559
+ end
1560
+ end
1561
+
1531
1562
  class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
1532
1563
  # @private
1533
1564
  class Representation < Google::Apis::Core::JsonRepresentation
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.26.0
4
+ version: 0.27.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-01-24 00:00:00.000000000 Z
11
+ date: 2022-02-07 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.26.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta2/v0.27.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: []