@@ -46,11 +46,21 @@ def update!(**args)
4646 class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule
4747 include Google ::Apis ::Core ::Hashable
4848
49+ # A rule that aligns specified child fields with a parent field.
50+ # Corresponds to the JSON property `childAlignmentRule`
51+ # @return [Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule]
52+ attr_accessor :child_alignment_rule
53+
4954 # Description of the validation rule. This has no use but for documentation
5055 # Corresponds to the JSON property `description`
5156 # @return [String]
5257 attr_accessor :description
5358
59+ # A rule that aligns specified fields with each other.
60+ # Corresponds to the JSON property `entityAlignmentRule`
61+ # @return [Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleEntityAlignmentRule]
62+ attr_accessor :entity_alignment_rule
63+
5464 #
5565 # Corresponds to the JSON property `fieldOccurrences`
5666 # @return [Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences]
@@ -77,14 +87,78 @@ def initialize(**args)
7787
7888 # Update properties of this object
7989 def update! ( **args )
90+ @child_alignment_rule = args [ :child_alignment_rule ] if args . key? ( :child_alignment_rule )
8091 @description = args [ :description ] if args . key? ( :description )
92+ @entity_alignment_rule = args [ :entity_alignment_rule ] if args . key? ( :entity_alignment_rule )
8193 @field_occurrences = args [ :field_occurrences ] if args . key? ( :field_occurrences )
8294 @field_regex = args [ :field_regex ] if args . key? ( :field_regex )
8395 @form_validation = args [ :form_validation ] if args . key? ( :form_validation )
8496 @name = args [ :name ] if args . key? ( :name )
8597 end
8698 end
8799
100+ # A rule for checking field alignment. Horizontal alignment checks if fields are
101+ # on the same row by comparing y-coordinates of bounding box centers, while
102+ # vertical alignment checks if fields are on the same column by comparing x-
103+ # coordinates of bounding box centers.
104+ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule
105+ include Google ::Apis ::Core ::Hashable
106+
107+ #
108+ # Corresponds to the JSON property `alignmentType`
109+ # @return [String]
110+ attr_accessor :alignment_type
111+
112+ # The tolerance to use when comparing coordinates.
113+ # Corresponds to the JSON property `tolerance`
114+ # @return [Float]
115+ attr_accessor :tolerance
116+
117+ def initialize ( **args )
118+ update! ( **args )
119+ end
120+
121+ # Update properties of this object
122+ def update! ( **args )
123+ @alignment_type = args [ :alignment_type ] if args . key? ( :alignment_type )
124+ @tolerance = args [ :tolerance ] if args . key? ( :tolerance )
125+ end
126+ end
127+
128+ # A rule that aligns specified child fields with a parent field.
129+ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleChildAlignmentRule
130+ include Google ::Apis ::Core ::Hashable
131+
132+ # A rule for checking field alignment. Horizontal alignment checks if fields are
133+ # on the same row by comparing y-coordinates of bounding box centers, while
134+ # vertical alignment checks if fields are on the same column by comparing x-
135+ # coordinates of bounding box centers.
136+ # Corresponds to the JSON property `alignmentRule`
137+ # @return [Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule]
138+ attr_accessor :alignment_rule
139+
140+ # The child fields to be aligned within the parent field.
141+ # Corresponds to the JSON property `childFields`
142+ # @return [Array<Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField>]
143+ attr_accessor :child_fields
144+
145+ # The full path of the parent field.
146+ # Corresponds to the JSON property `parentField`
147+ # @return [Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField]
148+ attr_accessor :parent_field
149+
150+ def initialize ( **args )
151+ update! ( **args )
152+ end
153+
154+ # Update properties of this object
155+ def update! ( **args )
156+ @alignment_rule = args [ :alignment_rule ] if args . key? ( :alignment_rule )
157+ @child_fields = args [ :child_fields ] if args . key? ( :child_fields )
158+ @parent_field = args [ :parent_field ] if args . key? ( :parent_field )
159+ end
160+ end
161+
88162 # The constant value used in the validation rules.
89163 class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant
90164 include Google ::Apis ::Core ::Hashable
@@ -104,6 +178,34 @@ def update!(**args)
104178 end
105179 end
106180
181+ # A rule that aligns specified fields with each other.
182+ class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleEntityAlignmentRule
183+ include Google ::Apis ::Core ::Hashable
184+
185+ # A rule for checking field alignment. Horizontal alignment checks if fields are
186+ # on the same row by comparing y-coordinates of bounding box centers, while
187+ # vertical alignment checks if fields are on the same column by comparing x-
188+ # coordinates of bounding box centers.
189+ # Corresponds to the JSON property `alignmentRule`
190+ # @return [Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule]
191+ attr_accessor :alignment_rule
192+
193+ # The fields to be aligned.
194+ # Corresponds to the JSON property `fields`
195+ # @return [Array<Google::Apis::DocumentaiV1beta3::CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField>]
196+ attr_accessor :fields
197+
198+ def initialize ( **args )
199+ update! ( **args )
200+ end
201+
202+ # Update properties of this object
203+ def update! ( **args )
204+ @alignment_rule = args [ :alignment_rule ] if args . key? ( :alignment_rule )
205+ @fields = args [ :fields ] if args . key? ( :fields )
206+ end
207+ end
208+
107209 #
108210 class CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField
109211 include Google ::Apis ::Core ::Hashable
@@ -8504,6 +8606,13 @@ class GoogleLongrunningListOperationsResponse
85048606 # @return [Array<Google::Apis::DocumentaiV1beta3::GoogleLongrunningOperation>]
85058607 attr_accessor :operations
85068608
8609+ # Unordered list. Unreachable resources. Populated when the request sets `
8610+ # ListOperationsRequest.return_partial_success` and reads across collections e.g.
8611+ # when attempting to list all resources across all supported locations.
8612+ # Corresponds to the JSON property `unreachable`
8613+ # @return [Array<String>]
8614+ attr_accessor :unreachable
8615+
85078616 def initialize ( **args )
85088617 update! ( **args )
85098618 end
@@ -8512,6 +8621,7 @@ def initialize(**args)
85128621 def update! ( **args )
85138622 @next_page_token = args [ :next_page_token ] if args . key? ( :next_page_token )
85148623 @operations = args [ :operations ] if args . key? ( :operations )
8624+ @unreachable = args [ :unreachable ] if args . key? ( :unreachable )
85158625 end
85168626 end
85178627
0 commit comments