google-apis-documentai_v1 0.50.0 → 0.51.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: 8abf42cd659c2ea3beb9e171c7152a233063fdb965eb828aa1b40f7d8d053f66
4
- data.tar.gz: 72cc1dee811f5947c642a4394e3dad3a8bbfd852e1cf428c00385506ee602ddb
3
+ metadata.gz: eb9755529d46660227c1466bb3bfe1437b1fa3fa228da7dc5c22bd3c324cdc33
4
+ data.tar.gz: 3ca076adef088e85b4189028cfcfcab1d2b3e74cee7a1d888f85a1dd292f2285
5
5
  SHA512:
6
- metadata.gz: 10a0d1ef85b8c540f9b1f7e5c2a3c55245eb6c7019527629f9aec90d483cbb0c479e348adeac865c524ace4df9db1bb07d01cc2bf397ac85c7f935a67783acf7
7
- data.tar.gz: 3385d2b035167083e0ab6c03ee2a214824636c7168f87324a98d9a5777fcf5a2d89f591d9a1161f71873188dc8ba1057906288876efabb5d74f8acf3d5bbede7
6
+ metadata.gz: bd831e078f81b5f8b89f4d2a4cb3b219f67594ee110905a9465b79a3aa5fe64b7a1580f65aeb412b53e2338bafe774544d412d523e795f1766deabd1b24b97ea
7
+ data.tar.gz: 4820341a24a95e9be1be7d738e7334373ca63d7f2ea8f2ee2b43ace0910b6881594562d387bbbfb9b22c1aa371c46b99108ebbdb4b50755a0827cac3692ca973
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.51.0 (2022-10-27)
4
+
5
+ * Regenerated from discovery document revision 20221023
6
+ * Regenerated using generator version 0.11.0
7
+
3
8
  ### v0.50.0 (2022-09-30)
4
9
 
5
10
  * Regenerated from discovery document revision 20220921
@@ -1874,7 +1874,9 @@ module Google
1874
1874
  class GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfig
1875
1875
  include Google::Apis::Core::Hashable
1876
1876
 
1877
- # Specifies which fields to include in the output documents.
1877
+ # Specifies which fields to include in the output documents. Only supports top
1878
+ # level document and pages field so it must be in the form of ``
1879
+ # document_field_name`` or `pages.`page_field_name``.
1878
1880
  # Corresponds to the JSON property `fieldMask`
1879
1881
  # @return [String]
1880
1882
  attr_accessor :field_mask
@@ -2555,6 +2557,12 @@ module Google
2555
2557
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageLayout]
2556
2558
  attr_accessor :layout
2557
2559
 
2560
+ # Structure to identify provenance relationships between annotations in
2561
+ # different revisions.
2562
+ # Corresponds to the JSON property `provenance`
2563
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentProvenance]
2564
+ attr_accessor :provenance
2565
+
2558
2566
  def initialize(**args)
2559
2567
  update!(**args)
2560
2568
  end
@@ -2565,6 +2573,7 @@ module Google
2565
2573
  @detected_languages = args[:detected_languages] if args.key?(:detected_languages)
2566
2574
  @header_rows = args[:header_rows] if args.key?(:header_rows)
2567
2575
  @layout = args[:layout] if args.key?(:layout)
2576
+ @provenance = args[:provenance] if args.key?(:provenance)
2568
2577
  end
2569
2578
  end
2570
2579
 
@@ -3430,6 +3439,12 @@ module Google
3430
3439
  attr_accessor :inactive
3431
3440
  alias_method :inactive?, :inactive
3432
3441
 
3442
+ # Metadata that specifies whether a label is editable and reasons why. These
3443
+ # fields are read-only. Changing these fields has no impact on the backend.
3444
+ # Corresponds to the JSON property `schemaMutabilityMetadata`
3445
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaMutabilityMetadata]
3446
+ attr_accessor :schema_mutability_metadata
3447
+
3433
3448
  def initialize(**args)
3434
3449
  update!(**args)
3435
3450
  end
@@ -3439,6 +3454,7 @@ module Google
3439
3454
  @human_review_labeling_metadata = args[:human_review_labeling_metadata] if args.key?(:human_review_labeling_metadata)
3440
3455
  @human_review_metadata = args[:human_review_metadata] if args.key?(:human_review_metadata)
3441
3456
  @inactive = args[:inactive] if args.key?(:inactive)
3457
+ @schema_mutability_metadata = args[:schema_mutability_metadata] if args.key?(:schema_mutability_metadata)
3442
3458
  end
3443
3459
  end
3444
3460
 
@@ -3709,7 +3725,9 @@ module Google
3709
3725
  class GoogleCloudDocumentaiV1ProcessRequest
3710
3726
  include Google::Apis::Core::Hashable
3711
3727
 
3712
- # Specifies which fields to include in ProcessResponse's document.
3728
+ # Specifies which fields to include in ProcessResponse's document. Only supports
3729
+ # top level document and pages field so it must be in the form of ``
3730
+ # document_field_name`` or `pages.`page_field_name``.
3713
3731
  # Corresponds to the JSON property `fieldMask`
3714
3732
  # @return [String]
3715
3733
  attr_accessor :field_mask
@@ -4026,6 +4044,12 @@ module Google
4026
4044
  attr_accessor :inactive
4027
4045
  alias_method :inactive?, :inactive
4028
4046
 
4047
+ # Metadata that specifies whether a label is editable and reasons why. These
4048
+ # fields are read-only. Changing these fields has no impact on the backend.
4049
+ # Corresponds to the JSON property `schemaMutabilityMetadata`
4050
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaMutabilityMetadata]
4051
+ attr_accessor :schema_mutability_metadata
4052
+
4029
4053
  def initialize(**args)
4030
4054
  update!(**args)
4031
4055
  end
@@ -4035,6 +4059,7 @@ module Google
4035
4059
  @human_review_labeling_metadata = args[:human_review_labeling_metadata] if args.key?(:human_review_labeling_metadata)
4036
4060
  @human_review_metadata = args[:human_review_metadata] if args.key?(:human_review_metadata)
4037
4061
  @inactive = args[:inactive] if args.key?(:inactive)
4062
+ @schema_mutability_metadata = args[:schema_mutability_metadata] if args.key?(:schema_mutability_metadata)
4038
4063
  end
4039
4064
  end
4040
4065
 
@@ -4162,6 +4187,35 @@ module Google
4162
4187
  end
4163
4188
  end
4164
4189
 
4190
+ # Metadata that specifies whether a label is editable and reasons why. These
4191
+ # fields are read-only. Changing these fields has no impact on the backend.
4192
+ class GoogleCloudDocumentaiV1SchemaMutabilityMetadata
4193
+ include Google::Apis::Core::Hashable
4194
+
4195
+ # Explicit flag that controls whether the label is editable.
4196
+ # Corresponds to the JSON property `editable`
4197
+ # @return [Boolean]
4198
+ attr_accessor :editable
4199
+ alias_method :editable?, :editable
4200
+
4201
+ # Full resource name of processor versions that contain this label. e.g. `
4202
+ # projects/`project`/locations/`location`/processors/`processor`/
4203
+ # processorVersions/`processorVersion``
4204
+ # Corresponds to the JSON property `processorVersions`
4205
+ # @return [Array<String>]
4206
+ attr_accessor :processor_versions
4207
+
4208
+ def initialize(**args)
4209
+ update!(**args)
4210
+ end
4211
+
4212
+ # Update properties of this object
4213
+ def update!(**args)
4214
+ @editable = args[:editable] if args.key?(:editable)
4215
+ @processor_versions = args[:processor_versions] if args.key?(:processor_versions)
4216
+ end
4217
+ end
4218
+
4165
4219
  # The long running operation metadata for set default processor version method.
4166
4220
  class GoogleCloudDocumentaiV1SetDefaultProcessorVersionMetadata
4167
4221
  include Google::Apis::Core::Hashable
@@ -5414,6 +5468,12 @@ module Google
5414
5468
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageLayout]
5415
5469
  attr_accessor :layout
5416
5470
 
5471
+ # Structure to identify provenance relationships between annotations in
5472
+ # different revisions.
5473
+ # Corresponds to the JSON property `provenance`
5474
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentProvenance]
5475
+ attr_accessor :provenance
5476
+
5417
5477
  def initialize(**args)
5418
5478
  update!(**args)
5419
5479
  end
@@ -5424,6 +5484,7 @@ module Google
5424
5484
  @detected_languages = args[:detected_languages] if args.key?(:detected_languages)
5425
5485
  @header_rows = args[:header_rows] if args.key?(:header_rows)
5426
5486
  @layout = args[:layout] if args.key?(:layout)
5487
+ @provenance = args[:provenance] if args.key?(:provenance)
5427
5488
  end
5428
5489
  end
5429
5490
 
@@ -7346,6 +7407,12 @@ module Google
7346
7407
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageLayout]
7347
7408
  attr_accessor :layout
7348
7409
 
7410
+ # Structure to identify provenance relationships between annotations in
7411
+ # different revisions.
7412
+ # Corresponds to the JSON property `provenance`
7413
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentProvenance]
7414
+ attr_accessor :provenance
7415
+
7349
7416
  def initialize(**args)
7350
7417
  update!(**args)
7351
7418
  end
@@ -7356,6 +7423,7 @@ module Google
7356
7423
  @detected_languages = args[:detected_languages] if args.key?(:detected_languages)
7357
7424
  @header_rows = args[:header_rows] if args.key?(:header_rows)
7358
7425
  @layout = args[:layout] if args.key?(:layout)
7426
+ @provenance = args[:provenance] if args.key?(:provenance)
7359
7427
  end
7360
7428
  end
7361
7429
 
@@ -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.50.0"
19
+ GEM_VERSION = "0.51.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.10.0"
22
+ GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220921"
25
+ REVISION = "20221023"
26
26
  end
27
27
  end
28
28
  end
@@ -820,6 +820,12 @@ module Google
820
820
  include Google::Apis::Core::JsonObjectSupport
821
821
  end
822
822
 
823
+ class GoogleCloudDocumentaiV1SchemaMutabilityMetadata
824
+ class Representation < Google::Apis::Core::JsonRepresentation; end
825
+
826
+ include Google::Apis::Core::JsonObjectSupport
827
+ end
828
+
823
829
  class GoogleCloudDocumentaiV1SetDefaultProcessorVersionMetadata
824
830
  class Representation < Google::Apis::Core::JsonRepresentation; end
825
831
 
@@ -2471,6 +2477,8 @@ module Google
2471
2477
 
2472
2478
  property :layout, as: 'layout', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageLayout::Representation
2473
2479
 
2480
+ property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentProvenance, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentProvenance::Representation
2481
+
2474
2482
  end
2475
2483
  end
2476
2484
 
@@ -2714,6 +2722,8 @@ module Google
2714
2722
  property :human_review_metadata, as: 'humanReviewMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewValidationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewValidationMetadata::Representation
2715
2723
 
2716
2724
  property :inactive, as: 'inactive'
2725
+ property :schema_mutability_metadata, as: 'schemaMutabilityMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaMutabilityMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaMutabilityMetadata::Representation
2726
+
2717
2727
  end
2718
2728
  end
2719
2729
 
@@ -2894,6 +2904,8 @@ module Google
2894
2904
  property :human_review_metadata, as: 'humanReviewMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewValidationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewValidationMetadata::Representation
2895
2905
 
2896
2906
  property :inactive, as: 'inactive'
2907
+ property :schema_mutability_metadata, as: 'schemaMutabilityMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaMutabilityMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaMutabilityMetadata::Representation
2908
+
2897
2909
  end
2898
2910
  end
2899
2911
 
@@ -2935,6 +2947,14 @@ module Google
2935
2947
  end
2936
2948
  end
2937
2949
 
2950
+ class GoogleCloudDocumentaiV1SchemaMutabilityMetadata
2951
+ # @private
2952
+ class Representation < Google::Apis::Core::JsonRepresentation
2953
+ property :editable, as: 'editable'
2954
+ collection :processor_versions, as: 'processorVersions'
2955
+ end
2956
+ end
2957
+
2938
2958
  class GoogleCloudDocumentaiV1SetDefaultProcessorVersionMetadata
2939
2959
  # @private
2940
2960
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3316,6 +3336,8 @@ module Google
3316
3336
 
3317
3337
  property :layout, as: 'layout', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageLayout, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageLayout::Representation
3318
3338
 
3339
+ property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
3340
+
3319
3341
  end
3320
3342
  end
3321
3343
 
@@ -3868,6 +3890,8 @@ module Google
3868
3890
 
3869
3891
  property :layout, as: 'layout', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageLayout, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageLayout::Representation
3870
3892
 
3893
+ property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
3894
+
3871
3895
  end
3872
3896
  end
3873
3897
 
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.50.0
4
+ version: 0.51.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-10-03 00:00:00.000000000 Z
11
+ date: 2022-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.0
19
+ version: 0.9.1
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.9.0
29
+ version: 0.9.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.50.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.51.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: []