google-apis-dataplex_v1 0.31.0 → 0.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 33679b505aded3a86f3c2f8d07c8b79aa7c77cfdee0ec1f2056adc1c34b72eb8
4
- data.tar.gz: 9ce56cc75b19cd2b339ff3a2be0df2b2b0472ed31450a77c0b5053cbf4f884af
3
+ metadata.gz: 583ae4ecfa854d7e92a88772679dfa0341bf7b43b68821b338359dd06d343bfc
4
+ data.tar.gz: 8f53c9e5ea3f0ef6678c7afbb9e5ac3759445405d11140e2cd49b3d8ae1a085a
5
5
  SHA512:
6
- metadata.gz: c7275bd818893c7187ef0620cb3c66d9b2f97ad14680a1be418dbafc87cce6e331f08627508e0532de18f2864ab8597ee494563d1ebbed360086e1c4024ba7c9
7
- data.tar.gz: 01b3b1581b846a600fcb3c6c9361f8df4590502cd6320f1a31c7a652927eb6ff814eeb3d544cb74a25196e6ef51bc52d3197744748f8db85d3d14def02d1ce4a
6
+ metadata.gz: 044f93ad6948daedbce8ac173d611dd6e5e0b81ae716b1a40b6c241283df4972e2f37ae00825b99da47fbe7fca2d7afca19e3b4acdf27a3aa5693fe693242970
7
+ data.tar.gz: 59bb0ef7d0b845563a215ba9030b54875fc7863545e41113878fa0015a1e36a634e3a1b43bce5f9fa898f86f8047a0db422ed0bb567cfc08cfa3035fda61ed6e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-dataplex_v1
2
2
 
3
+ ### v0.33.0 (2023-07-02)
4
+
5
+ * Regenerated from discovery document revision 20230626
6
+
7
+ ### v0.32.0 (2023-06-25)
8
+
9
+ * Regenerated from discovery document revision 20230616
10
+
3
11
  ### v0.31.0 (2023-06-18)
4
12
 
5
13
  * Regenerated from discovery document revision 20230607
@@ -1284,10 +1284,10 @@ module Google
1284
1284
  # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfo]
1285
1285
  attr_accessor :string_profile
1286
1286
 
1287
- # The list of top N non-null values and number of times they occur in the
1288
- # scanned data. N is 10 or equal to the number of distinct values in the field,
1289
- # whichever is smaller. Not available for complex non-groupable field type
1290
- # RECORD and fields with REPEATABLE mode.
1287
+ # The list of top N non-null values, frequency and ratio with which they occur
1288
+ # in the scanned data. N is 10 or equal to the number of distinct values in the
1289
+ # field, whichever is smaller. Not available for complex non-groupable field
1290
+ # type RECORD and fields with REPEATABLE mode.
1291
1291
  # Corresponds to the JSON property `topNValues`
1292
1292
  # @return [Array<Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValue>]
1293
1293
  attr_accessor :top_n_values
@@ -1453,6 +1453,12 @@ module Google
1453
1453
  # @return [Fixnum]
1454
1454
  attr_accessor :count
1455
1455
 
1456
+ # Ratio of the corresponding value in the field against the total number of rows
1457
+ # in the scanned data.
1458
+ # Corresponds to the JSON property `ratio`
1459
+ # @return [Float]
1460
+ attr_accessor :ratio
1461
+
1456
1462
  # String value of a top N non-null value.
1457
1463
  # Corresponds to the JSON property `value`
1458
1464
  # @return [String]
@@ -1465,6 +1471,7 @@ module Google
1465
1471
  # Update properties of this object
1466
1472
  def update!(**args)
1467
1473
  @count = args[:count] if args.key?(:count)
1474
+ @ratio = args[:ratio] if args.key?(:ratio)
1468
1475
  @value = args[:value] if args.key?(:value)
1469
1476
  end
1470
1477
  end
@@ -1607,6 +1614,11 @@ module Google
1607
1614
  # @return [String]
1608
1615
  attr_accessor :column
1609
1616
 
1617
+ # Optional. Description of the rule. The maximum length is 1,024 characters.
1618
+ # Corresponds to the JSON property `description`
1619
+ # @return [String]
1620
+ attr_accessor :description
1621
+
1610
1622
  # Required. The dimension a rule belongs to. Results are also aggregated at the
1611
1623
  # dimension level. Supported dimensions are "COMPLETENESS", "ACCURACY", "
1612
1624
  # CONSISTENCY", "VALIDITY", "UNIQUENESS", "INTEGRITY"
@@ -1616,12 +1628,19 @@ module Google
1616
1628
 
1617
1629
  # Optional. Rows with null values will automatically fail a rule, unless
1618
1630
  # ignore_null is true. In that case, such null rows are trivially considered
1619
- # passing.Only applicable to ColumnMap rules.
1631
+ # passing.This field is only valid for row-level type rules.
1620
1632
  # Corresponds to the JSON property `ignoreNull`
1621
1633
  # @return [Boolean]
1622
1634
  attr_accessor :ignore_null
1623
1635
  alias_method :ignore_null?, :ignore_null
1624
1636
 
1637
+ # Optional. A mutable name for the rule. The name must contain only letters (a-z,
1638
+ # A-Z), numbers (0-9), or hyphens (-). The maximum length is 63 characters.
1639
+ # Must start with a letter. Must end with a number or a letter.
1640
+ # Corresponds to the JSON property `name`
1641
+ # @return [String]
1642
+ attr_accessor :name
1643
+
1625
1644
  # Evaluates whether each column value is null.
1626
1645
  # Corresponds to the JSON property `nonNullExpectation`
1627
1646
  # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleNonNullExpectation]
@@ -1663,7 +1682,8 @@ module Google
1663
1682
  attr_accessor :table_condition_expectation
1664
1683
 
1665
1684
  # Optional. The minimum ratio of passing_rows / total_rows required to pass this
1666
- # rule, with a range of 0.0, 1.0.0 indicates default value (i.e. 1.0).
1685
+ # rule, with a range of 0.0, 1.0.0 indicates default value (i.e. 1.0).This field
1686
+ # is only valid for row-level type rules.
1667
1687
  # Corresponds to the JSON property `threshold`
1668
1688
  # @return [Float]
1669
1689
  attr_accessor :threshold
@@ -1680,8 +1700,10 @@ module Google
1680
1700
  # Update properties of this object
1681
1701
  def update!(**args)
1682
1702
  @column = args[:column] if args.key?(:column)
1703
+ @description = args[:description] if args.key?(:description)
1683
1704
  @dimension = args[:dimension] if args.key?(:dimension)
1684
1705
  @ignore_null = args[:ignore_null] if args.key?(:ignore_null)
1706
+ @name = args[:name] if args.key?(:name)
1685
1707
  @non_null_expectation = args[:non_null_expectation] if args.key?(:non_null_expectation)
1686
1708
  @range_expectation = args[:range_expectation] if args.key?(:range_expectation)
1687
1709
  @regex_expectation = args[:regex_expectation] if args.key?(:regex_expectation)
@@ -1775,16 +1797,16 @@ module Google
1775
1797
  class GoogleCloudDataplexV1DataQualityRuleResult
1776
1798
  include Google::Apis::Core::Hashable
1777
1799
 
1778
- # The number of rows a rule was evaluated against. This field is only valid for
1779
- # ColumnMap type rules.Evaluated count can be configured to either include all
1800
+ # The number of rows a rule was evaluated against.This field is only valid for
1801
+ # row-level type rules.Evaluated count can be configured to either include all
1780
1802
  # rows (default) - with null rows automatically failing rule evaluation, or
1781
1803
  # exclude null rows from the evaluated_count, by setting ignore_nulls = true.
1782
1804
  # Corresponds to the JSON property `evaluatedCount`
1783
1805
  # @return [Fixnum]
1784
1806
  attr_accessor :evaluated_count
1785
1807
 
1786
- # The query to find rows that did not pass this rule. Only applies to ColumnMap
1787
- # and RowCondition rules.
1808
+ # The query to find rows that did not pass this rule.This field is only valid
1809
+ # for row-level type rules.
1788
1810
  # Corresponds to the JSON property `failingRowsQuery`
1789
1811
  # @return [String]
1790
1812
  attr_accessor :failing_rows_query
@@ -1794,8 +1816,8 @@ module Google
1794
1816
  # @return [Fixnum]
1795
1817
  attr_accessor :null_count
1796
1818
 
1797
- # The ratio of passed_count / evaluated_count. This field is only valid for
1798
- # ColumnMap type rules.
1819
+ # The ratio of passed_count / evaluated_count.This field is only valid for row-
1820
+ # level type rules.
1799
1821
  # Corresponds to the JSON property `passRatio`
1800
1822
  # @return [Float]
1801
1823
  attr_accessor :pass_ratio
@@ -1806,8 +1828,8 @@ module Google
1806
1828
  attr_accessor :passed
1807
1829
  alias_method :passed?, :passed
1808
1830
 
1809
- # The number of rows which passed a rule evaluation. This field is only valid
1810
- # for ColumnMap type rules.
1831
+ # The number of rows which passed a rule evaluation.This field is only valid for
1832
+ # row-level type rules.
1811
1833
  # Corresponds to the JSON property `passedCount`
1812
1834
  # @return [Fixnum]
1813
1835
  attr_accessor :passed_count
@@ -2159,6 +2181,11 @@ module Google
2159
2181
  # @return [String]
2160
2182
  attr_accessor :message
2161
2183
 
2184
+ # Post scan actions result for data scan job.
2185
+ # Corresponds to the JSON property `postScanActionsResult`
2186
+ # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventPostScanActionsResult]
2187
+ attr_accessor :post_scan_actions_result
2188
+
2162
2189
  # The scope of the data scan (e.g. full, incremental).
2163
2190
  # Corresponds to the JSON property `scope`
2164
2191
  # @return [String]
@@ -2203,6 +2230,7 @@ module Google
2203
2230
  @end_time = args[:end_time] if args.key?(:end_time)
2204
2231
  @job_id = args[:job_id] if args.key?(:job_id)
2205
2232
  @message = args[:message] if args.key?(:message)
2233
+ @post_scan_actions_result = args[:post_scan_actions_result] if args.key?(:post_scan_actions_result)
2206
2234
  @scope = args[:scope] if args.key?(:scope)
2207
2235
  @spec_version = args[:spec_version] if args.key?(:spec_version)
2208
2236
  @start_time = args[:start_time] if args.key?(:start_time)
@@ -2328,6 +2356,50 @@ module Google
2328
2356
  end
2329
2357
  end
2330
2358
 
2359
+ # Post scan actions result for data scan job.
2360
+ class GoogleCloudDataplexV1DataScanEventPostScanActionsResult
2361
+ include Google::Apis::Core::Hashable
2362
+
2363
+ # The result of BigQuery export post scan action.
2364
+ # Corresponds to the JSON property `bigqueryExportResult`
2365
+ # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventPostScanActionsResultBigQueryExportResult]
2366
+ attr_accessor :bigquery_export_result
2367
+
2368
+ def initialize(**args)
2369
+ update!(**args)
2370
+ end
2371
+
2372
+ # Update properties of this object
2373
+ def update!(**args)
2374
+ @bigquery_export_result = args[:bigquery_export_result] if args.key?(:bigquery_export_result)
2375
+ end
2376
+ end
2377
+
2378
+ # The result of BigQuery export post scan action.
2379
+ class GoogleCloudDataplexV1DataScanEventPostScanActionsResultBigQueryExportResult
2380
+ include Google::Apis::Core::Hashable
2381
+
2382
+ # Additional information about the BigQuery exporting.
2383
+ # Corresponds to the JSON property `message`
2384
+ # @return [String]
2385
+ attr_accessor :message
2386
+
2387
+ # Execution state for the BigQuery exporting.
2388
+ # Corresponds to the JSON property `state`
2389
+ # @return [String]
2390
+ attr_accessor :state
2391
+
2392
+ def initialize(**args)
2393
+ update!(**args)
2394
+ end
2395
+
2396
+ # Update properties of this object
2397
+ def update!(**args)
2398
+ @message = args[:message] if args.key?(:message)
2399
+ @state = args[:state] if args.key?(:state)
2400
+ end
2401
+ end
2402
+
2331
2403
  # DataScan execution settings.
2332
2404
  class GoogleCloudDataplexV1DataScanExecutionSpec
2333
2405
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DataplexV1
18
18
  # Version of the google-apis-dataplex_v1 gem
19
- GEM_VERSION = "0.31.0"
19
+ GEM_VERSION = "0.33.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 = "20230607"
25
+ REVISION = "20230626"
26
26
  end
27
27
  end
28
28
  end
@@ -364,6 +364,18 @@ module Google
364
364
  include Google::Apis::Core::JsonObjectSupport
365
365
  end
366
366
 
367
+ class GoogleCloudDataplexV1DataScanEventPostScanActionsResult
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class GoogleCloudDataplexV1DataScanEventPostScanActionsResultBigQueryExportResult
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
367
379
  class GoogleCloudDataplexV1DataScanExecutionSpec
368
380
  class Representation < Google::Apis::Core::JsonRepresentation; end
369
381
 
@@ -1304,6 +1316,7 @@ module Google
1304
1316
  # @private
1305
1317
  class Representation < Google::Apis::Core::JsonRepresentation
1306
1318
  property :count, :numeric_string => true, as: 'count'
1319
+ property :ratio, as: 'ratio'
1307
1320
  property :value, as: 'value'
1308
1321
  end
1309
1322
  end
@@ -1352,8 +1365,10 @@ module Google
1352
1365
  # @private
1353
1366
  class Representation < Google::Apis::Core::JsonRepresentation
1354
1367
  property :column, as: 'column'
1368
+ property :description, as: 'description'
1355
1369
  property :dimension, as: 'dimension'
1356
1370
  property :ignore_null, as: 'ignoreNull'
1371
+ property :name, as: 'name'
1357
1372
  property :non_null_expectation, as: 'nonNullExpectation', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleNonNullExpectation, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleNonNullExpectation::Representation
1358
1373
 
1359
1374
  property :range_expectation, as: 'rangeExpectation', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleRangeExpectation, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleRangeExpectation::Representation
@@ -1503,6 +1518,8 @@ module Google
1503
1518
  property :end_time, as: 'endTime'
1504
1519
  property :job_id, as: 'jobId'
1505
1520
  property :message, as: 'message'
1521
+ property :post_scan_actions_result, as: 'postScanActionsResult', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventPostScanActionsResult, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventPostScanActionsResult::Representation
1522
+
1506
1523
  property :scope, as: 'scope'
1507
1524
  property :spec_version, as: 'specVersion'
1508
1525
  property :start_time, as: 'startTime'
@@ -1545,6 +1562,22 @@ module Google
1545
1562
  end
1546
1563
  end
1547
1564
 
1565
+ class GoogleCloudDataplexV1DataScanEventPostScanActionsResult
1566
+ # @private
1567
+ class Representation < Google::Apis::Core::JsonRepresentation
1568
+ property :bigquery_export_result, as: 'bigqueryExportResult', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventPostScanActionsResultBigQueryExportResult, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventPostScanActionsResultBigQueryExportResult::Representation
1569
+
1570
+ end
1571
+ end
1572
+
1573
+ class GoogleCloudDataplexV1DataScanEventPostScanActionsResultBigQueryExportResult
1574
+ # @private
1575
+ class Representation < Google::Apis::Core::JsonRepresentation
1576
+ property :message, as: 'message'
1577
+ property :state, as: 'state'
1578
+ end
1579
+ end
1580
+
1548
1581
  class GoogleCloudDataplexV1DataScanExecutionSpec
1549
1582
  # @private
1550
1583
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dataplex_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.31.0
4
+ version: 0.33.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-06-18 00:00:00.000000000 Z
11
+ date: 2023-07-02 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-dataplex_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dataplex_v1/v0.31.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dataplex_v1/v0.33.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataplex_v1
63
63
  post_install_message:
64
64
  rdoc_options: []