google-cloud-dataplex-v1 0.9.0 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/dataplex/v1/bindings_override.rb +72 -0
  3. data/lib/google/cloud/dataplex/v1/data_profile_pb.rb +8 -1
  4. data/lib/google/cloud/dataplex/v1/data_quality_pb.rb +7 -1
  5. data/lib/google/cloud/dataplex/v1/data_scan_service/client.rb +19 -1
  6. data/lib/google/cloud/dataplex/v1/data_scan_service/paths.rb +19 -0
  7. data/lib/google/cloud/dataplex/v1/data_scan_service/rest/client.rb +19 -1
  8. data/lib/google/cloud/dataplex/v1/data_taxonomy_pb.rb +77 -0
  9. data/lib/google/cloud/dataplex/v1/data_taxonomy_service/client.rb +1931 -0
  10. data/lib/google/cloud/dataplex/v1/data_taxonomy_service/credentials.rb +47 -0
  11. data/lib/google/cloud/dataplex/v1/data_taxonomy_service/operations.rb +770 -0
  12. data/lib/google/cloud/dataplex/v1/data_taxonomy_service/paths.rb +109 -0
  13. data/lib/google/cloud/dataplex/v1/data_taxonomy_service/rest/client.rb +1497 -0
  14. data/lib/google/cloud/dataplex/v1/data_taxonomy_service/rest/operations.rb +795 -0
  15. data/lib/google/cloud/dataplex/v1/data_taxonomy_service/rest/service_stub.rb +939 -0
  16. data/lib/google/cloud/dataplex/v1/data_taxonomy_service/rest.rb +55 -0
  17. data/lib/google/cloud/dataplex/v1/data_taxonomy_service.rb +57 -0
  18. data/lib/google/cloud/dataplex/v1/data_taxonomy_services_pb.rb +77 -0
  19. data/lib/google/cloud/dataplex/v1/dataplex_service/client.rb +17 -1
  20. data/lib/google/cloud/dataplex/v1/dataplex_service/rest/client.rb +17 -1
  21. data/lib/google/cloud/dataplex/v1/datascans_pb.rb +1 -1
  22. data/lib/google/cloud/dataplex/v1/logs_pb.rb +11 -1
  23. data/lib/google/cloud/dataplex/v1/rest.rb +1 -0
  24. data/lib/google/cloud/dataplex/v1/security_pb.rb +45 -0
  25. data/lib/google/cloud/dataplex/v1/service_pb.rb +1 -1
  26. data/lib/google/cloud/dataplex/v1/tasks_pb.rb +2 -1
  27. data/lib/google/cloud/dataplex/v1/version.rb +1 -1
  28. data/lib/google/cloud/dataplex/v1.rb +1 -0
  29. data/proto_docs/google/cloud/dataplex/v1/data_profile.rb +118 -6
  30. data/proto_docs/google/cloud/dataplex/v1/data_quality.rb +130 -30
  31. data/proto_docs/google/cloud/dataplex/v1/data_taxonomy.rb +565 -0
  32. data/proto_docs/google/cloud/dataplex/v1/datascans.rb +19 -0
  33. data/proto_docs/google/cloud/dataplex/v1/logs.rb +214 -4
  34. data/proto_docs/google/cloud/dataplex/v1/security.rb +61 -0
  35. data/proto_docs/google/cloud/dataplex/v1/service.rb +36 -0
  36. data/proto_docs/google/cloud/dataplex/v1/tasks.rb +31 -0
  37. metadata +16 -2
@@ -22,9 +22,75 @@ module Google
22
22
  module Dataplex
23
23
  module V1
24
24
  # DataProfileScan related setting.
25
+ # @!attribute [rw] sampling_percent
26
+ # @return [::Float]
27
+ # Optional. The percentage of the records to be selected from the dataset for
28
+ # DataScan.
29
+ #
30
+ # * Value can range between 0.0 and 100.0 with up to 3 significant decimal
31
+ # digits.
32
+ # * Sampling is not applied if `sampling_percent` is not specified, 0 or
33
+ # 100.
34
+ # @!attribute [rw] row_filter
35
+ # @return [::String]
36
+ # Optional. A filter applied to all rows in a single DataScan job.
37
+ # The filter needs to be a valid SQL expression for a WHERE clause in
38
+ # BigQuery standard SQL syntax.
39
+ # Example: col1 >= 0 AND col2 < 10
40
+ # @!attribute [rw] post_scan_actions
41
+ # @return [::Google::Cloud::Dataplex::V1::DataProfileSpec::PostScanActions]
42
+ # Optional. Actions to take upon job completion..
43
+ # @!attribute [rw] include_fields
44
+ # @return [::Google::Cloud::Dataplex::V1::DataProfileSpec::SelectedFields]
45
+ # Optional. The fields to include in data profile.
46
+ #
47
+ # If not specified, all fields at the time of profile scan job execution are
48
+ # included, except for ones listed in `exclude_fields`.
49
+ # @!attribute [rw] exclude_fields
50
+ # @return [::Google::Cloud::Dataplex::V1::DataProfileSpec::SelectedFields]
51
+ # Optional. The fields to exclude from data profile.
52
+ #
53
+ # If specified, the fields will be excluded from data profile, regardless of
54
+ # `include_fields` value.
25
55
  class DataProfileSpec
26
56
  include ::Google::Protobuf::MessageExts
27
57
  extend ::Google::Protobuf::MessageExts::ClassMethods
58
+
59
+ # The configuration of post scan actions of DataProfileScan job.
60
+ # @!attribute [rw] bigquery_export
61
+ # @return [::Google::Cloud::Dataplex::V1::DataProfileSpec::PostScanActions::BigQueryExport]
62
+ # Optional. If set, results will be exported to the provided BigQuery
63
+ # table.
64
+ class PostScanActions
65
+ include ::Google::Protobuf::MessageExts
66
+ extend ::Google::Protobuf::MessageExts::ClassMethods
67
+
68
+ # The configuration of BigQuery export post scan action.
69
+ # @!attribute [rw] results_table
70
+ # @return [::String]
71
+ # Optional. The BigQuery table to export DataProfileScan results to.
72
+ # Format:
73
+ # projects/\\{project}/datasets/\\{dataset}/tables/\\{table}
74
+ class BigQueryExport
75
+ include ::Google::Protobuf::MessageExts
76
+ extend ::Google::Protobuf::MessageExts::ClassMethods
77
+ end
78
+ end
79
+
80
+ # The specification for fields to include or exclude in data profile scan.
81
+ # @!attribute [rw] field_names
82
+ # @return [::Array<::String>]
83
+ # Optional. Expected input is a list of fully qualified names of fields as
84
+ # in the schema.
85
+ #
86
+ # Only top-level field names for nested fields are supported.
87
+ # For instance, if 'x' is of nested field type, listing 'x' is supported
88
+ # but 'x.y.z' is not supported. Here 'y' and 'y.z' are nested fields of
89
+ # 'x'.
90
+ class SelectedFields
91
+ include ::Google::Protobuf::MessageExts
92
+ extend ::Google::Protobuf::MessageExts::ClassMethods
93
+ end
28
94
  end
29
95
 
30
96
  # DataProfileResult defines the output of DataProfileScan. Each field of the
@@ -38,6 +104,9 @@ module Google
38
104
  # @!attribute [rw] scanned_data
39
105
  # @return [::Google::Cloud::Dataplex::V1::ScannedData]
40
106
  # The data scanned for this result.
107
+ # @!attribute [r] post_scan_actions_result
108
+ # @return [::Google::Cloud::Dataplex::V1::DataProfileResult::PostScanActionsResult]
109
+ # Output only. The result of post scan actions.
41
110
  class DataProfileResult
42
111
  include ::Google::Protobuf::MessageExts
43
112
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -86,10 +155,11 @@ module Google
86
155
  # with REPEATABLE mode.
87
156
  # @!attribute [rw] top_n_values
88
157
  # @return [::Array<::Google::Cloud::Dataplex::V1::DataProfileResult::Profile::Field::ProfileInfo::TopNValue>]
89
- # The list of top N non-null values and number of times they occur in
90
- # the scanned data. N is 10 or equal to the number of distinct values
91
- # in the field, whichever is smaller. Not available for complex
92
- # non-groupable field type RECORD and fields with REPEATABLE mode.
158
+ # The list of top N non-null values, frequency and ratio with which
159
+ # they occur in the scanned data. N is 10 or equal to the number of
160
+ # distinct values in the field, whichever is smaller. Not available for
161
+ # complex non-groupable field type RECORD and fields with REPEATABLE
162
+ # mode.
93
163
  # @!attribute [rw] string_profile
94
164
  # @return [::Google::Cloud::Dataplex::V1::DataProfileResult::Profile::Field::ProfileInfo::StringFieldInfo]
95
165
  # String type field information.
@@ -142,8 +212,9 @@ module Google
142
212
  # below this point. The third quartile (Q3) splits off the highest
143
213
  # 25% of data from the lowest 75%. It is known as the upper or 75th
144
214
  # empirical quartile, as 75% of the data lies below this point.
145
- # Here, the quartiles is provided as an ordered list of quartile
146
- # values for the scanned data, occurring in order Q1, median, Q3.
215
+ # Here, the quartiles is provided as an ordered list of approximate
216
+ # quartile values for the scanned data, occurring in order Q1,
217
+ # median, Q3.
147
218
  # @!attribute [rw] max
148
219
  # @return [::Integer]
149
220
  # Maximum of non-null values in the scanned data. NaN, if the field
@@ -195,6 +266,10 @@ module Google
195
266
  # @!attribute [rw] count
196
267
  # @return [::Integer]
197
268
  # Count of the corresponding value in the scanned data.
269
+ # @!attribute [rw] ratio
270
+ # @return [::Float]
271
+ # Ratio of the corresponding value in the field against the total
272
+ # number of rows in the scanned data.
198
273
  class TopNValue
199
274
  include ::Google::Protobuf::MessageExts
200
275
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -202,6 +277,43 @@ module Google
202
277
  end
203
278
  end
204
279
  end
280
+
281
+ # The result of post scan actions of DataProfileScan job.
282
+ # @!attribute [r] bigquery_export_result
283
+ # @return [::Google::Cloud::Dataplex::V1::DataProfileResult::PostScanActionsResult::BigQueryExportResult]
284
+ # Output only. The result of BigQuery export post scan action.
285
+ class PostScanActionsResult
286
+ include ::Google::Protobuf::MessageExts
287
+ extend ::Google::Protobuf::MessageExts::ClassMethods
288
+
289
+ # The result of BigQuery export post scan action.
290
+ # @!attribute [r] state
291
+ # @return [::Google::Cloud::Dataplex::V1::DataProfileResult::PostScanActionsResult::BigQueryExportResult::State]
292
+ # Output only. Execution state for the BigQuery exporting.
293
+ # @!attribute [r] message
294
+ # @return [::String]
295
+ # Output only. Additional information about the BigQuery exporting.
296
+ class BigQueryExportResult
297
+ include ::Google::Protobuf::MessageExts
298
+ extend ::Google::Protobuf::MessageExts::ClassMethods
299
+
300
+ # Execution state for the exporting.
301
+ module State
302
+ # The exporting state is unspecified.
303
+ STATE_UNSPECIFIED = 0
304
+
305
+ # The exporting completed successfully.
306
+ SUCCEEDED = 1
307
+
308
+ # The exporting is no longer running due to an error.
309
+ FAILED = 2
310
+
311
+ # The exporting is skipped due to no valid scan result to export
312
+ # (usually caused by scan failed).
313
+ SKIPPED = 3
314
+ end
315
+ end
316
+ end
205
317
  end
206
318
  end
207
319
  end
@@ -24,11 +24,50 @@ module Google
24
24
  # DataQualityScan related setting.
25
25
  # @!attribute [rw] rules
26
26
  # @return [::Array<::Google::Cloud::Dataplex::V1::DataQualityRule>]
27
- # The list of rules to evaluate against a data source. At least one rule is
28
- # required.
27
+ # Required. The list of rules to evaluate against a data source. At least one
28
+ # rule is required.
29
+ # @!attribute [rw] sampling_percent
30
+ # @return [::Float]
31
+ # Optional. The percentage of the records to be selected from the dataset for
32
+ # DataScan.
33
+ #
34
+ # * Value can range between 0.0 and 100.0 with up to 3 significant decimal
35
+ # digits.
36
+ # * Sampling is not applied if `sampling_percent` is not specified, 0 or
37
+ # 100.
38
+ # @!attribute [rw] row_filter
39
+ # @return [::String]
40
+ # Optional. A filter applied to all rows in a single DataScan job.
41
+ # The filter needs to be a valid SQL expression for a WHERE clause in
42
+ # BigQuery standard SQL syntax.
43
+ # Example: col1 >= 0 AND col2 < 10
44
+ # @!attribute [rw] post_scan_actions
45
+ # @return [::Google::Cloud::Dataplex::V1::DataQualitySpec::PostScanActions]
46
+ # Optional. Actions to take upon job completion.
29
47
  class DataQualitySpec
30
48
  include ::Google::Protobuf::MessageExts
31
49
  extend ::Google::Protobuf::MessageExts::ClassMethods
50
+
51
+ # The configuration of post scan actions of DataQualityScan.
52
+ # @!attribute [rw] bigquery_export
53
+ # @return [::Google::Cloud::Dataplex::V1::DataQualitySpec::PostScanActions::BigQueryExport]
54
+ # Optional. If set, results will be exported to the provided BigQuery
55
+ # table.
56
+ class PostScanActions
57
+ include ::Google::Protobuf::MessageExts
58
+ extend ::Google::Protobuf::MessageExts::ClassMethods
59
+
60
+ # The configuration of BigQuery export post scan action.
61
+ # @!attribute [rw] results_table
62
+ # @return [::String]
63
+ # Optional. The BigQuery table to export DataQualityScan results to.
64
+ # Format:
65
+ # projects/\\{project}/datasets/\\{dataset}/tables/\\{table}
66
+ class BigQueryExport
67
+ include ::Google::Protobuf::MessageExts
68
+ extend ::Google::Protobuf::MessageExts::ClassMethods
69
+ end
70
+ end
32
71
  end
33
72
 
34
73
  # The output of a DataQualityScan.
@@ -47,9 +86,49 @@ module Google
47
86
  # @!attribute [rw] scanned_data
48
87
  # @return [::Google::Cloud::Dataplex::V1::ScannedData]
49
88
  # The data scanned for this result.
89
+ # @!attribute [r] post_scan_actions_result
90
+ # @return [::Google::Cloud::Dataplex::V1::DataQualityResult::PostScanActionsResult]
91
+ # Output only. The result of post scan actions.
50
92
  class DataQualityResult
51
93
  include ::Google::Protobuf::MessageExts
52
94
  extend ::Google::Protobuf::MessageExts::ClassMethods
95
+
96
+ # The result of post scan actions of DataQualityScan job.
97
+ # @!attribute [r] bigquery_export_result
98
+ # @return [::Google::Cloud::Dataplex::V1::DataQualityResult::PostScanActionsResult::BigQueryExportResult]
99
+ # Output only. The result of BigQuery export post scan action.
100
+ class PostScanActionsResult
101
+ include ::Google::Protobuf::MessageExts
102
+ extend ::Google::Protobuf::MessageExts::ClassMethods
103
+
104
+ # The result of BigQuery export post scan action.
105
+ # @!attribute [r] state
106
+ # @return [::Google::Cloud::Dataplex::V1::DataQualityResult::PostScanActionsResult::BigQueryExportResult::State]
107
+ # Output only. Execution state for the BigQuery exporting.
108
+ # @!attribute [r] message
109
+ # @return [::String]
110
+ # Output only. Additional information about the BigQuery exporting.
111
+ class BigQueryExportResult
112
+ include ::Google::Protobuf::MessageExts
113
+ extend ::Google::Protobuf::MessageExts::ClassMethods
114
+
115
+ # Execution state for the exporting.
116
+ module State
117
+ # The exporting state is unspecified.
118
+ STATE_UNSPECIFIED = 0
119
+
120
+ # The exporting completed successfully.
121
+ SUCCEEDED = 1
122
+
123
+ # The exporting is no longer running due to an error.
124
+ FAILED = 2
125
+
126
+ # The exporting is skipped due to no valid scan result to export
127
+ # (usually caused by scan failed).
128
+ SKIPPED = 3
129
+ end
130
+ end
131
+ end
53
132
  end
54
133
 
55
134
  # DataQualityRuleResult provides a more detailed, per-rule view of the results.
@@ -61,8 +140,9 @@ module Google
61
140
  # Whether the rule passed or failed.
62
141
  # @!attribute [rw] evaluated_count
63
142
  # @return [::Integer]
64
- # The number of rows a rule was evaluated against. This field is only valid
65
- # for ColumnMap type rules.
143
+ # The number of rows a rule was evaluated against.
144
+ #
145
+ # This field is only valid for row-level type rules.
66
146
  #
67
147
  # Evaluated count can be configured to either
68
148
  #
@@ -73,18 +153,21 @@ module Google
73
153
  # @!attribute [rw] passed_count
74
154
  # @return [::Integer]
75
155
  # The number of rows which passed a rule evaluation.
76
- # This field is only valid for ColumnMap type rules.
156
+ #
157
+ # This field is only valid for row-level type rules.
77
158
  # @!attribute [rw] null_count
78
159
  # @return [::Integer]
79
160
  # The number of rows with null values in the specified column.
80
161
  # @!attribute [rw] pass_ratio
81
162
  # @return [::Float]
82
163
  # The ratio of **passed_count / evaluated_count**.
83
- # This field is only valid for ColumnMap type rules.
164
+ #
165
+ # This field is only valid for row-level type rules.
84
166
  # @!attribute [rw] failing_rows_query
85
167
  # @return [::String]
86
168
  # The query to find rows that did not pass this rule.
87
- # Only applies to ColumnMap and RowCondition rules.
169
+ #
170
+ # This field is only valid for row-level type rules.
88
171
  class DataQualityRuleResult
89
172
  include ::Google::Protobuf::MessageExts
90
173
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -103,33 +186,34 @@ module Google
103
186
  # A rule captures data quality intent about a data source.
104
187
  # @!attribute [rw] range_expectation
105
188
  # @return [::Google::Cloud::Dataplex::V1::DataQualityRule::RangeExpectation]
106
- # ColumnMap rule which evaluates whether each column value lies between a
189
+ # Row-level rule which evaluates whether each column value lies between a
107
190
  # specified range.
108
191
  # @!attribute [rw] non_null_expectation
109
192
  # @return [::Google::Cloud::Dataplex::V1::DataQualityRule::NonNullExpectation]
110
- # ColumnMap rule which evaluates whether each column value is null.
193
+ # Row-level rule which evaluates whether each column value is null.
111
194
  # @!attribute [rw] set_expectation
112
195
  # @return [::Google::Cloud::Dataplex::V1::DataQualityRule::SetExpectation]
113
- # ColumnMap rule which evaluates whether each column value is contained by
196
+ # Row-level rule which evaluates whether each column value is contained by
114
197
  # a specified set.
115
198
  # @!attribute [rw] regex_expectation
116
199
  # @return [::Google::Cloud::Dataplex::V1::DataQualityRule::RegexExpectation]
117
- # ColumnMap rule which evaluates whether each column value matches a
200
+ # Row-level rule which evaluates whether each column value matches a
118
201
  # specified regex.
119
202
  # @!attribute [rw] uniqueness_expectation
120
203
  # @return [::Google::Cloud::Dataplex::V1::DataQualityRule::UniquenessExpectation]
121
- # ColumnAggregate rule which evaluates whether the column has duplicates.
204
+ # Row-level rule which evaluates whether each column value is unique.
122
205
  # @!attribute [rw] statistic_range_expectation
123
206
  # @return [::Google::Cloud::Dataplex::V1::DataQualityRule::StatisticRangeExpectation]
124
- # ColumnAggregate rule which evaluates whether the column aggregate
207
+ # Aggregate rule which evaluates whether the column aggregate
125
208
  # statistic lies between a specified range.
126
209
  # @!attribute [rw] row_condition_expectation
127
210
  # @return [::Google::Cloud::Dataplex::V1::DataQualityRule::RowConditionExpectation]
128
- # Table rule which evaluates whether each row passes the specified
129
- # condition.
211
+ # Row-level rule which evaluates whether each row in a table passes the
212
+ # specified condition.
130
213
  # @!attribute [rw] table_condition_expectation
131
214
  # @return [::Google::Cloud::Dataplex::V1::DataQualityRule::TableConditionExpectation]
132
- # Table rule which evaluates whether the provided expression is true.
215
+ # Aggregate rule which evaluates whether the provided expression is true
216
+ # for a table.
133
217
  # @!attribute [rw] column
134
218
  # @return [::String]
135
219
  # Optional. The unnested column which this rule is evaluated against.
@@ -139,7 +223,7 @@ module Google
139
223
  # `ignore_null` is `true`. In that case, such `null` rows are trivially
140
224
  # considered passing.
141
225
  #
142
- # Only applicable to ColumnMap rules.
226
+ # This field is only valid for row-level type rules.
143
227
  # @!attribute [rw] dimension
144
228
  # @return [::String]
145
229
  # Required. The dimension a rule belongs to. Results are also aggregated at
@@ -151,6 +235,22 @@ module Google
151
235
  # pass this rule, with a range of [0.0, 1.0].
152
236
  #
153
237
  # 0 indicates default value (i.e. 1.0).
238
+ #
239
+ # This field is only valid for row-level type rules.
240
+ # @!attribute [rw] name
241
+ # @return [::String]
242
+ # Optional. A mutable name for the rule.
243
+ #
244
+ # * The name must contain only letters (a-z, A-Z), numbers (0-9), or
245
+ # hyphens (-).
246
+ # * The maximum length is 63 characters.
247
+ # * Must start with a letter.
248
+ # * Must end with a number or a letter.
249
+ # @!attribute [rw] description
250
+ # @return [::String]
251
+ # Optional. Description of the rule.
252
+ #
253
+ # * The maximum length is 1,024 characters.
154
254
  class DataQualityRule
155
255
  include ::Google::Protobuf::MessageExts
156
256
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -192,7 +292,7 @@ module Google
192
292
  # Evaluates whether each column value is contained by a specified set.
193
293
  # @!attribute [rw] values
194
294
  # @return [::Array<::String>]
195
- # Expected values for the column value.
295
+ # Optional. Expected values for the column value.
196
296
  class SetExpectation
197
297
  include ::Google::Protobuf::MessageExts
198
298
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -201,7 +301,7 @@ module Google
201
301
  # Evaluates whether each column value matches a specified regex.
202
302
  # @!attribute [rw] regex
203
303
  # @return [::String]
204
- # A regular expression the column value is expected to match.
304
+ # Optional. A regular expression the column value is expected to match.
205
305
  class RegexExpectation
206
306
  include ::Google::Protobuf::MessageExts
207
307
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -217,29 +317,29 @@ module Google
217
317
  # range.
218
318
  # @!attribute [rw] statistic
219
319
  # @return [::Google::Cloud::Dataplex::V1::DataQualityRule::StatisticRangeExpectation::ColumnStatistic]
220
- # The aggregate metric to evaluate.
320
+ # Optional. The aggregate metric to evaluate.
221
321
  # @!attribute [rw] min_value
222
322
  # @return [::String]
223
- # The minimum column statistic value allowed for a row to pass this
224
- # validation.
323
+ # Optional. The minimum column statistic value allowed for a row to pass
324
+ # this validation.
225
325
  #
226
326
  # At least one of `min_value` and `max_value` need to be provided.
227
327
  # @!attribute [rw] max_value
228
328
  # @return [::String]
229
- # The maximum column statistic value allowed for a row to pass this
230
- # validation.
329
+ # Optional. The maximum column statistic value allowed for a row to pass
330
+ # this validation.
231
331
  #
232
332
  # At least one of `min_value` and `max_value` need to be provided.
233
333
  # @!attribute [rw] strict_min_enabled
234
334
  # @return [::Boolean]
235
- # Whether column statistic needs to be strictly greater than ('>')
236
- # the minimum, or if equality is allowed.
335
+ # Optional. Whether column statistic needs to be strictly greater than
336
+ # ('>') the minimum, or if equality is allowed.
237
337
  #
238
338
  # Only relevant if a `min_value` has been defined. Default = false.
239
339
  # @!attribute [rw] strict_max_enabled
240
340
  # @return [::Boolean]
241
- # Whether column statistic needs to be strictly lesser than ('<') the
242
- # maximum, or if equality is allowed.
341
+ # Optional. Whether column statistic needs to be strictly lesser than ('<')
342
+ # the maximum, or if equality is allowed.
243
343
  #
244
344
  # Only relevant if a `max_value` has been defined. Default = false.
245
345
  class StatisticRangeExpectation
@@ -270,7 +370,7 @@ module Google
270
370
  # Example: col1 >= 0 AND col2 < 10
271
371
  # @!attribute [rw] sql_expression
272
372
  # @return [::String]
273
- # The SQL expression.
373
+ # Optional. The SQL expression.
274
374
  class RowConditionExpectation
275
375
  include ::Google::Protobuf::MessageExts
276
376
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -284,7 +384,7 @@ module Google
284
384
  # Example: MIN(col1) >= 0
285
385
  # @!attribute [rw] sql_expression
286
386
  # @return [::String]
287
- # The SQL expression.
387
+ # Optional. The SQL expression.
288
388
  class TableConditionExpectation
289
389
  include ::Google::Protobuf::MessageExts
290
390
  extend ::Google::Protobuf::MessageExts::ClassMethods