google-apis-documentai_v1 0.24.0 → 0.25.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: 54149c542d83e60a891c3e49ddfd6c4acd49cd932301318386833d2b87d123c2
4
- data.tar.gz: c961840647138985e29d4481e0c7fe42b7eba84862f21074c9b6f2c3c1e5578a
3
+ metadata.gz: aad69fa3be23593c10c35813accd7e9358b5788c3822260f6e33efd291656436
4
+ data.tar.gz: c734d70cc684256fc5fa038d8d81f1cf7da0cdb7b11d277018d4ad5246077f38
5
5
  SHA512:
6
- metadata.gz: 03f86d657b4218931debe891ffd85c674a99fd747aa5c375cff6e508455514c54e8488fc5e602ecec8bc908a16f3c7aa9a696af12952c698505a72cc62d38a5b
7
- data.tar.gz: 76d71de9094dc0cac088258fd726417e2271ff81c6884447c63a6ec2c448eeabb01ea8e87cafce6943dd38e46c3d055426785e3aaab9bee6cea3277cc8c53713
6
+ metadata.gz: 2b68b8b8a0c1242162049d3ae6b191a86c7e2ebeca6fb0f0df0f3be0d50d5506900d81e6272a7728cb5ae7ca1a300a386a10a081c87efbeaea1acff9bcdf984d
7
+ data.tar.gz: a986f15006187a092f33ecde972f0673ac503302e3c06bd6243601f2035fe8b0c6208c5c1901f67e3744f9e12e45a1e684ac053f20a06b28a796302124037a67
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.25.0 (2022-02-01)
4
+
5
+ * Regenerated from discovery document revision 20220129
6
+
3
7
  ### v0.24.0 (2022-01-20)
4
8
 
5
9
  * Regenerated from discovery document revision 20220114
@@ -1371,14 +1371,8 @@ module Google
1371
1371
  attr_accessor :boolean_value
1372
1372
  alias_method :boolean_value?, :boolean_value
1373
1373
 
1374
- # Represents a whole or partial calendar date, such as a birthday. The time of
1375
- # day and time zone are either specified elsewhere or are insignificant. The
1376
- # date is relative to the Gregorian Calendar. This can represent one of the
1377
- # following: * A full date, with non-zero year, month, and day values * A month
1378
- # and day value, with a zero year, such as an anniversary * A year on its own,
1379
- # with zero month and day values * A year and month value, with a zero day, such
1380
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
1381
- # google.protobuf.Timestamp`.
1374
+ # Date value. Includes year, month, day. See also: https://github.com/googleapis/
1375
+ # googleapis/blob/master/google/type/date.proto
1382
1376
  # Corresponds to the JSON property `dateValue`
1383
1377
  # @return [Google::Apis::DocumentaiV1::GoogleTypeDate]
1384
1378
  attr_accessor :date_value
@@ -3365,6 +3359,68 @@ module Google
3365
3359
  end
3366
3360
  end
3367
3361
 
3362
+ # The long running operation metadata for AnalyzeHitlData.
3363
+ class GoogleCloudDocumentaiV1alpha1AnalyzeHitlDataMetadata
3364
+ include Google::Apis::Core::Hashable
3365
+
3366
+ # The common metadata for long running operations.
3367
+ # Corresponds to the JSON property `commonMetadata`
3368
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1alpha1CommonOperationMetadata]
3369
+ attr_accessor :common_metadata
3370
+
3371
+ def initialize(**args)
3372
+ update!(**args)
3373
+ end
3374
+
3375
+ # Update properties of this object
3376
+ def update!(**args)
3377
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
3378
+ end
3379
+ end
3380
+
3381
+ # The common metadata for long running operations.
3382
+ class GoogleCloudDocumentaiV1alpha1CommonOperationMetadata
3383
+ include Google::Apis::Core::Hashable
3384
+
3385
+ # The creation time of the operation.
3386
+ # Corresponds to the JSON property `createTime`
3387
+ # @return [String]
3388
+ attr_accessor :create_time
3389
+
3390
+ # A related resource to this operation.
3391
+ # Corresponds to the JSON property `resource`
3392
+ # @return [String]
3393
+ attr_accessor :resource
3394
+
3395
+ # The state of the operation.
3396
+ # Corresponds to the JSON property `state`
3397
+ # @return [String]
3398
+ attr_accessor :state
3399
+
3400
+ # A message providing more details about the current state of processing.
3401
+ # Corresponds to the JSON property `stateMessage`
3402
+ # @return [String]
3403
+ attr_accessor :state_message
3404
+
3405
+ # The last update time of the operation.
3406
+ # Corresponds to the JSON property `updateTime`
3407
+ # @return [String]
3408
+ attr_accessor :update_time
3409
+
3410
+ def initialize(**args)
3411
+ update!(**args)
3412
+ end
3413
+
3414
+ # Update properties of this object
3415
+ def update!(**args)
3416
+ @create_time = args[:create_time] if args.key?(:create_time)
3417
+ @resource = args[:resource] if args.key?(:resource)
3418
+ @state = args[:state] if args.key?(:state)
3419
+ @state_message = args[:state_message] if args.key?(:state_message)
3420
+ @update_time = args[:update_time] if args.key?(:update_time)
3421
+ end
3422
+ end
3423
+
3368
3424
  # Response to an batch document processing request. This is returned in the LRO
3369
3425
  # Operation after the operation is complete.
3370
3426
  class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
@@ -3627,14 +3683,8 @@ module Google
3627
3683
  attr_accessor :boolean_value
3628
3684
  alias_method :boolean_value?, :boolean_value
3629
3685
 
3630
- # Represents a whole or partial calendar date, such as a birthday. The time of
3631
- # day and time zone are either specified elsewhere or are insignificant. The
3632
- # date is relative to the Gregorian Calendar. This can represent one of the
3633
- # following: * A full date, with non-zero year, month, and day values * A month
3634
- # and day value, with a zero year, such as an anniversary * A year on its own,
3635
- # with zero month and day values * A year and month value, with a zero day, such
3636
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
3637
- # google.protobuf.Timestamp`.
3686
+ # Date value. Includes year, month, day. See also: https://github.com/googleapis/
3687
+ # googleapis/blob/master/google/type/date.proto
3638
3688
  # Corresponds to the JSON property `dateValue`
3639
3689
  # @return [Google::Apis::DocumentaiV1::GoogleTypeDate]
3640
3690
  attr_accessor :date_value
@@ -5354,14 +5404,8 @@ module Google
5354
5404
  attr_accessor :boolean_value
5355
5405
  alias_method :boolean_value?, :boolean_value
5356
5406
 
5357
- # Represents a whole or partial calendar date, such as a birthday. The time of
5358
- # day and time zone are either specified elsewhere or are insignificant. The
5359
- # date is relative to the Gregorian Calendar. This can represent one of the
5360
- # following: * A full date, with non-zero year, month, and day values * A month
5361
- # and day value, with a zero year, such as an anniversary * A year on its own,
5362
- # with zero month and day values * A year and month value, with a zero day, such
5363
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
5364
- # google.protobuf.Timestamp`.
5407
+ # Date value. Includes year, month, day. See also: https://github.com/googleapis/
5408
+ # googleapis/blob/master/google/type/date.proto
5365
5409
  # Corresponds to the JSON property `dateValue`
5366
5410
  # @return [Google::Apis::DocumentaiV1::GoogleTypeDate]
5367
5411
  attr_accessor :date_value
@@ -7621,14 +7665,7 @@ module Google
7621
7665
  end
7622
7666
  end
7623
7667
 
7624
- # Represents a whole or partial calendar date, such as a birthday. The time of
7625
- # day and time zone are either specified elsewhere or are insignificant. The
7626
- # date is relative to the Gregorian Calendar. This can represent one of the
7627
- # following: * A full date, with non-zero year, month, and day values * A month
7628
- # and day value, with a zero year, such as an anniversary * A year on its own,
7629
- # with zero month and day values * A year and month value, with a zero day, such
7630
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
7631
- # google.protobuf.Timestamp`.
7668
+ #
7632
7669
  class GoogleTypeDate
7633
7670
  include Google::Apis::Core::Hashable
7634
7671
 
@@ -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.24.0"
19
+ GEM_VERSION = "0.25.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
@@ -700,6 +700,18 @@ module Google
700
700
  include Google::Apis::Core::JsonObjectSupport
701
701
  end
702
702
 
703
+ class GoogleCloudDocumentaiV1alpha1AnalyzeHitlDataMetadata
704
+ class Representation < Google::Apis::Core::JsonRepresentation; end
705
+
706
+ include Google::Apis::Core::JsonObjectSupport
707
+ end
708
+
709
+ class GoogleCloudDocumentaiV1alpha1CommonOperationMetadata
710
+ class Representation < Google::Apis::Core::JsonRepresentation; end
711
+
712
+ include Google::Apis::Core::JsonObjectSupport
713
+ end
714
+
703
715
  class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
704
716
  class Representation < Google::Apis::Core::JsonRepresentation; end
705
717
 
@@ -2467,6 +2479,25 @@ module Google
2467
2479
  end
2468
2480
  end
2469
2481
 
2482
+ class GoogleCloudDocumentaiV1alpha1AnalyzeHitlDataMetadata
2483
+ # @private
2484
+ class Representation < Google::Apis::Core::JsonRepresentation
2485
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1alpha1CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1alpha1CommonOperationMetadata::Representation
2486
+
2487
+ end
2488
+ end
2489
+
2490
+ class GoogleCloudDocumentaiV1alpha1CommonOperationMetadata
2491
+ # @private
2492
+ class Representation < Google::Apis::Core::JsonRepresentation
2493
+ property :create_time, as: 'createTime'
2494
+ property :resource, as: 'resource'
2495
+ property :state, as: 'state'
2496
+ property :state_message, as: 'stateMessage'
2497
+ property :update_time, as: 'updateTime'
2498
+ end
2499
+ end
2500
+
2470
2501
  class GoogleCloudDocumentaiV1beta1BatchProcessDocumentsResponse
2471
2502
  # @private
2472
2503
  class Representation < Google::Apis::Core::JsonRepresentation
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.24.0
4
+ version: 0.25.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.24.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.25.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: []