google-apis-documentai_v1 0.62.0 → 0.63.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.63.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 = "20230420"
26
26
  end
27
27
  end
28
28
  end
@@ -592,6 +592,12 @@ module Google
592
592
  include Google::Apis::Core::JsonObjectSupport
593
593
  end
594
594
 
595
+ class GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo
596
+ class Representation < Google::Apis::Core::JsonRepresentation; end
597
+
598
+ include Google::Apis::Core::JsonObjectSupport
599
+ end
600
+
595
601
  class GoogleCloudDocumentaiV1DocumentPageVisualElement
596
602
  class Representation < Google::Apis::Core::JsonRepresentation; end
597
603
 
@@ -1126,6 +1132,12 @@ module Google
1126
1132
  include Google::Apis::Core::JsonObjectSupport
1127
1133
  end
1128
1134
 
1135
+ class GoogleCloudDocumentaiV1beta1DocumentPageTokenStyleInfo
1136
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1137
+
1138
+ include Google::Apis::Core::JsonObjectSupport
1139
+ end
1140
+
1129
1141
  class GoogleCloudDocumentaiV1beta1DocumentPageVisualElement
1130
1142
  class Representation < Google::Apis::Core::JsonRepresentation; end
1131
1143
 
@@ -1414,6 +1426,12 @@ module Google
1414
1426
  include Google::Apis::Core::JsonObjectSupport
1415
1427
  end
1416
1428
 
1429
+ class GoogleCloudDocumentaiV1beta2DocumentPageTokenStyleInfo
1430
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1431
+
1432
+ include Google::Apis::Core::JsonObjectSupport
1433
+ end
1434
+
1417
1435
  class GoogleCloudDocumentaiV1beta2DocumentPageVisualElement
1418
1436
  class Representation < Google::Apis::Core::JsonRepresentation; end
1419
1437
 
@@ -2676,6 +2694,8 @@ module Google
2676
2694
 
2677
2695
  property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentProvenance, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentProvenance::Representation
2678
2696
 
2697
+ property :style_info, as: 'styleInfo', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo::Representation
2698
+
2679
2699
  end
2680
2700
  end
2681
2701
 
@@ -2686,6 +2706,29 @@ module Google
2686
2706
  end
2687
2707
  end
2688
2708
 
2709
+ class GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo
2710
+ # @private
2711
+ class Representation < Google::Apis::Core::JsonRepresentation
2712
+ property :background_color, as: 'backgroundColor', class: Google::Apis::DocumentaiV1::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1::GoogleTypeColor::Representation
2713
+
2714
+ property :bold, as: 'bold'
2715
+ property :font_size, as: 'fontSize'
2716
+ property :font_type, as: 'fontType'
2717
+ property :font_weight, as: 'fontWeight'
2718
+ property :handwritten, as: 'handwritten'
2719
+ property :italic, as: 'italic'
2720
+ property :letter_spacing, as: 'letterSpacing'
2721
+ property :pixel_font_size, as: 'pixelFontSize'
2722
+ property :smallcaps, as: 'smallcaps'
2723
+ property :strikeout, as: 'strikeout'
2724
+ property :subscript, as: 'subscript'
2725
+ property :superscript, as: 'superscript'
2726
+ property :text_color, as: 'textColor', class: Google::Apis::DocumentaiV1::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1::GoogleTypeColor::Representation
2727
+
2728
+ property :underlined, as: 'underlined'
2729
+ end
2730
+ end
2731
+
2689
2732
  class GoogleCloudDocumentaiV1DocumentPageVisualElement
2690
2733
  # @private
2691
2734
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3633,6 +3676,8 @@ module Google
3633
3676
 
3634
3677
  property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
3635
3678
 
3679
+ property :style_info, as: 'styleInfo', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageTokenStyleInfo, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageTokenStyleInfo::Representation
3680
+
3636
3681
  end
3637
3682
  end
3638
3683
 
@@ -3643,6 +3688,29 @@ module Google
3643
3688
  end
3644
3689
  end
3645
3690
 
3691
+ class GoogleCloudDocumentaiV1beta1DocumentPageTokenStyleInfo
3692
+ # @private
3693
+ class Representation < Google::Apis::Core::JsonRepresentation
3694
+ property :background_color, as: 'backgroundColor', class: Google::Apis::DocumentaiV1::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1::GoogleTypeColor::Representation
3695
+
3696
+ property :bold, as: 'bold'
3697
+ property :font_size, as: 'fontSize'
3698
+ property :font_type, as: 'fontType'
3699
+ property :font_weight, as: 'fontWeight'
3700
+ property :handwritten, as: 'handwritten'
3701
+ property :italic, as: 'italic'
3702
+ property :letter_spacing, as: 'letterSpacing'
3703
+ property :pixel_font_size, as: 'pixelFontSize'
3704
+ property :smallcaps, as: 'smallcaps'
3705
+ property :strikeout, as: 'strikeout'
3706
+ property :subscript, as: 'subscript'
3707
+ property :superscript, as: 'superscript'
3708
+ property :text_color, as: 'textColor', class: Google::Apis::DocumentaiV1::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1::GoogleTypeColor::Representation
3709
+
3710
+ property :underlined, as: 'underlined'
3711
+ end
3712
+ end
3713
+
3646
3714
  class GoogleCloudDocumentaiV1beta1DocumentPageVisualElement
3647
3715
  # @private
3648
3716
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4187,6 +4255,8 @@ module Google
4187
4255
 
4188
4256
  property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
4189
4257
 
4258
+ property :style_info, as: 'styleInfo', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageTokenStyleInfo, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageTokenStyleInfo::Representation
4259
+
4190
4260
  end
4191
4261
  end
4192
4262
 
@@ -4197,6 +4267,29 @@ module Google
4197
4267
  end
4198
4268
  end
4199
4269
 
4270
+ class GoogleCloudDocumentaiV1beta2DocumentPageTokenStyleInfo
4271
+ # @private
4272
+ class Representation < Google::Apis::Core::JsonRepresentation
4273
+ property :background_color, as: 'backgroundColor', class: Google::Apis::DocumentaiV1::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1::GoogleTypeColor::Representation
4274
+
4275
+ property :bold, as: 'bold'
4276
+ property :font_size, as: 'fontSize'
4277
+ property :font_type, as: 'fontType'
4278
+ property :font_weight, as: 'fontWeight'
4279
+ property :handwritten, as: 'handwritten'
4280
+ property :italic, as: 'italic'
4281
+ property :letter_spacing, as: 'letterSpacing'
4282
+ property :pixel_font_size, as: 'pixelFontSize'
4283
+ property :smallcaps, as: 'smallcaps'
4284
+ property :strikeout, as: 'strikeout'
4285
+ property :subscript, as: 'subscript'
4286
+ property :superscript, as: 'superscript'
4287
+ property :text_color, as: 'textColor', class: Google::Apis::DocumentaiV1::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1::GoogleTypeColor::Representation
4288
+
4289
+ property :underlined, as: 'underlined'
4290
+ end
4291
+ end
4292
+
4200
4293
  class GoogleCloudDocumentaiV1beta2DocumentPageVisualElement
4201
4294
  # @private
4202
4295
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -84,8 +84,8 @@ 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
90
  # Required. The project of processor type to list. The available processor types
91
91
  # may depend on the allow-listing on projects. Format: `projects/`project`/
@@ -1064,8 +1064,9 @@ module Google
1064
1064
  # projects/`project`/locations/`location`/processors/`processor`/
1065
1065
  # processorVersions/`processorVersion``
1066
1066
  # @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.
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 `
1069
+ # 100`.
1069
1070
  # @param [String] page_token
1070
1071
  # A page token, received from a previous `ListEvaluations` call. Provide this to
1071
1072
  # 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.63.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-04-30 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.63.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: []