google-apis-documentai_v1 0.32.0 → 0.35.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: d3f9daa8a4c64a9159feae67822c0ee6cdc1bcfb26aa8c0f9b6ecadc26a98825
4
- data.tar.gz: b7fe13bdb782c52b3e287b2432cfb2f881a5164879ff27ba315410729aff2dac
3
+ metadata.gz: f60e76f679a7326d47449917f96101b3fe666ab0b876c1a2a7c128fd7d37b8d3
4
+ data.tar.gz: ccfd36cc348e015c9e6542eaf622606c983cbb10504f497ddcc5982623f66a70
5
5
  SHA512:
6
- metadata.gz: a53eb45b1b48bf0a17e88a12d7ab57000e69f5e9a4092515e4dd11913b4ad9580a46a6a60b6070ffdcd2fb49717cd4aac949619e1d9f68f6557cbabbfa664bc1
7
- data.tar.gz: 8604f3167d1e340056958f529644f0bb68ab8041394b6c6a4c2b54bbbbb46caedbbc4c3e492d999a22a649ded02324f43eb17055b92e1ede92c06d9be3dbb65f
6
+ metadata.gz: cbca5a7cac2e910955822feb1ddd52cec35c0403c1d10c21b4b59e079af0c7f9d8e0a5b7f70248143fb1a20eb96781190e9cc09fe93cb3152cc5d2b83ab22dbd
7
+ data.tar.gz: b43c64d0f98b7ab68accd37fdc8e92faf2667d3eca826d1b73bc1ada47b8b4e08791199efe764472492652ab93ff25488bb0f8a642a844d62dc21b1413f3ddc4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.35.0 (2022-04-12)
4
+
5
+ * Regenerated from discovery document revision 20220409
6
+
7
+ ### v0.34.0 (2022-04-05)
8
+
9
+ * Regenerated from discovery document revision 20220401
10
+
11
+ ### v0.33.0 (2022-03-29)
12
+
13
+ * Regenerated from discovery document revision 20220326
14
+
3
15
  ### v0.32.0 (2022-03-23)
4
16
 
5
17
  * Regenerated from discovery document revision 20220321
@@ -196,6 +196,25 @@ module Google
196
196
  end
197
197
  end
198
198
 
199
+ # The long running operation metadata for DeleteDataLabelingJob.
200
+ class GoogleCloudDocumentaiUiv1beta3DeleteDataLabelingJobOperationMetadata
201
+ include Google::Apis::Core::Hashable
202
+
203
+ # The common metadata for long running operations.
204
+ # Corresponds to the JSON property `commonMetadata`
205
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
206
+ attr_accessor :common_metadata
207
+
208
+ def initialize(**args)
209
+ update!(**args)
210
+ end
211
+
212
+ # Update properties of this object
213
+ def update!(**args)
214
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
215
+ end
216
+ end
217
+
199
218
  # The long running operation metadata for DeleteLabelerPool.
200
219
  class GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata
201
220
  include Google::Apis::Core::Hashable
@@ -1414,7 +1433,7 @@ module Google
1414
1433
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentTextAnchor]
1415
1434
  attr_accessor :text_anchor
1416
1435
 
1417
- # Entity type from a schema e.g. `Address`.
1436
+ # Required. Entity type from a schema e.g. `Address`.
1418
1437
  # Corresponds to the JSON property `type`
1419
1438
  # @return [String]
1420
1439
  attr_accessor :type
@@ -3224,7 +3243,7 @@ module Google
3224
3243
  # have multiple versions, pre-trained by Google internally or up-trained by the
3225
3244
  # customer. At a time, a processor can only have one default version version. So
3226
3245
  # the processor's behavior (when processing documents) is defined by a default
3227
- # version.
3246
+ # version
3228
3247
  class GoogleCloudDocumentaiV1ProcessorVersion
3229
3248
  include Google::Apis::Core::Hashable
3230
3249
 
@@ -3233,11 +3252,22 @@ module Google
3233
3252
  # @return [String]
3234
3253
  attr_accessor :create_time
3235
3254
 
3255
+ # Information about the upcoming deprecation of this processor version.
3256
+ # Corresponds to the JSON property `deprecationInfo`
3257
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo]
3258
+ attr_accessor :deprecation_info
3259
+
3236
3260
  # The display name of the processor version.
3237
3261
  # Corresponds to the JSON property `displayName`
3238
3262
  # @return [String]
3239
3263
  attr_accessor :display_name
3240
3264
 
3265
+ # Denotes that this ProcessorVersion is managed by google.
3266
+ # Corresponds to the JSON property `googleManaged`
3267
+ # @return [Boolean]
3268
+ attr_accessor :google_managed
3269
+ alias_method :google_managed?, :google_managed
3270
+
3241
3271
  # The KMS key name used for encryption.
3242
3272
  # Corresponds to the JSON property `kmsKeyName`
3243
3273
  # @return [String]
@@ -3267,7 +3297,9 @@ module Google
3267
3297
  # Update properties of this object
3268
3298
  def update!(**args)
3269
3299
  @create_time = args[:create_time] if args.key?(:create_time)
3300
+ @deprecation_info = args[:deprecation_info] if args.key?(:deprecation_info)
3270
3301
  @display_name = args[:display_name] if args.key?(:display_name)
3302
+ @google_managed = args[:google_managed] if args.key?(:google_managed)
3271
3303
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
3272
3304
  @kms_key_version_name = args[:kms_key_version_name] if args.key?(:kms_key_version_name)
3273
3305
  @name = args[:name] if args.key?(:name)
@@ -3275,6 +3307,31 @@ module Google
3275
3307
  end
3276
3308
  end
3277
3309
 
3310
+ # Information about the upcoming deprecation of this processor version.
3311
+ class GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo
3312
+ include Google::Apis::Core::Hashable
3313
+
3314
+ # The time at which this processor version will be deprecated.
3315
+ # Corresponds to the JSON property `deprecationTime`
3316
+ # @return [String]
3317
+ attr_accessor :deprecation_time
3318
+
3319
+ # If set, the processor version that will be used as a replacement.
3320
+ # Corresponds to the JSON property `replacementProcessorVersion`
3321
+ # @return [String]
3322
+ attr_accessor :replacement_processor_version
3323
+
3324
+ def initialize(**args)
3325
+ update!(**args)
3326
+ end
3327
+
3328
+ # Update properties of this object
3329
+ def update!(**args)
3330
+ @deprecation_time = args[:deprecation_time] if args.key?(:deprecation_time)
3331
+ @replacement_processor_version = args[:replacement_processor_version] if args.key?(:replacement_processor_version)
3332
+ end
3333
+ end
3334
+
3278
3335
  # Payload message of raw document content (bytes).
3279
3336
  class GoogleCloudDocumentaiV1RawDocument
3280
3337
  include Google::Apis::Core::Hashable
@@ -3786,7 +3843,7 @@ module Google
3786
3843
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentTextAnchor]
3787
3844
  attr_accessor :text_anchor
3788
3845
 
3789
- # Entity type from a schema e.g. `Address`.
3846
+ # Required. Entity type from a schema e.g. `Address`.
3790
3847
  # Corresponds to the JSON property `type`
3791
3848
  # @return [String]
3792
3849
  attr_accessor :type
@@ -5554,7 +5611,7 @@ module Google
5554
5611
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentTextAnchor]
5555
5612
  attr_accessor :text_anchor
5556
5613
 
5557
- # Entity type from a schema e.g. `Address`.
5614
+ # Required. Entity type from a schema e.g. `Address`.
5558
5615
  # Corresponds to the JSON property `type`
5559
5616
  # @return [String]
5560
5617
  attr_accessor :type
@@ -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.32.0"
19
+ GEM_VERSION = "0.35.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 = "20220321"
25
+ REVISION = "20220409"
26
26
  end
27
27
  end
28
28
  end
@@ -64,6 +64,12 @@ module Google
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
+ class GoogleCloudDocumentaiUiv1beta3DeleteDataLabelingJobOperationMetadata
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
67
73
  class GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata
68
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
75
 
@@ -658,6 +664,12 @@ module Google
658
664
  include Google::Apis::Core::JsonObjectSupport
659
665
  end
660
666
 
667
+ class GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo
668
+ class Representation < Google::Apis::Core::JsonRepresentation; end
669
+
670
+ include Google::Apis::Core::JsonObjectSupport
671
+ end
672
+
661
673
  class GoogleCloudDocumentaiV1RawDocument
662
674
  class Representation < Google::Apis::Core::JsonRepresentation; end
663
675
 
@@ -1505,6 +1517,14 @@ module Google
1505
1517
  end
1506
1518
  end
1507
1519
 
1520
+ class GoogleCloudDocumentaiUiv1beta3DeleteDataLabelingJobOperationMetadata
1521
+ # @private
1522
+ class Representation < Google::Apis::Core::JsonRepresentation
1523
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
1524
+
1525
+ end
1526
+ end
1527
+
1508
1528
  class GoogleCloudDocumentaiUiv1beta3DeleteLabelerPoolOperationMetadata
1509
1529
  # @private
1510
1530
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2466,7 +2486,10 @@ module Google
2466
2486
  # @private
2467
2487
  class Representation < Google::Apis::Core::JsonRepresentation
2468
2488
  property :create_time, as: 'createTime'
2489
+ property :deprecation_info, as: 'deprecationInfo', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo::Representation
2490
+
2469
2491
  property :display_name, as: 'displayName'
2492
+ property :google_managed, as: 'googleManaged'
2470
2493
  property :kms_key_name, as: 'kmsKeyName'
2471
2494
  property :kms_key_version_name, as: 'kmsKeyVersionName'
2472
2495
  property :name, as: 'name'
@@ -2474,6 +2497,14 @@ module Google
2474
2497
  end
2475
2498
  end
2476
2499
 
2500
+ class GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo
2501
+ # @private
2502
+ class Representation < Google::Apis::Core::JsonRepresentation
2503
+ property :deprecation_time, as: 'deprecationTime'
2504
+ property :replacement_processor_version, as: 'replacementProcessorVersion'
2505
+ end
2506
+ end
2507
+
2477
2508
  class GoogleCloudDocumentaiV1RawDocument
2478
2509
  # @private
2479
2510
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -152,8 +152,8 @@ module Google
152
152
  # The resource that owns the locations collection, if applicable.
153
153
  # @param [String] filter
154
154
  # A filter to narrow down results to a preferred subset. The filtering language
155
- # accepts strings like "displayName=tokyo", and is documented in more detail in [
156
- # AIP-160](https://google.aip.dev/160).
155
+ # accepts strings like `"displayName=tokyo"`, and is documented in more detail
156
+ # in [AIP-160](https://google.aip.dev/160).
157
157
  # @param [Fixnum] page_size
158
158
  # The maximum number of results to return. If not set, the service selects a
159
159
  # default.
@@ -956,8 +956,8 @@ module Google
956
956
  # The resource that owns the locations collection, if applicable.
957
957
  # @param [String] filter
958
958
  # A filter to narrow down results to a preferred subset. The filtering language
959
- # accepts strings like "displayName=tokyo", and is documented in more detail in [
960
- # AIP-160](https://google.aip.dev/160).
959
+ # accepts strings like `"displayName=tokyo"`, and is documented in more detail
960
+ # in [AIP-160](https://google.aip.dev/160).
961
961
  # @param [Fixnum] page_size
962
962
  # The maximum number of results to return. If not set, the service selects a
963
963
  # default.
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.32.0
4
+ version: 0.35.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-03-28 00:00:00.000000000 Z
11
+ date: 2022-04-18 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.32.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.35.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: []