google-apis-documentai_v1 0.42.0 → 0.43.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: 3533b1f266abb9d5a1ba57b3dbe90637e9a6a12f2199981fb691c694b5509814
4
- data.tar.gz: ba2c2515716cd5e653953cfce171d95abb659a431441b5606ac298978d502d9f
3
+ metadata.gz: 360c58d4ea3c60d328dfb7a63c4e6b9e737e58188d68f797174adf6d31bac042
4
+ data.tar.gz: de5c0e1aa51e95990dedd9c2c8b1e730f94cd93a9f47c5ee35c49b5fab02c9a3
5
5
  SHA512:
6
- metadata.gz: b5539a60eea3f75bd0b9327f411e38776b7aefe5c51862a695eb9a22089375fc6adb9beb799b840600c77ce46c8146046e50c340e487b9c5cf2ba905e05e5c27
7
- data.tar.gz: a10bf6e4732dd5ef0f5e15295c55eec8e253113e42073a75ec8d8f96deff7acf03496b6d680d017ff3ee4e0cf6b4ad51c0afd7b38786dd2ca2f0f10908c5dcd1
6
+ metadata.gz: cc6817642170e179db82066f07d6788649b72e57089271e1ec27dfa79ec65018bafd387337ba313657eba6feb2edb43d0395d59d53f68a0e233a0718a55b6942
7
+ data.tar.gz: 1a2036bde0e00e97637f7c447370f2998f0956f7703ccb8103f1955a081a49e31dbb582f631c2683558c4fd1463e67a383a5efebde14867c70dec6bad594881e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.43.0 (2022-07-26)
4
+
5
+ * Regenerated from discovery document revision 20220720
6
+
3
7
  ### v0.42.0 (2022-07-12)
4
8
 
5
9
  * Regenerated from discovery document revision 20220711
@@ -548,6 +548,11 @@ module Google
548
548
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus>]
549
549
  attr_accessor :individual_import_statuses
550
550
 
551
+ # Total number of the documents that are qualified for importing.
552
+ # Corresponds to the JSON property `totalDocumentCount`
553
+ # @return [Fixnum]
554
+ attr_accessor :total_document_count
555
+
551
556
  def initialize(**args)
552
557
  update!(**args)
553
558
  end
@@ -556,6 +561,7 @@ module Google
556
561
  def update!(**args)
557
562
  @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
558
563
  @individual_import_statuses = args[:individual_import_statuses] if args.key?(:individual_import_statuses)
564
+ @total_document_count = args[:total_document_count] if args.key?(:total_document_count)
559
565
  end
560
566
  end
561
567
 
@@ -1577,9 +1583,9 @@ module Google
1577
1583
  # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
1578
1584
  # calendar day in a particular time zone. * When neither time_zone nor
1579
1585
  # utc_offset is set: a civil time on a calendar day in local time. The date is
1580
- # relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
1581
- # considered not to have a specific year. month and day must have valid, non-
1582
- # zero values. This type may also be used to represent a physical time if all
1586
+ # relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
1587
+ # the DateTime is considered not to have a specific year, month, or day
1588
+ # respectively. This type may also be used to represent a physical time if all
1583
1589
  # the date and time fields are set and either case of the `time_offset` oneof is
1584
1590
  # set. Consider using `Timestamp` message for physical time instead. If your use
1585
1591
  # case also would like to store the user's timezone, that can be done in another
@@ -4288,9 +4294,9 @@ module Google
4288
4294
  # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
4289
4295
  # calendar day in a particular time zone. * When neither time_zone nor
4290
4296
  # utc_offset is set: a civil time on a calendar day in local time. The date is
4291
- # relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
4292
- # considered not to have a specific year. month and day must have valid, non-
4293
- # zero values. This type may also be used to represent a physical time if all
4297
+ # relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
4298
+ # the DateTime is considered not to have a specific year, month, or day
4299
+ # respectively. This type may also be used to represent a physical time if all
4294
4300
  # the date and time fields are set and either case of the `time_offset` oneof is
4295
4301
  # set. Consider using `Timestamp` message for physical time instead. If your use
4296
4302
  # case also would like to store the user's timezone, that can be done in another
@@ -6127,9 +6133,9 @@ module Google
6127
6133
  # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
6128
6134
  # calendar day in a particular time zone. * When neither time_zone nor
6129
6135
  # utc_offset is set: a civil time on a calendar day in local time. The date is
6130
- # relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
6131
- # considered not to have a specific year. month and day must have valid, non-
6132
- # zero values. This type may also be used to represent a physical time if all
6136
+ # relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
6137
+ # the DateTime is considered not to have a specific year, month, or day
6138
+ # respectively. This type may also be used to represent a physical time if all
6133
6139
  # the date and time fields are set and either case of the `time_offset` oneof is
6134
6140
  # set. Consider using `Timestamp` message for physical time instead. If your use
6135
6141
  # case also would like to store the user's timezone, that can be done in another
@@ -8497,9 +8503,9 @@ module Google
8497
8503
  # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
8498
8504
  # calendar day in a particular time zone. * When neither time_zone nor
8499
8505
  # utc_offset is set: a civil time on a calendar day in local time. The date is
8500
- # relative to the Proleptic Gregorian Calendar. If year is 0, the DateTime is
8501
- # considered not to have a specific year. month and day must have valid, non-
8502
- # zero values. This type may also be used to represent a physical time if all
8506
+ # relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
8507
+ # the DateTime is considered not to have a specific year, month, or day
8508
+ # respectively. This type may also be used to represent a physical time if all
8503
8509
  # the date and time fields are set and either case of the `time_offset` oneof is
8504
8510
  # set. Consider using `Timestamp` message for physical time instead. If your use
8505
8511
  # case also would like to store the user's timezone, that can be done in another
@@ -8508,34 +8514,38 @@ module Google
8508
8514
  class GoogleTypeDateTime
8509
8515
  include Google::Apis::Core::Hashable
8510
8516
 
8511
- # Required. Day of month. Must be from 1 to 31 and valid for the year and month.
8517
+ # Optional. Day of month. Must be from 1 to 31 and valid for the year and month,
8518
+ # or 0 if specifying a datetime without a day.
8512
8519
  # Corresponds to the JSON property `day`
8513
8520
  # @return [Fixnum]
8514
8521
  attr_accessor :day
8515
8522
 
8516
- # Required. Hours of day in 24 hour format. Should be from 0 to 23. An API may
8517
- # choose to allow the value "24:00:00" for scenarios like business closing time.
8523
+ # Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to
8524
+ # 0 (midnight). An API may choose to allow the value "24:00:00" for scenarios
8525
+ # like business closing time.
8518
8526
  # Corresponds to the JSON property `hours`
8519
8527
  # @return [Fixnum]
8520
8528
  attr_accessor :hours
8521
8529
 
8522
- # Required. Minutes of hour of day. Must be from 0 to 59.
8530
+ # Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0.
8523
8531
  # Corresponds to the JSON property `minutes`
8524
8532
  # @return [Fixnum]
8525
8533
  attr_accessor :minutes
8526
8534
 
8527
- # Required. Month of year. Must be from 1 to 12.
8535
+ # Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime
8536
+ # without a month.
8528
8537
  # Corresponds to the JSON property `month`
8529
8538
  # @return [Fixnum]
8530
8539
  attr_accessor :month
8531
8540
 
8532
- # Required. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
8541
+ # Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999,
8542
+ # defaults to 0.
8533
8543
  # Corresponds to the JSON property `nanos`
8534
8544
  # @return [Fixnum]
8535
8545
  attr_accessor :nanos
8536
8546
 
8537
- # Required. Seconds of minutes of the time. Must normally be from 0 to 59. An
8538
- # API may allow the value 60 if it allows leap-seconds.
8547
+ # Optional. Seconds of minutes of the time. Must normally be from 0 to 59,
8548
+ # defaults to 0. An API may allow the value 60 if it allows leap-seconds.
8539
8549
  # Corresponds to the JSON property `seconds`
8540
8550
  # @return [Fixnum]
8541
8551
  attr_accessor :seconds
@@ -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.42.0"
19
+ GEM_VERSION = "0.43.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220711"
25
+ REVISION = "20220720"
26
26
  end
27
27
  end
28
28
  end
@@ -1736,6 +1736,7 @@ module Google
1736
1736
 
1737
1737
  collection :individual_import_statuses, as: 'individualImportStatuses', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3ImportDocumentsMetadataIndividualImportStatus::Representation
1738
1738
 
1739
+ property :total_document_count, as: 'totalDocumentCount'
1739
1740
  end
1740
1741
  end
1741
1742
 
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.42.0
4
+ version: 0.43.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-07-18 00:00:00.000000000 Z
11
+ date: 2022-08-01 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.42.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.43.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: []