google-apis-documentai_v1 0.47.0 → 0.49.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 96fcbbf548accf2985f5e2d65398b256dc399292add3fc0ae5c0891dd7b67cd4
4
- data.tar.gz: fb0ba4aeae55be38f49e305cba29cb638d98d6dbc56b7b5d8bba53e07e4c4f1a
3
+ metadata.gz: 5fde809417649966ff829d4db0f7ac0677d40c0793d5633cc062f0972da55886
4
+ data.tar.gz: 5707386ee619e889932bbb3a83995484ba85a090418c57021b6541ff468ece01
5
5
  SHA512:
6
- metadata.gz: 6e6c9eb34dfce3ddbe0efc10d51b1b9202067cc4b5c634c801b7059fc47743e3bce4bcc8c17f8191bb8872c473a003c06fc264627ef7bd9b90e20b06058ba92a
7
- data.tar.gz: 027e64fad91667ea944ae5cca09825172f2814912d4052371bcf92a9f11cc4e67ef75d8c1223a178f72a753b653ed4d98fa53ff6a34e84df9e61b4a10ac184de
6
+ metadata.gz: 55d84e4e50ff18bf738db25db43b5ca74d7629b12a51086a502b6c5628a079fb3112923dec7f055560e1a52d46b77bbda1cf3b9e75c994ac9f3cf12c7c296d43
7
+ data.tar.gz: 63704e8824731c35324e6cab97c85e64b42eb7de32c072178390d31b169be6dc81517ed4dc1cdc5c781363b34b4dfdead2585d8ff66bd79f8da6feb60f1d23e6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-documentai_v1
2
2
 
3
+ ### v0.49.0 (2022-09-21)
4
+
5
+ * Regenerated from discovery document revision 20220919
6
+ * Regenerated using generator version 0.10.0
7
+
8
+ ### v0.48.0 (2022-09-14)
9
+
10
+ * Regenerated from discovery document revision 20220912
11
+
3
12
  ### v0.47.0 (2022-08-31)
4
13
 
5
14
  * Regenerated from discovery document revision 20220824
@@ -1656,8 +1656,7 @@ module Google
1656
1656
  # @return [String]
1657
1657
  attr_accessor :mention_id
1658
1658
 
1659
- # Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`. If the
1660
- # entity is not present in the document, this field will be empty.
1659
+ # Optional. Text value of the entity e.g. `1600 Amphitheatre Pkwy`.
1661
1660
  # Corresponds to the JSON property `mentionText`
1662
1661
  # @return [String]
1663
1662
  attr_accessor :mention_text
@@ -1875,6 +1874,11 @@ module Google
1875
1874
  class GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfig
1876
1875
  include Google::Apis::Core::Hashable
1877
1876
 
1877
+ # Specifies which fields to include in the output documents.
1878
+ # Corresponds to the JSON property `fieldMask`
1879
+ # @return [String]
1880
+ attr_accessor :field_mask
1881
+
1878
1882
  # The Cloud Storage uri (a directory) of the output.
1879
1883
  # Corresponds to the JSON property `gcsUri`
1880
1884
  # @return [String]
@@ -1886,6 +1890,7 @@ module Google
1886
1890
 
1887
1891
  # Update properties of this object
1888
1892
  def update!(**args)
1893
+ @field_mask = args[:field_mask] if args.key?(:field_mask)
1889
1894
  @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
1890
1895
  end
1891
1896
  end
@@ -3139,6 +3144,12 @@ module Google
3139
3144
  # @return [Google::Apis::DocumentaiV1::GoogleTypeColor]
3140
3145
  attr_accessor :color
3141
3146
 
3147
+ # Font family such as "Arial", "Times New Roman". https://www.w3schools.com/
3148
+ # cssref/pr_font_font-family.asp
3149
+ # Corresponds to the JSON property `fontFamily`
3150
+ # @return [String]
3151
+ attr_accessor :font_family
3152
+
3142
3153
  # Font size with unit.
3143
3154
  # Corresponds to the JSON property `fontSize`
3144
3155
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentStyleFontSize]
@@ -3175,6 +3186,7 @@ module Google
3175
3186
  def update!(**args)
3176
3187
  @background_color = args[:background_color] if args.key?(:background_color)
3177
3188
  @color = args[:color] if args.key?(:color)
3189
+ @font_family = args[:font_family] if args.key?(:font_family)
3178
3190
  @font_size = args[:font_size] if args.key?(:font_size)
3179
3191
  @font_weight = args[:font_weight] if args.key?(:font_weight)
3180
3192
  @text_anchor = args[:text_anchor] if args.key?(:text_anchor)
@@ -3358,12 +3370,6 @@ module Google
3358
3370
  attr_accessor :inactive
3359
3371
  alias_method :inactive?, :inactive
3360
3372
 
3361
- # If set, the properties of this entity type must be prefixed with the parents.
3362
- # Corresponds to the JSON property `prefixedNamingOnProperties`
3363
- # @return [Boolean]
3364
- attr_accessor :prefixed_naming_on_properties
3365
- alias_method :prefixed_naming_on_properties?, :prefixed_naming_on_properties
3366
-
3367
3373
  def initialize(**args)
3368
3374
  update!(**args)
3369
3375
  end
@@ -3373,7 +3379,6 @@ module Google
3373
3379
  @human_review_labeling_metadata = args[:human_review_labeling_metadata] if args.key?(:human_review_labeling_metadata)
3374
3380
  @human_review_metadata = args[:human_review_metadata] if args.key?(:human_review_metadata)
3375
3381
  @inactive = args[:inactive] if args.key?(:inactive)
3376
- @prefixed_naming_on_properties = args[:prefixed_naming_on_properties] if args.key?(:prefixed_naming_on_properties)
3377
3382
  end
3378
3383
  end
3379
3384
 
@@ -4495,8 +4500,7 @@ module Google
4495
4500
  # @return [String]
4496
4501
  attr_accessor :mention_id
4497
4502
 
4498
- # Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`. If the
4499
- # entity is not present in the document, this field will be empty.
4503
+ # Optional. Text value of the entity e.g. `1600 Amphitheatre Pkwy`.
4500
4504
  # Corresponds to the JSON property `mentionText`
4501
4505
  # @return [String]
4502
4506
  attr_accessor :mention_text
@@ -5740,6 +5744,12 @@ module Google
5740
5744
  # @return [Google::Apis::DocumentaiV1::GoogleTypeColor]
5741
5745
  attr_accessor :color
5742
5746
 
5747
+ # Font family such as "Arial", "Times New Roman". https://www.w3schools.com/
5748
+ # cssref/pr_font_font-family.asp
5749
+ # Corresponds to the JSON property `fontFamily`
5750
+ # @return [String]
5751
+ attr_accessor :font_family
5752
+
5743
5753
  # Font size with unit.
5744
5754
  # Corresponds to the JSON property `fontSize`
5745
5755
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentStyleFontSize]
@@ -5776,6 +5786,7 @@ module Google
5776
5786
  def update!(**args)
5777
5787
  @background_color = args[:background_color] if args.key?(:background_color)
5778
5788
  @color = args[:color] if args.key?(:color)
5789
+ @font_family = args[:font_family] if args.key?(:font_family)
5779
5790
  @font_size = args[:font_size] if args.key?(:font_size)
5780
5791
  @font_weight = args[:font_weight] if args.key?(:font_weight)
5781
5792
  @text_anchor = args[:text_anchor] if args.key?(:text_anchor)
@@ -6324,8 +6335,7 @@ module Google
6324
6335
  # @return [String]
6325
6336
  attr_accessor :mention_id
6326
6337
 
6327
- # Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`. If the
6328
- # entity is not present in the document, this field will be empty.
6338
+ # Optional. Text value of the entity e.g. `1600 Amphitheatre Pkwy`.
6329
6339
  # Corresponds to the JSON property `mentionText`
6330
6340
  # @return [String]
6331
6341
  attr_accessor :mention_text
@@ -7606,6 +7616,12 @@ module Google
7606
7616
  # @return [Google::Apis::DocumentaiV1::GoogleTypeColor]
7607
7617
  attr_accessor :color
7608
7618
 
7619
+ # Font family such as "Arial", "Times New Roman". https://www.w3schools.com/
7620
+ # cssref/pr_font_font-family.asp
7621
+ # Corresponds to the JSON property `fontFamily`
7622
+ # @return [String]
7623
+ attr_accessor :font_family
7624
+
7609
7625
  # Font size with unit.
7610
7626
  # Corresponds to the JSON property `fontSize`
7611
7627
  # @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentStyleFontSize]
@@ -7642,6 +7658,7 @@ module Google
7642
7658
  def update!(**args)
7643
7659
  @background_color = args[:background_color] if args.key?(:background_color)
7644
7660
  @color = args[:color] if args.key?(:color)
7661
+ @font_family = args[:font_family] if args.key?(:font_family)
7645
7662
  @font_size = args[:font_size] if args.key?(:font_size)
7646
7663
  @font_weight = args[:font_weight] if args.key?(:font_weight)
7647
7664
  @text_anchor = args[:text_anchor] if args.key?(:text_anchor)
@@ -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.47.0"
19
+ GEM_VERSION = "0.49.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.9.0"
22
+ GENERATOR_VERSION = "0.10.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220824"
25
+ REVISION = "20220919"
26
26
  end
27
27
  end
28
28
  end
@@ -2219,6 +2219,7 @@ module Google
2219
2219
  class GoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfig
2220
2220
  # @private
2221
2221
  class Representation < Google::Apis::Core::JsonRepresentation
2222
+ property :field_mask, as: 'fieldMask'
2222
2223
  property :gcs_uri, as: 'gcsUri'
2223
2224
  end
2224
2225
  end
@@ -2583,6 +2584,7 @@ module Google
2583
2584
 
2584
2585
  property :color, as: 'color', class: Google::Apis::DocumentaiV1::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1::GoogleTypeColor::Representation
2585
2586
 
2587
+ property :font_family, as: 'fontFamily'
2586
2588
  property :font_size, as: 'fontSize', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentStyleFontSize, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentStyleFontSize::Representation
2587
2589
 
2588
2590
  property :font_weight, as: 'fontWeight'
@@ -2657,7 +2659,6 @@ module Google
2657
2659
  property :human_review_metadata, as: 'humanReviewMetadata', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewValidationMetadata, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewValidationMetadata::Representation
2658
2660
 
2659
2661
  property :inactive, as: 'inactive'
2660
- property :prefixed_naming_on_properties, as: 'prefixedNamingOnProperties'
2661
2662
  end
2662
2663
  end
2663
2664
 
@@ -3354,6 +3355,7 @@ module Google
3354
3355
 
3355
3356
  property :color, as: 'color', class: Google::Apis::DocumentaiV1::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1::GoogleTypeColor::Representation
3356
3357
 
3358
+ property :font_family, as: 'fontFamily'
3357
3359
  property :font_size, as: 'fontSize', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentStyleFontSize, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentStyleFontSize::Representation
3358
3360
 
3359
3361
  property :font_weight, as: 'fontWeight'
@@ -3886,6 +3888,7 @@ module Google
3886
3888
 
3887
3889
  property :color, as: 'color', class: Google::Apis::DocumentaiV1::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1::GoogleTypeColor::Representation
3888
3890
 
3891
+ property :font_family, as: 'fontFamily'
3889
3892
  property :font_size, as: 'fontSize', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentStyleFontSize, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentStyleFontSize::Representation
3890
3893
 
3891
3894
  property :font_weight, as: 'fontWeight'
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.47.0
4
+ version: 0.49.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: 2022-09-05 00:00:00.000000000 Z
11
+ date: 2022-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.7'
19
+ version: 0.9.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.7'
29
+ version: 0.9.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.47.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-documentai_v1/v0.49.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: []