google-apis-documentai_v1beta3 0.71.0 → 0.73.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -300,7 +300,7 @@ module Google
300
300
  end
301
301
  end
302
302
 
303
- # The long-running operation metadata for CreateLabelerPool.
303
+ # The long-running operation metadata for the CreateLabelerPool method.
304
304
  class GoogleCloudDocumentaiUiv1beta3CreateLabelerPoolOperationMetadata
305
305
  include Google::Apis::Core::Hashable
306
306
 
@@ -338,7 +338,7 @@ module Google
338
338
  end
339
339
  end
340
340
 
341
- # The long-running operation metadata for delete processor method.
341
+ # The long-running operation metadata for the DeleteProcessor method.
342
342
  class GoogleCloudDocumentaiUiv1beta3DeleteProcessorMetadata
343
343
  include Google::Apis::Core::Hashable
344
344
 
@@ -357,7 +357,7 @@ module Google
357
357
  end
358
358
  end
359
359
 
360
- # The long-running operation metadata for delete processor version method.
360
+ # The long-running operation metadata for the DeleteProcessorVersion method.
361
361
  class GoogleCloudDocumentaiUiv1beta3DeleteProcessorVersionMetadata
362
362
  include Google::Apis::Core::Hashable
363
363
 
@@ -376,7 +376,7 @@ module Google
376
376
  end
377
377
  end
378
378
 
379
- # The long-running operation metadata for deploy processor version method.
379
+ # The long-running operation metadata for the DeployProcessorVersion method.
380
380
  class GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionMetadata
381
381
  include Google::Apis::Core::Hashable
382
382
 
@@ -395,7 +395,7 @@ module Google
395
395
  end
396
396
  end
397
397
 
398
- # Response message for the deploy processor version method.
398
+ # Response message for the DeployProcessorVersion method.
399
399
  class GoogleCloudDocumentaiUiv1beta3DeployProcessorVersionResponse
400
400
  include Google::Apis::Core::Hashable
401
401
 
@@ -408,7 +408,7 @@ module Google
408
408
  end
409
409
  end
410
410
 
411
- # The long-running operation metadata for disable processor method.
411
+ # The long-running operation metadata for the DisableProcessor method.
412
412
  class GoogleCloudDocumentaiUiv1beta3DisableProcessorMetadata
413
413
  include Google::Apis::Core::Hashable
414
414
 
@@ -427,7 +427,7 @@ module Google
427
427
  end
428
428
  end
429
429
 
430
- # Response message for the disable processor method. Intentionally empty proto
430
+ # Response message for the DisableProcessor method. Intentionally empty proto
431
431
  # for adding fields in future.
432
432
  class GoogleCloudDocumentaiUiv1beta3DisableProcessorResponse
433
433
  include Google::Apis::Core::Hashable
@@ -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,7 +500,27 @@ module Google
493
500
  end
494
501
  end
495
502
 
496
- # The long-running operation metadata for enable processor method.
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
+
523
+ # The long-running operation metadata for the EnableProcessor method.
497
524
  class GoogleCloudDocumentaiUiv1beta3EnableProcessorMetadata
498
525
  include Google::Apis::Core::Hashable
499
526
 
@@ -512,8 +539,8 @@ module Google
512
539
  end
513
540
  end
514
541
 
515
- # Response message for the enable processor method. Intentionally empty proto
516
- # for adding fields in future.
542
+ # Response message for the EnableProcessor method. Intentionally empty proto for
543
+ # adding fields in future.
517
544
  class GoogleCloudDocumentaiUiv1beta3EnableProcessorResponse
518
545
  include Google::Apis::Core::Hashable
519
546
 
@@ -1010,7 +1037,64 @@ module Google
1010
1037
  end
1011
1038
  end
1012
1039
 
1013
- # The long-running operation metadata for set default processor version method.
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
+
1097
+ # The long-running operation metadata for the SetDefaultProcessorVersion method.
1014
1098
  class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
1015
1099
  include Google::Apis::Core::Hashable
1016
1100
 
@@ -1029,7 +1113,7 @@ module Google
1029
1113
  end
1030
1114
  end
1031
1115
 
1032
- # Response message for set default processor version method.
1116
+ # Response message for the SetDefaultProcessorVersion method.
1033
1117
  class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionResponse
1034
1118
  include Google::Apis::Core::Hashable
1035
1119
 
@@ -1135,7 +1219,7 @@ module Google
1135
1219
  end
1136
1220
  end
1137
1221
 
1138
- # The long-running operation metadata for the undeploy processor version method.
1222
+ # The long-running operation metadata for the UndeployProcessorVersion method.
1139
1223
  class GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionMetadata
1140
1224
  include Google::Apis::Core::Hashable
1141
1225
 
@@ -1154,7 +1238,7 @@ module Google
1154
1238
  end
1155
1239
  end
1156
1240
 
1157
- # Response message for the undeploy processor version method.
1241
+ # Response message for the UndeployProcessorVersion method.
1158
1242
  class GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse
1159
1243
  include Google::Apis::Core::Hashable
1160
1244
 
@@ -1278,16 +1362,15 @@ module Google
1278
1362
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1HumanReviewStatus]
1279
1363
  attr_accessor :human_review_status
1280
1364
 
1281
- # The source of the document, same as the [input_gcs_source] field in the
1282
- # request when the batch process started. The batch process is started by take
1283
- # snapshot of that document, since a user can move or change that document
1284
- # during the process.
1365
+ # The source of the document, same as the input_gcs_source field in the request
1366
+ # when the batch process started.
1285
1367
  # Corresponds to the JSON property `inputGcsSource`
1286
1368
  # @return [String]
1287
1369
  attr_accessor :input_gcs_source
1288
1370
 
1289
- # The output_gcs_destination (in the request as `output_gcs_destination`) of the
1290
- # processed document if it was successful, otherwise empty.
1371
+ # The Cloud Storage output destination (in the request as DocumentOutputConfig.
1372
+ # GcsOutputConfig.gcs_uri) of the processed document if it was successful,
1373
+ # otherwise empty.
1291
1374
  # Corresponds to the JSON property `outputGcsDestination`
1292
1375
  # @return [String]
1293
1376
  attr_accessor :output_gcs_destination
@@ -1371,7 +1454,7 @@ module Google
1371
1454
  end
1372
1455
  end
1373
1456
 
1374
- # The long-running operation metadata for delete processor method.
1457
+ # The long-running operation metadata for the DeleteProcessor method.
1375
1458
  class GoogleCloudDocumentaiV1DeleteProcessorMetadata
1376
1459
  include Google::Apis::Core::Hashable
1377
1460
 
@@ -1390,7 +1473,7 @@ module Google
1390
1473
  end
1391
1474
  end
1392
1475
 
1393
- # The long-running operation metadata for delete processor version method.
1476
+ # The long-running operation metadata for the DeleteProcessorVersion method.
1394
1477
  class GoogleCloudDocumentaiV1DeleteProcessorVersionMetadata
1395
1478
  include Google::Apis::Core::Hashable
1396
1479
 
@@ -1409,7 +1492,7 @@ module Google
1409
1492
  end
1410
1493
  end
1411
1494
 
1412
- # The long-running operation metadata for deploy processor version method.
1495
+ # The long-running operation metadata for the DeployProcessorVersion method.
1413
1496
  class GoogleCloudDocumentaiV1DeployProcessorVersionMetadata
1414
1497
  include Google::Apis::Core::Hashable
1415
1498
 
@@ -1428,7 +1511,7 @@ module Google
1428
1511
  end
1429
1512
  end
1430
1513
 
1431
- # Response message for the deploy processor version method.
1514
+ # Response message for the DeployProcessorVersion method.
1432
1515
  class GoogleCloudDocumentaiV1DeployProcessorVersionResponse
1433
1516
  include Google::Apis::Core::Hashable
1434
1517
 
@@ -1441,7 +1524,7 @@ module Google
1441
1524
  end
1442
1525
  end
1443
1526
 
1444
- # The long-running operation metadata for disable processor method.
1527
+ # The long-running operation metadata for the DisableProcessor method.
1445
1528
  class GoogleCloudDocumentaiV1DisableProcessorMetadata
1446
1529
  include Google::Apis::Core::Hashable
1447
1530
 
@@ -1460,7 +1543,7 @@ module Google
1460
1543
  end
1461
1544
  end
1462
1545
 
1463
- # Response message for the disable processor method. Intentionally empty proto
1546
+ # Response message for the DisableProcessor method. Intentionally empty proto
1464
1547
  # for adding fields in future.
1465
1548
  class GoogleCloudDocumentaiV1DisableProcessorResponse
1466
1549
  include Google::Apis::Core::Hashable
@@ -1474,7 +1557,7 @@ module Google
1474
1557
  end
1475
1558
  end
1476
1559
 
1477
- # The long-running operation metadata for enable processor method.
1560
+ # The long-running operation metadata for the EnableProcessor method.
1478
1561
  class GoogleCloudDocumentaiV1EnableProcessorMetadata
1479
1562
  include Google::Apis::Core::Hashable
1480
1563
 
@@ -1493,8 +1576,8 @@ module Google
1493
1576
  end
1494
1577
  end
1495
1578
 
1496
- # Response message for the enable processor method. Intentionally empty proto
1497
- # for adding fields in future.
1579
+ # Response message for the EnableProcessor method. Intentionally empty proto for
1580
+ # adding fields in future.
1498
1581
  class GoogleCloudDocumentaiV1EnableProcessorResponse
1499
1582
  include Google::Apis::Core::Hashable
1500
1583
 
@@ -1579,7 +1662,7 @@ module Google
1579
1662
  end
1580
1663
  end
1581
1664
 
1582
- # The long-running operation metadata for review document method.
1665
+ # The long-running operation metadata for the ReviewDocument method.
1583
1666
  class GoogleCloudDocumentaiV1ReviewDocumentOperationMetadata
1584
1667
  include Google::Apis::Core::Hashable
1585
1668
 
@@ -1604,7 +1687,7 @@ module Google
1604
1687
  end
1605
1688
  end
1606
1689
 
1607
- # Response message for review document method.
1690
+ # Response message for the ReviewDocument method.
1608
1691
  class GoogleCloudDocumentaiV1ReviewDocumentResponse
1609
1692
  include Google::Apis::Core::Hashable
1610
1693
 
@@ -1636,7 +1719,7 @@ module Google
1636
1719
  end
1637
1720
  end
1638
1721
 
1639
- # The long-running operation metadata for set default processor version method.
1722
+ # The long-running operation metadata for the SetDefaultProcessorVersion method.
1640
1723
  class GoogleCloudDocumentaiV1SetDefaultProcessorVersionMetadata
1641
1724
  include Google::Apis::Core::Hashable
1642
1725
 
@@ -1655,7 +1738,7 @@ module Google
1655
1738
  end
1656
1739
  end
1657
1740
 
1658
- # Response message for set default processor version method.
1741
+ # Response message for the SetDefaultProcessorVersion method.
1659
1742
  class GoogleCloudDocumentaiV1SetDefaultProcessorVersionResponse
1660
1743
  include Google::Apis::Core::Hashable
1661
1744
 
@@ -1761,7 +1844,7 @@ module Google
1761
1844
  end
1762
1845
  end
1763
1846
 
1764
- # The long-running operation metadata for the undeploy processor version method.
1847
+ # The long-running operation metadata for the UndeployProcessorVersion method.
1765
1848
  class GoogleCloudDocumentaiV1UndeployProcessorVersionMetadata
1766
1849
  include Google::Apis::Core::Hashable
1767
1850
 
@@ -1780,7 +1863,7 @@ module Google
1780
1863
  end
1781
1864
  end
1782
1865
 
1783
- # Response message for the undeploy processor version method.
1866
+ # Response message for the UndeployProcessorVersion method.
1784
1867
  class GoogleCloudDocumentaiV1UndeployProcessorVersionResponse
1785
1868
  include Google::Apis::Core::Hashable
1786
1869
 
@@ -1957,9 +2040,9 @@ module Google
1957
2040
  attr_accessor :text_styles
1958
2041
 
1959
2042
  # Optional. Currently supports Google Cloud Storage URI of the form `gs://
1960
- # bucket_name/object_name`. Object versioning is not supported. See [Google
1961
- # Cloud Storage Request URIs](https://cloud.google.com/storage/docs/reference-
1962
- # uris) for more info.
2043
+ # bucket_name/object_name`. Object versioning is not supported. For more
2044
+ # information, refer to [Google Cloud Storage Request URIs](https://cloud.google.
2045
+ # com/storage/docs/reference-uris).
1963
2046
  # Corresponds to the JSON property `uri`
1964
2047
  # @return [String]
1965
2048
  attr_accessor :uri
@@ -3005,18 +3088,18 @@ module Google
3005
3088
  include Google::Apis::Core::Hashable
3006
3089
 
3007
3090
  # Represents a color in the RGBA color space. This representation is designed
3008
- # for simplicity of conversion to/from color representations in various
3091
+ # for simplicity of conversion to and from color representations in various
3009
3092
  # languages over compactness. For example, the fields of this representation can
3010
3093
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
3011
3094
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
3012
3095
  # method in iOS; and, with just a little work, it can be easily formatted into a
3013
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
3096
+ # CSS `rgba()` string in JavaScript. This reference page does not have
3014
3097
  # information about the absolute color space that should be used to interpret
3015
- # 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,
3016
3099
  # applications should assume the sRGB color space. When color equality needs to
3017
3100
  # be decided, implementations, unless documented otherwise, treat two colors as
3018
- # equal if all their red, green, blue, and alpha values each differ by at most
3019
- # 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.
3020
3103
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
3021
3104
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
3022
3105
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -3053,13 +3136,13 @@ module Google
3053
3136
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypeColor]
3054
3137
  attr_accessor :background_color
3055
3138
 
3056
- # Whether the text is bold (equivalent to font weight >= 700).
3139
+ # Whether the text is bold (equivalent to font_weight is at least `700`).
3057
3140
  # Corresponds to the JSON property `bold`
3058
3141
  # @return [Boolean]
3059
3142
  attr_accessor :bold
3060
3143
  alias_method :bold?, :bold
3061
3144
 
3062
- # Font size in points (1 point is 1/72").
3145
+ # Font size in points (`1` point is `¹⁄₇₂` inches).
3063
3146
  # Corresponds to the JSON property `fontSize`
3064
3147
  # @return [Fixnum]
3065
3148
  attr_accessor :font_size
@@ -3069,8 +3152,8 @@ module Google
3069
3152
  # @return [String]
3070
3153
  attr_accessor :font_type
3071
3154
 
3072
- # TrueType weight on a scale 100 (Thin) to 1000 (Ultra-heavy). Normal is 400,
3073
- # Bold is 700.
3155
+ # TrueType weight on a scale `100` (thin) to `1000` (ultra-heavy). Normal is `
3156
+ # 400`, bold is `700`.
3074
3157
  # Corresponds to the JSON property `fontWeight`
3075
3158
  # @return [Fixnum]
3076
3159
  attr_accessor :font_weight
@@ -3092,12 +3175,12 @@ module Google
3092
3175
  # @return [Float]
3093
3176
  attr_accessor :letter_spacing
3094
3177
 
3095
- # Font size in pixels, equal to unrounded_fontsize * resolution / 72.0.
3178
+ # Font size in pixels, equal to _unrounded font_size_ * _resolution_ ÷ `72.0`.
3096
3179
  # Corresponds to the JSON property `pixelFontSize`
3097
3180
  # @return [Float]
3098
3181
  attr_accessor :pixel_font_size
3099
3182
 
3100
- # Whether the text are small caps.
3183
+ # Whether the text is in small caps.
3101
3184
  # Corresponds to the JSON property `smallcaps`
3102
3185
  # @return [Boolean]
3103
3186
  attr_accessor :smallcaps
@@ -3122,18 +3205,18 @@ module Google
3122
3205
  alias_method :superscript?, :superscript
3123
3206
 
3124
3207
  # Represents a color in the RGBA color space. This representation is designed
3125
- # for simplicity of conversion to/from color representations in various
3208
+ # for simplicity of conversion to and from color representations in various
3126
3209
  # languages over compactness. For example, the fields of this representation can
3127
3210
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
3128
3211
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
3129
3212
  # method in iOS; and, with just a little work, it can be easily formatted into a
3130
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
3213
+ # CSS `rgba()` string in JavaScript. This reference page does not have
3131
3214
  # information about the absolute color space that should be used to interpret
3132
- # 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,
3133
3216
  # applications should assume the sRGB color space. When color equality needs to
3134
3217
  # be decided, implementations, unless documented otherwise, treat two colors as
3135
- # equal if all their red, green, blue, and alpha values each differ by at most
3136
- # 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.
3137
3220
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
3138
3221
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
3139
3222
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -3429,18 +3512,18 @@ module Google
3429
3512
  include Google::Apis::Core::Hashable
3430
3513
 
3431
3514
  # Represents a color in the RGBA color space. This representation is designed
3432
- # for simplicity of conversion to/from color representations in various
3515
+ # for simplicity of conversion to and from color representations in various
3433
3516
  # languages over compactness. For example, the fields of this representation can
3434
3517
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
3435
3518
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
3436
3519
  # method in iOS; and, with just a little work, it can be easily formatted into a
3437
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
3520
+ # CSS `rgba()` string in JavaScript. This reference page does not have
3438
3521
  # information about the absolute color space that should be used to interpret
3439
- # 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,
3440
3523
  # applications should assume the sRGB color space. When color equality needs to
3441
3524
  # be decided, implementations, unless documented otherwise, treat two colors as
3442
- # equal if all their red, green, blue, and alpha values each differ by at most
3443
- # 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.
3444
3527
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
3445
3528
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
3446
3529
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -3478,18 +3561,18 @@ module Google
3478
3561
  attr_accessor :background_color
3479
3562
 
3480
3563
  # Represents a color in the RGBA color space. This representation is designed
3481
- # for simplicity of conversion to/from color representations in various
3564
+ # for simplicity of conversion to and from color representations in various
3482
3565
  # languages over compactness. For example, the fields of this representation can
3483
3566
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
3484
3567
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
3485
3568
  # method in iOS; and, with just a little work, it can be easily formatted into a
3486
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
3569
+ # CSS `rgba()` string in JavaScript. This reference page does not have
3487
3570
  # information about the absolute color space that should be used to interpret
3488
- # 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,
3489
3572
  # applications should assume the sRGB color space. When color equality needs to
3490
3573
  # be decided, implementations, unless documented otherwise, treat two colors as
3491
- # equal if all their red, green, blue, and alpha values each differ by at most
3492
- # 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.
3493
3576
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
3494
3577
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
3495
3578
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -4068,9 +4151,9 @@ module Google
4068
4151
  attr_accessor :text_styles
4069
4152
 
4070
4153
  # Optional. Currently supports Google Cloud Storage URI of the form `gs://
4071
- # bucket_name/object_name`. Object versioning is not supported. See [Google
4072
- # Cloud Storage Request URIs](https://cloud.google.com/storage/docs/reference-
4073
- # uris) for more info.
4154
+ # bucket_name/object_name`. Object versioning is not supported. For more
4155
+ # information, refer to [Google Cloud Storage Request URIs](https://cloud.google.
4156
+ # com/storage/docs/reference-uris).
4074
4157
  # Corresponds to the JSON property `uri`
4075
4158
  # @return [String]
4076
4159
  attr_accessor :uri
@@ -5154,18 +5237,18 @@ module Google
5154
5237
  include Google::Apis::Core::Hashable
5155
5238
 
5156
5239
  # Represents a color in the RGBA color space. This representation is designed
5157
- # for simplicity of conversion to/from color representations in various
5240
+ # for simplicity of conversion to and from color representations in various
5158
5241
  # languages over compactness. For example, the fields of this representation can
5159
5242
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
5160
5243
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
5161
5244
  # method in iOS; and, with just a little work, it can be easily formatted into a
5162
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
5245
+ # CSS `rgba()` string in JavaScript. This reference page does not have
5163
5246
  # information about the absolute color space that should be used to interpret
5164
- # 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,
5165
5248
  # applications should assume the sRGB color space. When color equality needs to
5166
5249
  # be decided, implementations, unless documented otherwise, treat two colors as
5167
- # equal if all their red, green, blue, and alpha values each differ by at most
5168
- # 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.
5169
5252
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
5170
5253
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
5171
5254
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -5202,13 +5285,13 @@ module Google
5202
5285
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypeColor]
5203
5286
  attr_accessor :background_color
5204
5287
 
5205
- # Whether the text is bold (equivalent to font weight >= 700).
5288
+ # Whether the text is bold (equivalent to font_weight is at least `700`).
5206
5289
  # Corresponds to the JSON property `bold`
5207
5290
  # @return [Boolean]
5208
5291
  attr_accessor :bold
5209
5292
  alias_method :bold?, :bold
5210
5293
 
5211
- # Font size in points (1 point is 1/72").
5294
+ # Font size in points (`1` point is `¹⁄₇₂` inches).
5212
5295
  # Corresponds to the JSON property `fontSize`
5213
5296
  # @return [Fixnum]
5214
5297
  attr_accessor :font_size
@@ -5218,8 +5301,8 @@ module Google
5218
5301
  # @return [String]
5219
5302
  attr_accessor :font_type
5220
5303
 
5221
- # TrueType weight on a scale 100 (Thin) to 1000 (Ultra-heavy). Normal is 400,
5222
- # Bold is 700.
5304
+ # TrueType weight on a scale `100` (thin) to `1000` (ultra-heavy). Normal is `
5305
+ # 400`, bold is `700`.
5223
5306
  # Corresponds to the JSON property `fontWeight`
5224
5307
  # @return [Fixnum]
5225
5308
  attr_accessor :font_weight
@@ -5241,12 +5324,12 @@ module Google
5241
5324
  # @return [Float]
5242
5325
  attr_accessor :letter_spacing
5243
5326
 
5244
- # Font size in pixels, equal to unrounded_fontsize * resolution / 72.0.
5327
+ # Font size in pixels, equal to _unrounded font_size_ * _resolution_ ÷ `72.0`.
5245
5328
  # Corresponds to the JSON property `pixelFontSize`
5246
5329
  # @return [Float]
5247
5330
  attr_accessor :pixel_font_size
5248
5331
 
5249
- # Whether the text are small caps.
5332
+ # Whether the text is in small caps.
5250
5333
  # Corresponds to the JSON property `smallcaps`
5251
5334
  # @return [Boolean]
5252
5335
  attr_accessor :smallcaps
@@ -5271,18 +5354,18 @@ module Google
5271
5354
  alias_method :superscript?, :superscript
5272
5355
 
5273
5356
  # Represents a color in the RGBA color space. This representation is designed
5274
- # for simplicity of conversion to/from color representations in various
5357
+ # for simplicity of conversion to and from color representations in various
5275
5358
  # languages over compactness. For example, the fields of this representation can
5276
5359
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
5277
5360
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
5278
5361
  # method in iOS; and, with just a little work, it can be easily formatted into a
5279
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
5362
+ # CSS `rgba()` string in JavaScript. This reference page does not have
5280
5363
  # information about the absolute color space that should be used to interpret
5281
- # 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,
5282
5365
  # applications should assume the sRGB color space. When color equality needs to
5283
5366
  # be decided, implementations, unless documented otherwise, treat two colors as
5284
- # equal if all their red, green, blue, and alpha values each differ by at most
5285
- # 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.
5286
5369
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
5287
5370
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
5288
5371
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -5578,18 +5661,18 @@ module Google
5578
5661
  include Google::Apis::Core::Hashable
5579
5662
 
5580
5663
  # Represents a color in the RGBA color space. This representation is designed
5581
- # for simplicity of conversion to/from color representations in various
5664
+ # for simplicity of conversion to and from color representations in various
5582
5665
  # languages over compactness. For example, the fields of this representation can
5583
5666
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
5584
5667
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
5585
5668
  # method in iOS; and, with just a little work, it can be easily formatted into a
5586
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
5669
+ # CSS `rgba()` string in JavaScript. This reference page does not have
5587
5670
  # information about the absolute color space that should be used to interpret
5588
- # 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,
5589
5672
  # applications should assume the sRGB color space. When color equality needs to
5590
5673
  # be decided, implementations, unless documented otherwise, treat two colors as
5591
- # equal if all their red, green, blue, and alpha values each differ by at most
5592
- # 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.
5593
5676
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
5594
5677
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
5595
5678
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -5627,18 +5710,18 @@ module Google
5627
5710
  attr_accessor :background_color
5628
5711
 
5629
5712
  # Represents a color in the RGBA color space. This representation is designed
5630
- # for simplicity of conversion to/from color representations in various
5713
+ # for simplicity of conversion to and from color representations in various
5631
5714
  # languages over compactness. For example, the fields of this representation can
5632
5715
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
5633
5716
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
5634
5717
  # method in iOS; and, with just a little work, it can be easily formatted into a
5635
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
5718
+ # CSS `rgba()` string in JavaScript. This reference page does not have
5636
5719
  # information about the absolute color space that should be used to interpret
5637
- # 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,
5638
5721
  # applications should assume the sRGB color space. When color equality needs to
5639
5722
  # be decided, implementations, unless documented otherwise, treat two colors as
5640
- # equal if all their red, green, blue, and alpha values each differ by at most
5641
- # 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.
5642
5725
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
5643
5726
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
5644
5727
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -6175,7 +6258,7 @@ module Google
6175
6258
 
6176
6259
  # The name of the operation triggered by the processed document. If the human
6177
6260
  # review process isn't triggered, this field will be empty. It has the same
6178
- # response type and metadata as the long-running operation returned by
6261
+ # response type and metadata as the long-running operation returned by the
6179
6262
  # ReviewDocument method.
6180
6263
  # Corresponds to the JSON property `humanReviewOperation`
6181
6264
  # @return [String]
@@ -6186,16 +6269,15 @@ module Google
6186
6269
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3HumanReviewStatus]
6187
6270
  attr_accessor :human_review_status
6188
6271
 
6189
- # The source of the document, same as the [input_gcs_source] field in the
6190
- # request when the batch process started. The batch process is started by take
6191
- # snapshot of that document, since a user can move or change that document
6192
- # during the process.
6272
+ # The source of the document, same as the input_gcs_source field in the request
6273
+ # when the batch process started.
6193
6274
  # Corresponds to the JSON property `inputGcsSource`
6194
6275
  # @return [String]
6195
6276
  attr_accessor :input_gcs_source
6196
6277
 
6197
- # The output_gcs_destination (in the request as `output_gcs_destination`) of the
6198
- # processed document if it was successful, otherwise empty.
6278
+ # The Cloud Storage output destination (in the request as DocumentOutputConfig.
6279
+ # GcsOutputConfig.gcs_uri) of the processed document if it was successful,
6280
+ # otherwise empty.
6199
6281
  # Corresponds to the JSON property `outputGcsDestination`
6200
6282
  # @return [String]
6201
6283
  attr_accessor :output_gcs_destination
@@ -6244,7 +6326,7 @@ module Google
6244
6326
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig]
6245
6327
  attr_accessor :input_documents
6246
6328
 
6247
- # The message for output config in batch process.
6329
+ # The output configuration in the BatchProcessDocuments method.
6248
6330
  # Corresponds to the JSON property `outputConfig`
6249
6331
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchOutputConfig]
6250
6332
  attr_accessor :output_config
@@ -6285,9 +6367,10 @@ module Google
6285
6367
  # @return [String]
6286
6368
  attr_accessor :gcs_source
6287
6369
 
6288
- # Mimetype of the input. If the input is a raw document, the supported mimetypes
6289
- # are application/pdf, image/tiff, and image/gif. If the input is a Document
6290
- # proto, the type should be application/json.
6370
+ # Media type (MIME type) of the input. If the input is a raw document, refer to [
6371
+ # supported file types](https://cloud.google.com/document-ai/docs/file-types)
6372
+ # for the list of media types. If the input is a Document, the type should be `
6373
+ # application/json`.
6291
6374
  # Corresponds to the JSON property `mimeType`
6292
6375
  # @return [String]
6293
6376
  attr_accessor :mime_type
@@ -6303,7 +6386,7 @@ module Google
6303
6386
  end
6304
6387
  end
6305
6388
 
6306
- # The message for output config in batch process.
6389
+ # The output configuration in the BatchProcessDocuments method.
6307
6390
  class GoogleCloudDocumentaiV1beta3BatchProcessRequestBatchOutputConfig
6308
6391
  include Google::Apis::Core::Hashable
6309
6392
 
@@ -6403,7 +6486,7 @@ module Google
6403
6486
  end
6404
6487
  end
6405
6488
 
6406
- # The long-running operation metadata for delete processor method.
6489
+ # The long-running operation metadata for the DeleteProcessor method.
6407
6490
  class GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata
6408
6491
  include Google::Apis::Core::Hashable
6409
6492
 
@@ -6422,7 +6505,7 @@ module Google
6422
6505
  end
6423
6506
  end
6424
6507
 
6425
- # The long-running operation metadata for delete processor version method.
6508
+ # The long-running operation metadata for the DeleteProcessorVersion method.
6426
6509
  class GoogleCloudDocumentaiV1beta3DeleteProcessorVersionMetadata
6427
6510
  include Google::Apis::Core::Hashable
6428
6511
 
@@ -6441,7 +6524,7 @@ module Google
6441
6524
  end
6442
6525
  end
6443
6526
 
6444
- # The long-running operation metadata for deploy processor version method.
6527
+ # The long-running operation metadata for the DeployProcessorVersion method.
6445
6528
  class GoogleCloudDocumentaiV1beta3DeployProcessorVersionMetadata
6446
6529
  include Google::Apis::Core::Hashable
6447
6530
 
@@ -6460,7 +6543,7 @@ module Google
6460
6543
  end
6461
6544
  end
6462
6545
 
6463
- # Request message for the deploy processor version method.
6546
+ # Request message for the DeployProcessorVersion method.
6464
6547
  class GoogleCloudDocumentaiV1beta3DeployProcessorVersionRequest
6465
6548
  include Google::Apis::Core::Hashable
6466
6549
 
@@ -6473,7 +6556,7 @@ module Google
6473
6556
  end
6474
6557
  end
6475
6558
 
6476
- # Response message for the deploy processor version method.
6559
+ # Response message for the DeployProcessorVersion method.
6477
6560
  class GoogleCloudDocumentaiV1beta3DeployProcessorVersionResponse
6478
6561
  include Google::Apis::Core::Hashable
6479
6562
 
@@ -6486,7 +6569,7 @@ module Google
6486
6569
  end
6487
6570
  end
6488
6571
 
6489
- # The long-running operation metadata for disable processor method.
6572
+ # The long-running operation metadata for the DisableProcessor method.
6490
6573
  class GoogleCloudDocumentaiV1beta3DisableProcessorMetadata
6491
6574
  include Google::Apis::Core::Hashable
6492
6575
 
@@ -6505,7 +6588,7 @@ module Google
6505
6588
  end
6506
6589
  end
6507
6590
 
6508
- # Request message for the disable processor method.
6591
+ # Request message for the DisableProcessor method.
6509
6592
  class GoogleCloudDocumentaiV1beta3DisableProcessorRequest
6510
6593
  include Google::Apis::Core::Hashable
6511
6594
 
@@ -6518,7 +6601,7 @@ module Google
6518
6601
  end
6519
6602
  end
6520
6603
 
6521
- # Response message for the disable processor method. Intentionally empty proto
6604
+ # Response message for the DisableProcessor method. Intentionally empty proto
6522
6605
  # for adding fields in future.
6523
6606
  class GoogleCloudDocumentaiV1beta3DisableProcessorResponse
6524
6607
  include Google::Apis::Core::Hashable
@@ -6609,9 +6692,9 @@ module Google
6609
6692
  attr_accessor :text_styles
6610
6693
 
6611
6694
  # Optional. Currently supports Google Cloud Storage URI of the form `gs://
6612
- # bucket_name/object_name`. Object versioning is not supported. See [Google
6613
- # Cloud Storage Request URIs](https://cloud.google.com/storage/docs/reference-
6614
- # uris) for more info.
6695
+ # bucket_name/object_name`. Object versioning is not supported. For more
6696
+ # information, refer to [Google Cloud Storage Request URIs](https://cloud.google.
6697
+ # com/storage/docs/reference-uris).
6615
6698
  # Corresponds to the JSON property `uri`
6616
6699
  # @return [String]
6617
6700
  attr_accessor :uri
@@ -7735,18 +7818,18 @@ module Google
7735
7818
  include Google::Apis::Core::Hashable
7736
7819
 
7737
7820
  # Represents a color in the RGBA color space. This representation is designed
7738
- # for simplicity of conversion to/from color representations in various
7821
+ # for simplicity of conversion to and from color representations in various
7739
7822
  # languages over compactness. For example, the fields of this representation can
7740
7823
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
7741
7824
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
7742
7825
  # method in iOS; and, with just a little work, it can be easily formatted into a
7743
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
7826
+ # CSS `rgba()` string in JavaScript. This reference page does not have
7744
7827
  # information about the absolute color space that should be used to interpret
7745
- # the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
7828
+ # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
7746
7829
  # applications should assume the sRGB color space. When color equality needs to
7747
7830
  # be decided, implementations, unless documented otherwise, treat two colors as
7748
- # equal if all their red, green, blue, and alpha values each differ by at most
7749
- # 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
7831
+ # equal if all their red, green, blue, and alpha values each differ by at most `
7832
+ # 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
7750
7833
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
7751
7834
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
7752
7835
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -7783,13 +7866,13 @@ module Google
7783
7866
  # @return [Google::Apis::DocumentaiV1beta3::GoogleTypeColor]
7784
7867
  attr_accessor :background_color
7785
7868
 
7786
- # Whether the text is bold (equivalent to font weight >= 700).
7869
+ # Whether the text is bold (equivalent to font_weight is at least `700`).
7787
7870
  # Corresponds to the JSON property `bold`
7788
7871
  # @return [Boolean]
7789
7872
  attr_accessor :bold
7790
7873
  alias_method :bold?, :bold
7791
7874
 
7792
- # Font size in points (1 point is 1/72").
7875
+ # Font size in points (`1` point is `¹⁄₇₂` inches).
7793
7876
  # Corresponds to the JSON property `fontSize`
7794
7877
  # @return [Fixnum]
7795
7878
  attr_accessor :font_size
@@ -7799,8 +7882,8 @@ module Google
7799
7882
  # @return [String]
7800
7883
  attr_accessor :font_type
7801
7884
 
7802
- # TrueType weight on a scale 100 (Thin) to 1000 (Ultra-heavy). Normal is 400,
7803
- # Bold is 700.
7885
+ # TrueType weight on a scale `100` (thin) to `1000` (ultra-heavy). Normal is `
7886
+ # 400`, bold is `700`.
7804
7887
  # Corresponds to the JSON property `fontWeight`
7805
7888
  # @return [Fixnum]
7806
7889
  attr_accessor :font_weight
@@ -7822,12 +7905,12 @@ module Google
7822
7905
  # @return [Float]
7823
7906
  attr_accessor :letter_spacing
7824
7907
 
7825
- # Font size in pixels, equal to unrounded_fontsize * resolution / 72.0.
7908
+ # Font size in pixels, equal to _unrounded font_size_ * _resolution_ ÷ `72.0`.
7826
7909
  # Corresponds to the JSON property `pixelFontSize`
7827
7910
  # @return [Float]
7828
7911
  attr_accessor :pixel_font_size
7829
7912
 
7830
- # Whether the text are small caps.
7913
+ # Whether the text is in small caps.
7831
7914
  # Corresponds to the JSON property `smallcaps`
7832
7915
  # @return [Boolean]
7833
7916
  attr_accessor :smallcaps
@@ -7852,18 +7935,18 @@ module Google
7852
7935
  alias_method :superscript?, :superscript
7853
7936
 
7854
7937
  # Represents a color in the RGBA color space. This representation is designed
7855
- # for simplicity of conversion to/from color representations in various
7938
+ # for simplicity of conversion to and from color representations in various
7856
7939
  # languages over compactness. For example, the fields of this representation can
7857
7940
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
7858
7941
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
7859
7942
  # method in iOS; and, with just a little work, it can be easily formatted into a
7860
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
7943
+ # CSS `rgba()` string in JavaScript. This reference page does not have
7861
7944
  # information about the absolute color space that should be used to interpret
7862
- # the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
7945
+ # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
7863
7946
  # applications should assume the sRGB color space. When color equality needs to
7864
7947
  # be decided, implementations, unless documented otherwise, treat two colors as
7865
- # equal if all their red, green, blue, and alpha values each differ by at most
7866
- # 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
7948
+ # equal if all their red, green, blue, and alpha values each differ by at most `
7949
+ # 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
7867
7950
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
7868
7951
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
7869
7952
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -8346,18 +8429,18 @@ module Google
8346
8429
  include Google::Apis::Core::Hashable
8347
8430
 
8348
8431
  # Represents a color in the RGBA color space. This representation is designed
8349
- # for simplicity of conversion to/from color representations in various
8432
+ # for simplicity of conversion to and from color representations in various
8350
8433
  # languages over compactness. For example, the fields of this representation can
8351
8434
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
8352
8435
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
8353
8436
  # method in iOS; and, with just a little work, it can be easily formatted into a
8354
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
8437
+ # CSS `rgba()` string in JavaScript. This reference page does not have
8355
8438
  # information about the absolute color space that should be used to interpret
8356
- # the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
8439
+ # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
8357
8440
  # applications should assume the sRGB color space. When color equality needs to
8358
8441
  # be decided, implementations, unless documented otherwise, treat two colors as
8359
- # equal if all their red, green, blue, and alpha values each differ by at most
8360
- # 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
8442
+ # equal if all their red, green, blue, and alpha values each differ by at most `
8443
+ # 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
8361
8444
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
8362
8445
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
8363
8446
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -8395,18 +8478,18 @@ module Google
8395
8478
  attr_accessor :background_color
8396
8479
 
8397
8480
  # Represents a color in the RGBA color space. This representation is designed
8398
- # for simplicity of conversion to/from color representations in various
8481
+ # for simplicity of conversion to and from color representations in various
8399
8482
  # languages over compactness. For example, the fields of this representation can
8400
8483
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
8401
8484
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
8402
8485
  # method in iOS; and, with just a little work, it can be easily formatted into a
8403
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
8486
+ # CSS `rgba()` string in JavaScript. This reference page does not have
8404
8487
  # information about the absolute color space that should be used to interpret
8405
- # the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
8488
+ # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
8406
8489
  # applications should assume the sRGB color space. When color equality needs to
8407
8490
  # be decided, implementations, unless documented otherwise, treat two colors as
8408
- # equal if all their red, green, blue, and alpha values each differ by at most
8409
- # 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
8491
+ # equal if all their red, green, blue, and alpha values each differ by at most `
8492
+ # 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
8410
8493
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
8411
8494
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
8412
8495
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
@@ -8603,7 +8686,7 @@ module Google
8603
8686
  end
8604
8687
  end
8605
8688
 
8606
- # The long-running operation metadata for enable processor method.
8689
+ # The long-running operation metadata for the EnableProcessor method.
8607
8690
  class GoogleCloudDocumentaiV1beta3EnableProcessorMetadata
8608
8691
  include Google::Apis::Core::Hashable
8609
8692
 
@@ -8622,7 +8705,7 @@ module Google
8622
8705
  end
8623
8706
  end
8624
8707
 
8625
- # Request message for the enable processor method.
8708
+ # Request message for the EnableProcessor method.
8626
8709
  class GoogleCloudDocumentaiV1beta3EnableProcessorRequest
8627
8710
  include Google::Apis::Core::Hashable
8628
8711
 
@@ -8635,8 +8718,8 @@ module Google
8635
8718
  end
8636
8719
  end
8637
8720
 
8638
- # Response message for the enable processor method. Intentionally empty proto
8639
- # for adding fields in future.
8721
+ # Response message for the EnableProcessor method. Intentionally empty proto for
8722
+ # adding fields in future.
8640
8723
  class GoogleCloudDocumentaiV1beta3EnableProcessorResponse
8641
8724
  include Google::Apis::Core::Hashable
8642
8725
 
@@ -9001,7 +9084,7 @@ module Google
9001
9084
  end
9002
9085
  end
9003
9086
 
9004
- # Response message for fetch processor types.
9087
+ # Response message for the FetchProcessorTypes method.
9005
9088
  class GoogleCloudDocumentaiV1beta3FetchProcessorTypesResponse
9006
9089
  include Google::Apis::Core::Hashable
9007
9090
 
@@ -9136,18 +9219,18 @@ module Google
9136
9219
  end
9137
9220
  end
9138
9221
 
9139
- # The request message for the `ImportProcessorVersion` method. This method
9140
- # requires the source processor version and destination processor to be in the
9141
- # same location. This method requires the Document AI Service Agent of the
9142
- # destination project to have [Document AI Editor role](https://cloud.google.com/
9143
- # document-ai/docs/access-control/iam-roles) on the source project. The
9144
- # destination project is specified as part of the `parent` field. The source
9145
- # project is specified as part of `source` field. The Service Agent for Document
9146
- # AI can be found in https://cloud.google.com/iam/docs/service-agents.
9222
+ # The request message for the ImportProcessorVersion method. Requirements: - The
9223
+ # source processor version and destination processor must be in the same
9224
+ # location. - The Document AI [Service Agent](https://cloud.google.com/iam/docs/
9225
+ # service-agents) of the destination project must have [Document AI Editor role](
9226
+ # https://cloud.google.com/document-ai/docs/access-control/iam-roles) on the
9227
+ # source project. The destination project is specified as part of the parent
9228
+ # field. The source project is specified as part of the source field.
9147
9229
  class GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequest
9148
9230
  include Google::Apis::Core::Hashable
9149
9231
 
9150
- # The source processor version to import from.
9232
+ # The source processor version to import from. The source processor version and
9233
+ # destination processor need to be in the same environment and region.
9151
9234
  # Corresponds to the JSON property `processorVersionSource`
9152
9235
  # @return [String]
9153
9236
  attr_accessor :processor_version_source
@@ -9207,7 +9290,7 @@ module Google
9207
9290
  end
9208
9291
  end
9209
9292
 
9210
- # Response message for list processor types.
9293
+ # Response message for the ListProcessorTypes method.
9211
9294
  class GoogleCloudDocumentaiV1beta3ListProcessorTypesResponse
9212
9295
  include Google::Apis::Core::Hashable
9213
9296
 
@@ -9232,7 +9315,7 @@ module Google
9232
9315
  end
9233
9316
  end
9234
9317
 
9235
- # Response message for list processors.
9318
+ # Response message for the ListProcessorVersions method.
9236
9319
  class GoogleCloudDocumentaiV1beta3ListProcessorVersionsResponse
9237
9320
  include Google::Apis::Core::Hashable
9238
9321
 
@@ -9257,7 +9340,7 @@ module Google
9257
9340
  end
9258
9341
  end
9259
9342
 
9260
- # Response message for list processors.
9343
+ # Response message for the ListProcessors method.
9261
9344
  class GoogleCloudDocumentaiV1beta3ListProcessorsResponse
9262
9345
  include Google::Apis::Core::Hashable
9263
9346
 
@@ -9411,7 +9494,7 @@ module Google
9411
9494
  end
9412
9495
  end
9413
9496
 
9414
- # Request message for the process document method.
9497
+ # Request message for the ProcessDocument method.
9415
9498
  class GoogleCloudDocumentaiV1beta3ProcessRequest
9416
9499
  include Google::Apis::Core::Hashable
9417
9500
 
@@ -9423,8 +9506,8 @@ module Google
9423
9506
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3Document]
9424
9507
  attr_accessor :document
9425
9508
 
9426
- # Specifies which fields to include in the `ProcessResponse` Document. Only
9427
- # supports top level document and pages field so it must be in the form of ``
9509
+ # Specifies which fields to include in the ProcessResponse.document output. Only
9510
+ # supports top-level document and pages field, so it must be in the form of ``
9428
9511
  # document_field_name`` or `pages.`page_field_name``.
9429
9512
  # Corresponds to the JSON property `fieldMask`
9430
9513
  # @return [String]
@@ -9470,7 +9553,7 @@ module Google
9470
9553
  end
9471
9554
  end
9472
9555
 
9473
- # Response message for the process document method.
9556
+ # Response message for the ProcessDocument method.
9474
9557
  class GoogleCloudDocumentaiV1beta3ProcessResponse
9475
9558
  include Google::Apis::Core::Hashable
9476
9559
 
@@ -9781,7 +9864,7 @@ module Google
9781
9864
  end
9782
9865
  end
9783
9866
 
9784
- # The long-running operation metadata for review document method.
9867
+ # The long-running operation metadata for the ReviewDocument method.
9785
9868
  class GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata
9786
9869
  include Google::Apis::Core::Hashable
9787
9870
 
@@ -9831,7 +9914,7 @@ module Google
9831
9914
  end
9832
9915
  end
9833
9916
 
9834
- # Request message for review document method.
9917
+ # Request message for the ReviewDocument method.
9835
9918
  class GoogleCloudDocumentaiV1beta3ReviewDocumentRequest
9836
9919
  include Google::Apis::Core::Hashable
9837
9920
 
@@ -9881,7 +9964,7 @@ module Google
9881
9964
  end
9882
9965
  end
9883
9966
 
9884
- # Response message for review document method.
9967
+ # Response message for the ReviewDocument method.
9885
9968
  class GoogleCloudDocumentaiV1beta3ReviewDocumentResponse
9886
9969
  include Google::Apis::Core::Hashable
9887
9970
 
@@ -9913,7 +9996,7 @@ module Google
9913
9996
  end
9914
9997
  end
9915
9998
 
9916
- # The long-running operation metadata for set default processor version method.
9999
+ # The long-running operation metadata for the SetDefaultProcessorVersion method.
9917
10000
  class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata
9918
10001
  include Google::Apis::Core::Hashable
9919
10002
 
@@ -9932,7 +10015,7 @@ module Google
9932
10015
  end
9933
10016
  end
9934
10017
 
9935
- # Request message for the set default processor version method.
10018
+ # Request message for the SetDefaultProcessorVersion method.
9936
10019
  class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionRequest
9937
10020
  include Google::Apis::Core::Hashable
9938
10021
 
@@ -9953,7 +10036,7 @@ module Google
9953
10036
  end
9954
10037
  end
9955
10038
 
9956
- # Response message for set default processor version method.
10039
+ # Response message for the SetDefaultProcessorVersion method.
9957
10040
  class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionResponse
9958
10041
  include Google::Apis::Core::Hashable
9959
10042
 
@@ -10040,7 +10123,7 @@ module Google
10040
10123
  end
10041
10124
  end
10042
10125
 
10043
- # Request message for the create processor version method.
10126
+ # Request message for the TrainProcessorVersion method.
10044
10127
  class GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequest
10045
10128
  include Google::Apis::Core::Hashable
10046
10129
 
@@ -10056,7 +10139,7 @@ module Google
10056
10139
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema]
10057
10140
  attr_accessor :document_schema
10058
10141
 
10059
- # The input data used to train a new `ProcessorVersion`.
10142
+ # The input data used to train a new ProcessorVersion.
10060
10143
  # Corresponds to the JSON property `inputData`
10061
10144
  # @return [Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData]
10062
10145
  attr_accessor :input_data
@@ -10083,7 +10166,7 @@ module Google
10083
10166
  end
10084
10167
  end
10085
10168
 
10086
- # The input data used to train a new `ProcessorVersion`.
10169
+ # The input data used to train a new ProcessorVersion.
10087
10170
  class GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData
10088
10171
  include Google::Apis::Core::Hashable
10089
10172
 
@@ -10127,7 +10210,7 @@ module Google
10127
10210
  end
10128
10211
  end
10129
10212
 
10130
- # The long-running operation metadata for the undeploy processor version method.
10213
+ # The long-running operation metadata for the UndeployProcessorVersion method.
10131
10214
  class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionMetadata
10132
10215
  include Google::Apis::Core::Hashable
10133
10216
 
@@ -10146,7 +10229,7 @@ module Google
10146
10229
  end
10147
10230
  end
10148
10231
 
10149
- # Request message for the undeploy processor version method.
10232
+ # Request message for the UndeployProcessorVersion method.
10150
10233
  class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionRequest
10151
10234
  include Google::Apis::Core::Hashable
10152
10235
 
@@ -10159,7 +10242,7 @@ module Google
10159
10242
  end
10160
10243
  end
10161
10244
 
10162
- # Response message for the undeploy processor version method.
10245
+ # Response message for the UndeployProcessorVersion method.
10163
10246
  class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionResponse
10164
10247
  include Google::Apis::Core::Hashable
10165
10248
 
@@ -10413,18 +10496,18 @@ module Google
10413
10496
  end
10414
10497
 
10415
10498
  # Represents a color in the RGBA color space. This representation is designed
10416
- # for simplicity of conversion to/from color representations in various
10499
+ # for simplicity of conversion to and from color representations in various
10417
10500
  # languages over compactness. For example, the fields of this representation can
10418
10501
  # be trivially provided to the constructor of `java.awt.Color` in Java; it can
10419
10502
  # also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
10420
10503
  # method in iOS; and, with just a little work, it can be easily formatted into a
10421
- # CSS `rgba()` string in JavaScript. This reference page doesn't carry
10504
+ # CSS `rgba()` string in JavaScript. This reference page does not have
10422
10505
  # information about the absolute color space that should be used to interpret
10423
- # the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
10506
+ # the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
10424
10507
  # applications should assume the sRGB color space. When color equality needs to
10425
10508
  # be decided, implementations, unless documented otherwise, treat two colors as
10426
- # equal if all their red, green, blue, and alpha values each differ by at most
10427
- # 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
10509
+ # equal if all their red, green, blue, and alpha values each differ by at most `
10510
+ # 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
10428
10511
  # awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
10429
10512
  # protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
10430
10513
  # getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static