google-apis-documentai_v1 0.66.0 → 0.68.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: 4df5a3ef0f1ca3e58a9e7d258223632bb763a42c3ac760982d5429d8d6c8a939
4
- data.tar.gz: 8a9a0e1ee4ac484294cc81e84c87ce328f96ea9399074d7007654e8da20287b5
3
+ metadata.gz: 7552c94efe3e692cf32144aa0630cbc1f5c947b20e8b785c4aaebd408404ee8a
4
+ data.tar.gz: d8c395ee20a009a0eed46481a6d155a032cfa5e3fd75ba752cfa28b3bd1d4927
5
5
  SHA512:
6
- metadata.gz: 5be00f974fc7eec1cf57781823239788f7a6de59af402143124959c6b1519e055b6f21a115cda1061f57cacdc81274278c6fe44f9605f3e6d8948b15c81d9235
7
- data.tar.gz: e934943f6b3522a09212c452cdc7e64392c28c2dab9876fc778e5e84bfeac51e786be925d2cee1e6598be4a04d2fb21c15a4e9750fd26598fbbb659713af42ae
6
+ metadata.gz: 4a156e5df4624f14df2e2825986a58b157306ce9c1f6527ca897a64127edd6e44d8e6fee54de29b2c1dc3a8ea61e27fc77ab85e04c28e791e4affea294d6f65e
7
+ data.tar.gz: 54ae25281dd53219bb45036fa5ba03c85e61c245d199dd51e9d18c13244c89a1a757378f997be5f51d9223cbc42c6523570ec002a94d0dab9603f42d33b1adf2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.68.0 (2023-06-25)
4
+
5
+ * Regenerated from discovery document revision 20230619
6
+
7
+ ### v0.67.0 (2023-06-18)
8
+
9
+ * Regenerated from discovery document revision 20230609
10
+
3
11
  ### v0.66.0 (2023-06-11)
4
12
 
5
13
  * Regenerated from discovery document revision 20230605
@@ -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 user managed
449
- # Cloud Storage option.
448
+ # Identifies a document uniquely within the scope of a dataset in the user-
449
+ # managed Cloud Storage option.
450
450
  # Corresponds to the JSON property `gcsManagedDocId`
451
451
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId]
452
452
  attr_accessor :gcs_managed_doc_id
@@ -474,8 +474,8 @@ module Google
474
474
  end
475
475
  end
476
476
 
477
- # Identifies a document uniquely within the scope of a dataset in user managed
478
- # Cloud Storage option.
477
+ # Identifies a document uniquely within the scope of a dataset in the user-
478
+ # managed Cloud Storage option.
479
479
  class GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId
480
480
  include Google::Apis::Core::Hashable
481
481
 
@@ -484,7 +484,7 @@ module Google
484
484
  # @return [String]
485
485
  attr_accessor :cw_doc_id
486
486
 
487
- # Required. The Cloud Storage uri where the actual document is stored.
487
+ # Required. The Cloud Storage URI where the actual document is stored.
488
488
  # Corresponds to the JSON property `gcsUri`
489
489
  # @return [String]
490
490
  attr_accessor :gcs_uri
@@ -1480,8 +1480,7 @@ module Google
1480
1480
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1BatchDocumentsInputConfig]
1481
1481
  attr_accessor :input_documents
1482
1482
 
1483
- # Whether Human Review feature should be skipped for this request. Default to `
1484
- # false`.
1483
+ # Whether human review should be skipped for this request. Default to `false`.
1485
1484
  # Corresponds to the JSON property `skipHumanReview`
1486
1485
  # @return [Boolean]
1487
1486
  attr_accessor :skip_human_review
@@ -2143,7 +2142,7 @@ module Google
2143
2142
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageImage]
2144
2143
  attr_accessor :image
2145
2144
 
2146
- # Image Quality Scores for the page image.
2145
+ # Image quality scores for the page image.
2147
2146
  # Corresponds to the JSON property `imageQualityScores`
2148
2147
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageImageQualityScores]
2149
2148
  attr_accessor :image_quality_scores
@@ -2519,7 +2518,7 @@ module Google
2519
2518
  end
2520
2519
  end
2521
2520
 
2522
- # Image Quality Scores for the page image.
2521
+ # Image quality scores for the page image.
2523
2522
  class GoogleCloudDocumentaiV1DocumentPageImageQualityScores
2524
2523
  include Google::Apis::Core::Hashable
2525
2524
 
@@ -2549,7 +2548,7 @@ module Google
2549
2548
  include Google::Apis::Core::Hashable
2550
2549
 
2551
2550
  # Confidence of detected defect. Range `[0, 1]` where `1` indicates strong
2552
- # confidence of that the defect exists.
2551
+ # confidence that the defect exists.
2553
2552
  # Corresponds to the JSON property `confidence`
2554
2553
  # @return [Float]
2555
2554
  attr_accessor :confidence
@@ -2917,7 +2916,7 @@ module Google
2917
2916
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
2918
2917
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
2919
2918
  # method in iOS; and, with just a little work, it can be easily formatted into a
2920
- # CSS `rgba()` string in JavaScript. This reference page does not have
2919
+ # CSS `rgba()` string in JavaScript. This reference page doesn't have
2921
2920
  # information about the absolute color space that should be used to interpret
2922
2921
  # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
2923
2922
  # applications should assume the sRGB color space. When color equality needs to
@@ -3034,7 +3033,7 @@ module Google
3034
3033
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
3035
3034
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
3036
3035
  # method in iOS; and, with just a little work, it can be easily formatted into a
3037
- # CSS `rgba()` string in JavaScript. This reference page does not have
3036
+ # CSS `rgba()` string in JavaScript. This reference page doesn't have
3038
3037
  # information about the absolute color space that should be used to interpret
3039
3038
  # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
3040
3039
  # applications should assume the sRGB color space. When color equality needs to
@@ -3357,11 +3356,11 @@ module Google
3357
3356
  attr_accessor :enum_values
3358
3357
 
3359
3358
  # Name of the type. It must be unique within the schema file and cannot be a "
3360
- # Common Type". The following naming conventions are used: - Use `snake_casing` -
3361
- # Name matching is case-sensitive - Maximum 64 characters. - Must start with a
3362
- # letter. - Allowed characters: ASCII letters `[a-z0-9_-]`. (For backward
3359
+ # Common Type". The following naming conventions are used: - Use `snake_casing`.
3360
+ # - Name matching is case-sensitive. - Maximum 64 characters. - Must start with
3361
+ # a letter. - Allowed characters: ASCII letters `[a-z0-9_-]`. (For backward
3363
3362
  # compatibility internal infrastructure and tooling can handle any ascii
3364
- # character) - The `/` is sometimes used to denote a property of a type. For
3363
+ # character.) - The `/` is sometimes used to denote a property of a type. For
3365
3364
  # example `line_item/amount`. This convention is deprecated, but will still be
3366
3365
  # honored for backward compatibility.
3367
3366
  # Corresponds to the JSON property `name`
@@ -3528,7 +3527,7 @@ module Google
3528
3527
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
3529
3528
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
3530
3529
  # method in iOS; and, with just a little work, it can be easily formatted into a
3531
- # CSS `rgba()` string in JavaScript. This reference page does not have
3530
+ # CSS `rgba()` string in JavaScript. This reference page doesn't have
3532
3531
  # information about the absolute color space that should be used to interpret
3533
3532
  # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
3534
3533
  # applications should assume the sRGB color space. When color equality needs to
@@ -3577,7 +3576,7 @@ module Google
3577
3576
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
3578
3577
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
3579
3578
  # method in iOS; and, with just a little work, it can be easily formatted into a
3580
- # CSS `rgba()` string in JavaScript. This reference page does not have
3579
+ # CSS `rgba()` string in JavaScript. This reference page doesn't have
3581
3580
  # information about the absolute color space that should be used to interpret
3582
3581
  # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
3583
3582
  # applications should assume the sRGB color space. When color equality needs to
@@ -3680,7 +3679,7 @@ module Google
3680
3679
  # @return [Float]
3681
3680
  attr_accessor :size
3682
3681
 
3683
- # Unit for the font size. Follows CSS naming (`in`, `px`, `pt`, etc.).
3682
+ # Unit for the font size. Follows CSS naming (such as `in`, `px`, and `pt`).
3684
3683
  # Corresponds to the JSON property `unit`
3685
3684
  # @return [String]
3686
3685
  attr_accessor :unit
@@ -4445,8 +4444,7 @@ module Google
4445
4444
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1RawDocument]
4446
4445
  attr_accessor :raw_document
4447
4446
 
4448
- # Whether Human Review feature should be skipped for this request. Default to
4449
- # false.
4447
+ # Whether human review should be skipped for this request. Default to `false`.
4450
4448
  # Corresponds to the JSON property `skipHumanReview`
4451
4449
  # @return [Boolean]
4452
4450
  attr_accessor :skip_human_review
@@ -4514,7 +4512,7 @@ module Google
4514
4512
  attr_accessor :display_name
4515
4513
 
4516
4514
  # The [KMS key](https://cloud.google.com/security-key-management) used for
4517
- # encryption/decryption in CMEK scenarios.
4515
+ # encryption and decryption in CMEK scenarios.
4518
4516
  # Corresponds to the JSON property `kmsKeyName`
4519
4517
  # @return [String]
4520
4518
  attr_accessor :kms_key_name
@@ -4622,8 +4620,8 @@ module Google
4622
4620
  class GoogleCloudDocumentaiV1ProcessorTypeLocationInfo
4623
4621
  include Google::Apis::Core::Hashable
4624
4622
 
4625
- # The location id, refer to [regional and multi-regional support](/document-ai/
4626
- # docs/regions) for supported locations.
4623
+ # The location ID. For supported locations, refer to [regional and multi-
4624
+ # regional support](/document-ai/docs/regions).
4627
4625
  # Corresponds to the JSON property `locationId`
4628
4626
  # @return [String]
4629
4627
  attr_accessor :location_id
@@ -4639,10 +4637,9 @@ module Google
4639
4637
  end
4640
4638
 
4641
4639
  # A processor version is an implementation of a processor. Each processor can
4642
- # have multiple versions, pre-trained by Google internally or uptrained by the
4643
- # customer. At a time, a processor can only have one default version version. So
4644
- # the processor's behavior (when processing documents) is defined by a default
4645
- # version
4640
+ # have multiple versions, pretrained by Google internally or uptrained by the
4641
+ # customer. A processor can only have one default version at a time. Its
4642
+ # document-processing behavior is defined by that version.
4646
4643
  class GoogleCloudDocumentaiV1ProcessorVersion
4647
4644
  include Google::Apis::Core::Hashable
4648
4645
 
@@ -5005,6 +5002,12 @@ module Google
5005
5002
  # @return [String]
5006
5003
  attr_accessor :base_processor_version
5007
5004
 
5005
+ # Options to control the training of the Custom Document Extraction (CDE)
5006
+ # Processor.
5007
+ # Corresponds to the JSON property `customDocumentExtractionOptions`
5008
+ # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions]
5009
+ attr_accessor :custom_document_extraction_options
5010
+
5008
5011
  # The schema defines the output of the processed document by a processor.
5009
5012
  # Corresponds to the JSON property `documentSchema`
5010
5013
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchema]
@@ -5016,10 +5019,9 @@ module Google
5016
5019
  attr_accessor :input_data
5017
5020
 
5018
5021
  # A processor version is an implementation of a processor. Each processor can
5019
- # have multiple versions, pre-trained by Google internally or uptrained by the
5020
- # customer. At a time, a processor can only have one default version version. So
5021
- # the processor's behavior (when processing documents) is defined by a default
5022
- # version
5022
+ # have multiple versions, pretrained by Google internally or uptrained by the
5023
+ # customer. A processor can only have one default version at a time. Its
5024
+ # document-processing behavior is defined by that version.
5023
5025
  # Corresponds to the JSON property `processorVersion`
5024
5026
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersion]
5025
5027
  attr_accessor :processor_version
@@ -5031,12 +5033,33 @@ module Google
5031
5033
  # Update properties of this object
5032
5034
  def update!(**args)
5033
5035
  @base_processor_version = args[:base_processor_version] if args.key?(:base_processor_version)
5036
+ @custom_document_extraction_options = args[:custom_document_extraction_options] if args.key?(:custom_document_extraction_options)
5034
5037
  @document_schema = args[:document_schema] if args.key?(:document_schema)
5035
5038
  @input_data = args[:input_data] if args.key?(:input_data)
5036
5039
  @processor_version = args[:processor_version] if args.key?(:processor_version)
5037
5040
  end
5038
5041
  end
5039
5042
 
5043
+ # Options to control the training of the Custom Document Extraction (CDE)
5044
+ # Processor.
5045
+ class GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions
5046
+ include Google::Apis::Core::Hashable
5047
+
5048
+ # Training method to use for CDE training.
5049
+ # Corresponds to the JSON property `trainingMethod`
5050
+ # @return [String]
5051
+ attr_accessor :training_method
5052
+
5053
+ def initialize(**args)
5054
+ update!(**args)
5055
+ end
5056
+
5057
+ # Update properties of this object
5058
+ def update!(**args)
5059
+ @training_method = args[:training_method] if args.key?(:training_method)
5060
+ end
5061
+ end
5062
+
5040
5063
  # The input data used to train a new ProcessorVersion.
5041
5064
  class GoogleCloudDocumentaiV1TrainProcessorVersionRequestInputData
5042
5065
  include Google::Apis::Core::Hashable
@@ -5595,7 +5618,7 @@ module Google
5595
5618
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageImage]
5596
5619
  attr_accessor :image
5597
5620
 
5598
- # Image Quality Scores for the page image.
5621
+ # Image quality scores for the page image.
5599
5622
  # Corresponds to the JSON property `imageQualityScores`
5600
5623
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores]
5601
5624
  attr_accessor :image_quality_scores
@@ -5971,7 +5994,7 @@ module Google
5971
5994
  end
5972
5995
  end
5973
5996
 
5974
- # Image Quality Scores for the page image.
5997
+ # Image quality scores for the page image.
5975
5998
  class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores
5976
5999
  include Google::Apis::Core::Hashable
5977
6000
 
@@ -6001,7 +6024,7 @@ module Google
6001
6024
  include Google::Apis::Core::Hashable
6002
6025
 
6003
6026
  # Confidence of detected defect. Range `[0, 1]` where `1` indicates strong
6004
- # confidence of that the defect exists.
6027
+ # confidence that the defect exists.
6005
6028
  # Corresponds to the JSON property `confidence`
6006
6029
  # @return [Float]
6007
6030
  attr_accessor :confidence
@@ -6369,7 +6392,7 @@ module Google
6369
6392
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
6370
6393
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
6371
6394
  # method in iOS; and, with just a little work, it can be easily formatted into a
6372
- # CSS `rgba()` string in JavaScript. This reference page does not have
6395
+ # CSS `rgba()` string in JavaScript. This reference page doesn't have
6373
6396
  # information about the absolute color space that should be used to interpret
6374
6397
  # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
6375
6398
  # applications should assume the sRGB color space. When color equality needs to
@@ -6486,7 +6509,7 @@ module Google
6486
6509
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
6487
6510
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
6488
6511
  # method in iOS; and, with just a little work, it can be easily formatted into a
6489
- # CSS `rgba()` string in JavaScript. This reference page does not have
6512
+ # CSS `rgba()` string in JavaScript. This reference page doesn't have
6490
6513
  # information about the absolute color space that should be used to interpret
6491
6514
  # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
6492
6515
  # applications should assume the sRGB color space. When color equality needs to
@@ -6793,7 +6816,7 @@ module Google
6793
6816
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
6794
6817
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
6795
6818
  # method in iOS; and, with just a little work, it can be easily formatted into a
6796
- # CSS `rgba()` string in JavaScript. This reference page does not have
6819
+ # CSS `rgba()` string in JavaScript. This reference page doesn't have
6797
6820
  # information about the absolute color space that should be used to interpret
6798
6821
  # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
6799
6822
  # applications should assume the sRGB color space. When color equality needs to
@@ -6842,7 +6865,7 @@ module Google
6842
6865
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
6843
6866
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
6844
6867
  # method in iOS; and, with just a little work, it can be easily formatted into a
6845
- # CSS `rgba()` string in JavaScript. This reference page does not have
6868
+ # CSS `rgba()` string in JavaScript. This reference page doesn't have
6846
6869
  # information about the absolute color space that should be used to interpret
6847
6870
  # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
6848
6871
  # applications should assume the sRGB color space. When color equality needs to
@@ -6945,7 +6968,7 @@ module Google
6945
6968
  # @return [Float]
6946
6969
  attr_accessor :size
6947
6970
 
6948
- # Unit for the font size. Follows CSS naming (`in`, `px`, `pt`, etc.).
6971
+ # Unit for the font size. Follows CSS naming (such as `in`, `px`, and `pt`).
6949
6972
  # Corresponds to the JSON property `unit`
6950
6973
  # @return [String]
6951
6974
  attr_accessor :unit
@@ -7744,7 +7767,7 @@ module Google
7744
7767
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageImage]
7745
7768
  attr_accessor :image
7746
7769
 
7747
- # Image Quality Scores for the page image.
7770
+ # Image quality scores for the page image.
7748
7771
  # Corresponds to the JSON property `imageQualityScores`
7749
7772
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores]
7750
7773
  attr_accessor :image_quality_scores
@@ -8120,7 +8143,7 @@ module Google
8120
8143
  end
8121
8144
  end
8122
8145
 
8123
- # Image Quality Scores for the page image.
8146
+ # Image quality scores for the page image.
8124
8147
  class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores
8125
8148
  include Google::Apis::Core::Hashable
8126
8149
 
@@ -8150,7 +8173,7 @@ module Google
8150
8173
  include Google::Apis::Core::Hashable
8151
8174
 
8152
8175
  # Confidence of detected defect. Range `[0, 1]` where `1` indicates strong
8153
- # confidence of that the defect exists.
8176
+ # confidence that the defect exists.
8154
8177
  # Corresponds to the JSON property `confidence`
8155
8178
  # @return [Float]
8156
8179
  attr_accessor :confidence
@@ -8518,7 +8541,7 @@ module Google
8518
8541
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
8519
8542
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
8520
8543
  # method in iOS; and, with just a little work, it can be easily formatted into a
8521
- # CSS `rgba()` string in JavaScript. This reference page does not have
8544
+ # CSS `rgba()` string in JavaScript. This reference page doesn't have
8522
8545
  # information about the absolute color space that should be used to interpret
8523
8546
  # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
8524
8547
  # applications should assume the sRGB color space. When color equality needs to
@@ -8635,7 +8658,7 @@ module Google
8635
8658
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
8636
8659
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
8637
8660
  # method in iOS; and, with just a little work, it can be easily formatted into a
8638
- # CSS `rgba()` string in JavaScript. This reference page does not have
8661
+ # CSS `rgba()` string in JavaScript. This reference page doesn't have
8639
8662
  # information about the absolute color space that should be used to interpret
8640
8663
  # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
8641
8664
  # applications should assume the sRGB color space. When color equality needs to
@@ -8942,7 +8965,7 @@ module Google
8942
8965
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
8943
8966
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
8944
8967
  # method in iOS; and, with just a little work, it can be easily formatted into a
8945
- # CSS `rgba()` string in JavaScript. This reference page does not have
8968
+ # CSS `rgba()` string in JavaScript. This reference page doesn't have
8946
8969
  # information about the absolute color space that should be used to interpret
8947
8970
  # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
8948
8971
  # applications should assume the sRGB color space. When color equality needs to
@@ -8991,7 +9014,7 @@ module Google
8991
9014
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
8992
9015
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
8993
9016
  # method in iOS; and, with just a little work, it can be easily formatted into a
8994
- # CSS `rgba()` string in JavaScript. This reference page does not have
9017
+ # CSS `rgba()` string in JavaScript. This reference page doesn't have
8995
9018
  # information about the absolute color space that should be used to interpret
8996
9019
  # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
8997
9020
  # applications should assume the sRGB color space. When color equality needs to
@@ -9094,7 +9117,7 @@ module Google
9094
9117
  # @return [Float]
9095
9118
  attr_accessor :size
9096
9119
 
9097
- # Unit for the font size. Follows CSS naming (`in`, `px`, `pt`, etc.).
9120
+ # Unit for the font size. Follows CSS naming (such as `in`, `px`, and `pt`).
9098
9121
  # Corresponds to the JSON property `unit`
9099
9122
  # @return [String]
9100
9123
  attr_accessor :unit
@@ -10276,7 +10299,7 @@ module Google
10276
10299
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
10277
10300
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
10278
10301
  # method in iOS; and, with just a little work, it can be easily formatted into a
10279
- # CSS `rgba()` string in JavaScript. This reference page does not have
10302
+ # CSS `rgba()` string in JavaScript. This reference page doesn't have
10280
10303
  # information about the absolute color space that should be used to interpret
10281
10304
  # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
10282
10305
  # applications should assume the sRGB color space. When color equality needs to
@@ -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.66.0"
19
+ GEM_VERSION = "0.68.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 = "20230605"
25
+ REVISION = "20230619"
26
26
  end
27
27
  end
28
28
  end
@@ -952,6 +952,12 @@ module Google
952
952
  include Google::Apis::Core::JsonObjectSupport
953
953
  end
954
954
 
955
+ class GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions
956
+ class Representation < Google::Apis::Core::JsonRepresentation; end
957
+
958
+ include Google::Apis::Core::JsonObjectSupport
959
+ end
960
+
955
961
  class GoogleCloudDocumentaiV1TrainProcessorVersionRequestInputData
956
962
  class Representation < Google::Apis::Core::JsonRepresentation; end
957
963
 
@@ -3329,6 +3335,8 @@ module Google
3329
3335
  # @private
3330
3336
  class Representation < Google::Apis::Core::JsonRepresentation
3331
3337
  property :base_processor_version, as: 'baseProcessorVersion'
3338
+ property :custom_document_extraction_options, as: 'customDocumentExtractionOptions', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions::Representation
3339
+
3332
3340
  property :document_schema, as: 'documentSchema', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchema, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchema::Representation
3333
3341
 
3334
3342
  property :input_data, as: 'inputData', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1TrainProcessorVersionRequestInputData, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1TrainProcessorVersionRequestInputData::Representation
@@ -3338,6 +3346,13 @@ module Google
3338
3346
  end
3339
3347
  end
3340
3348
 
3349
+ class GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions
3350
+ # @private
3351
+ class Representation < Google::Apis::Core::JsonRepresentation
3352
+ property :training_method, as: 'trainingMethod'
3353
+ end
3354
+ end
3355
+
3341
3356
  class GoogleCloudDocumentaiV1TrainProcessorVersionRequestInputData
3342
3357
  # @private
3343
3358
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-documentai_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.66.0
4
+ version: 0.68.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-06-11 00:00:00.000000000 Z
11
+ date: 2023-07-02 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.66.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.68.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: []