google-apis-documentai_v1 0.62.0 → 0.64.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 DocumentaiV1
18
18
  # Version of the google-apis-documentai_v1 gem
19
- GEM_VERSION = "0.62.0"
19
+ GEM_VERSION = "0.64.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 = "20230310"
25
+ REVISION = "20230504"
26
26
  end
27
27
  end
28
28
  end
@@ -268,6 +268,24 @@ module Google
268
268
  include Google::Apis::Core::JsonObjectSupport
269
269
  end
270
270
 
271
+ class GoogleCloudDocumentaiUiv1beta3SampleDocumentsMetadata
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
271
289
  class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
272
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
273
291
 
@@ -592,6 +610,12 @@ module Google
592
610
  include Google::Apis::Core::JsonObjectSupport
593
611
  end
594
612
 
613
+ class GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo
614
+ class Representation < Google::Apis::Core::JsonRepresentation; end
615
+
616
+ include Google::Apis::Core::JsonObjectSupport
617
+ end
618
+
595
619
  class GoogleCloudDocumentaiV1DocumentPageVisualElement
596
620
  class Representation < Google::Apis::Core::JsonRepresentation; end
597
621
 
@@ -1126,6 +1150,12 @@ module Google
1126
1150
  include Google::Apis::Core::JsonObjectSupport
1127
1151
  end
1128
1152
 
1153
+ class GoogleCloudDocumentaiV1beta1DocumentPageTokenStyleInfo
1154
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1155
+
1156
+ include Google::Apis::Core::JsonObjectSupport
1157
+ end
1158
+
1129
1159
  class GoogleCloudDocumentaiV1beta1DocumentPageVisualElement
1130
1160
  class Representation < Google::Apis::Core::JsonRepresentation; end
1131
1161
 
@@ -1414,6 +1444,12 @@ module Google
1414
1444
  include Google::Apis::Core::JsonObjectSupport
1415
1445
  end
1416
1446
 
1447
+ class GoogleCloudDocumentaiV1beta2DocumentPageTokenStyleInfo
1448
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1449
+
1450
+ include Google::Apis::Core::JsonObjectSupport
1451
+ end
1452
+
1417
1453
  class GoogleCloudDocumentaiV1beta2DocumentPageVisualElement
1418
1454
  class Representation < Google::Apis::Core::JsonRepresentation; end
1419
1455
 
@@ -2108,6 +2144,29 @@ module Google
2108
2144
  end
2109
2145
  end
2110
2146
 
2147
+ class GoogleCloudDocumentaiUiv1beta3SampleDocumentsMetadata
2148
+ # @private
2149
+ class Representation < Google::Apis::Core::JsonRepresentation
2150
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3CommonOperationMetadata::Representation
2151
+
2152
+ end
2153
+ end
2154
+
2155
+ class GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponse
2156
+ # @private
2157
+ class Representation < Google::Apis::Core::JsonRepresentation
2158
+ collection :selected_documents, as: 'selectedDocuments', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument::Representation
2159
+
2160
+ end
2161
+ end
2162
+
2163
+ class GoogleCloudDocumentaiUiv1beta3SampleDocumentsResponseSelectedDocument
2164
+ # @private
2165
+ class Representation < Google::Apis::Core::JsonRepresentation
2166
+ property :document_id, as: 'documentId'
2167
+ end
2168
+ end
2169
+
2111
2170
  class GoogleCloudDocumentaiUiv1beta3SetDefaultProcessorVersionMetadata
2112
2171
  # @private
2113
2172
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2676,6 +2735,8 @@ module Google
2676
2735
 
2677
2736
  property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentProvenance, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentProvenance::Representation
2678
2737
 
2738
+ property :style_info, as: 'styleInfo', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo::Representation
2739
+
2679
2740
  end
2680
2741
  end
2681
2742
 
@@ -2686,6 +2747,29 @@ module Google
2686
2747
  end
2687
2748
  end
2688
2749
 
2750
+ class GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo
2751
+ # @private
2752
+ class Representation < Google::Apis::Core::JsonRepresentation
2753
+ property :background_color, as: 'backgroundColor', class: Google::Apis::DocumentaiV1::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1::GoogleTypeColor::Representation
2754
+
2755
+ property :bold, as: 'bold'
2756
+ property :font_size, as: 'fontSize'
2757
+ property :font_type, as: 'fontType'
2758
+ property :font_weight, as: 'fontWeight'
2759
+ property :handwritten, as: 'handwritten'
2760
+ property :italic, as: 'italic'
2761
+ property :letter_spacing, as: 'letterSpacing'
2762
+ property :pixel_font_size, as: 'pixelFontSize'
2763
+ property :smallcaps, as: 'smallcaps'
2764
+ property :strikeout, as: 'strikeout'
2765
+ property :subscript, as: 'subscript'
2766
+ property :superscript, as: 'superscript'
2767
+ property :text_color, as: 'textColor', class: Google::Apis::DocumentaiV1::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1::GoogleTypeColor::Representation
2768
+
2769
+ property :underlined, as: 'underlined'
2770
+ end
2771
+ end
2772
+
2689
2773
  class GoogleCloudDocumentaiV1DocumentPageVisualElement
2690
2774
  # @private
2691
2775
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3633,6 +3717,8 @@ module Google
3633
3717
 
3634
3718
  property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
3635
3719
 
3720
+ property :style_info, as: 'styleInfo', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageTokenStyleInfo, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageTokenStyleInfo::Representation
3721
+
3636
3722
  end
3637
3723
  end
3638
3724
 
@@ -3643,6 +3729,29 @@ module Google
3643
3729
  end
3644
3730
  end
3645
3731
 
3732
+ class GoogleCloudDocumentaiV1beta1DocumentPageTokenStyleInfo
3733
+ # @private
3734
+ class Representation < Google::Apis::Core::JsonRepresentation
3735
+ property :background_color, as: 'backgroundColor', class: Google::Apis::DocumentaiV1::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1::GoogleTypeColor::Representation
3736
+
3737
+ property :bold, as: 'bold'
3738
+ property :font_size, as: 'fontSize'
3739
+ property :font_type, as: 'fontType'
3740
+ property :font_weight, as: 'fontWeight'
3741
+ property :handwritten, as: 'handwritten'
3742
+ property :italic, as: 'italic'
3743
+ property :letter_spacing, as: 'letterSpacing'
3744
+ property :pixel_font_size, as: 'pixelFontSize'
3745
+ property :smallcaps, as: 'smallcaps'
3746
+ property :strikeout, as: 'strikeout'
3747
+ property :subscript, as: 'subscript'
3748
+ property :superscript, as: 'superscript'
3749
+ property :text_color, as: 'textColor', class: Google::Apis::DocumentaiV1::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1::GoogleTypeColor::Representation
3750
+
3751
+ property :underlined, as: 'underlined'
3752
+ end
3753
+ end
3754
+
3646
3755
  class GoogleCloudDocumentaiV1beta1DocumentPageVisualElement
3647
3756
  # @private
3648
3757
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4187,6 +4296,8 @@ module Google
4187
4296
 
4188
4297
  property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
4189
4298
 
4299
+ property :style_info, as: 'styleInfo', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageTokenStyleInfo, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageTokenStyleInfo::Representation
4300
+
4190
4301
  end
4191
4302
  end
4192
4303
 
@@ -4197,6 +4308,29 @@ module Google
4197
4308
  end
4198
4309
  end
4199
4310
 
4311
+ class GoogleCloudDocumentaiV1beta2DocumentPageTokenStyleInfo
4312
+ # @private
4313
+ class Representation < Google::Apis::Core::JsonRepresentation
4314
+ property :background_color, as: 'backgroundColor', class: Google::Apis::DocumentaiV1::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1::GoogleTypeColor::Representation
4315
+
4316
+ property :bold, as: 'bold'
4317
+ property :font_size, as: 'fontSize'
4318
+ property :font_type, as: 'fontType'
4319
+ property :font_weight, as: 'fontWeight'
4320
+ property :handwritten, as: 'handwritten'
4321
+ property :italic, as: 'italic'
4322
+ property :letter_spacing, as: 'letterSpacing'
4323
+ property :pixel_font_size, as: 'pixelFontSize'
4324
+ property :smallcaps, as: 'smallcaps'
4325
+ property :strikeout, as: 'strikeout'
4326
+ property :subscript, as: 'subscript'
4327
+ property :superscript, as: 'superscript'
4328
+ property :text_color, as: 'textColor', class: Google::Apis::DocumentaiV1::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1::GoogleTypeColor::Representation
4329
+
4330
+ property :underlined, as: 'underlined'
4331
+ end
4332
+ end
4333
+
4200
4334
  class GoogleCloudDocumentaiV1beta2DocumentPageVisualElement
4201
4335
  # @private
4202
4336
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -84,12 +84,11 @@ module Google
84
84
  execute_or_queue_command(command, &block)
85
85
  end
86
86
 
87
- # Fetches processor types. Note that we do not use ListProcessorTypes here
88
- # because it is not paginated.
87
+ # Fetches processor types. Note that we don't use ListProcessorTypes here,
88
+ # because it isn't paginated.
89
89
  # @param [String] parent
90
- # Required. The project of processor type to list. The available processor types
91
- # may depend on the allow-listing on projects. Format: `projects/`project`/
92
- # locations/`location``
90
+ # Required. The location of processor types to list. Format: `projects/`project`/
91
+ # locations/`location``.
93
92
  # @param [String] fields
94
93
  # Selector specifying which fields to include in a partial response.
95
94
  # @param [String] quota_user
@@ -330,13 +329,12 @@ module Google
330
329
 
331
330
  # Lists the processor types that exist.
332
331
  # @param [String] parent
333
- # Required. The location of processor type to list. The available processor
334
- # types may depend on the allow-listing on projects. Format: `projects/`project`/
335
- # locations/`location``
332
+ # Required. The location of processor types to list. Format: `projects/`project`/
333
+ # locations/`location``.
336
334
  # @param [Fixnum] page_size
337
- # The maximum number of processor types to return. If unspecified, at most 100
338
- # processor types will be returned. The maximum value is 500; values above 500
339
- # will be coerced to 500.
335
+ # The maximum number of processor types to return. If unspecified, at most `100`
336
+ # processor types will be returned. The maximum value is `500`. Values above `
337
+ # 500` will be coerced to `500`.
340
338
  # @param [String] page_token
341
339
  # Used to retrieve the next page of results, empty if at the end of the list.
342
340
  # @param [String] fields
@@ -405,8 +403,8 @@ module Google
405
403
  execute_or_queue_command(command, &block)
406
404
  end
407
405
 
408
- # Creates a processor from the type processor that the user chose. The processor
409
- # will be at "ENABLED" state by default after its creation.
406
+ # Creates a processor from the ProcessorType provided. The processor will be at `
407
+ # ENABLED` state by default after its creation.
410
408
  # @param [String] parent
411
409
  # Required. The parent (project and location) under which to create the
412
410
  # processor. Format: `projects/`project`/locations/`location``
@@ -572,9 +570,9 @@ module Google
572
570
  # Required. The parent (project and location) which owns this collection of
573
571
  # Processors. Format: `projects/`project`/locations/`location``
574
572
  # @param [Fixnum] page_size
575
- # The maximum number of processors to return. If unspecified, at most 50
576
- # processors will be returned. The maximum value is 100; values above 100 will
577
- # be coerced to 100.
573
+ # The maximum number of processors to return. If unspecified, at most `50`
574
+ # processors will be returned. The maximum value is `100`. Values above `100`
575
+ # will be coerced to `100`.
578
576
  # @param [String] page_token
579
577
  # We will return the processors sorted by creation time. The page token will
580
578
  # point to the next processor.
@@ -885,9 +883,9 @@ module Google
885
883
  # Required. The parent (project, location and processor) to list all versions.
886
884
  # Format: `projects/`project`/locations/`location`/processors/`processor``
887
885
  # @param [Fixnum] page_size
888
- # The maximum number of processor versions to return. If unspecified, at most 10
889
- # processor versions will be returned. The maximum value is 20; values above 20
890
- # will be coerced to 20.
886
+ # The maximum number of processor versions to return. If unspecified, at most `
887
+ # 10` processor versions will be returned. The maximum value is `20`. Values
888
+ # above `20` will be coerced to `20`.
891
889
  # @param [String] page_token
892
890
  # We will return the processor versions sorted by creation time. The page token
893
891
  # will point to the next processor version.
@@ -958,7 +956,7 @@ module Google
958
956
  end
959
957
 
960
958
  # Trains a new processor version. Operation metadata is returned as
961
- # cloud_documentai_core.TrainProcessorVersionMetadata.
959
+ # TrainProcessorVersionMetadata.
962
960
  # @param [String] parent
963
961
  # Required. The parent (project, location and processor) to create the new
964
962
  # version for. Format: `projects/`project`/locations/`location`/processors/`
@@ -1064,8 +1062,8 @@ module Google
1064
1062
  # projects/`project`/locations/`location`/processors/`processor`/
1065
1063
  # processorVersions/`processorVersion``
1066
1064
  # @param [Fixnum] page_size
1067
- # The standard list page size. If unspecified, at most 5 evaluations will be
1068
- # returned. The maximum value is 100; values above 100 will be coerced to 100.
1065
+ # The standard list page size. If unspecified, at most `5` evaluations are
1066
+ # returned. The maximum value is `100`. Values above `100` are coerced to `100`.
1069
1067
  # @param [String] page_token
1070
1068
  # A page token, received from a previous `ListEvaluations` call. Provide this to
1071
1069
  # retrieve the subsequent page.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-documentai_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.62.0
4
+ version: 0.64.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-03-19 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.62.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.64.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-documentai_v1
63
63
  post_install_message:
64
64
  rdoc_options: []