google-apis-documentai_v1 0.63.0 → 0.65.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.
@@ -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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
-
#
|
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
|
516
|
-
#
|
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
|
-
#
|
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::DocumentaiV1::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::DocumentaiV1::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
|
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
|
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
|
1241
|
+
# Response message for the UndeployProcessorVersion method.
|
1158
1242
|
class GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse
|
1159
1243
|
include Google::Apis::Core::Hashable
|
1160
1244
|
|
@@ -1345,16 +1429,15 @@ module Google
|
|
1345
1429
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewStatus]
|
1346
1430
|
attr_accessor :human_review_status
|
1347
1431
|
|
1348
|
-
# The source of the document, same as the
|
1349
|
-
#
|
1350
|
-
# snapshot of that document, since a user can move or change that document
|
1351
|
-
# during the process.
|
1432
|
+
# The source of the document, same as the input_gcs_source field in the request
|
1433
|
+
# when the batch process started.
|
1352
1434
|
# Corresponds to the JSON property `inputGcsSource`
|
1353
1435
|
# @return [String]
|
1354
1436
|
attr_accessor :input_gcs_source
|
1355
1437
|
|
1356
|
-
# The
|
1357
|
-
# processed document if it was successful,
|
1438
|
+
# The Cloud Storage output destination (in the request as DocumentOutputConfig.
|
1439
|
+
# GcsOutputConfig.gcs_uri) of the processed document if it was successful,
|
1440
|
+
# otherwise empty.
|
1358
1441
|
# Corresponds to the JSON property `outputGcsDestination`
|
1359
1442
|
# @return [String]
|
1360
1443
|
attr_accessor :output_gcs_destination
|
@@ -1497,7 +1580,7 @@ module Google
|
|
1497
1580
|
end
|
1498
1581
|
end
|
1499
1582
|
|
1500
|
-
# The long-running operation metadata for
|
1583
|
+
# The long-running operation metadata for the DeleteProcessor method.
|
1501
1584
|
class GoogleCloudDocumentaiV1DeleteProcessorMetadata
|
1502
1585
|
include Google::Apis::Core::Hashable
|
1503
1586
|
|
@@ -1516,7 +1599,7 @@ module Google
|
|
1516
1599
|
end
|
1517
1600
|
end
|
1518
1601
|
|
1519
|
-
# The long-running operation metadata for
|
1602
|
+
# The long-running operation metadata for the DeleteProcessorVersion method.
|
1520
1603
|
class GoogleCloudDocumentaiV1DeleteProcessorVersionMetadata
|
1521
1604
|
include Google::Apis::Core::Hashable
|
1522
1605
|
|
@@ -1535,7 +1618,7 @@ module Google
|
|
1535
1618
|
end
|
1536
1619
|
end
|
1537
1620
|
|
1538
|
-
# The long-running operation metadata for
|
1621
|
+
# The long-running operation metadata for the DeployProcessorVersion method.
|
1539
1622
|
class GoogleCloudDocumentaiV1DeployProcessorVersionMetadata
|
1540
1623
|
include Google::Apis::Core::Hashable
|
1541
1624
|
|
@@ -1554,7 +1637,7 @@ module Google
|
|
1554
1637
|
end
|
1555
1638
|
end
|
1556
1639
|
|
1557
|
-
# Request message for the
|
1640
|
+
# Request message for the DeployProcessorVersion method.
|
1558
1641
|
class GoogleCloudDocumentaiV1DeployProcessorVersionRequest
|
1559
1642
|
include Google::Apis::Core::Hashable
|
1560
1643
|
|
@@ -1567,7 +1650,7 @@ module Google
|
|
1567
1650
|
end
|
1568
1651
|
end
|
1569
1652
|
|
1570
|
-
# Response message for the
|
1653
|
+
# Response message for the DeployProcessorVersion method.
|
1571
1654
|
class GoogleCloudDocumentaiV1DeployProcessorVersionResponse
|
1572
1655
|
include Google::Apis::Core::Hashable
|
1573
1656
|
|
@@ -1580,7 +1663,7 @@ module Google
|
|
1580
1663
|
end
|
1581
1664
|
end
|
1582
1665
|
|
1583
|
-
# The long-running operation metadata for
|
1666
|
+
# The long-running operation metadata for the DisableProcessor method.
|
1584
1667
|
class GoogleCloudDocumentaiV1DisableProcessorMetadata
|
1585
1668
|
include Google::Apis::Core::Hashable
|
1586
1669
|
|
@@ -1599,7 +1682,7 @@ module Google
|
|
1599
1682
|
end
|
1600
1683
|
end
|
1601
1684
|
|
1602
|
-
# Request message for the
|
1685
|
+
# Request message for the DisableProcessor method.
|
1603
1686
|
class GoogleCloudDocumentaiV1DisableProcessorRequest
|
1604
1687
|
include Google::Apis::Core::Hashable
|
1605
1688
|
|
@@ -1612,7 +1695,7 @@ module Google
|
|
1612
1695
|
end
|
1613
1696
|
end
|
1614
1697
|
|
1615
|
-
# Response message for the
|
1698
|
+
# Response message for the DisableProcessor method. Intentionally empty proto
|
1616
1699
|
# for adding fields in future.
|
1617
1700
|
class GoogleCloudDocumentaiV1DisableProcessorResponse
|
1618
1701
|
include Google::Apis::Core::Hashable
|
@@ -1703,9 +1786,9 @@ module Google
|
|
1703
1786
|
attr_accessor :text_styles
|
1704
1787
|
|
1705
1788
|
# Optional. Currently supports Google Cloud Storage URI of the form `gs://
|
1706
|
-
# bucket_name/object_name`. Object versioning is not supported.
|
1707
|
-
# Cloud Storage Request URIs](https://cloud.google.
|
1708
|
-
# uris)
|
1789
|
+
# bucket_name/object_name`. Object versioning is not supported. For more
|
1790
|
+
# information, refer to [Google Cloud Storage Request URIs](https://cloud.google.
|
1791
|
+
# com/storage/docs/reference-uris).
|
1709
1792
|
# Corresponds to the JSON property `uri`
|
1710
1793
|
# @return [String]
|
1711
1794
|
attr_accessor :uri
|
@@ -2829,18 +2912,18 @@ module Google
|
|
2829
2912
|
include Google::Apis::Core::Hashable
|
2830
2913
|
|
2831
2914
|
# Represents a color in the RGBA color space. This representation is designed
|
2832
|
-
# for simplicity of conversion to
|
2915
|
+
# for simplicity of conversion to and from color representations in various
|
2833
2916
|
# languages over compactness. For example, the fields of this representation can
|
2834
2917
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
2835
2918
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
2836
2919
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
2837
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
2920
|
+
# CSS `rgba()` string in JavaScript. This reference page does not have
|
2838
2921
|
# information about the absolute color space that should be used to interpret
|
2839
|
-
# the RGB value
|
2922
|
+
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
2840
2923
|
# applications should assume the sRGB color space. When color equality needs to
|
2841
2924
|
# be decided, implementations, unless documented otherwise, treat two colors as
|
2842
|
-
# equal if all their red, green, blue, and alpha values each differ by at most
|
2843
|
-
# 1e-5
|
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.
|
2844
2927
|
# awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
|
2845
2928
|
# protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
|
2846
2929
|
# getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
|
@@ -2877,13 +2960,13 @@ module Google
|
|
2877
2960
|
# @return [Google::Apis::DocumentaiV1::GoogleTypeColor]
|
2878
2961
|
attr_accessor :background_color
|
2879
2962
|
|
2880
|
-
# Whether the text is bold (equivalent to
|
2963
|
+
# Whether the text is bold (equivalent to font_weight is at least `700`).
|
2881
2964
|
# Corresponds to the JSON property `bold`
|
2882
2965
|
# @return [Boolean]
|
2883
2966
|
attr_accessor :bold
|
2884
2967
|
alias_method :bold?, :bold
|
2885
2968
|
|
2886
|
-
# Font size in points (1 point is
|
2969
|
+
# Font size in points (`1` point is `¹⁄₇₂` inches).
|
2887
2970
|
# Corresponds to the JSON property `fontSize`
|
2888
2971
|
# @return [Fixnum]
|
2889
2972
|
attr_accessor :font_size
|
@@ -2893,8 +2976,8 @@ module Google
|
|
2893
2976
|
# @return [String]
|
2894
2977
|
attr_accessor :font_type
|
2895
2978
|
|
2896
|
-
# TrueType weight on a scale 100 (
|
2897
|
-
#
|
2979
|
+
# TrueType weight on a scale `100` (thin) to `1000` (ultra-heavy). Normal is `
|
2980
|
+
# 400`, bold is `700`.
|
2898
2981
|
# Corresponds to the JSON property `fontWeight`
|
2899
2982
|
# @return [Fixnum]
|
2900
2983
|
attr_accessor :font_weight
|
@@ -2916,12 +2999,12 @@ module Google
|
|
2916
2999
|
# @return [Float]
|
2917
3000
|
attr_accessor :letter_spacing
|
2918
3001
|
|
2919
|
-
# Font size in pixels, equal to
|
3002
|
+
# Font size in pixels, equal to _unrounded font_size_ * _resolution_ ÷ `72.0`.
|
2920
3003
|
# Corresponds to the JSON property `pixelFontSize`
|
2921
3004
|
# @return [Float]
|
2922
3005
|
attr_accessor :pixel_font_size
|
2923
3006
|
|
2924
|
-
# Whether the text
|
3007
|
+
# Whether the text is in small caps.
|
2925
3008
|
# Corresponds to the JSON property `smallcaps`
|
2926
3009
|
# @return [Boolean]
|
2927
3010
|
attr_accessor :smallcaps
|
@@ -2946,18 +3029,18 @@ module Google
|
|
2946
3029
|
alias_method :superscript?, :superscript
|
2947
3030
|
|
2948
3031
|
# Represents a color in the RGBA color space. This representation is designed
|
2949
|
-
# for simplicity of conversion to
|
3032
|
+
# for simplicity of conversion to and from color representations in various
|
2950
3033
|
# languages over compactness. For example, the fields of this representation can
|
2951
3034
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
2952
3035
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
2953
3036
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
2954
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
3037
|
+
# CSS `rgba()` string in JavaScript. This reference page does not have
|
2955
3038
|
# information about the absolute color space that should be used to interpret
|
2956
|
-
# the RGB value
|
3039
|
+
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
2957
3040
|
# applications should assume the sRGB color space. When color equality needs to
|
2958
3041
|
# be decided, implementations, unless documented otherwise, treat two colors as
|
2959
|
-
# equal if all their red, green, blue, and alpha values each differ by at most
|
2960
|
-
# 1e-5
|
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.
|
2961
3044
|
# awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
|
2962
3045
|
# protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
|
2963
3046
|
# getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
|
@@ -3440,18 +3523,18 @@ module Google
|
|
3440
3523
|
include Google::Apis::Core::Hashable
|
3441
3524
|
|
3442
3525
|
# Represents a color in the RGBA color space. This representation is designed
|
3443
|
-
# for simplicity of conversion to
|
3526
|
+
# for simplicity of conversion to and from color representations in various
|
3444
3527
|
# languages over compactness. For example, the fields of this representation can
|
3445
3528
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
3446
3529
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
3447
3530
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
3448
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
3531
|
+
# CSS `rgba()` string in JavaScript. This reference page does not have
|
3449
3532
|
# information about the absolute color space that should be used to interpret
|
3450
|
-
# the RGB value
|
3533
|
+
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
3451
3534
|
# applications should assume the sRGB color space. When color equality needs to
|
3452
3535
|
# be decided, implementations, unless documented otherwise, treat two colors as
|
3453
|
-
# equal if all their red, green, blue, and alpha values each differ by at most
|
3454
|
-
# 1e-5
|
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.
|
3455
3538
|
# awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
|
3456
3539
|
# protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
|
3457
3540
|
# getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
|
@@ -3489,18 +3572,18 @@ module Google
|
|
3489
3572
|
attr_accessor :background_color
|
3490
3573
|
|
3491
3574
|
# Represents a color in the RGBA color space. This representation is designed
|
3492
|
-
# for simplicity of conversion to
|
3575
|
+
# for simplicity of conversion to and from color representations in various
|
3493
3576
|
# languages over compactness. For example, the fields of this representation can
|
3494
3577
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
3495
3578
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
3496
3579
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
3497
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
3580
|
+
# CSS `rgba()` string in JavaScript. This reference page does not have
|
3498
3581
|
# information about the absolute color space that should be used to interpret
|
3499
|
-
# the RGB value
|
3582
|
+
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
3500
3583
|
# applications should assume the sRGB color space. When color equality needs to
|
3501
3584
|
# be decided, implementations, unless documented otherwise, treat two colors as
|
3502
|
-
# equal if all their red, green, blue, and alpha values each differ by at most
|
3503
|
-
# 1e-5
|
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.
|
3504
3587
|
# awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
|
3505
3588
|
# protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
|
3506
3589
|
# getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
|
@@ -3697,7 +3780,7 @@ module Google
|
|
3697
3780
|
end
|
3698
3781
|
end
|
3699
3782
|
|
3700
|
-
# The long-running operation metadata for
|
3783
|
+
# The long-running operation metadata for the EnableProcessor method.
|
3701
3784
|
class GoogleCloudDocumentaiV1EnableProcessorMetadata
|
3702
3785
|
include Google::Apis::Core::Hashable
|
3703
3786
|
|
@@ -3716,7 +3799,7 @@ module Google
|
|
3716
3799
|
end
|
3717
3800
|
end
|
3718
3801
|
|
3719
|
-
# Request message for the
|
3802
|
+
# Request message for the EnableProcessor method.
|
3720
3803
|
class GoogleCloudDocumentaiV1EnableProcessorRequest
|
3721
3804
|
include Google::Apis::Core::Hashable
|
3722
3805
|
|
@@ -3729,8 +3812,8 @@ module Google
|
|
3729
3812
|
end
|
3730
3813
|
end
|
3731
3814
|
|
3732
|
-
# Response message for the
|
3733
|
-
#
|
3815
|
+
# Response message for the EnableProcessor method. Intentionally empty proto for
|
3816
|
+
# adding fields in future.
|
3734
3817
|
class GoogleCloudDocumentaiV1EnableProcessorResponse
|
3735
3818
|
include Google::Apis::Core::Hashable
|
3736
3819
|
|
@@ -4095,7 +4178,7 @@ module Google
|
|
4095
4178
|
end
|
4096
4179
|
end
|
4097
4180
|
|
4098
|
-
# Response message for
|
4181
|
+
# Response message for the FetchProcessorTypes method.
|
4099
4182
|
class GoogleCloudDocumentaiV1FetchProcessorTypesResponse
|
4100
4183
|
include Google::Apis::Core::Hashable
|
4101
4184
|
|
@@ -4237,7 +4320,7 @@ module Google
|
|
4237
4320
|
end
|
4238
4321
|
end
|
4239
4322
|
|
4240
|
-
# Response message for
|
4323
|
+
# Response message for the ListProcessorTypes method.
|
4241
4324
|
class GoogleCloudDocumentaiV1ListProcessorTypesResponse
|
4242
4325
|
include Google::Apis::Core::Hashable
|
4243
4326
|
|
@@ -4262,7 +4345,7 @@ module Google
|
|
4262
4345
|
end
|
4263
4346
|
end
|
4264
4347
|
|
4265
|
-
# Response message for
|
4348
|
+
# Response message for the ListProcessorVersions method.
|
4266
4349
|
class GoogleCloudDocumentaiV1ListProcessorVersionsResponse
|
4267
4350
|
include Google::Apis::Core::Hashable
|
4268
4351
|
|
@@ -4287,7 +4370,7 @@ module Google
|
|
4287
4370
|
end
|
4288
4371
|
end
|
4289
4372
|
|
4290
|
-
# Response message for
|
4373
|
+
# Response message for the ListProcessors method.
|
4291
4374
|
class GoogleCloudDocumentaiV1ListProcessorsResponse
|
4292
4375
|
include Google::Apis::Core::Hashable
|
4293
4376
|
|
@@ -4338,12 +4421,12 @@ module Google
|
|
4338
4421
|
end
|
4339
4422
|
end
|
4340
4423
|
|
4341
|
-
# Request message for the
|
4424
|
+
# Request message for the ProcessDocument method.
|
4342
4425
|
class GoogleCloudDocumentaiV1ProcessRequest
|
4343
4426
|
include Google::Apis::Core::Hashable
|
4344
4427
|
|
4345
|
-
# Specifies which fields to include in the
|
4346
|
-
# supports top
|
4428
|
+
# Specifies which fields to include in the ProcessResponse.document output. Only
|
4429
|
+
# supports top-level document and pages field, so it must be in the form of ``
|
4347
4430
|
# document_field_name`` or `pages.`page_field_name``.
|
4348
4431
|
# Corresponds to the JSON property `fieldMask`
|
4349
4432
|
# @return [String]
|
@@ -4382,7 +4465,7 @@ module Google
|
|
4382
4465
|
end
|
4383
4466
|
end
|
4384
4467
|
|
4385
|
-
# Response message for the
|
4468
|
+
# Response message for the ProcessDocument method.
|
4386
4469
|
class GoogleCloudDocumentaiV1ProcessResponse
|
4387
4470
|
include Google::Apis::Core::Hashable
|
4388
4471
|
|
@@ -4685,7 +4768,7 @@ module Google
|
|
4685
4768
|
end
|
4686
4769
|
end
|
4687
4770
|
|
4688
|
-
# The long-running operation metadata for
|
4771
|
+
# The long-running operation metadata for the ReviewDocument method.
|
4689
4772
|
class GoogleCloudDocumentaiV1ReviewDocumentOperationMetadata
|
4690
4773
|
include Google::Apis::Core::Hashable
|
4691
4774
|
|
@@ -4710,7 +4793,7 @@ module Google
|
|
4710
4793
|
end
|
4711
4794
|
end
|
4712
4795
|
|
4713
|
-
# Request message for
|
4796
|
+
# Request message for the ReviewDocument method.
|
4714
4797
|
class GoogleCloudDocumentaiV1ReviewDocumentRequest
|
4715
4798
|
include Google::Apis::Core::Hashable
|
4716
4799
|
|
@@ -4751,7 +4834,7 @@ module Google
|
|
4751
4834
|
end
|
4752
4835
|
end
|
4753
4836
|
|
4754
|
-
# Response message for
|
4837
|
+
# Response message for the ReviewDocument method.
|
4755
4838
|
class GoogleCloudDocumentaiV1ReviewDocumentResponse
|
4756
4839
|
include Google::Apis::Core::Hashable
|
4757
4840
|
|
@@ -4783,7 +4866,7 @@ module Google
|
|
4783
4866
|
end
|
4784
4867
|
end
|
4785
4868
|
|
4786
|
-
# The long-running operation metadata for
|
4869
|
+
# The long-running operation metadata for the SetDefaultProcessorVersion method.
|
4787
4870
|
class GoogleCloudDocumentaiV1SetDefaultProcessorVersionMetadata
|
4788
4871
|
include Google::Apis::Core::Hashable
|
4789
4872
|
|
@@ -4802,7 +4885,7 @@ module Google
|
|
4802
4885
|
end
|
4803
4886
|
end
|
4804
4887
|
|
4805
|
-
# Request message for the
|
4888
|
+
# Request message for the SetDefaultProcessorVersion method.
|
4806
4889
|
class GoogleCloudDocumentaiV1SetDefaultProcessorVersionRequest
|
4807
4890
|
include Google::Apis::Core::Hashable
|
4808
4891
|
|
@@ -4823,7 +4906,7 @@ module Google
|
|
4823
4906
|
end
|
4824
4907
|
end
|
4825
4908
|
|
4826
|
-
# Response message for
|
4909
|
+
# Response message for the SetDefaultProcessorVersion method.
|
4827
4910
|
class GoogleCloudDocumentaiV1SetDefaultProcessorVersionResponse
|
4828
4911
|
include Google::Apis::Core::Hashable
|
4829
4912
|
|
@@ -4910,7 +4993,7 @@ module Google
|
|
4910
4993
|
end
|
4911
4994
|
end
|
4912
4995
|
|
4913
|
-
# Request message for the
|
4996
|
+
# Request message for the TrainProcessorVersion method.
|
4914
4997
|
class GoogleCloudDocumentaiV1TrainProcessorVersionRequest
|
4915
4998
|
include Google::Apis::Core::Hashable
|
4916
4999
|
|
@@ -4926,7 +5009,7 @@ module Google
|
|
4926
5009
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentSchema]
|
4927
5010
|
attr_accessor :document_schema
|
4928
5011
|
|
4929
|
-
# The input data used to train a new
|
5012
|
+
# The input data used to train a new ProcessorVersion.
|
4930
5013
|
# Corresponds to the JSON property `inputData`
|
4931
5014
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1TrainProcessorVersionRequestInputData]
|
4932
5015
|
attr_accessor :input_data
|
@@ -4953,7 +5036,7 @@ module Google
|
|
4953
5036
|
end
|
4954
5037
|
end
|
4955
5038
|
|
4956
|
-
# The input data used to train a new
|
5039
|
+
# The input data used to train a new ProcessorVersion.
|
4957
5040
|
class GoogleCloudDocumentaiV1TrainProcessorVersionRequestInputData
|
4958
5041
|
include Google::Apis::Core::Hashable
|
4959
5042
|
|
@@ -4997,7 +5080,7 @@ module Google
|
|
4997
5080
|
end
|
4998
5081
|
end
|
4999
5082
|
|
5000
|
-
# The long-running operation metadata for the
|
5083
|
+
# The long-running operation metadata for the UndeployProcessorVersion method.
|
5001
5084
|
class GoogleCloudDocumentaiV1UndeployProcessorVersionMetadata
|
5002
5085
|
include Google::Apis::Core::Hashable
|
5003
5086
|
|
@@ -5016,7 +5099,7 @@ module Google
|
|
5016
5099
|
end
|
5017
5100
|
end
|
5018
5101
|
|
5019
|
-
# Request message for the
|
5102
|
+
# Request message for the UndeployProcessorVersion method.
|
5020
5103
|
class GoogleCloudDocumentaiV1UndeployProcessorVersionRequest
|
5021
5104
|
include Google::Apis::Core::Hashable
|
5022
5105
|
|
@@ -5029,7 +5112,7 @@ module Google
|
|
5029
5112
|
end
|
5030
5113
|
end
|
5031
5114
|
|
5032
|
-
# Response message for the
|
5115
|
+
# Response message for the UndeployProcessorVersion method.
|
5033
5116
|
class GoogleCloudDocumentaiV1UndeployProcessorVersionResponse
|
5034
5117
|
include Google::Apis::Core::Hashable
|
5035
5118
|
|
@@ -5232,9 +5315,9 @@ module Google
|
|
5232
5315
|
attr_accessor :text_styles
|
5233
5316
|
|
5234
5317
|
# Optional. Currently supports Google Cloud Storage URI of the form `gs://
|
5235
|
-
# bucket_name/object_name`. Object versioning is not supported.
|
5236
|
-
# Cloud Storage Request URIs](https://cloud.google.
|
5237
|
-
# uris)
|
5318
|
+
# bucket_name/object_name`. Object versioning is not supported. For more
|
5319
|
+
# information, refer to [Google Cloud Storage Request URIs](https://cloud.google.
|
5320
|
+
# com/storage/docs/reference-uris).
|
5238
5321
|
# Corresponds to the JSON property `uri`
|
5239
5322
|
# @return [String]
|
5240
5323
|
attr_accessor :uri
|
@@ -6280,18 +6363,18 @@ module Google
|
|
6280
6363
|
include Google::Apis::Core::Hashable
|
6281
6364
|
|
6282
6365
|
# Represents a color in the RGBA color space. This representation is designed
|
6283
|
-
# for simplicity of conversion to
|
6366
|
+
# for simplicity of conversion to and from color representations in various
|
6284
6367
|
# languages over compactness. For example, the fields of this representation can
|
6285
6368
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
6286
6369
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
6287
6370
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
6288
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
6371
|
+
# CSS `rgba()` string in JavaScript. This reference page does not have
|
6289
6372
|
# information about the absolute color space that should be used to interpret
|
6290
|
-
# the RGB value
|
6373
|
+
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
6291
6374
|
# applications should assume the sRGB color space. When color equality needs to
|
6292
6375
|
# be decided, implementations, unless documented otherwise, treat two colors as
|
6293
|
-
# equal if all their red, green, blue, and alpha values each differ by at most
|
6294
|
-
# 1e-5
|
6376
|
+
# equal if all their red, green, blue, and alpha values each differ by at most `
|
6377
|
+
# 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
|
6295
6378
|
# awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
|
6296
6379
|
# protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
|
6297
6380
|
# getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
|
@@ -6328,13 +6411,13 @@ module Google
|
|
6328
6411
|
# @return [Google::Apis::DocumentaiV1::GoogleTypeColor]
|
6329
6412
|
attr_accessor :background_color
|
6330
6413
|
|
6331
|
-
# Whether the text is bold (equivalent to
|
6414
|
+
# Whether the text is bold (equivalent to font_weight is at least `700`).
|
6332
6415
|
# Corresponds to the JSON property `bold`
|
6333
6416
|
# @return [Boolean]
|
6334
6417
|
attr_accessor :bold
|
6335
6418
|
alias_method :bold?, :bold
|
6336
6419
|
|
6337
|
-
# Font size in points (1 point is
|
6420
|
+
# Font size in points (`1` point is `¹⁄₇₂` inches).
|
6338
6421
|
# Corresponds to the JSON property `fontSize`
|
6339
6422
|
# @return [Fixnum]
|
6340
6423
|
attr_accessor :font_size
|
@@ -6344,8 +6427,8 @@ module Google
|
|
6344
6427
|
# @return [String]
|
6345
6428
|
attr_accessor :font_type
|
6346
6429
|
|
6347
|
-
# TrueType weight on a scale 100 (
|
6348
|
-
#
|
6430
|
+
# TrueType weight on a scale `100` (thin) to `1000` (ultra-heavy). Normal is `
|
6431
|
+
# 400`, bold is `700`.
|
6349
6432
|
# Corresponds to the JSON property `fontWeight`
|
6350
6433
|
# @return [Fixnum]
|
6351
6434
|
attr_accessor :font_weight
|
@@ -6367,12 +6450,12 @@ module Google
|
|
6367
6450
|
# @return [Float]
|
6368
6451
|
attr_accessor :letter_spacing
|
6369
6452
|
|
6370
|
-
# Font size in pixels, equal to
|
6453
|
+
# Font size in pixels, equal to _unrounded font_size_ * _resolution_ ÷ `72.0`.
|
6371
6454
|
# Corresponds to the JSON property `pixelFontSize`
|
6372
6455
|
# @return [Float]
|
6373
6456
|
attr_accessor :pixel_font_size
|
6374
6457
|
|
6375
|
-
# Whether the text
|
6458
|
+
# Whether the text is in small caps.
|
6376
6459
|
# Corresponds to the JSON property `smallcaps`
|
6377
6460
|
# @return [Boolean]
|
6378
6461
|
attr_accessor :smallcaps
|
@@ -6397,18 +6480,18 @@ module Google
|
|
6397
6480
|
alias_method :superscript?, :superscript
|
6398
6481
|
|
6399
6482
|
# Represents a color in the RGBA color space. This representation is designed
|
6400
|
-
# for simplicity of conversion to
|
6483
|
+
# for simplicity of conversion to and from color representations in various
|
6401
6484
|
# languages over compactness. For example, the fields of this representation can
|
6402
6485
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
6403
6486
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
6404
6487
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
6405
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
6488
|
+
# CSS `rgba()` string in JavaScript. This reference page does not have
|
6406
6489
|
# information about the absolute color space that should be used to interpret
|
6407
|
-
# the RGB value
|
6490
|
+
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
6408
6491
|
# applications should assume the sRGB color space. When color equality needs to
|
6409
6492
|
# be decided, implementations, unless documented otherwise, treat two colors as
|
6410
|
-
# equal if all their red, green, blue, and alpha values each differ by at most
|
6411
|
-
# 1e-5
|
6493
|
+
# equal if all their red, green, blue, and alpha values each differ by at most `
|
6494
|
+
# 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
|
6412
6495
|
# awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
|
6413
6496
|
# protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
|
6414
6497
|
# getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
|
@@ -6704,18 +6787,18 @@ module Google
|
|
6704
6787
|
include Google::Apis::Core::Hashable
|
6705
6788
|
|
6706
6789
|
# Represents a color in the RGBA color space. This representation is designed
|
6707
|
-
# for simplicity of conversion to
|
6790
|
+
# for simplicity of conversion to and from color representations in various
|
6708
6791
|
# languages over compactness. For example, the fields of this representation can
|
6709
6792
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
6710
6793
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
6711
6794
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
6712
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
6795
|
+
# CSS `rgba()` string in JavaScript. This reference page does not have
|
6713
6796
|
# information about the absolute color space that should be used to interpret
|
6714
|
-
# the RGB value
|
6797
|
+
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
6715
6798
|
# applications should assume the sRGB color space. When color equality needs to
|
6716
6799
|
# be decided, implementations, unless documented otherwise, treat two colors as
|
6717
|
-
# equal if all their red, green, blue, and alpha values each differ by at most
|
6718
|
-
# 1e-5
|
6800
|
+
# equal if all their red, green, blue, and alpha values each differ by at most `
|
6801
|
+
# 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
|
6719
6802
|
# awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
|
6720
6803
|
# protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
|
6721
6804
|
# getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
|
@@ -6753,18 +6836,18 @@ module Google
|
|
6753
6836
|
attr_accessor :background_color
|
6754
6837
|
|
6755
6838
|
# Represents a color in the RGBA color space. This representation is designed
|
6756
|
-
# for simplicity of conversion to
|
6839
|
+
# for simplicity of conversion to and from color representations in various
|
6757
6840
|
# languages over compactness. For example, the fields of this representation can
|
6758
6841
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
6759
6842
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
6760
6843
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
6761
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
6844
|
+
# CSS `rgba()` string in JavaScript. This reference page does not have
|
6762
6845
|
# information about the absolute color space that should be used to interpret
|
6763
|
-
# the RGB value
|
6846
|
+
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
6764
6847
|
# applications should assume the sRGB color space. When color equality needs to
|
6765
6848
|
# be decided, implementations, unless documented otherwise, treat two colors as
|
6766
|
-
# equal if all their red, green, blue, and alpha values each differ by at most
|
6767
|
-
# 1e-5
|
6849
|
+
# equal if all their red, green, blue, and alpha values each differ by at most `
|
6850
|
+
# 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
|
6768
6851
|
# awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
|
6769
6852
|
# protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
|
6770
6853
|
# getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
|
@@ -7343,9 +7426,9 @@ module Google
|
|
7343
7426
|
attr_accessor :text_styles
|
7344
7427
|
|
7345
7428
|
# Optional. Currently supports Google Cloud Storage URI of the form `gs://
|
7346
|
-
# bucket_name/object_name`. Object versioning is not supported.
|
7347
|
-
# Cloud Storage Request URIs](https://cloud.google.
|
7348
|
-
# uris)
|
7429
|
+
# bucket_name/object_name`. Object versioning is not supported. For more
|
7430
|
+
# information, refer to [Google Cloud Storage Request URIs](https://cloud.google.
|
7431
|
+
# com/storage/docs/reference-uris).
|
7349
7432
|
# Corresponds to the JSON property `uri`
|
7350
7433
|
# @return [String]
|
7351
7434
|
attr_accessor :uri
|
@@ -8429,18 +8512,18 @@ module Google
|
|
8429
8512
|
include Google::Apis::Core::Hashable
|
8430
8513
|
|
8431
8514
|
# Represents a color in the RGBA color space. This representation is designed
|
8432
|
-
# for simplicity of conversion to
|
8515
|
+
# for simplicity of conversion to and from color representations in various
|
8433
8516
|
# languages over compactness. For example, the fields of this representation can
|
8434
8517
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
8435
8518
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
8436
8519
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
8437
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
8520
|
+
# CSS `rgba()` string in JavaScript. This reference page does not have
|
8438
8521
|
# information about the absolute color space that should be used to interpret
|
8439
|
-
# the RGB value
|
8522
|
+
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
8440
8523
|
# applications should assume the sRGB color space. When color equality needs to
|
8441
8524
|
# be decided, implementations, unless documented otherwise, treat two colors as
|
8442
|
-
# equal if all their red, green, blue, and alpha values each differ by at most
|
8443
|
-
# 1e-5
|
8525
|
+
# equal if all their red, green, blue, and alpha values each differ by at most `
|
8526
|
+
# 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
|
8444
8527
|
# awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
|
8445
8528
|
# protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
|
8446
8529
|
# getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
|
@@ -8477,13 +8560,13 @@ module Google
|
|
8477
8560
|
# @return [Google::Apis::DocumentaiV1::GoogleTypeColor]
|
8478
8561
|
attr_accessor :background_color
|
8479
8562
|
|
8480
|
-
# Whether the text is bold (equivalent to
|
8563
|
+
# Whether the text is bold (equivalent to font_weight is at least `700`).
|
8481
8564
|
# Corresponds to the JSON property `bold`
|
8482
8565
|
# @return [Boolean]
|
8483
8566
|
attr_accessor :bold
|
8484
8567
|
alias_method :bold?, :bold
|
8485
8568
|
|
8486
|
-
# Font size in points (1 point is
|
8569
|
+
# Font size in points (`1` point is `¹⁄₇₂` inches).
|
8487
8570
|
# Corresponds to the JSON property `fontSize`
|
8488
8571
|
# @return [Fixnum]
|
8489
8572
|
attr_accessor :font_size
|
@@ -8493,8 +8576,8 @@ module Google
|
|
8493
8576
|
# @return [String]
|
8494
8577
|
attr_accessor :font_type
|
8495
8578
|
|
8496
|
-
# TrueType weight on a scale 100 (
|
8497
|
-
#
|
8579
|
+
# TrueType weight on a scale `100` (thin) to `1000` (ultra-heavy). Normal is `
|
8580
|
+
# 400`, bold is `700`.
|
8498
8581
|
# Corresponds to the JSON property `fontWeight`
|
8499
8582
|
# @return [Fixnum]
|
8500
8583
|
attr_accessor :font_weight
|
@@ -8516,12 +8599,12 @@ module Google
|
|
8516
8599
|
# @return [Float]
|
8517
8600
|
attr_accessor :letter_spacing
|
8518
8601
|
|
8519
|
-
# Font size in pixels, equal to
|
8602
|
+
# Font size in pixels, equal to _unrounded font_size_ * _resolution_ ÷ `72.0`.
|
8520
8603
|
# Corresponds to the JSON property `pixelFontSize`
|
8521
8604
|
# @return [Float]
|
8522
8605
|
attr_accessor :pixel_font_size
|
8523
8606
|
|
8524
|
-
# Whether the text
|
8607
|
+
# Whether the text is in small caps.
|
8525
8608
|
# Corresponds to the JSON property `smallcaps`
|
8526
8609
|
# @return [Boolean]
|
8527
8610
|
attr_accessor :smallcaps
|
@@ -8546,18 +8629,18 @@ module Google
|
|
8546
8629
|
alias_method :superscript?, :superscript
|
8547
8630
|
|
8548
8631
|
# Represents a color in the RGBA color space. This representation is designed
|
8549
|
-
# for simplicity of conversion to
|
8632
|
+
# for simplicity of conversion to and from color representations in various
|
8550
8633
|
# languages over compactness. For example, the fields of this representation can
|
8551
8634
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
8552
8635
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
8553
8636
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
8554
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
8637
|
+
# CSS `rgba()` string in JavaScript. This reference page does not have
|
8555
8638
|
# information about the absolute color space that should be used to interpret
|
8556
|
-
# the RGB value
|
8639
|
+
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
8557
8640
|
# applications should assume the sRGB color space. When color equality needs to
|
8558
8641
|
# be decided, implementations, unless documented otherwise, treat two colors as
|
8559
|
-
# equal if all their red, green, blue, and alpha values each differ by at most
|
8560
|
-
# 1e-5
|
8642
|
+
# equal if all their red, green, blue, and alpha values each differ by at most `
|
8643
|
+
# 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
|
8561
8644
|
# awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
|
8562
8645
|
# protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
|
8563
8646
|
# getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
|
@@ -8853,18 +8936,18 @@ module Google
|
|
8853
8936
|
include Google::Apis::Core::Hashable
|
8854
8937
|
|
8855
8938
|
# Represents a color in the RGBA color space. This representation is designed
|
8856
|
-
# for simplicity of conversion to
|
8939
|
+
# for simplicity of conversion to and from color representations in various
|
8857
8940
|
# languages over compactness. For example, the fields of this representation can
|
8858
8941
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
8859
8942
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
8860
8943
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
8861
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
8944
|
+
# CSS `rgba()` string in JavaScript. This reference page does not have
|
8862
8945
|
# information about the absolute color space that should be used to interpret
|
8863
|
-
# the RGB value
|
8946
|
+
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
8864
8947
|
# applications should assume the sRGB color space. When color equality needs to
|
8865
8948
|
# be decided, implementations, unless documented otherwise, treat two colors as
|
8866
|
-
# equal if all their red, green, blue, and alpha values each differ by at most
|
8867
|
-
# 1e-5
|
8949
|
+
# equal if all their red, green, blue, and alpha values each differ by at most `
|
8950
|
+
# 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
|
8868
8951
|
# awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
|
8869
8952
|
# protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
|
8870
8953
|
# getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
|
@@ -8902,18 +8985,18 @@ module Google
|
|
8902
8985
|
attr_accessor :background_color
|
8903
8986
|
|
8904
8987
|
# Represents a color in the RGBA color space. This representation is designed
|
8905
|
-
# for simplicity of conversion to
|
8988
|
+
# for simplicity of conversion to and from color representations in various
|
8906
8989
|
# languages over compactness. For example, the fields of this representation can
|
8907
8990
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
8908
8991
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
8909
8992
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
8910
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
8993
|
+
# CSS `rgba()` string in JavaScript. This reference page does not have
|
8911
8994
|
# information about the absolute color space that should be used to interpret
|
8912
|
-
# the RGB value
|
8995
|
+
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
8913
8996
|
# applications should assume the sRGB color space. When color equality needs to
|
8914
8997
|
# be decided, implementations, unless documented otherwise, treat two colors as
|
8915
|
-
# equal if all their red, green, blue, and alpha values each differ by at most
|
8916
|
-
# 1e-5
|
8998
|
+
# equal if all their red, green, blue, and alpha values each differ by at most `
|
8999
|
+
# 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
|
8917
9000
|
# awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
|
8918
9001
|
# protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
|
8919
9002
|
# getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
|
@@ -9383,7 +9466,7 @@ module Google
|
|
9383
9466
|
|
9384
9467
|
# The name of the operation triggered by the processed document. If the human
|
9385
9468
|
# review process isn't triggered, this field will be empty. It has the same
|
9386
|
-
# response type and metadata as the long-running operation returned by
|
9469
|
+
# response type and metadata as the long-running operation returned by the
|
9387
9470
|
# ReviewDocument method.
|
9388
9471
|
# Corresponds to the JSON property `humanReviewOperation`
|
9389
9472
|
# @return [String]
|
@@ -9394,16 +9477,15 @@ module Google
|
|
9394
9477
|
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3HumanReviewStatus]
|
9395
9478
|
attr_accessor :human_review_status
|
9396
9479
|
|
9397
|
-
# The source of the document, same as the
|
9398
|
-
#
|
9399
|
-
# snapshot of that document, since a user can move or change that document
|
9400
|
-
# during the process.
|
9480
|
+
# The source of the document, same as the input_gcs_source field in the request
|
9481
|
+
# when the batch process started.
|
9401
9482
|
# Corresponds to the JSON property `inputGcsSource`
|
9402
9483
|
# @return [String]
|
9403
9484
|
attr_accessor :input_gcs_source
|
9404
9485
|
|
9405
|
-
# The
|
9406
|
-
# processed document if it was successful,
|
9486
|
+
# The Cloud Storage output destination (in the request as DocumentOutputConfig.
|
9487
|
+
# GcsOutputConfig.gcs_uri) of the processed document if it was successful,
|
9488
|
+
# otherwise empty.
|
9407
9489
|
# Corresponds to the JSON property `outputGcsDestination`
|
9408
9490
|
# @return [String]
|
9409
9491
|
attr_accessor :output_gcs_destination
|
@@ -9488,7 +9570,7 @@ module Google
|
|
9488
9570
|
end
|
9489
9571
|
end
|
9490
9572
|
|
9491
|
-
# The long-running operation metadata for
|
9573
|
+
# The long-running operation metadata for the DeleteProcessor method.
|
9492
9574
|
class GoogleCloudDocumentaiV1beta3DeleteProcessorMetadata
|
9493
9575
|
include Google::Apis::Core::Hashable
|
9494
9576
|
|
@@ -9507,7 +9589,7 @@ module Google
|
|
9507
9589
|
end
|
9508
9590
|
end
|
9509
9591
|
|
9510
|
-
# The long-running operation metadata for
|
9592
|
+
# The long-running operation metadata for the DeleteProcessorVersion method.
|
9511
9593
|
class GoogleCloudDocumentaiV1beta3DeleteProcessorVersionMetadata
|
9512
9594
|
include Google::Apis::Core::Hashable
|
9513
9595
|
|
@@ -9526,7 +9608,7 @@ module Google
|
|
9526
9608
|
end
|
9527
9609
|
end
|
9528
9610
|
|
9529
|
-
# The long-running operation metadata for
|
9611
|
+
# The long-running operation metadata for the DeployProcessorVersion method.
|
9530
9612
|
class GoogleCloudDocumentaiV1beta3DeployProcessorVersionMetadata
|
9531
9613
|
include Google::Apis::Core::Hashable
|
9532
9614
|
|
@@ -9545,7 +9627,7 @@ module Google
|
|
9545
9627
|
end
|
9546
9628
|
end
|
9547
9629
|
|
9548
|
-
# Response message for the
|
9630
|
+
# Response message for the DeployProcessorVersion method.
|
9549
9631
|
class GoogleCloudDocumentaiV1beta3DeployProcessorVersionResponse
|
9550
9632
|
include Google::Apis::Core::Hashable
|
9551
9633
|
|
@@ -9558,7 +9640,7 @@ module Google
|
|
9558
9640
|
end
|
9559
9641
|
end
|
9560
9642
|
|
9561
|
-
# The long-running operation metadata for
|
9643
|
+
# The long-running operation metadata for the DisableProcessor method.
|
9562
9644
|
class GoogleCloudDocumentaiV1beta3DisableProcessorMetadata
|
9563
9645
|
include Google::Apis::Core::Hashable
|
9564
9646
|
|
@@ -9577,7 +9659,7 @@ module Google
|
|
9577
9659
|
end
|
9578
9660
|
end
|
9579
9661
|
|
9580
|
-
# Response message for the
|
9662
|
+
# Response message for the DisableProcessor method. Intentionally empty proto
|
9581
9663
|
# for adding fields in future.
|
9582
9664
|
class GoogleCloudDocumentaiV1beta3DisableProcessorResponse
|
9583
9665
|
include Google::Apis::Core::Hashable
|
@@ -9591,7 +9673,7 @@ module Google
|
|
9591
9673
|
end
|
9592
9674
|
end
|
9593
9675
|
|
9594
|
-
# The long-running operation metadata for
|
9676
|
+
# The long-running operation metadata for the EnableProcessor method.
|
9595
9677
|
class GoogleCloudDocumentaiV1beta3EnableProcessorMetadata
|
9596
9678
|
include Google::Apis::Core::Hashable
|
9597
9679
|
|
@@ -9610,8 +9692,8 @@ module Google
|
|
9610
9692
|
end
|
9611
9693
|
end
|
9612
9694
|
|
9613
|
-
# Response message for the
|
9614
|
-
#
|
9695
|
+
# Response message for the EnableProcessor method. Intentionally empty proto for
|
9696
|
+
# adding fields in future.
|
9615
9697
|
class GoogleCloudDocumentaiV1beta3EnableProcessorResponse
|
9616
9698
|
include Google::Apis::Core::Hashable
|
9617
9699
|
|
@@ -9734,7 +9816,7 @@ module Google
|
|
9734
9816
|
end
|
9735
9817
|
end
|
9736
9818
|
|
9737
|
-
# The long-running operation metadata for
|
9819
|
+
# The long-running operation metadata for the ReviewDocument method.
|
9738
9820
|
class GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata
|
9739
9821
|
include Google::Apis::Core::Hashable
|
9740
9822
|
|
@@ -9784,7 +9866,7 @@ module Google
|
|
9784
9866
|
end
|
9785
9867
|
end
|
9786
9868
|
|
9787
|
-
# Response message for
|
9869
|
+
# Response message for the ReviewDocument method.
|
9788
9870
|
class GoogleCloudDocumentaiV1beta3ReviewDocumentResponse
|
9789
9871
|
include Google::Apis::Core::Hashable
|
9790
9872
|
|
@@ -9816,7 +9898,7 @@ module Google
|
|
9816
9898
|
end
|
9817
9899
|
end
|
9818
9900
|
|
9819
|
-
# The long-running operation metadata for
|
9901
|
+
# The long-running operation metadata for the SetDefaultProcessorVersion method.
|
9820
9902
|
class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionMetadata
|
9821
9903
|
include Google::Apis::Core::Hashable
|
9822
9904
|
|
@@ -9835,7 +9917,7 @@ module Google
|
|
9835
9917
|
end
|
9836
9918
|
end
|
9837
9919
|
|
9838
|
-
# Response message for
|
9920
|
+
# Response message for the SetDefaultProcessorVersion method.
|
9839
9921
|
class GoogleCloudDocumentaiV1beta3SetDefaultProcessorVersionResponse
|
9840
9922
|
include Google::Apis::Core::Hashable
|
9841
9923
|
|
@@ -9941,7 +10023,7 @@ module Google
|
|
9941
10023
|
end
|
9942
10024
|
end
|
9943
10025
|
|
9944
|
-
# The long-running operation metadata for the
|
10026
|
+
# The long-running operation metadata for the UndeployProcessorVersion method.
|
9945
10027
|
class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionMetadata
|
9946
10028
|
include Google::Apis::Core::Hashable
|
9947
10029
|
|
@@ -9960,7 +10042,7 @@ module Google
|
|
9960
10042
|
end
|
9961
10043
|
end
|
9962
10044
|
|
9963
|
-
# Response message for the
|
10045
|
+
# Response message for the UndeployProcessorVersion method.
|
9964
10046
|
class GoogleCloudDocumentaiV1beta3UndeployProcessorVersionResponse
|
9965
10047
|
include Google::Apis::Core::Hashable
|
9966
10048
|
|
@@ -10188,18 +10270,18 @@ module Google
|
|
10188
10270
|
end
|
10189
10271
|
|
10190
10272
|
# Represents a color in the RGBA color space. This representation is designed
|
10191
|
-
# for simplicity of conversion to
|
10273
|
+
# for simplicity of conversion to and from color representations in various
|
10192
10274
|
# languages over compactness. For example, the fields of this representation can
|
10193
10275
|
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
10194
10276
|
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
10195
10277
|
# method in iOS; and, with just a little work, it can be easily formatted into a
|
10196
|
-
# CSS `rgba()` string in JavaScript. This reference page
|
10278
|
+
# CSS `rgba()` string in JavaScript. This reference page does not have
|
10197
10279
|
# information about the absolute color space that should be used to interpret
|
10198
|
-
# the RGB value
|
10280
|
+
# the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default,
|
10199
10281
|
# applications should assume the sRGB color space. When color equality needs to
|
10200
10282
|
# be decided, implementations, unless documented otherwise, treat two colors as
|
10201
|
-
# equal if all their red, green, blue, and alpha values each differ by at most
|
10202
|
-
# 1e-5
|
10283
|
+
# equal if all their red, green, blue, and alpha values each differ by at most `
|
10284
|
+
# 1e-5`. Example (Java): import com.google.type.Color; // ... public static java.
|
10203
10285
|
# awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
|
10204
10286
|
# protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
|
10205
10287
|
# getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
|