google-apis-documentai_v1 0.61.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.61.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 = "20230302"
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
 
@@ -1618,6 +1636,18 @@ module Google
1618
1636
  include Google::Apis::Core::JsonObjectSupport
1619
1637
  end
1620
1638
 
1639
+ class GoogleCloudDocumentaiV1beta3ImportProcessorVersionMetadata
1640
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1641
+
1642
+ include Google::Apis::Core::JsonObjectSupport
1643
+ end
1644
+
1645
+ class GoogleCloudDocumentaiV1beta3ImportProcessorVersionResponse
1646
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1647
+
1648
+ include Google::Apis::Core::JsonObjectSupport
1649
+ end
1650
+
1621
1651
  class GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata
1622
1652
  class Representation < Google::Apis::Core::JsonRepresentation; end
1623
1653
 
@@ -2664,6 +2694,8 @@ module Google
2664
2694
 
2665
2695
  property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentProvenance, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentProvenance::Representation
2666
2696
 
2697
+ property :style_info, as: 'styleInfo', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo::Representation
2698
+
2667
2699
  end
2668
2700
  end
2669
2701
 
@@ -2674,6 +2706,29 @@ module Google
2674
2706
  end
2675
2707
  end
2676
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
+
2677
2732
  class GoogleCloudDocumentaiV1DocumentPageVisualElement
2678
2733
  # @private
2679
2734
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3621,6 +3676,8 @@ module Google
3621
3676
 
3622
3677
  property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentProvenance, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentProvenance::Representation
3623
3678
 
3679
+ property :style_info, as: 'styleInfo', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageTokenStyleInfo, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentPageTokenStyleInfo::Representation
3680
+
3624
3681
  end
3625
3682
  end
3626
3683
 
@@ -3631,6 +3688,29 @@ module Google
3631
3688
  end
3632
3689
  end
3633
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
+
3634
3714
  class GoogleCloudDocumentaiV1beta1DocumentPageVisualElement
3635
3715
  # @private
3636
3716
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4175,6 +4255,8 @@ module Google
4175
4255
 
4176
4256
  property :provenance, as: 'provenance', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentProvenance, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentProvenance::Representation
4177
4257
 
4258
+ property :style_info, as: 'styleInfo', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageTokenStyleInfo, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentPageTokenStyleInfo::Representation
4259
+
4178
4260
  end
4179
4261
  end
4180
4262
 
@@ -4185,6 +4267,29 @@ module Google
4185
4267
  end
4186
4268
  end
4187
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
+
4188
4293
  class GoogleCloudDocumentaiV1beta2DocumentPageVisualElement
4189
4294
  # @private
4190
4295
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4494,6 +4599,21 @@ module Google
4494
4599
  end
4495
4600
  end
4496
4601
 
4602
+ class GoogleCloudDocumentaiV1beta3ImportProcessorVersionMetadata
4603
+ # @private
4604
+ class Representation < Google::Apis::Core::JsonRepresentation
4605
+ property :common_metadata, as: 'commonMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta3CommonOperationMetadata::Representation
4606
+
4607
+ end
4608
+ end
4609
+
4610
+ class GoogleCloudDocumentaiV1beta3ImportProcessorVersionResponse
4611
+ # @private
4612
+ class Representation < Google::Apis::Core::JsonRepresentation
4613
+ property :processor_version, as: 'processorVersion'
4614
+ end
4615
+ end
4616
+
4497
4617
  class GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata
4498
4618
  # @private
4499
4619
  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`/
@@ -259,13 +259,7 @@ module Google
259
259
  end
260
260
 
261
261
  # Lists operations that match the specified filter in the request. If the server
262
- # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
263
- # binding allows API services to override the binding to use different resource
264
- # name schemes, such as `users/*/operations`. To override the binding, API
265
- # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
266
- # service configuration. For backwards compatibility, the default name includes
267
- # the operations collection id, however overriding users must ensure the name
268
- # binding is the parent resource, without the operations collection id.
262
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
269
263
  # @param [String] name
270
264
  # The name of the operation's parent resource.
271
265
  # @param [String] filter
@@ -1070,8 +1064,9 @@ module Google
1070
1064
  # projects/`project`/locations/`location`/processors/`processor`/
1071
1065
  # processorVersions/`processorVersion``
1072
1066
  # @param [Fixnum] page_size
1073
- # The standard list page size. If unspecified, at most 5 evaluations will be
1074
- # 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`.
1075
1070
  # @param [String] page_token
1076
1071
  # A page token, received from a previous `ListEvaluations` call. Provide this to
1077
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.61.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-12 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.61.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: []