Skip to content

Commit dc7a8d8

Browse files
feat: Automated regeneration of documentai v1 client (#11650)
Auto-created at 2022-09-14 11:31:14 +0000 using the toys pull request generator.
1 parent 3ed6756 commit dc7a8d8

File tree

5 files changed

+33
-2
lines changed

5 files changed

+33
-2
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140083,6 +140083,7 @@
140083140083
"/documentai:v1/GoogleCloudDocumentaiV1DocumentStyle": google_cloud_documentai_v1_document_style
140084140084
"/documentai:v1/GoogleCloudDocumentaiV1DocumentStyle/backgroundColor": background_color
140085140085
"/documentai:v1/GoogleCloudDocumentaiV1DocumentStyle/color": color
140086+
"/documentai:v1/GoogleCloudDocumentaiV1DocumentStyle/fontFamily": font_family
140086140087
"/documentai:v1/GoogleCloudDocumentaiV1DocumentStyle/fontSize": font_size
140087140088
"/documentai:v1/GoogleCloudDocumentaiV1DocumentStyle/fontWeight": font_weight
140088140089
"/documentai:v1/GoogleCloudDocumentaiV1DocumentStyle/textAnchor": text_anchor
@@ -140467,6 +140468,7 @@
140467140468
"/documentai:v1/GoogleCloudDocumentaiV1beta1DocumentStyle": google_cloud_documentai_v1beta1_document_style
140468140469
"/documentai:v1/GoogleCloudDocumentaiV1beta1DocumentStyle/backgroundColor": background_color
140469140470
"/documentai:v1/GoogleCloudDocumentaiV1beta1DocumentStyle/color": color
140471+
"/documentai:v1/GoogleCloudDocumentaiV1beta1DocumentStyle/fontFamily": font_family
140470140472
"/documentai:v1/GoogleCloudDocumentaiV1beta1DocumentStyle/fontSize": font_size
140471140473
"/documentai:v1/GoogleCloudDocumentaiV1beta1DocumentStyle/fontWeight": font_weight
140472140474
"/documentai:v1/GoogleCloudDocumentaiV1beta1DocumentStyle/textAnchor": text_anchor
@@ -140728,6 +140730,7 @@
140728140730
"/documentai:v1/GoogleCloudDocumentaiV1beta2DocumentStyle": google_cloud_documentai_v1beta2_document_style
140729140731
"/documentai:v1/GoogleCloudDocumentaiV1beta2DocumentStyle/backgroundColor": background_color
140730140732
"/documentai:v1/GoogleCloudDocumentaiV1beta2DocumentStyle/color": color
140733+
"/documentai:v1/GoogleCloudDocumentaiV1beta2DocumentStyle/fontFamily": font_family
140731140734
"/documentai:v1/GoogleCloudDocumentaiV1beta2DocumentStyle/fontSize": font_size
140732140735
"/documentai:v1/GoogleCloudDocumentaiV1beta2DocumentStyle/fontWeight": font_weight
140733140736
"/documentai:v1/GoogleCloudDocumentaiV1beta2DocumentStyle/textAnchor": text_anchor

generated/google-apis-documentai_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-documentai_v1
22

3+
### v0.48.0 (2022-09-14)
4+
5+
* Regenerated from discovery document revision 20220912
6+
37
### v0.47.0 (2022-08-31)
48

59
* Regenerated from discovery document revision 20220824

generated/google-apis-documentai_v1/lib/google/apis/documentai_v1/classes.rb

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3139,6 +3139,12 @@ class GoogleCloudDocumentaiV1DocumentStyle
31393139
# @return [Google::Apis::DocumentaiV1::GoogleTypeColor]
31403140
attr_accessor :color
31413141

3142+
# Font family such as "Arial", "Times New Roman". https://www.w3schools.com/
3143+
# cssref/pr_font_font-family.asp
3144+
# Corresponds to the JSON property `fontFamily`
3145+
# @return [String]
3146+
attr_accessor :font_family
3147+
31423148
# Font size with unit.
31433149
# Corresponds to the JSON property `fontSize`
31443150
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentStyleFontSize]
@@ -3175,6 +3181,7 @@ def initialize(**args)
31753181
def update!(**args)
31763182
@background_color = args[:background_color] if args.key?(:background_color)
31773183
@color = args[:color] if args.key?(:color)
3184+
@font_family = args[:font_family] if args.key?(:font_family)
31783185
@font_size = args[:font_size] if args.key?(:font_size)
31793186
@font_weight = args[:font_weight] if args.key?(:font_weight)
31803187
@text_anchor = args[:text_anchor] if args.key?(:text_anchor)
@@ -5740,6 +5747,12 @@ class GoogleCloudDocumentaiV1beta1DocumentStyle
57405747
# @return [Google::Apis::DocumentaiV1::GoogleTypeColor]
57415748
attr_accessor :color
57425749

5750+
# Font family such as "Arial", "Times New Roman". https://www.w3schools.com/
5751+
# cssref/pr_font_font-family.asp
5752+
# Corresponds to the JSON property `fontFamily`
5753+
# @return [String]
5754+
attr_accessor :font_family
5755+
57435756
# Font size with unit.
57445757
# Corresponds to the JSON property `fontSize`
57455758
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentStyleFontSize]
@@ -5776,6 +5789,7 @@ def initialize(**args)
57765789
def update!(**args)
57775790
@background_color = args[:background_color] if args.key?(:background_color)
57785791
@color = args[:color] if args.key?(:color)
5792+
@font_family = args[:font_family] if args.key?(:font_family)
57795793
@font_size = args[:font_size] if args.key?(:font_size)
57805794
@font_weight = args[:font_weight] if args.key?(:font_weight)
57815795
@text_anchor = args[:text_anchor] if args.key?(:text_anchor)
@@ -7606,6 +7620,12 @@ class GoogleCloudDocumentaiV1beta2DocumentStyle
76067620
# @return [Google::Apis::DocumentaiV1::GoogleTypeColor]
76077621
attr_accessor :color
76087622

7623+
# Font family such as "Arial", "Times New Roman". https://www.w3schools.com/
7624+
# cssref/pr_font_font-family.asp
7625+
# Corresponds to the JSON property `fontFamily`
7626+
# @return [String]
7627+
attr_accessor :font_family
7628+
76097629
# Font size with unit.
76107630
# Corresponds to the JSON property `fontSize`
76117631
# @return [Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentStyleFontSize]
@@ -7642,6 +7662,7 @@ def initialize(**args)
76427662
def update!(**args)
76437663
@background_color = args[:background_color] if args.key?(:background_color)
76447664
@color = args[:color] if args.key?(:color)
7665+
@font_family = args[:font_family] if args.key?(:font_family)
76457666
@font_size = args[:font_size] if args.key?(:font_size)
76467667
@font_weight = args[:font_weight] if args.key?(:font_weight)
76477668
@text_anchor = args[:text_anchor] if args.key?(:text_anchor)

generated/google-apis-documentai_v1/lib/google/apis/documentai_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module DocumentaiV1
1818
# Version of the google-apis-documentai_v1 gem
19-
GEM_VERSION = "0.47.0"
19+
GEM_VERSION = "0.48.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.9.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20220824"
25+
REVISION = "20220912"
2626
end
2727
end
2828
end

generated/google-apis-documentai_v1/lib/google/apis/documentai_v1/representations.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2583,6 +2583,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
25832583

25842584
property :color, as: 'color', class: Google::Apis::DocumentaiV1::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1::GoogleTypeColor::Representation
25852585

2586+
property :font_family, as: 'fontFamily'
25862587
property :font_size, as: 'fontSize', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentStyleFontSize, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentStyleFontSize::Representation
25872588

25882589
property :font_weight, as: 'fontWeight'
@@ -3354,6 +3355,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
33543355

33553356
property :color, as: 'color', class: Google::Apis::DocumentaiV1::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1::GoogleTypeColor::Representation
33563357

3358+
property :font_family, as: 'fontFamily'
33573359
property :font_size, as: 'fontSize', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentStyleFontSize, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta1DocumentStyleFontSize::Representation
33583360

33593361
property :font_weight, as: 'fontWeight'
@@ -3886,6 +3888,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
38863888

38873889
property :color, as: 'color', class: Google::Apis::DocumentaiV1::GoogleTypeColor, decorator: Google::Apis::DocumentaiV1::GoogleTypeColor::Representation
38883890

3891+
property :font_family, as: 'fontFamily'
38893892
property :font_size, as: 'fontSize', class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentStyleFontSize, decorator: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentStyleFontSize::Representation
38903893

38913894
property :font_weight, as: 'fontWeight'

0 commit comments

Comments
 (0)