google-apis-documentai_v1 0.64.0 → 0.66.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: eeb2482c6e70187ff504d06d62ce657d6dd542dd4a1e3a75150a775cc108a1c6
4
- data.tar.gz: 4f9906f7f37ce3f98d5dab78e2284187049476906c1d97d50cafb26c358823c1
3
+ metadata.gz: 4df5a3ef0f1ca3e58a9e7d258223632bb763a42c3ac760982d5429d8d6c8a939
4
+ data.tar.gz: 8a9a0e1ee4ac484294cc81e84c87ce328f96ea9399074d7007654e8da20287b5
5
5
  SHA512:
6
- metadata.gz: 3dbfa62e64cca965bcd2a028502493cf1b20cce6fdafb6725561f1a7eac49af47140ccea8b93ced7b42ed9b9fbf8105b704d56942e3399e9713bc50b9af24716
7
- data.tar.gz: '00886cb16e031f4d5f62e9a7a93448ce6ab7dec7140abafe0b25420bcd9e112b07f6442c53dd55277fc18cb866b73308abbfe687bba6e236f973b9edae61d256'
6
+ metadata.gz: 5be00f974fc7eec1cf57781823239788f7a6de59af402143124959c6b1519e055b6f21a115cda1061f57cacdc81274278c6fe44f9605f3e6d8948b15c81d9235
7
+ data.tar.gz: e934943f6b3522a09212c452cdc7e64392c28c2dab9876fc778e5e84bfeac51e786be925d2cee1e6598be4a04d2fb21c15a4e9750fd26598fbbb659713af42ae
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.66.0 (2023-06-11)
4
+
5
+ * Regenerated from discovery document revision 20230605
6
+
7
+ ### v0.65.0 (2023-05-28)
8
+
9
+ * Regenerated from discovery document revision 20230519
10
+
3
11
  ### v0.64.0 (2023-05-14)
4
12
 
5
13
  * Regenerated from discovery document revision 20230504
@@ -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::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3DocumentIdGcsManagedDocumentId]
452
452
  attr_accessor :gcs_managed_doc_id
@@ -456,6 +456,12 @@ module Google
456
456
  # @return [Google::Apis::DocumentaiV1::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::DocumentaiV1::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
@@ -1453,8 +1480,8 @@ module Google
1453
1480
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1BatchDocumentsInputConfig]
1454
1481
  attr_accessor :input_documents
1455
1482
 
1456
- # Whether Human Review feature should be skipped for this request. Default to
1457
- # false.
1483
+ # Whether Human Review feature should be skipped for this request. Default to `
1484
+ # false`.
1458
1485
  # Corresponds to the JSON property `skipHumanReview`
1459
1486
  # @return [Boolean]
1460
1487
  attr_accessor :skip_human_review
@@ -1718,9 +1745,8 @@ module Google
1718
1745
  # @return [Google::Apis::DocumentaiV1::GoogleRpcStatus]
1719
1746
  attr_accessor :error
1720
1747
 
1721
- # An IANA published MIME type (also referred to as media type). For more
1722
- # information, see https://www.iana.org/assignments/media-types/media-types.
1723
- # xhtml.
1748
+ # An IANA published [media type (MIME type)](https://www.iana.org/assignments/
1749
+ # media-types/media-types.xhtml).
1724
1750
  # Corresponds to the JSON property `mimeType`
1725
1751
  # @return [String]
1726
1752
  attr_accessor :mime_type
@@ -2117,7 +2143,7 @@ module Google
2117
2143
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageImage]
2118
2144
  attr_accessor :image
2119
2145
 
2120
- # Image Quality Scores for the page image
2146
+ # Image Quality Scores for the page image.
2121
2147
  # Corresponds to the JSON property `imageQualityScores`
2122
2148
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageImageQualityScores]
2123
2149
  attr_accessor :image_quality_scores
@@ -2338,8 +2364,8 @@ module Google
2338
2364
  # @return [Float]
2339
2365
  attr_accessor :confidence
2340
2366
 
2341
- # The BCP-47 language code, such as `en-US` or `sr-Latn`. For more information,
2342
- # see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
2367
+ # The [BCP-47 language code](https://www.unicode.org/reports/tr35/#
2368
+ # Unicode_locale_identifier), such as `en-US` or `sr-Latn`.
2343
2369
  # Corresponds to the JSON property `languageCode`
2344
2370
  # @return [String]
2345
2371
  attr_accessor :language_code
@@ -2469,7 +2495,8 @@ module Google
2469
2495
  # @return [Fixnum]
2470
2496
  attr_accessor :height
2471
2497
 
2472
- # Encoding mime type for the image.
2498
+ # Encoding [media type (MIME type)](https://www.iana.org/assignments/media-types/
2499
+ # media-types.xhtml) for the image.
2473
2500
  # Corresponds to the JSON property `mimeType`
2474
2501
  # @return [String]
2475
2502
  attr_accessor :mime_type
@@ -2492,7 +2519,7 @@ module Google
2492
2519
  end
2493
2520
  end
2494
2521
 
2495
- # Image Quality Scores for the page image
2522
+ # Image Quality Scores for the page image.
2496
2523
  class GoogleCloudDocumentaiV1DocumentPageImageQualityScores
2497
2524
  include Google::Apis::Core::Hashable
2498
2525
 
@@ -2501,7 +2528,7 @@ module Google
2501
2528
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect>]
2502
2529
  attr_accessor :detected_defects
2503
2530
 
2504
- # The overall quality score. Range `[0, 1]` where 1 is perfect quality.
2531
+ # The overall quality score. Range `[0, 1]` where `1` is perfect quality.
2505
2532
  # Corresponds to the JSON property `qualityScore`
2506
2533
  # @return [Float]
2507
2534
  attr_accessor :quality_score
@@ -2521,7 +2548,7 @@ module Google
2521
2548
  class GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect
2522
2549
  include Google::Apis::Core::Hashable
2523
2550
 
2524
- # Confidence of detected defect. Range `[0, 1]` where 1 indicates strong
2551
+ # Confidence of detected defect. Range `[0, 1]` where `1` indicates strong
2525
2552
  # confidence of that the defect exists.
2526
2553
  # Corresponds to the JSON property `confidence`
2527
2554
  # @return [Float]
@@ -2885,18 +2912,18 @@ module Google
2885
2912
  include Google::Apis::Core::Hashable
2886
2913
 
2887
2914
  # Represents a color in the RGBA color space. This representation is designed
2888
- # for simplicity of conversion to/from color representations in various
2915
+ # for simplicity of conversion to and from color representations in various
2889
2916
  # languages over compactness. For example, the fields of this representation can
2890
2917
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
2891
2918
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
2892
2919
  # method in iOS; and, with just a little work, it can be easily formatted into a
2893
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
2920
+ # CSS `rgba()` string in JavaScript. This reference page does not have
2894
2921
  # information about the absolute color space that should be used to interpret
2895
- # the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
2922
+ # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
2896
2923
  # applications should assume the sRGB color space. When color equality needs to
2897
2924
  # be decided, implementations, unless documented otherwise, treat two colors as
2898
- # equal if all their red, green, blue, and alpha values each differ by at most
2899
- # 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
2925
+ # equal if all their red, green, blue, and alpha values each differ by at most `
2926
+ # 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
2900
2927
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
2901
2928
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
2902
2929
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -3002,18 +3029,18 @@ module Google
3002
3029
  alias_method :superscript?, :superscript
3003
3030
 
3004
3031
  # Represents a color in the RGBA color space. This representation is designed
3005
- # for simplicity of conversion to/from color representations in various
3032
+ # for simplicity of conversion to and from color representations in various
3006
3033
  # languages over compactness. For example, the fields of this representation can
3007
3034
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
3008
3035
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
3009
3036
  # method in iOS; and, with just a little work, it can be easily formatted into a
3010
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
3037
+ # CSS `rgba()` string in JavaScript. This reference page does not have
3011
3038
  # information about the absolute color space that should be used to interpret
3012
- # the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
3039
+ # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
3013
3040
  # applications should assume the sRGB color space. When color equality needs to
3014
3041
  # be decided, implementations, unless documented otherwise, treat two colors as
3015
- # equal if all their red, green, blue, and alpha values each differ by at most
3016
- # 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
3042
+ # equal if all their red, green, blue, and alpha values each differ by at most `
3043
+ # 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
3017
3044
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
3018
3045
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
3019
3046
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -3329,14 +3356,14 @@ module Google
3329
3356
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValues]
3330
3357
  attr_accessor :enum_values
3331
3358
 
3332
- # Name of the type. It must be unique within the schema file and cannot be a '
3333
- # Common Type'. Besides that we use the following naming conventions: - *use `
3334
- # snake_casing`* - name matching is case-sensitive - Maximum 64 characters. -
3335
- # Must start with a letter. - Allowed characters: ASCII letters `[a-z0-9_-]`. (
3336
- # For backward compatibility internal infrastructure and tooling can handle any
3337
- # ascii character) - The `/` is sometimes used to denote a property of a type.
3338
- # For example `line_item/amount`. This convention is deprecated, but will still
3339
- # be honored for backward compatibility.
3359
+ # 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
3363
+ # compatibility internal infrastructure and tooling can handle any ascii
3364
+ # character) - The `/` is sometimes used to denote a property of a type. For
3365
+ # example `line_item/amount`. This convention is deprecated, but will still be
3366
+ # honored for backward compatibility.
3340
3367
  # Corresponds to the JSON property `name`
3341
3368
  # @return [String]
3342
3369
  attr_accessor :name
@@ -3423,7 +3450,7 @@ module Google
3423
3450
  attr_accessor :document_allow_multiple_labels
3424
3451
  alias_method :document_allow_multiple_labels?, :document_allow_multiple_labels
3425
3452
 
3426
- # If true, a `document` entity type can be applied to subdocument ( splitting).
3453
+ # If true, a `document` entity type can be applied to subdocument (splitting).
3427
3454
  # Otherwise, it can only be applied to the entire document (classification).
3428
3455
  # Corresponds to the JSON property `documentSplitter`
3429
3456
  # @return [Boolean]
@@ -3496,18 +3523,18 @@ module Google
3496
3523
  include Google::Apis::Core::Hashable
3497
3524
 
3498
3525
  # Represents a color in the RGBA color space. This representation is designed
3499
- # for simplicity of conversion to/from color representations in various
3526
+ # for simplicity of conversion to and from color representations in various
3500
3527
  # languages over compactness. For example, the fields of this representation can
3501
3528
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
3502
3529
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
3503
3530
  # method in iOS; and, with just a little work, it can be easily formatted into a
3504
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
3531
+ # CSS `rgba()` string in JavaScript. This reference page does not have
3505
3532
  # information about the absolute color space that should be used to interpret
3506
- # the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
3533
+ # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
3507
3534
  # applications should assume the sRGB color space. When color equality needs to
3508
3535
  # be decided, implementations, unless documented otherwise, treat two colors as
3509
- # equal if all their red, green, blue, and alpha values each differ by at most
3510
- # 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
3536
+ # equal if all their red, green, blue, and alpha values each differ by at most `
3537
+ # 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
3511
3538
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
3512
3539
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
3513
3540
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -3545,18 +3572,18 @@ module Google
3545
3572
  attr_accessor :background_color
3546
3573
 
3547
3574
  # Represents a color in the RGBA color space. This representation is designed
3548
- # for simplicity of conversion to/from color representations in various
3575
+ # for simplicity of conversion to and from color representations in various
3549
3576
  # languages over compactness. For example, the fields of this representation can
3550
3577
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
3551
3578
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
3552
3579
  # method in iOS; and, with just a little work, it can be easily formatted into a
3553
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
3580
+ # CSS `rgba()` string in JavaScript. This reference page does not have
3554
3581
  # information about the absolute color space that should be used to interpret
3555
- # the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
3582
+ # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
3556
3583
  # applications should assume the sRGB color space. When color equality needs to
3557
3584
  # be decided, implementations, unless documented otherwise, treat two colors as
3558
- # equal if all their red, green, blue, and alpha values each differ by at most
3559
- # 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
3585
+ # equal if all their red, green, blue, and alpha values each differ by at most `
3586
+ # 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
3560
3587
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
3561
3588
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
3562
3589
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -3604,8 +3631,8 @@ module Google
3604
3631
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentStyleFontSize]
3605
3632
  attr_accessor :font_size
3606
3633
 
3607
- # Font weight. Possible values are normal, bold, bolder, and lighter. https://
3608
- # www.w3schools.com/cssref/pr_font_weight.asp
3634
+ # [Font weight](https://www.w3schools.com/cssref/pr_font_weight.asp). Possible
3635
+ # values are `normal`, `bold`, `bolder`, and `lighter`.
3609
3636
  # Corresponds to the JSON property `fontWeight`
3610
3637
  # @return [String]
3611
3638
  attr_accessor :font_weight
@@ -3615,14 +3642,14 @@ module Google
3615
3642
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentTextAnchor]
3616
3643
  attr_accessor :text_anchor
3617
3644
 
3618
- # Text decoration. Follows CSS standard. https://www.w3schools.com/cssref/
3619
- # pr_text_text-decoration.asp
3645
+ # [Text decoration](https://www.w3schools.com/cssref/pr_text_text-decoration.asp)
3646
+ # . Follows CSS standard.
3620
3647
  # Corresponds to the JSON property `textDecoration`
3621
3648
  # @return [String]
3622
3649
  attr_accessor :text_decoration
3623
3650
 
3624
- # Text style. Possible values are normal, italic, and oblique. https://www.
3625
- # w3schools.com/cssref/pr_font_font-style.asp
3651
+ # [Text style](https://www.w3schools.com/cssref/pr_font_font-style.asp).
3652
+ # Possible values are `normal`, `italic`, and `oblique`.
3626
3653
  # Corresponds to the JSON property `textStyle`
3627
3654
  # @return [String]
3628
3655
  attr_accessor :text_style
@@ -3653,7 +3680,7 @@ module Google
3653
3680
  # @return [Float]
3654
3681
  attr_accessor :size
3655
3682
 
3656
- # Unit for the font size. Follows CSS naming (in, px, pt, etc.).
3683
+ # Unit for the font size. Follows CSS naming (`in`, `px`, `pt`, etc.).
3657
3684
  # Corresponds to the JSON property `unit`
3658
3685
  # @return [String]
3659
3686
  attr_accessor :unit
@@ -4486,8 +4513,8 @@ module Google
4486
4513
  # @return [String]
4487
4514
  attr_accessor :display_name
4488
4515
 
4489
- # The KMS key used for encryption/decryption in CMEK scenarios. See https://
4490
- # cloud.google.com/security-key-management.
4516
+ # The [KMS key](https://cloud.google.com/security-key-management) used for
4517
+ # encryption/decryption in CMEK scenarios.
4491
4518
  # Corresponds to the JSON property `kmsKeyName`
4492
4519
  # @return [String]
4493
4520
  attr_accessor :kms_key_name
@@ -4595,7 +4622,8 @@ module Google
4595
4622
  class GoogleCloudDocumentaiV1ProcessorTypeLocationInfo
4596
4623
  include Google::Apis::Core::Hashable
4597
4624
 
4598
- # The location id, currently must be one of [us, eu].
4625
+ # The location id, refer to [regional and multi-regional support](/document-ai/
4626
+ # docs/regions) for supported locations.
4599
4627
  # Corresponds to the JSON property `locationId`
4600
4628
  # @return [String]
4601
4629
  attr_accessor :location_id
@@ -4611,7 +4639,7 @@ module Google
4611
4639
  end
4612
4640
 
4613
4641
  # A processor version is an implementation of a processor. Each processor can
4614
- # have multiple versions, pre-trained by Google internally or up-trained by the
4642
+ # have multiple versions, pre-trained by Google internally or uptrained by the
4615
4643
  # customer. At a time, a processor can only have one default version version. So
4616
4644
  # the processor's behavior (when processing documents) is defined by a default
4617
4645
  # version
@@ -4638,7 +4666,7 @@ module Google
4638
4666
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchema]
4639
4667
  attr_accessor :document_schema
4640
4668
 
4641
- # Denotes that this ProcessorVersion is managed by google.
4669
+ # Denotes that this `ProcessorVersion` is managed by Google.
4642
4670
  # Corresponds to the JSON property `googleManaged`
4643
4671
  # @return [Boolean]
4644
4672
  attr_accessor :google_managed
@@ -4988,7 +5016,7 @@ module Google
4988
5016
  attr_accessor :input_data
4989
5017
 
4990
5018
  # A processor version is an implementation of a processor. Each processor can
4991
- # have multiple versions, pre-trained by Google internally or up-trained by the
5019
+ # have multiple versions, pre-trained by Google internally or uptrained by the
4992
5020
  # customer. At a time, a processor can only have one default version version. So
4993
5021
  # the processor's behavior (when processing documents) is defined by a default
4994
5022
  # version
@@ -5247,9 +5275,8 @@ module Google
5247
5275
  # @return [Google::Apis::DocumentaiV1::GoogleRpcStatus]
5248
5276
  attr_accessor :error
5249
5277
 
5250
- # An IANA published MIME type (also referred to as media type). For more
5251
- # information, see https://www.iana.org/assignments/media-types/media-types.
5252
- # xhtml.
5278
+ # An IANA published [media type (MIME type)](https://www.iana.org/assignments/
5279
+ # media-types/media-types.xhtml).
5253
5280
  # Corresponds to the JSON property `mimeType`
5254
5281
  # @return [String]
5255
5282
  attr_accessor :mime_type
@@ -5568,7 +5595,7 @@ module Google
5568
5595
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageImage]
5569
5596
  attr_accessor :image
5570
5597
 
5571
- # Image Quality Scores for the page image
5598
+ # Image Quality Scores for the page image.
5572
5599
  # Corresponds to the JSON property `imageQualityScores`
5573
5600
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores]
5574
5601
  attr_accessor :image_quality_scores
@@ -5789,8 +5816,8 @@ module Google
5789
5816
  # @return [Float]
5790
5817
  attr_accessor :confidence
5791
5818
 
5792
- # The BCP-47 language code, such as `en-US` or `sr-Latn`. For more information,
5793
- # see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
5819
+ # The [BCP-47 language code](https://www.unicode.org/reports/tr35/#
5820
+ # Unicode_locale_identifier), such as `en-US` or `sr-Latn`.
5794
5821
  # Corresponds to the JSON property `languageCode`
5795
5822
  # @return [String]
5796
5823
  attr_accessor :language_code
@@ -5920,7 +5947,8 @@ module Google
5920
5947
  # @return [Fixnum]
5921
5948
  attr_accessor :height
5922
5949
 
5923
- # Encoding mime type for the image.
5950
+ # Encoding [media type (MIME type)](https://www.iana.org/assignments/media-types/
5951
+ # media-types.xhtml) for the image.
5924
5952
  # Corresponds to the JSON property `mimeType`
5925
5953
  # @return [String]
5926
5954
  attr_accessor :mime_type
@@ -5943,7 +5971,7 @@ module Google
5943
5971
  end
5944
5972
  end
5945
5973
 
5946
- # Image Quality Scores for the page image
5974
+ # Image Quality Scores for the page image.
5947
5975
  class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScores
5948
5976
  include Google::Apis::Core::Hashable
5949
5977
 
@@ -5952,7 +5980,7 @@ module Google
5952
5980
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect>]
5953
5981
  attr_accessor :detected_defects
5954
5982
 
5955
- # The overall quality score. Range `[0, 1]` where 1 is perfect quality.
5983
+ # The overall quality score. Range `[0, 1]` where `1` is perfect quality.
5956
5984
  # Corresponds to the JSON property `qualityScore`
5957
5985
  # @return [Float]
5958
5986
  attr_accessor :quality_score
@@ -5972,7 +6000,7 @@ module Google
5972
6000
  class GoogleCloudDocumentaiV1beta1DocumentPageImageQualityScoresDetectedDefect
5973
6001
  include Google::Apis::Core::Hashable
5974
6002
 
5975
- # Confidence of detected defect. Range `[0, 1]` where 1 indicates strong
6003
+ # Confidence of detected defect. Range `[0, 1]` where `1` indicates strong
5976
6004
  # confidence of that the defect exists.
5977
6005
  # Corresponds to the JSON property `confidence`
5978
6006
  # @return [Float]
@@ -6336,18 +6364,18 @@ module Google
6336
6364
  include Google::Apis::Core::Hashable
6337
6365
 
6338
6366
  # Represents a color in the RGBA color space. This representation is designed
6339
- # for simplicity of conversion to/from color representations in various
6367
+ # for simplicity of conversion to and from color representations in various
6340
6368
  # languages over compactness. For example, the fields of this representation can
6341
6369
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
6342
6370
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
6343
6371
  # method in iOS; and, with just a little work, it can be easily formatted into a
6344
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
6372
+ # CSS `rgba()` string in JavaScript. This reference page does not have
6345
6373
  # information about the absolute color space that should be used to interpret
6346
- # the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
6374
+ # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
6347
6375
  # applications should assume the sRGB color space. When color equality needs to
6348
6376
  # be decided, implementations, unless documented otherwise, treat two colors as
6349
- # equal if all their red, green, blue, and alpha values each differ by at most
6350
- # 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
6377
+ # equal if all their red, green, blue, and alpha values each differ by at most `
6378
+ # 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
6351
6379
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
6352
6380
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
6353
6381
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -6453,18 +6481,18 @@ module Google
6453
6481
  alias_method :superscript?, :superscript
6454
6482
 
6455
6483
  # Represents a color in the RGBA color space. This representation is designed
6456
- # for simplicity of conversion to/from color representations in various
6484
+ # for simplicity of conversion to and from color representations in various
6457
6485
  # languages over compactness. For example, the fields of this representation can
6458
6486
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
6459
6487
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
6460
6488
  # method in iOS; and, with just a little work, it can be easily formatted into a
6461
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
6489
+ # CSS `rgba()` string in JavaScript. This reference page does not have
6462
6490
  # information about the absolute color space that should be used to interpret
6463
- # the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
6491
+ # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
6464
6492
  # applications should assume the sRGB color space. When color equality needs to
6465
6493
  # be decided, implementations, unless documented otherwise, treat two colors as
6466
- # equal if all their red, green, blue, and alpha values each differ by at most
6467
- # 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
6494
+ # equal if all their red, green, blue, and alpha values each differ by at most `
6495
+ # 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
6468
6496
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
6469
6497
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
6470
6498
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -6760,18 +6788,18 @@ module Google
6760
6788
  include Google::Apis::Core::Hashable
6761
6789
 
6762
6790
  # Represents a color in the RGBA color space. This representation is designed
6763
- # for simplicity of conversion to/from color representations in various
6791
+ # for simplicity of conversion to and from color representations in various
6764
6792
  # languages over compactness. For example, the fields of this representation can
6765
6793
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
6766
6794
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
6767
6795
  # method in iOS; and, with just a little work, it can be easily formatted into a
6768
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
6796
+ # CSS `rgba()` string in JavaScript. This reference page does not have
6769
6797
  # information about the absolute color space that should be used to interpret
6770
- # the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
6798
+ # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
6771
6799
  # applications should assume the sRGB color space. When color equality needs to
6772
6800
  # be decided, implementations, unless documented otherwise, treat two colors as
6773
- # equal if all their red, green, blue, and alpha values each differ by at most
6774
- # 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
6801
+ # equal if all their red, green, blue, and alpha values each differ by at most `
6802
+ # 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
6775
6803
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
6776
6804
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
6777
6805
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -6809,18 +6837,18 @@ module Google
6809
6837
  attr_accessor :background_color
6810
6838
 
6811
6839
  # Represents a color in the RGBA color space. This representation is designed
6812
- # for simplicity of conversion to/from color representations in various
6840
+ # for simplicity of conversion to and from color representations in various
6813
6841
  # languages over compactness. For example, the fields of this representation can
6814
6842
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
6815
6843
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
6816
6844
  # method in iOS; and, with just a little work, it can be easily formatted into a
6817
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
6845
+ # CSS `rgba()` string in JavaScript. This reference page does not have
6818
6846
  # information about the absolute color space that should be used to interpret
6819
- # the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
6847
+ # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
6820
6848
  # applications should assume the sRGB color space. When color equality needs to
6821
6849
  # be decided, implementations, unless documented otherwise, treat two colors as
6822
- # equal if all their red, green, blue, and alpha values each differ by at most
6823
- # 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
6850
+ # equal if all their red, green, blue, and alpha values each differ by at most `
6851
+ # 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
6824
6852
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
6825
6853
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
6826
6854
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -6868,8 +6896,8 @@ module Google
6868
6896
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentStyleFontSize]
6869
6897
  attr_accessor :font_size
6870
6898
 
6871
- # Font weight. Possible values are normal, bold, bolder, and lighter. https://
6872
- # www.w3schools.com/cssref/pr_font_weight.asp
6899
+ # [Font weight](https://www.w3schools.com/cssref/pr_font_weight.asp). Possible
6900
+ # values are `normal`, `bold`, `bolder`, and `lighter`.
6873
6901
  # Corresponds to the JSON property `fontWeight`
6874
6902
  # @return [String]
6875
6903
  attr_accessor :font_weight
@@ -6879,14 +6907,14 @@ module Google
6879
6907
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentTextAnchor]
6880
6908
  attr_accessor :text_anchor
6881
6909
 
6882
- # Text decoration. Follows CSS standard. https://www.w3schools.com/cssref/
6883
- # pr_text_text-decoration.asp
6910
+ # [Text decoration](https://www.w3schools.com/cssref/pr_text_text-decoration.asp)
6911
+ # . Follows CSS standard.
6884
6912
  # Corresponds to the JSON property `textDecoration`
6885
6913
  # @return [String]
6886
6914
  attr_accessor :text_decoration
6887
6915
 
6888
- # Text style. Possible values are normal, italic, and oblique. https://www.
6889
- # w3schools.com/cssref/pr_font_font-style.asp
6916
+ # [Text style](https://www.w3schools.com/cssref/pr_font_font-style.asp).
6917
+ # Possible values are `normal`, `italic`, and `oblique`.
6890
6918
  # Corresponds to the JSON property `textStyle`
6891
6919
  # @return [String]
6892
6920
  attr_accessor :text_style
@@ -6917,7 +6945,7 @@ module Google
6917
6945
  # @return [Float]
6918
6946
  attr_accessor :size
6919
6947
 
6920
- # Unit for the font size. Follows CSS naming (in, px, pt, etc.).
6948
+ # Unit for the font size. Follows CSS naming (`in`, `px`, `pt`, etc.).
6921
6949
  # Corresponds to the JSON property `unit`
6922
6950
  # @return [String]
6923
6951
  attr_accessor :unit
@@ -7358,9 +7386,8 @@ module Google
7358
7386
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentLabel>]
7359
7387
  attr_accessor :labels
7360
7388
 
7361
- # An IANA published MIME type (also referred to as media type). For more
7362
- # information, see https://www.iana.org/assignments/media-types/media-types.
7363
- # xhtml.
7389
+ # An IANA published [media type (MIME type)](https://www.iana.org/assignments/
7390
+ # media-types/media-types.xhtml).
7364
7391
  # Corresponds to the JSON property `mimeType`
7365
7392
  # @return [String]
7366
7393
  attr_accessor :mime_type
@@ -7717,7 +7744,7 @@ module Google
7717
7744
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageImage]
7718
7745
  attr_accessor :image
7719
7746
 
7720
- # Image Quality Scores for the page image
7747
+ # Image Quality Scores for the page image.
7721
7748
  # Corresponds to the JSON property `imageQualityScores`
7722
7749
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores]
7723
7750
  attr_accessor :image_quality_scores
@@ -7938,8 +7965,8 @@ module Google
7938
7965
  # @return [Float]
7939
7966
  attr_accessor :confidence
7940
7967
 
7941
- # The BCP-47 language code, such as `en-US` or `sr-Latn`. For more information,
7942
- # see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
7968
+ # The [BCP-47 language code](https://www.unicode.org/reports/tr35/#
7969
+ # Unicode_locale_identifier), such as `en-US` or `sr-Latn`.
7943
7970
  # Corresponds to the JSON property `languageCode`
7944
7971
  # @return [String]
7945
7972
  attr_accessor :language_code
@@ -8069,7 +8096,8 @@ module Google
8069
8096
  # @return [Fixnum]
8070
8097
  attr_accessor :height
8071
8098
 
8072
- # Encoding mime type for the image.
8099
+ # Encoding [media type (MIME type)](https://www.iana.org/assignments/media-types/
8100
+ # media-types.xhtml) for the image.
8073
8101
  # Corresponds to the JSON property `mimeType`
8074
8102
  # @return [String]
8075
8103
  attr_accessor :mime_type
@@ -8092,7 +8120,7 @@ module Google
8092
8120
  end
8093
8121
  end
8094
8122
 
8095
- # Image Quality Scores for the page image
8123
+ # Image Quality Scores for the page image.
8096
8124
  class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScores
8097
8125
  include Google::Apis::Core::Hashable
8098
8126
 
@@ -8101,7 +8129,7 @@ module Google
8101
8129
  # @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect>]
8102
8130
  attr_accessor :detected_defects
8103
8131
 
8104
- # The overall quality score. Range `[0, 1]` where 1 is perfect quality.
8132
+ # The overall quality score. Range `[0, 1]` where `1` is perfect quality.
8105
8133
  # Corresponds to the JSON property `qualityScore`
8106
8134
  # @return [Float]
8107
8135
  attr_accessor :quality_score
@@ -8121,7 +8149,7 @@ module Google
8121
8149
  class GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect
8122
8150
  include Google::Apis::Core::Hashable
8123
8151
 
8124
- # Confidence of detected defect. Range `[0, 1]` where 1 indicates strong
8152
+ # Confidence of detected defect. Range `[0, 1]` where `1` indicates strong
8125
8153
  # confidence of that the defect exists.
8126
8154
  # Corresponds to the JSON property `confidence`
8127
8155
  # @return [Float]
@@ -8485,18 +8513,18 @@ module Google
8485
8513
  include Google::Apis::Core::Hashable
8486
8514
 
8487
8515
  # Represents a color in the RGBA color space. This representation is designed
8488
- # for simplicity of conversion to/from color representations in various
8516
+ # for simplicity of conversion to and from color representations in various
8489
8517
  # languages over compactness. For example, the fields of this representation can
8490
8518
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
8491
8519
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
8492
8520
  # method in iOS; and, with just a little work, it can be easily formatted into a
8493
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
8521
+ # CSS `rgba()` string in JavaScript. This reference page does not have
8494
8522
  # information about the absolute color space that should be used to interpret
8495
- # the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
8523
+ # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
8496
8524
  # applications should assume the sRGB color space. When color equality needs to
8497
8525
  # be decided, implementations, unless documented otherwise, treat two colors as
8498
- # equal if all their red, green, blue, and alpha values each differ by at most
8499
- # 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
8526
+ # equal if all their red, green, blue, and alpha values each differ by at most `
8527
+ # 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
8500
8528
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
8501
8529
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
8502
8530
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -8602,18 +8630,18 @@ module Google
8602
8630
  alias_method :superscript?, :superscript
8603
8631
 
8604
8632
  # Represents a color in the RGBA color space. This representation is designed
8605
- # for simplicity of conversion to/from color representations in various
8633
+ # for simplicity of conversion to and from color representations in various
8606
8634
  # languages over compactness. For example, the fields of this representation can
8607
8635
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
8608
8636
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
8609
8637
  # method in iOS; and, with just a little work, it can be easily formatted into a
8610
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
8638
+ # CSS `rgba()` string in JavaScript. This reference page does not have
8611
8639
  # information about the absolute color space that should be used to interpret
8612
- # the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
8640
+ # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
8613
8641
  # applications should assume the sRGB color space. When color equality needs to
8614
8642
  # be decided, implementations, unless documented otherwise, treat two colors as
8615
- # equal if all their red, green, blue, and alpha values each differ by at most
8616
- # 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
8643
+ # equal if all their red, green, blue, and alpha values each differ by at most `
8644
+ # 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
8617
8645
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
8618
8646
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
8619
8647
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -8909,18 +8937,18 @@ module Google
8909
8937
  include Google::Apis::Core::Hashable
8910
8938
 
8911
8939
  # Represents a color in the RGBA color space. This representation is designed
8912
- # for simplicity of conversion to/from color representations in various
8940
+ # for simplicity of conversion to and from color representations in various
8913
8941
  # languages over compactness. For example, the fields of this representation can
8914
8942
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
8915
8943
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
8916
8944
  # method in iOS; and, with just a little work, it can be easily formatted into a
8917
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
8945
+ # CSS `rgba()` string in JavaScript. This reference page does not have
8918
8946
  # information about the absolute color space that should be used to interpret
8919
- # the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
8947
+ # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
8920
8948
  # applications should assume the sRGB color space. When color equality needs to
8921
8949
  # be decided, implementations, unless documented otherwise, treat two colors as
8922
- # equal if all their red, green, blue, and alpha values each differ by at most
8923
- # 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
8950
+ # equal if all their red, green, blue, and alpha values each differ by at most `
8951
+ # 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
8924
8952
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
8925
8953
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
8926
8954
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -8958,18 +8986,18 @@ module Google
8958
8986
  attr_accessor :background_color
8959
8987
 
8960
8988
  # Represents a color in the RGBA color space. This representation is designed
8961
- # for simplicity of conversion to/from color representations in various
8989
+ # for simplicity of conversion to and from color representations in various
8962
8990
  # languages over compactness. For example, the fields of this representation can
8963
8991
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
8964
8992
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
8965
8993
  # method in iOS; and, with just a little work, it can be easily formatted into a
8966
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
8994
+ # CSS `rgba()` string in JavaScript. This reference page does not have
8967
8995
  # information about the absolute color space that should be used to interpret
8968
- # the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
8996
+ # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
8969
8997
  # applications should assume the sRGB color space. When color equality needs to
8970
8998
  # be decided, implementations, unless documented otherwise, treat two colors as
8971
- # equal if all their red, green, blue, and alpha values each differ by at most
8972
- # 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
8999
+ # equal if all their red, green, blue, and alpha values each differ by at most `
9000
+ # 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
8973
9001
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
8974
9002
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
8975
9003
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -9017,8 +9045,8 @@ module Google
9017
9045
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentStyleFontSize]
9018
9046
  attr_accessor :font_size
9019
9047
 
9020
- # Font weight. Possible values are normal, bold, bolder, and lighter. https://
9021
- # www.w3schools.com/cssref/pr_font_weight.asp
9048
+ # [Font weight](https://www.w3schools.com/cssref/pr_font_weight.asp). Possible
9049
+ # values are `normal`, `bold`, `bolder`, and `lighter`.
9022
9050
  # Corresponds to the JSON property `fontWeight`
9023
9051
  # @return [String]
9024
9052
  attr_accessor :font_weight
@@ -9028,14 +9056,14 @@ module Google
9028
9056
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentTextAnchor]
9029
9057
  attr_accessor :text_anchor
9030
9058
 
9031
- # Text decoration. Follows CSS standard. https://www.w3schools.com/cssref/
9032
- # pr_text_text-decoration.asp
9059
+ # [Text decoration](https://www.w3schools.com/cssref/pr_text_text-decoration.asp)
9060
+ # . Follows CSS standard.
9033
9061
  # Corresponds to the JSON property `textDecoration`
9034
9062
  # @return [String]
9035
9063
  attr_accessor :text_decoration
9036
9064
 
9037
- # Text style. Possible values are normal, italic, and oblique. https://www.
9038
- # w3schools.com/cssref/pr_font_font-style.asp
9065
+ # [Text style](https://www.w3schools.com/cssref/pr_font_font-style.asp).
9066
+ # Possible values are `normal`, `italic`, and `oblique`.
9039
9067
  # Corresponds to the JSON property `textStyle`
9040
9068
  # @return [String]
9041
9069
  attr_accessor :text_style
@@ -9066,7 +9094,7 @@ module Google
9066
9094
  # @return [Float]
9067
9095
  attr_accessor :size
9068
9096
 
9069
- # Unit for the font size. Follows CSS naming (in, px, pt, etc.).
9097
+ # Unit for the font size. Follows CSS naming (`in`, `px`, `pt`, etc.).
9070
9098
  # Corresponds to the JSON property `unit`
9071
9099
  # @return [String]
9072
9100
  attr_accessor :unit
@@ -10243,18 +10271,18 @@ module Google
10243
10271
  end
10244
10272
 
10245
10273
  # Represents a color in the RGBA color space. This representation is designed
10246
- # for simplicity of conversion to/from color representations in various
10274
+ # for simplicity of conversion to and from color representations in various
10247
10275
  # languages over compactness. For example, the fields of this representation can
10248
10276
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
10249
10277
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
10250
10278
  # method in iOS; and, with just a little work, it can be easily formatted into a
10251
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
10279
+ # CSS `rgba()` string in JavaScript. This reference page does not have
10252
10280
  # information about the absolute color space that should be used to interpret
10253
- # the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
10281
+ # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
10254
10282
  # applications should assume the sRGB color space. When color equality needs to
10255
10283
  # be decided, implementations, unless documented otherwise, treat two colors as
10256
- # equal if all their red, green, blue, and alpha values each differ by at most
10257
- # 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
10284
+ # equal if all their red, green, blue, and alpha values each differ by at most `
10285
+ # 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
10258
10286
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
10259
10287
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
10260
10288
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -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.64.0"
19
+ GEM_VERSION = "0.66.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 = "20230504"
25
+ REVISION = "20230605"
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
 
@@ -1952,6 +1958,8 @@ module Google
1952
1958
 
1953
1959
  property :revision_ref, as: 'revisionRef', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3RevisionRef, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3RevisionRef::Representation
1954
1960
 
1961
+ property :unmanaged_doc_id, as: 'unmanagedDocId', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId::Representation
1962
+
1955
1963
  end
1956
1964
  end
1957
1965
 
@@ -1963,6 +1971,13 @@ module Google
1963
1971
  end
1964
1972
  end
1965
1973
 
1974
+ class GoogleCloudDocumentaiUiv1beta3DocumentIdUnmanagedDocumentId
1975
+ # @private
1976
+ class Representation < Google::Apis::Core::JsonRepresentation
1977
+ property :doc_id, as: 'docId'
1978
+ end
1979
+ end
1980
+
1966
1981
  class GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata
1967
1982
  # @private
1968
1983
  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.64.0
4
+ version: 0.66.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-11 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.64.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.66.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: []