google-apis-documentai_v1beta3 0.70.0 → 0.72.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DocumentaiV1beta3
18
18
  # Version of the google-apis-documentai_v1beta3 gem
19
- GEM_VERSION = "0.70.0"
19
+ GEM_VERSION = "0.72.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230417"
25
+ REVISION = "20230427"
26
26
  end
27
27
  end
28
28
  end
@@ -640,6 +640,12 @@ module Google
640
640
  include Google::Apis::Core::JsonObjectSupport
641
641
  end
642
642
 
643
+ class GoogleCloudDocumentaiV1beta1DocumentPageTokenStyleInfo
644
+ class Representation < Google::Apis::Core::JsonRepresentation; end
645
+
646
+ include Google::Apis::Core::JsonObjectSupport
647
+ end
648
+
643
649
  class GoogleCloudDocumentaiV1beta1DocumentPageVisualElement
644
650
  class Representation < Google::Apis::Core::JsonRepresentation; end
645
651
 
@@ -928,6 +934,12 @@ module Google
928
934
  include Google::Apis::Core::JsonObjectSupport
929
935
  end
930
936
 
937
+ class GoogleCloudDocumentaiV1beta2DocumentPageTokenStyleInfo
938
+ class Representation < Google::Apis::Core::JsonRepresentation; end
939
+
940
+ include Google::Apis::Core::JsonObjectSupport
941
+ end
942
+
931
943
  class GoogleCloudDocumentaiV1beta2DocumentPageVisualElement
932
944
  class Representation < Google::Apis::Core::JsonRepresentation; end
933
945
 
@@ -1318,6 +1330,12 @@ module Google
1318
1330
  include Google::Apis::Core::JsonObjectSupport
1319
1331
  end
1320
1332
 
1333
+ class GoogleCloudDocumentaiV1beta3DocumentPageTokenStyleInfo
1334
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1335
+
1336
+ include Google::Apis::Core::JsonObjectSupport
1337
+ end
1338
+
1321
1339
  class GoogleCloudDocumentaiV1beta3DocumentPageVisualElement
1322
1340
  class Representation < Google::Apis::Core::JsonRepresentation; end
1323
1341
 
@@ -2776,6 +2794,8 @@ module Google
2776
2794
 
2777
2795
  property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
2778
2796
 
2797
+ property :style_info, as: 'styleInfo', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageTokenStyleInfo, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1DocumentPageTokenStyleInfo::Representation
2798
+
2779
2799
  end
2780
2800
  end
2781
2801
 
@@ -2786,6 +2806,29 @@ module Google
2786
2806
  end
2787
2807
  end
2788
2808
 
2809
+ class GoogleCloudDocumentaiV1beta1DocumentPageTokenStyleInfo
2810
+ # @private
2811
+ class Representation < Google::Apis::Core::JsonRepresentation
2812
+ property :background_color, as: 'backgroundColor', class: Google::Apis::DocumentaiV1beta3::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeColor::Representation
2813
+
2814
+ property :bold, as: 'bold'
2815
+ property :font_size, as: 'fontSize'
2816
+ property :font_type, as: 'fontType'
2817
+ property :font_weight, as: 'fontWeight'
2818
+ property :handwritten, as: 'handwritten'
2819
+ property :italic, as: 'italic'
2820
+ property :letter_spacing, as: 'letterSpacing'
2821
+ property :pixel_font_size, as: 'pixelFontSize'
2822
+ property :smallcaps, as: 'smallcaps'
2823
+ property :strikeout, as: 'strikeout'
2824
+ property :subscript, as: 'subscript'
2825
+ property :superscript, as: 'superscript'
2826
+ property :text_color, as: 'textColor', class: Google::Apis::DocumentaiV1beta3::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeColor::Representation
2827
+
2828
+ property :underlined, as: 'underlined'
2829
+ end
2830
+ end
2831
+
2789
2832
  class GoogleCloudDocumentaiV1beta1DocumentPageVisualElement
2790
2833
  # @private
2791
2834
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3330,6 +3373,8 @@ module Google
3330
3373
 
3331
3374
  property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
3332
3375
 
3376
+ property :style_info, as: 'styleInfo', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageTokenStyleInfo, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentPageTokenStyleInfo::Representation
3377
+
3333
3378
  end
3334
3379
  end
3335
3380
 
@@ -3340,6 +3385,29 @@ module Google
3340
3385
  end
3341
3386
  end
3342
3387
 
3388
+ class GoogleCloudDocumentaiV1beta2DocumentPageTokenStyleInfo
3389
+ # @private
3390
+ class Representation < Google::Apis::Core::JsonRepresentation
3391
+ property :background_color, as: 'backgroundColor', class: Google::Apis::DocumentaiV1beta3::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeColor::Representation
3392
+
3393
+ property :bold, as: 'bold'
3394
+ property :font_size, as: 'fontSize'
3395
+ property :font_type, as: 'fontType'
3396
+ property :font_weight, as: 'fontWeight'
3397
+ property :handwritten, as: 'handwritten'
3398
+ property :italic, as: 'italic'
3399
+ property :letter_spacing, as: 'letterSpacing'
3400
+ property :pixel_font_size, as: 'pixelFontSize'
3401
+ property :smallcaps, as: 'smallcaps'
3402
+ property :strikeout, as: 'strikeout'
3403
+ property :subscript, as: 'subscript'
3404
+ property :superscript, as: 'superscript'
3405
+ property :text_color, as: 'textColor', class: Google::Apis::DocumentaiV1beta3::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeColor::Representation
3406
+
3407
+ property :underlined, as: 'underlined'
3408
+ end
3409
+ end
3410
+
3343
3411
  class GoogleCloudDocumentaiV1beta2DocumentPageVisualElement
3344
3412
  # @private
3345
3413
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4032,6 +4100,8 @@ module Google
4032
4100
 
4033
4101
  property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentProvenance, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentProvenance::Representation
4034
4102
 
4103
+ property :style_info, as: 'styleInfo', class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageTokenStyleInfo, decorator: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentPageTokenStyleInfo::Representation
4104
+
4035
4105
  end
4036
4106
  end
4037
4107
 
@@ -4042,6 +4112,29 @@ module Google
4042
4112
  end
4043
4113
  end
4044
4114
 
4115
+ class GoogleCloudDocumentaiV1beta3DocumentPageTokenStyleInfo
4116
+ # @private
4117
+ class Representation < Google::Apis::Core::JsonRepresentation
4118
+ property :background_color, as: 'backgroundColor', class: Google::Apis::DocumentaiV1beta3::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeColor::Representation
4119
+
4120
+ property :bold, as: 'bold'
4121
+ property :font_size, as: 'fontSize'
4122
+ property :font_type, as: 'fontType'
4123
+ property :font_weight, as: 'fontWeight'
4124
+ property :handwritten, as: 'handwritten'
4125
+ property :italic, as: 'italic'
4126
+ property :letter_spacing, as: 'letterSpacing'
4127
+ property :pixel_font_size, as: 'pixelFontSize'
4128
+ property :smallcaps, as: 'smallcaps'
4129
+ property :strikeout, as: 'strikeout'
4130
+ property :subscript, as: 'subscript'
4131
+ property :superscript, as: 'superscript'
4132
+ property :text_color, as: 'textColor', class: Google::Apis::DocumentaiV1beta3::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1beta3::GoogleTypeColor::Representation
4133
+
4134
+ property :underlined, as: 'underlined'
4135
+ end
4136
+ end
4137
+
4045
4138
  class GoogleCloudDocumentaiV1beta3DocumentPageVisualElement
4046
4139
  # @private
4047
4140
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4441,6 +4534,7 @@ module Google
4441
4534
  # @private
4442
4535
  class Representation < Google::Apis::Core::JsonRepresentation
4443
4536
  collection :advanced_ocr_options, as: 'advancedOcrOptions'
4537
+ property :compute_style_info, as: 'computeStyleInfo'
4444
4538
  property :enable_image_quality_scores, as: 'enableImageQualityScores'
4445
4539
  property :enable_native_pdf_parsing, as: 'enableNativePdfParsing'
4446
4540
  property :enable_symbol, as: 'enableSymbol'
@@ -51,12 +51,11 @@ module Google
51
51
  @batch_path = 'batch'
52
52
  end
53
53
 
54
- # Fetches processor types. Note that we do not use ListProcessorTypes here
55
- # because it is not paginated.
54
+ # Fetches processor types. Note that we don't use ListProcessorTypes here,
55
+ # because it isn't paginated.
56
56
  # @param [String] parent
57
- # Required. The project of processor type to list. The available processor types
58
- # may depend on the allow-listing on projects. Format: `projects/`project`/
59
- # locations/`location``
57
+ # Required. The location of processor types to list. Format: `projects/`project`/
58
+ # locations/`location``.
60
59
  # @param [String] fields
61
60
  # Selector specifying which fields to include in a partial response.
62
61
  # @param [String] quota_user
@@ -297,13 +296,12 @@ module Google
297
296
 
298
297
  # Lists the processor types that exist.
299
298
  # @param [String] parent
300
- # Required. The location of processor type to list. The available processor
301
- # types may depend on the allow-listing on projects. Format: `projects/`project`/
302
- # locations/`location``
299
+ # Required. The location of processor types to list. Format: `projects/`project`/
300
+ # locations/`location``.
303
301
  # @param [Fixnum] page_size
304
- # The maximum number of processor types to return. If unspecified, at most 100
305
- # processor types will be returned. The maximum value is 500; values above 500
306
- # will be coerced to 500.
302
+ # The maximum number of processor types to return. If unspecified, at most `100`
303
+ # processor types will be returned. The maximum value is `500`. Values above `
304
+ # 500` will be coerced to `500`.
307
305
  # @param [String] page_token
308
306
  # Used to retrieve the next page of results, empty if at the end of the list.
309
307
  # @param [String] fields
@@ -372,8 +370,8 @@ module Google
372
370
  execute_or_queue_command(command, &block)
373
371
  end
374
372
 
375
- # Creates a processor from the type processor that the user chose. The processor
376
- # will be at "ENABLED" state by default after its creation.
373
+ # Creates a processor from the ProcessorType provided. The processor will be at `
374
+ # ENABLED` state by default after its creation.
377
375
  # @param [String] parent
378
376
  # Required. The parent (project and location) under which to create the
379
377
  # processor. Format: `projects/`project`/locations/`location``
@@ -539,9 +537,9 @@ module Google
539
537
  # Required. The parent (project and location) which owns this collection of
540
538
  # Processors. Format: `projects/`project`/locations/`location``
541
539
  # @param [Fixnum] page_size
542
- # The maximum number of processors to return. If unspecified, at most 50
543
- # processors will be returned. The maximum value is 100; values above 100 will
544
- # be coerced to 100.
540
+ # The maximum number of processors to return. If unspecified, at most `50`
541
+ # processors will be returned. The maximum value is `100`. Values above `100`
542
+ # will be coerced to `100`.
545
543
  # @param [String] page_token
546
544
  # We will return the processors sorted by creation time. The page token will
547
545
  # point to the next processor.
@@ -886,9 +884,9 @@ module Google
886
884
  # Required. The parent (project, location and processor) to list all versions.
887
885
  # Format: `projects/`project`/locations/`location`/processors/`processor``
888
886
  # @param [Fixnum] page_size
889
- # The maximum number of processor versions to return. If unspecified, at most 10
890
- # processor versions will be returned. The maximum value is 20; values above 20
891
- # will be coerced to 20.
887
+ # The maximum number of processor versions to return. If unspecified, at most `
888
+ # 10` processor versions will be returned. The maximum value is `20`. Values
889
+ # above `20` will be coerced to `20`.
892
890
  # @param [String] page_token
893
891
  # We will return the processor versions sorted by creation time. The page token
894
892
  # will point to the next processor version.
@@ -959,7 +957,7 @@ module Google
959
957
  end
960
958
 
961
959
  # Trains a new processor version. Operation metadata is returned as
962
- # cloud_documentai_core.TrainProcessorVersionMetadata.
960
+ # TrainProcessorVersionMetadata.
963
961
  # @param [String] parent
964
962
  # Required. The parent (project, location and processor) to create the new
965
963
  # version for. Format: `projects/`project`/locations/`location`/processors/`
@@ -1065,8 +1063,8 @@ module Google
1065
1063
  # projects/`project`/locations/`location`/processors/`processor`/
1066
1064
  # processorVersions/`processorVersion``
1067
1065
  # @param [Fixnum] page_size
1068
- # The standard list page size. If unspecified, at most 5 evaluations will be
1069
- # returned. The maximum value is 100; values above 100 will be coerced to 100.
1066
+ # The standard list page size. If unspecified, at most `5` evaluations are
1067
+ # returned. The maximum value is `100`. Values above `100` are coerced to `100`.
1070
1068
  # @param [String] page_token
1071
1069
  # A page token, received from a previous `ListEvaluations` call. Provide this to
1072
1070
  # retrieve the subsequent page.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-documentai_v1beta3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.70.0
4
+ version: 0.72.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-23 00:00:00.000000000 Z
11
+ date: 2023-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.70.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1beta3/v0.72.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1beta3
63
63
  post_install_message:
64
64
  rdoc_options: []