google-apis-documentai_v1beta3 0.72.0 → 0.74.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: acbb6a92e5d29ddaecac3ea586f85a91b61e98a00ddca16e8034888ccd0234a1
4
- data.tar.gz: 97b2a231dd6a636e613b516605d7c4d86f93b67844a792dd350b89b4c2becf70
3
+ metadata.gz: ac2a66f795bbf20f839a89231b5dff6b87526b2f8aac18d90f2181d66d1cb6a6
4
+ data.tar.gz: 9d8c76cc6d023a4cfc505f89667532d031d6a2e18c7e0d61ffdc6b59280427c6
5
5
  SHA512:
6
- metadata.gz: 70b3392753d862013af656d62080fba92d42e7a80823ce8f360c773097e2325036d6c31a794776575b416f506573a5d2b7a95ac8118a1bce8f954a5b5776a1ac
7
- data.tar.gz: da449a49cc75a0b890859f9423c5100024e23896f95e863f1600ad11e9be3ec82f3c20ad0d08c032ca6e0058315585cc8c80499ab3086526d3311b18e34dc7b7
6
+ metadata.gz: a8c1a545c0c3659e7f3946270f7827314105c049eb51208ea0b5315e14200b883602198427a3e77c213371b04883800f664f878be6ba5ef5bf2766a888a58186
7
+ data.tar.gz: b3ed85e6045ea0d16436623ec59bff240c91b9e33222416b18766a7c3da8246fb20a30f82cc825201601b1c15a25dba7b5a1ad7444d6f111e2cf3b168aabd86c
data/CHANGELOG.md CHANGED
@@ -1,8 +1,16 @@
1
1
  # Release history for google-apis-documentai_v1beta3
2
2
 
3
- ### v0.72.0 (2023-05-07)
3
+ ### v0.74.0 (2023-06-04)
4
4
 
5
- * Regenerated from discovery document revision 20230427
5
+ * Regenerated from discovery document revision 20230526
6
+
7
+ ### v0.73.0 (2023-05-28)
8
+
9
+ * Regenerated from discovery document revision 20230519
10
+
11
+ ### v0.72.0 (2023-05-14)
12
+
13
+ * Regenerated from discovery document revision 20230504
6
14
 
7
15
  ### v0.71.0 (2023-04-30)
8
16
 
@@ -445,8 +445,8 @@ module Google
445
445
  class GoogleCloudDocumentaiUiv1beta3DocumentId
446
446
  include Google::Apis::Core::Hashable
447
447
 
448
- # Identifies a document uniquely within the scope of a dataset in the Cloud
449
- # Storage option.
448
+ # Identifies a document uniquely within the scope of a dataset in user managed
449
+ # Cloud Storage option.
450
450
  # Corresponds to the JSON property `gcsManagedDocId`
451
451
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId]
452
452
  attr_accessor :gcs_managed_doc_id
@@ -456,6 +456,12 @@ module Google
456
456
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3RevisionRef]
457
457
  attr_accessor :revision_ref
458
458
 
459
+ # Identifies a document uniquely within the scope of a dataset in unmanaged
460
+ # option.
461
+ # Corresponds to the JSON property `unmanagedDocId`
462
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId]
463
+ attr_accessor :unmanaged_doc_id
464
+
459
465
  def initialize(**args)
460
466
  update!(**args)
461
467
  end
@@ -464,11 +470,12 @@ module Google
464
470
  def update!(**args)
465
471
  @gcs_managed_doc_id = args[:gcs_managed_doc_id] if args.key?(:gcs_managed_doc_id)
466
472
  @revision_ref = args[:revision_ref] if args.key?(:revision_ref)
473
+ @unmanaged_doc_id = args[:unmanaged_doc_id] if args.key?(:unmanaged_doc_id)
467
474
  end
468
475
  end
469
476
 
470
- # Identifies a document uniquely within the scope of a dataset in the Cloud
471
- # Storage option.
477
+ # Identifies a document uniquely within the scope of a dataset in user managed
478
+ # Cloud Storage option.
472
479
  class GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId
473
480
  include Google::Apis::Core::Hashable
474
481
 
@@ -493,6 +500,26 @@ module Google
493
500
  end
494
501
  end
495
502
 
503
+ # Identifies a document uniquely within the scope of a dataset in unmanaged
504
+ # option.
505
+ class GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId
506
+ include Google::Apis::Core::Hashable
507
+
508
+ # Required. The id of the document.
509
+ # Corresponds to the JSON property `docId`
510
+ # @return [String]
511
+ attr_accessor :doc_id
512
+
513
+ def initialize(**args)
514
+ update!(**args)
515
+ end
516
+
517
+ # Update properties of this object
518
+ def update!(**args)
519
+ @doc_id = args[:doc_id] if args.key?(:doc_id)
520
+ end
521
+ end
522
+
496
523
  # The long-running operation metadata for the EnableProcessor method.
497
524
  class GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata
498
525
  include Google::Apis::Core::Hashable
@@ -1010,6 +1037,63 @@ module Google
1010
1037
  end
1011
1038
  end
1012
1039
 
1040
+ # Metadata of the sample documents operation.
1041
+ class GoogleCloudDocumentaiUiv1beta3SampleDocumentsMetadata
1042
+ include Google::Apis::Core::Hashable
1043
+
1044
+ # The common metadata for long running operations.
1045
+ # Corresponds to the JSON property `commonMetadata`
1046
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata]
1047
+ attr_accessor :common_metadata
1048
+
1049
+ def initialize(**args)
1050
+ update!(**args)
1051
+ end
1052
+
1053
+ # Update properties of this object
1054
+ def update!(**args)
1055
+ @common_metadata = args[:common_metadata] if args.key?(:common_metadata)
1056
+ end
1057
+ end
1058
+
1059
+ # Response of the sample documents operation.
1060
+ class GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse
1061
+ include Google::Apis::Core::Hashable
1062
+
1063
+ # The result of the sampling process.
1064
+ # Corresponds to the JSON property `selectedDocuments`
1065
+ # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument>]
1066
+ attr_accessor :selected_documents
1067
+
1068
+ def initialize(**args)
1069
+ update!(**args)
1070
+ end
1071
+
1072
+ # Update properties of this object
1073
+ def update!(**args)
1074
+ @selected_documents = args[:selected_documents] if args.key?(:selected_documents)
1075
+ end
1076
+ end
1077
+
1078
+ #
1079
+ class GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument
1080
+ include Google::Apis::Core::Hashable
1081
+
1082
+ # An internal identifier for document.
1083
+ # Corresponds to the JSON property `documentId`
1084
+ # @return [String]
1085
+ attr_accessor :document_id
1086
+
1087
+ def initialize(**args)
1088
+ update!(**args)
1089
+ end
1090
+
1091
+ # Update properties of this object
1092
+ def update!(**args)
1093
+ @document_id = args[:document_id] if args.key?(:document_id)
1094
+ end
1095
+ end
1096
+
1013
1097
  # The long-running operation metadata for the SetDefaultProcessorVersion method.
1014
1098
  class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
1015
1099
  include Google::Apis::Core::Hashable
@@ -3004,18 +3088,18 @@ module Google
3004
3088
  include Google::Apis::Core::Hashable
3005
3089
 
3006
3090
  # Represents a color in the RGBA color space. This representation is designed
3007
- # for simplicity of conversion to/from color representations in various
3091
+ # for simplicity of conversion to and from color representations in various
3008
3092
  # languages over compactness. For example, the fields of this representation can
3009
3093
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
3010
3094
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
3011
3095
  # method in iOS; and, with just a little work, it can be easily formatted into a
3012
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
3096
+ # CSS `rgba()` string in JavaScript. This reference page does not have
3013
3097
  # information about the absolute color space that should be used to interpret
3014
- # the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
3098
+ # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
3015
3099
  # applications should assume the sRGB color space. When color equality needs to
3016
3100
  # be decided, implementations, unless documented otherwise, treat two colors as
3017
- # equal if all their red, green, blue, and alpha values each differ by at most
3018
- # 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
3101
+ # equal if all their red, green, blue, and alpha values each differ by at most `
3102
+ # 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
3019
3103
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
3020
3104
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
3021
3105
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -3121,18 +3205,18 @@ module Google
3121
3205
  alias_method :superscript?, :superscript
3122
3206
 
3123
3207
  # Represents a color in the RGBA color space. This representation is designed
3124
- # for simplicity of conversion to/from color representations in various
3208
+ # for simplicity of conversion to and from color representations in various
3125
3209
  # languages over compactness. For example, the fields of this representation can
3126
3210
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
3127
3211
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
3128
3212
  # method in iOS; and, with just a little work, it can be easily formatted into a
3129
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
3213
+ # CSS `rgba()` string in JavaScript. This reference page does not have
3130
3214
  # information about the absolute color space that should be used to interpret
3131
- # the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
3215
+ # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
3132
3216
  # applications should assume the sRGB color space. When color equality needs to
3133
3217
  # be decided, implementations, unless documented otherwise, treat two colors as
3134
- # equal if all their red, green, blue, and alpha values each differ by at most
3135
- # 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
3218
+ # equal if all their red, green, blue, and alpha values each differ by at most `
3219
+ # 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
3136
3220
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
3137
3221
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
3138
3222
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -3428,18 +3512,18 @@ module Google
3428
3512
  include Google::Apis::Core::Hashable
3429
3513
 
3430
3514
  # Represents a color in the RGBA color space. This representation is designed
3431
- # for simplicity of conversion to/from color representations in various
3515
+ # for simplicity of conversion to and from color representations in various
3432
3516
  # languages over compactness. For example, the fields of this representation can
3433
3517
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
3434
3518
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
3435
3519
  # method in iOS; and, with just a little work, it can be easily formatted into a
3436
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
3520
+ # CSS `rgba()` string in JavaScript. This reference page does not have
3437
3521
  # information about the absolute color space that should be used to interpret
3438
- # the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
3522
+ # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
3439
3523
  # applications should assume the sRGB color space. When color equality needs to
3440
3524
  # be decided, implementations, unless documented otherwise, treat two colors as
3441
- # equal if all their red, green, blue, and alpha values each differ by at most
3442
- # 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
3525
+ # equal if all their red, green, blue, and alpha values each differ by at most `
3526
+ # 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
3443
3527
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
3444
3528
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
3445
3529
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -3477,18 +3561,18 @@ module Google
3477
3561
  attr_accessor :background_color
3478
3562
 
3479
3563
  # Represents a color in the RGBA color space. This representation is designed
3480
- # for simplicity of conversion to/from color representations in various
3564
+ # for simplicity of conversion to and from color representations in various
3481
3565
  # languages over compactness. For example, the fields of this representation can
3482
3566
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
3483
3567
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
3484
3568
  # method in iOS; and, with just a little work, it can be easily formatted into a
3485
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
3569
+ # CSS `rgba()` string in JavaScript. This reference page does not have
3486
3570
  # information about the absolute color space that should be used to interpret
3487
- # the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
3571
+ # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
3488
3572
  # applications should assume the sRGB color space. When color equality needs to
3489
3573
  # be decided, implementations, unless documented otherwise, treat two colors as
3490
- # equal if all their red, green, blue, and alpha values each differ by at most
3491
- # 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
3574
+ # equal if all their red, green, blue, and alpha values each differ by at most `
3575
+ # 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
3492
3576
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
3493
3577
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
3494
3578
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -5153,18 +5237,18 @@ module Google
5153
5237
  include Google::Apis::Core::Hashable
5154
5238
 
5155
5239
  # Represents a color in the RGBA color space. This representation is designed
5156
- # for simplicity of conversion to/from color representations in various
5240
+ # for simplicity of conversion to and from color representations in various
5157
5241
  # languages over compactness. For example, the fields of this representation can
5158
5242
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
5159
5243
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
5160
5244
  # method in iOS; and, with just a little work, it can be easily formatted into a
5161
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
5245
+ # CSS `rgba()` string in JavaScript. This reference page does not have
5162
5246
  # information about the absolute color space that should be used to interpret
5163
- # the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
5247
+ # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
5164
5248
  # applications should assume the sRGB color space. When color equality needs to
5165
5249
  # be decided, implementations, unless documented otherwise, treat two colors as
5166
- # equal if all their red, green, blue, and alpha values each differ by at most
5167
- # 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
5250
+ # equal if all their red, green, blue, and alpha values each differ by at most `
5251
+ # 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
5168
5252
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
5169
5253
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
5170
5254
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -5270,18 +5354,18 @@ module Google
5270
5354
  alias_method :superscript?, :superscript
5271
5355
 
5272
5356
  # Represents a color in the RGBA color space. This representation is designed
5273
- # for simplicity of conversion to/from color representations in various
5357
+ # for simplicity of conversion to and from color representations in various
5274
5358
  # languages over compactness. For example, the fields of this representation can
5275
5359
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
5276
5360
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
5277
5361
  # method in iOS; and, with just a little work, it can be easily formatted into a
5278
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
5362
+ # CSS `rgba()` string in JavaScript. This reference page does not have
5279
5363
  # information about the absolute color space that should be used to interpret
5280
- # the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
5364
+ # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
5281
5365
  # applications should assume the sRGB color space. When color equality needs to
5282
5366
  # be decided, implementations, unless documented otherwise, treat two colors as
5283
- # equal if all their red, green, blue, and alpha values each differ by at most
5284
- # 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
5367
+ # equal if all their red, green, blue, and alpha values each differ by at most `
5368
+ # 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
5285
5369
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
5286
5370
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
5287
5371
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -5577,18 +5661,18 @@ module Google
5577
5661
  include Google::Apis::Core::Hashable
5578
5662
 
5579
5663
  # Represents a color in the RGBA color space. This representation is designed
5580
- # for simplicity of conversion to/from color representations in various
5664
+ # for simplicity of conversion to and from color representations in various
5581
5665
  # languages over compactness. For example, the fields of this representation can
5582
5666
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
5583
5667
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
5584
5668
  # method in iOS; and, with just a little work, it can be easily formatted into a
5585
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
5669
+ # CSS `rgba()` string in JavaScript. This reference page does not have
5586
5670
  # information about the absolute color space that should be used to interpret
5587
- # the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
5671
+ # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
5588
5672
  # applications should assume the sRGB color space. When color equality needs to
5589
5673
  # be decided, implementations, unless documented otherwise, treat two colors as
5590
- # equal if all their red, green, blue, and alpha values each differ by at most
5591
- # 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
5674
+ # equal if all their red, green, blue, and alpha values each differ by at most `
5675
+ # 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
5592
5676
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
5593
5677
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
5594
5678
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -5626,18 +5710,18 @@ module Google
5626
5710
  attr_accessor :background_color
5627
5711
 
5628
5712
  # Represents a color in the RGBA color space. This representation is designed
5629
- # for simplicity of conversion to/from color representations in various
5713
+ # for simplicity of conversion to and from color representations in various
5630
5714
  # languages over compactness. For example, the fields of this representation can
5631
5715
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
5632
5716
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
5633
5717
  # method in iOS; and, with just a little work, it can be easily formatted into a
5634
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
5718
+ # CSS `rgba()` string in JavaScript. This reference page does not have
5635
5719
  # information about the absolute color space that should be used to interpret
5636
- # the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
5720
+ # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
5637
5721
  # applications should assume the sRGB color space. When color equality needs to
5638
5722
  # be decided, implementations, unless documented otherwise, treat two colors as
5639
- # equal if all their red, green, blue, and alpha values each differ by at most
5640
- # 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
5723
+ # equal if all their red, green, blue, and alpha values each differ by at most `
5724
+ # 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
5641
5725
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
5642
5726
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
5643
5727
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -6402,6 +6486,153 @@ module Google
6402
6486
  end
6403
6487
  end
6404
6488
 
6489
+ # A singleton resource under a `Processor` which configs a collection of
6490
+ # documents.
6491
+ class GoogleCloudDocumentaiV1beta3Dataset
6492
+ include Google::Apis::Core::Hashable
6493
+
6494
+ # Config specific to the Document Warehouse-based implementation.
6495
+ # Corresponds to the JSON property `documentWarehouseConfig`
6496
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig]
6497
+ attr_accessor :document_warehouse_config
6498
+
6499
+ # Config specific to the GCS-based implementation.
6500
+ # Corresponds to the JSON property `gcsManagedConfig`
6501
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetGcsManagedConfig]
6502
+ attr_accessor :gcs_managed_config
6503
+
6504
+ # Dataset resource name. Format: `projects/`project`/locations/`location`/
6505
+ # processors/`processor`/dataset`
6506
+ # Corresponds to the JSON property `name`
6507
+ # @return [String]
6508
+ attr_accessor :name
6509
+
6510
+ # Config specific to spanner based indexing.
6511
+ # Corresponds to the JSON property `spannerIndexingConfig`
6512
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig]
6513
+ attr_accessor :spanner_indexing_config
6514
+
6515
+ # Required. State of the dataset. Will be ignored when updating dataset.
6516
+ # Corresponds to the JSON property `state`
6517
+ # @return [String]
6518
+ attr_accessor :state
6519
+
6520
+ # Config specific to unmanaged config
6521
+ # Corresponds to the JSON property `unmanagedDatasetConfig`
6522
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig]
6523
+ attr_accessor :unmanaged_dataset_config
6524
+
6525
+ def initialize(**args)
6526
+ update!(**args)
6527
+ end
6528
+
6529
+ # Update properties of this object
6530
+ def update!(**args)
6531
+ @document_warehouse_config = args[:document_warehouse_config] if args.key?(:document_warehouse_config)
6532
+ @gcs_managed_config = args[:gcs_managed_config] if args.key?(:gcs_managed_config)
6533
+ @name = args[:name] if args.key?(:name)
6534
+ @spanner_indexing_config = args[:spanner_indexing_config] if args.key?(:spanner_indexing_config)
6535
+ @state = args[:state] if args.key?(:state)
6536
+ @unmanaged_dataset_config = args[:unmanaged_dataset_config] if args.key?(:unmanaged_dataset_config)
6537
+ end
6538
+ end
6539
+
6540
+ # Config specific to the Document Warehouse-based implementation.
6541
+ class GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig
6542
+ include Google::Apis::Core::Hashable
6543
+
6544
+ # Output only. The collection in Document Warehouse associated with the dataset.
6545
+ # Corresponds to the JSON property `collection`
6546
+ # @return [String]
6547
+ attr_accessor :collection
6548
+
6549
+ # Output only. The schema in Document Warehouse associated with the dataset.
6550
+ # Corresponds to the JSON property `schema`
6551
+ # @return [String]
6552
+ attr_accessor :schema
6553
+
6554
+ def initialize(**args)
6555
+ update!(**args)
6556
+ end
6557
+
6558
+ # Update properties of this object
6559
+ def update!(**args)
6560
+ @collection = args[:collection] if args.key?(:collection)
6561
+ @schema = args[:schema] if args.key?(:schema)
6562
+ end
6563
+ end
6564
+
6565
+ # Config specific to the GCS-based implementation.
6566
+ class GoogleCloudDocumentaiV1beta3DatasetGcsManagedConfig
6567
+ include Google::Apis::Core::Hashable
6568
+
6569
+ # Specifies all documents on Cloud Storage with a common prefix.
6570
+ # Corresponds to the JSON property `gcsPrefix`
6571
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GcsPrefix]
6572
+ attr_accessor :gcs_prefix
6573
+
6574
+ def initialize(**args)
6575
+ update!(**args)
6576
+ end
6577
+
6578
+ # Update properties of this object
6579
+ def update!(**args)
6580
+ @gcs_prefix = args[:gcs_prefix] if args.key?(:gcs_prefix)
6581
+ end
6582
+ end
6583
+
6584
+ # Dataset Schema.
6585
+ class GoogleCloudDocumentaiV1beta3DatasetSchema
6586
+ include Google::Apis::Core::Hashable
6587
+
6588
+ # The schema defines the output of the processed document by a processor.
6589
+ # Corresponds to the JSON property `documentSchema`
6590
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema]
6591
+ attr_accessor :document_schema
6592
+
6593
+ # Dataset schema resource name. Format: `projects/`project`/locations/`location`/
6594
+ # processors/`processor`/dataset/datasetSchema`
6595
+ # Corresponds to the JSON property `name`
6596
+ # @return [String]
6597
+ attr_accessor :name
6598
+
6599
+ def initialize(**args)
6600
+ update!(**args)
6601
+ end
6602
+
6603
+ # Update properties of this object
6604
+ def update!(**args)
6605
+ @document_schema = args[:document_schema] if args.key?(:document_schema)
6606
+ @name = args[:name] if args.key?(:name)
6607
+ end
6608
+ end
6609
+
6610
+ # Config specific to spanner based indexing.
6611
+ class GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig
6612
+ include Google::Apis::Core::Hashable
6613
+
6614
+ def initialize(**args)
6615
+ update!(**args)
6616
+ end
6617
+
6618
+ # Update properties of this object
6619
+ def update!(**args)
6620
+ end
6621
+ end
6622
+
6623
+ # Config specific to unmanaged config
6624
+ class GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig
6625
+ include Google::Apis::Core::Hashable
6626
+
6627
+ def initialize(**args)
6628
+ update!(**args)
6629
+ end
6630
+
6631
+ # Update properties of this object
6632
+ def update!(**args)
6633
+ end
6634
+ end
6635
+
6405
6636
  # The long-running operation metadata for the DeleteProcessor method.
6406
6637
  class GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata
6407
6638
  include Google::Apis::Core::Hashable
@@ -7734,18 +7965,18 @@ module Google
7734
7965
  include Google::Apis::Core::Hashable
7735
7966
 
7736
7967
  # Represents a color in the RGBA color space. This representation is designed
7737
- # for simplicity of conversion to/from color representations in various
7968
+ # for simplicity of conversion to and from color representations in various
7738
7969
  # languages over compactness. For example, the fields of this representation can
7739
7970
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
7740
7971
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
7741
7972
  # method in iOS; and, with just a little work, it can be easily formatted into a
7742
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
7973
+ # CSS `rgba()` string in JavaScript. This reference page does not have
7743
7974
  # information about the absolute color space that should be used to interpret
7744
- # the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
7975
+ # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
7745
7976
  # applications should assume the sRGB color space. When color equality needs to
7746
7977
  # be decided, implementations, unless documented otherwise, treat two colors as
7747
- # equal if all their red, green, blue, and alpha values each differ by at most
7748
- # 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
7978
+ # equal if all their red, green, blue, and alpha values each differ by at most `
7979
+ # 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
7749
7980
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
7750
7981
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
7751
7982
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -7851,18 +8082,18 @@ module Google
7851
8082
  alias_method :superscript?, :superscript
7852
8083
 
7853
8084
  # Represents a color in the RGBA color space. This representation is designed
7854
- # for simplicity of conversion to/from color representations in various
8085
+ # for simplicity of conversion to and from color representations in various
7855
8086
  # languages over compactness. For example, the fields of this representation can
7856
8087
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
7857
8088
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
7858
8089
  # method in iOS; and, with just a little work, it can be easily formatted into a
7859
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
8090
+ # CSS `rgba()` string in JavaScript. This reference page does not have
7860
8091
  # information about the absolute color space that should be used to interpret
7861
- # the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
8092
+ # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
7862
8093
  # applications should assume the sRGB color space. When color equality needs to
7863
8094
  # be decided, implementations, unless documented otherwise, treat two colors as
7864
- # equal if all their red, green, blue, and alpha values each differ by at most
7865
- # 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
8095
+ # equal if all their red, green, blue, and alpha values each differ by at most `
8096
+ # 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
7866
8097
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
7867
8098
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
7868
8099
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -8173,6 +8404,11 @@ module Google
8173
8404
  # @return [String]
8174
8405
  attr_accessor :display_name
8175
8406
 
8407
+ # Metadata about an entity type.
8408
+ # Corresponds to the JSON property `entityTypeMetadata`
8409
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EntityTypeMetadata]
8410
+ attr_accessor :entity_type_metadata
8411
+
8176
8412
  # Defines the a list of enum values.
8177
8413
  # Corresponds to the JSON property `enumValues`
8178
8414
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeEnumValues]
@@ -8203,6 +8439,7 @@ module Google
8203
8439
  def update!(**args)
8204
8440
  @base_types = args[:base_types] if args.key?(:base_types)
8205
8441
  @display_name = args[:display_name] if args.key?(:display_name)
8442
+ @entity_type_metadata = args[:entity_type_metadata] if args.key?(:entity_type_metadata)
8206
8443
  @enum_values = args[:enum_values] if args.key?(:enum_values)
8207
8444
  @name = args[:name] if args.key?(:name)
8208
8445
  @properties = args[:properties] if args.key?(:properties)
@@ -8243,6 +8480,11 @@ module Google
8243
8480
  # @return [String]
8244
8481
  attr_accessor :occurrence_type
8245
8482
 
8483
+ # Metadata about a property.
8484
+ # Corresponds to the JSON property `propertyMetadata`
8485
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3PropertyMetadata]
8486
+ attr_accessor :property_metadata
8487
+
8246
8488
  # A reference to the value type of the property. This type is subject to the
8247
8489
  # same conventions as the `Entity.base_types` field.
8248
8490
  # Corresponds to the JSON property `valueType`
@@ -8257,6 +8499,7 @@ module Google
8257
8499
  def update!(**args)
8258
8500
  @name = args[:name] if args.key?(:name)
8259
8501
  @occurrence_type = args[:occurrence_type] if args.key?(:occurrence_type)
8502
+ @property_metadata = args[:property_metadata] if args.key?(:property_metadata)
8260
8503
  @value_type = args[:value_type] if args.key?(:value_type)
8261
8504
  end
8262
8505
  end
@@ -8345,18 +8588,18 @@ module Google
8345
8588
  include Google::Apis::Core::Hashable
8346
8589
 
8347
8590
  # Represents a color in the RGBA color space. This representation is designed
8348
- # for simplicity of conversion to/from color representations in various
8591
+ # for simplicity of conversion to and from color representations in various
8349
8592
  # languages over compactness. For example, the fields of this representation can
8350
8593
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
8351
8594
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
8352
8595
  # method in iOS; and, with just a little work, it can be easily formatted into a
8353
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
8596
+ # CSS `rgba()` string in JavaScript. This reference page does not have
8354
8597
  # information about the absolute color space that should be used to interpret
8355
- # the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
8598
+ # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
8356
8599
  # applications should assume the sRGB color space. When color equality needs to
8357
8600
  # be decided, implementations, unless documented otherwise, treat two colors as
8358
- # equal if all their red, green, blue, and alpha values each differ by at most
8359
- # 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
8601
+ # equal if all their red, green, blue, and alpha values each differ by at most `
8602
+ # 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
8360
8603
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
8361
8604
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
8362
8605
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -8394,18 +8637,18 @@ module Google
8394
8637
  attr_accessor :background_color
8395
8638
 
8396
8639
  # Represents a color in the RGBA color space. This representation is designed
8397
- # for simplicity of conversion to/from color representations in various
8640
+ # for simplicity of conversion to and from color representations in various
8398
8641
  # languages over compactness. For example, the fields of this representation can
8399
8642
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
8400
8643
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
8401
8644
  # method in iOS; and, with just a little work, it can be easily formatted into a
8402
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
8645
+ # CSS `rgba()` string in JavaScript. This reference page does not have
8403
8646
  # information about the absolute color space that should be used to interpret
8404
- # the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
8647
+ # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
8405
8648
  # applications should assume the sRGB color space. When color equality needs to
8406
8649
  # be decided, implementations, unless documented otherwise, treat two colors as
8407
- # equal if all their red, green, blue, and alpha values each differ by at most
8408
- # 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
8650
+ # equal if all their red, green, blue, and alpha values each differ by at most `
8651
+ # 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
8409
8652
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
8410
8653
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
8411
8654
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -8648,6 +8891,26 @@ module Google
8648
8891
  end
8649
8892
  end
8650
8893
 
8894
+ # Metadata about an entity type.
8895
+ class GoogleCloudDocumentaiV1beta3EntityTypeMetadata
8896
+ include Google::Apis::Core::Hashable
8897
+
8898
+ # Whether the entity type should be considered as "inactive".
8899
+ # Corresponds to the JSON property `inactive`
8900
+ # @return [Boolean]
8901
+ attr_accessor :inactive
8902
+ alias_method :inactive?, :inactive
8903
+
8904
+ def initialize(**args)
8905
+ update!(**args)
8906
+ end
8907
+
8908
+ # Update properties of this object
8909
+ def update!(**args)
8910
+ @inactive = args[:inactive] if args.key?(:inactive)
8911
+ end
8912
+ end
8913
+
8651
8914
  # Metadata of the EvaluateProcessorVersion method.
8652
8915
  class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionMetadata
8653
8916
  include Google::Apis::Core::Hashable
@@ -9145,7 +9408,8 @@ module Google
9145
9408
  class GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequest
9146
9409
  include Google::Apis::Core::Hashable
9147
9410
 
9148
- # The source processor version to import from.
9411
+ # The source processor version to import from. The source processor version and
9412
+ # destination processor need to be in the same environment and region.
9149
9413
  # Corresponds to the JSON property `processorVersionSource`
9150
9414
  # @return [String]
9151
9415
  attr_accessor :processor_version_source
@@ -9753,6 +10017,26 @@ module Google
9753
10017
  end
9754
10018
  end
9755
10019
 
10020
+ # Metadata about a property.
10021
+ class GoogleCloudDocumentaiV1beta3PropertyMetadata
10022
+ include Google::Apis::Core::Hashable
10023
+
10024
+ # Whether the property should be considered as "inactive".
10025
+ # Corresponds to the JSON property `inactive`
10026
+ # @return [Boolean]
10027
+ attr_accessor :inactive
10028
+ alias_method :inactive?, :inactive
10029
+
10030
+ def initialize(**args)
10031
+ update!(**args)
10032
+ end
10033
+
10034
+ # Update properties of this object
10035
+ def update!(**args)
10036
+ @inactive = args[:inactive] if args.key?(:inactive)
10037
+ end
10038
+ end
10039
+
9756
10040
  # Payload message of raw document content (bytes).
9757
10041
  class GoogleCloudDocumentaiV1beta3RawDocument
9758
10042
  include Google::Apis::Core::Hashable
@@ -10411,18 +10695,18 @@ module Google
10411
10695
  end
10412
10696
 
10413
10697
  # Represents a color in the RGBA color space. This representation is designed
10414
- # for simplicity of conversion to/from color representations in various
10698
+ # for simplicity of conversion to and from color representations in various
10415
10699
  # languages over compactness. For example, the fields of this representation can
10416
10700
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
10417
10701
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
10418
10702
  # method in iOS; and, with just a little work, it can be easily formatted into a
10419
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
10703
+ # CSS `rgba()` string in JavaScript. This reference page does not have
10420
10704
  # information about the absolute color space that should be used to interpret
10421
- # the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
10705
+ # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
10422
10706
  # applications should assume the sRGB color space. When color equality needs to
10423
10707
  # be decided, implementations, unless documented otherwise, treat two colors as
10424
- # equal if all their red, green, blue, and alpha values each differ by at most
10425
- # 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
10708
+ # equal if all their red, green, blue, and alpha values each differ by at most `
10709
+ # 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
10426
10710
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
10427
10711
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
10428
10712
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DocumentaiV1beta3
18
18
  # Version of the google-apis-documentai_v1beta3 gem
19
- GEM_VERSION = "0.72.0"
19
+ GEM_VERSION = "0.74.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230427"
25
+ REVISION = "20230526"
26
26
  end
27
27
  end
28
28
  end
@@ -142,6 +142,12 @@ module Google
142
142
  include Google::Apis::Core::JsonObjectSupport
143
143
  end
144
144
 
145
+ class GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
145
151
  class GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata
146
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
153
 
@@ -268,6 +274,24 @@ module Google
268
274
  include Google::Apis::Core::JsonObjectSupport
269
275
  end
270
276
 
277
+ class GoogleCloudDocumentaiUiv1beta3SampleDocumentsMetadata
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
271
295
  class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
272
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
273
297
 
@@ -1114,6 +1138,42 @@ module Google
1114
1138
  include Google::Apis::Core::JsonObjectSupport
1115
1139
  end
1116
1140
 
1141
+ class GoogleCloudDocumentaiV1beta3Dataset
1142
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1143
+
1144
+ include Google::Apis::Core::JsonObjectSupport
1145
+ end
1146
+
1147
+ class GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig
1148
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1149
+
1150
+ include Google::Apis::Core::JsonObjectSupport
1151
+ end
1152
+
1153
+ class GoogleCloudDocumentaiV1beta3DatasetGcsManagedConfig
1154
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1155
+
1156
+ include Google::Apis::Core::JsonObjectSupport
1157
+ end
1158
+
1159
+ class GoogleCloudDocumentaiV1beta3DatasetSchema
1160
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1161
+
1162
+ include Google::Apis::Core::JsonObjectSupport
1163
+ end
1164
+
1165
+ class GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig
1166
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1167
+
1168
+ include Google::Apis::Core::JsonObjectSupport
1169
+ end
1170
+
1171
+ class GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig
1172
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1173
+
1174
+ include Google::Apis::Core::JsonObjectSupport
1175
+ end
1176
+
1117
1177
  class GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata
1118
1178
  class Representation < Google::Apis::Core::JsonRepresentation; end
1119
1179
 
@@ -1450,6 +1510,12 @@ module Google
1450
1510
  include Google::Apis::Core::JsonObjectSupport
1451
1511
  end
1452
1512
 
1513
+ class GoogleCloudDocumentaiV1beta3EntityTypeMetadata
1514
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1515
+
1516
+ include Google::Apis::Core::JsonObjectSupport
1517
+ end
1518
+
1453
1519
  class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionMetadata
1454
1520
  class Representation < Google::Apis::Core::JsonRepresentation; end
1455
1521
 
@@ -1642,6 +1708,12 @@ module Google
1642
1708
  include Google::Apis::Core::JsonObjectSupport
1643
1709
  end
1644
1710
 
1711
+ class GoogleCloudDocumentaiV1beta3PropertyMetadata
1712
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1713
+
1714
+ include Google::Apis::Core::JsonObjectSupport
1715
+ end
1716
+
1645
1717
  class GoogleCloudDocumentaiV1beta3RawDocument
1646
1718
  class Representation < Google::Apis::Core::JsonRepresentation; end
1647
1719
 
@@ -1970,6 +2042,8 @@ module Google
1970
2042
 
1971
2043
  property :revision_ref, as: 'revisionRef', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3RevisionRef, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3RevisionRef::Representation
1972
2044
 
2045
+ property :unmanaged_doc_id, as: 'unmanagedDocId', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId::Representation
2046
+
1973
2047
  end
1974
2048
  end
1975
2049
 
@@ -1981,6 +2055,13 @@ module Google
1981
2055
  end
1982
2056
  end
1983
2057
 
2058
+ class GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId
2059
+ # @private
2060
+ class Representation < Google::Apis::Core::JsonRepresentation
2061
+ property :doc_id, as: 'docId'
2062
+ end
2063
+ end
2064
+
1984
2065
  class GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata
1985
2066
  # @private
1986
2067
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2162,6 +2243,29 @@ module Google
2162
2243
  end
2163
2244
  end
2164
2245
 
2246
+ class GoogleCloudDocumentaiUiv1beta3SampleDocumentsMetadata
2247
+ # @private
2248
+ class Representation < Google::Apis::Core::JsonRepresentation
2249
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
2250
+
2251
+ end
2252
+ end
2253
+
2254
+ class GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse
2255
+ # @private
2256
+ class Representation < Google::Apis::Core::JsonRepresentation
2257
+ collection :selected_documents, as: 'selectedDocuments', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument::Representation
2258
+
2259
+ end
2260
+ end
2261
+
2262
+ class GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument
2263
+ # @private
2264
+ class Representation < Google::Apis::Core::JsonRepresentation
2265
+ property :document_id, as: 'documentId'
2266
+ end
2267
+ end
2268
+
2165
2269
  class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
2166
2270
  # @private
2167
2271
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3696,6 +3800,59 @@ module Google
3696
3800
  end
3697
3801
  end
3698
3802
 
3803
+ class GoogleCloudDocumentaiV1beta3Dataset
3804
+ # @private
3805
+ class Representation < Google::Apis::Core::JsonRepresentation
3806
+ property :document_warehouse_config, as: 'documentWarehouseConfig', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig::Representation
3807
+
3808
+ property :gcs_managed_config, as: 'gcsManagedConfig', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetGcsManagedConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetGcsManagedConfig::Representation
3809
+
3810
+ property :name, as: 'name'
3811
+ property :spanner_indexing_config, as: 'spannerIndexingConfig', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig::Representation
3812
+
3813
+ property :state, as: 'state'
3814
+ property :unmanaged_dataset_config, as: 'unmanagedDatasetConfig', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig::Representation
3815
+
3816
+ end
3817
+ end
3818
+
3819
+ class GoogleCloudDocumentaiV1beta3DatasetDocumentWarehouseConfig
3820
+ # @private
3821
+ class Representation < Google::Apis::Core::JsonRepresentation
3822
+ property :collection, as: 'collection'
3823
+ property :schema, as: 'schema'
3824
+ end
3825
+ end
3826
+
3827
+ class GoogleCloudDocumentaiV1beta3DatasetGcsManagedConfig
3828
+ # @private
3829
+ class Representation < Google::Apis::Core::JsonRepresentation
3830
+ property :gcs_prefix, as: 'gcsPrefix', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GcsPrefix, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GcsPrefix::Representation
3831
+
3832
+ end
3833
+ end
3834
+
3835
+ class GoogleCloudDocumentaiV1beta3DatasetSchema
3836
+ # @private
3837
+ class Representation < Google::Apis::Core::JsonRepresentation
3838
+ property :document_schema, as: 'documentSchema', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema::Representation
3839
+
3840
+ property :name, as: 'name'
3841
+ end
3842
+ end
3843
+
3844
+ class GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig
3845
+ # @private
3846
+ class Representation < Google::Apis::Core::JsonRepresentation
3847
+ end
3848
+ end
3849
+
3850
+ class GoogleCloudDocumentaiV1beta3DatasetUnmanagedDatasetConfig
3851
+ # @private
3852
+ class Representation < Google::Apis::Core::JsonRepresentation
3853
+ end
3854
+ end
3855
+
3699
3856
  class GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata
3700
3857
  # @private
3701
3858
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4205,6 +4362,8 @@ module Google
4205
4362
  class Representation < Google::Apis::Core::JsonRepresentation
4206
4363
  collection :base_types, as: 'baseTypes'
4207
4364
  property :display_name, as: 'displayName'
4365
+ property :entity_type_metadata, as: 'entityTypeMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EntityTypeMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3EntityTypeMetadata::Representation
4366
+
4208
4367
  property :enum_values, as: 'enumValues', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeEnumValues, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeEnumValues::Representation
4209
4368
 
4210
4369
  property :name, as: 'name'
@@ -4225,6 +4384,8 @@ module Google
4225
4384
  class Representation < Google::Apis::Core::JsonRepresentation
4226
4385
  property :name, as: 'name'
4227
4386
  property :occurrence_type, as: 'occurrenceType'
4387
+ property :property_metadata, as: 'propertyMetadata', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3PropertyMetadata, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3PropertyMetadata::Representation
4388
+
4228
4389
  property :value_type, as: 'valueType'
4229
4390
  end
4230
4391
  end
@@ -4322,6 +4483,13 @@ module Google
4322
4483
  end
4323
4484
  end
4324
4485
 
4486
+ class GoogleCloudDocumentaiV1beta3EntityTypeMetadata
4487
+ # @private
4488
+ class Representation < Google::Apis::Core::JsonRepresentation
4489
+ property :inactive, as: 'inactive'
4490
+ end
4491
+ end
4492
+
4325
4493
  class GoogleCloudDocumentaiV1beta3EvaluateProcessorVersionMetadata
4326
4494
  # @private
4327
4495
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4647,6 +4815,13 @@ module Google
4647
4815
  end
4648
4816
  end
4649
4817
 
4818
+ class GoogleCloudDocumentaiV1beta3PropertyMetadata
4819
+ # @private
4820
+ class Representation < Google::Apis::Core::JsonRepresentation
4821
+ property :inactive, as: 'inactive'
4822
+ end
4823
+ end
4824
+
4650
4825
  class GoogleCloudDocumentaiV1beta3RawDocument
4651
4826
  # @private
4652
4827
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -643,6 +643,114 @@ module Google
643
643
  execute_or_queue_command(command, &block)
644
644
  end
645
645
 
646
+ # Updates metadata associated with a dataset.
647
+ # @param [String] name
648
+ # Dataset resource name. Format: `projects/`project`/locations/`location`/
649
+ # processors/`processor`/dataset`
650
+ # @param [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Dataset] google_cloud_documentai_v1beta3_dataset_object
651
+ # @param [String] update_mask
652
+ # The update mask applies to the resource.
653
+ # @param [String] fields
654
+ # Selector specifying which fields to include in a partial response.
655
+ # @param [String] quota_user
656
+ # Available to use for quota purposes for server-side applications. Can be any
657
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
658
+ # @param [Google::Apis::RequestOptions] options
659
+ # Request-specific options
660
+ #
661
+ # @yield [result, err] Result & error if block supplied
662
+ # @yieldparam result [Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation] parsed result object
663
+ # @yieldparam err [StandardError] error object if request failed
664
+ #
665
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation]
666
+ #
667
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
668
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
669
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
670
+ def update_project_location_processor_dataset(name, google_cloud_documentai_v1beta3_dataset_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
671
+ command = make_simple_command(:patch, 'v1beta3/{+name}', options)
672
+ command.request_representation = Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Dataset::Representation
673
+ command.request_object = google_cloud_documentai_v1beta3_dataset_object
674
+ command.response_representation = Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation::Representation
675
+ command.response_class = Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation
676
+ command.params['name'] = name unless name.nil?
677
+ command.query['updateMask'] = update_mask unless update_mask.nil?
678
+ command.query['fields'] = fields unless fields.nil?
679
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
680
+ execute_or_queue_command(command, &block)
681
+ end
682
+
683
+ # Gets the DatasetSchema of a Dataset.
684
+ # @param [String] name
685
+ # Required. The dataset schema resource name. Format: projects/`project`/
686
+ # locations/`location`/processors/`processor`/dataset/datasetSchema
687
+ # @param [Boolean] visible_fields_only
688
+ # If set, only returns the visible fields of the schema.
689
+ # @param [String] fields
690
+ # Selector specifying which fields to include in a partial response.
691
+ # @param [String] quota_user
692
+ # Available to use for quota purposes for server-side applications. Can be any
693
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
694
+ # @param [Google::Apis::RequestOptions] options
695
+ # Request-specific options
696
+ #
697
+ # @yield [result, err] Result & error if block supplied
698
+ # @yieldparam result [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetSchema] parsed result object
699
+ # @yieldparam err [StandardError] error object if request failed
700
+ #
701
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetSchema]
702
+ #
703
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
704
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
705
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
706
+ def get_project_location_processor_dataset_dataset_schema(name, visible_fields_only: nil, fields: nil, quota_user: nil, options: nil, &block)
707
+ command = make_simple_command(:get, 'v1beta3/{+name}', options)
708
+ command.response_representation = Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetSchema::Representation
709
+ command.response_class = Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetSchema
710
+ command.params['name'] = name unless name.nil?
711
+ command.query['visibleFieldsOnly'] = visible_fields_only unless visible_fields_only.nil?
712
+ command.query['fields'] = fields unless fields.nil?
713
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
714
+ execute_or_queue_command(command, &block)
715
+ end
716
+
717
+ # Updates a DatasetSchema.
718
+ # @param [String] name
719
+ # Dataset schema resource name. Format: `projects/`project`/locations/`location`/
720
+ # processors/`processor`/dataset/datasetSchema`
721
+ # @param [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetSchema] google_cloud_documentai_v1beta3_dataset_schema_object
722
+ # @param [String] update_mask
723
+ # The update mask applies to the resource.
724
+ # @param [String] fields
725
+ # Selector specifying which fields to include in a partial response.
726
+ # @param [String] quota_user
727
+ # Available to use for quota purposes for server-side applications. Can be any
728
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
729
+ # @param [Google::Apis::RequestOptions] options
730
+ # Request-specific options
731
+ #
732
+ # @yield [result, err] Result & error if block supplied
733
+ # @yieldparam result [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetSchema] parsed result object
734
+ # @yieldparam err [StandardError] error object if request failed
735
+ #
736
+ # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetSchema]
737
+ #
738
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
739
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
740
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
741
+ def update_project_location_processor_dataset_dataset_schema(name, google_cloud_documentai_v1beta3_dataset_schema_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
742
+ command = make_simple_command(:patch, 'v1beta3/{+name}', options)
743
+ command.request_representation = Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetSchema::Representation
744
+ command.request_object = google_cloud_documentai_v1beta3_dataset_schema_object
745
+ command.response_representation = Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetSchema::Representation
746
+ command.response_class = Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetSchema
747
+ command.params['name'] = name unless name.nil?
748
+ command.query['updateMask'] = update_mask unless update_mask.nil?
749
+ command.query['fields'] = fields unless fields.nil?
750
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
751
+ execute_or_queue_command(command, &block)
752
+ end
753
+
646
754
  # Send a document for Human Review. The input document should be processed by
647
755
  # the specified processor.
648
756
  # @param [String] human_review_config
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-documentai_v1beta3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.72.0
4
+ version: 0.74.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: 2023-05-14 00:00:00.000000000 Z
11
+ date: 2023-06-04 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_v1beta3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.72.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.74.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta3
63
63
  post_install_message:
64
64
  rdoc_options: []