google-apis-dataplex_v1 0.31.0 → 0.32.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: 94ddce1f28b57b795b903a044184d746b431e5c6dd24bbc4e6f0f34f13772fb9
4
+ data.tar.gz: f351488733607db481f76ec116156827c13fff6911cf17a85d070feb2fecb577
5
5
  SHA512:
6
- metadata.gz: c7275bd818893c7187ef0620cb3c66d9b2f97ad14680a1be418dbafc87cce6e331f08627508e0532de18f2864ab8597ee494563d1ebbed360086e1c4024ba7c9
7
- data.tar.gz: 01b3b1581b846a600fcb3c6c9361f8df4590502cd6320f1a31c7a652927eb6ff814eeb3d544cb74a25196e6ef51bc52d3197744748f8db85d3d14def02d1ce4a
6
+ metadata.gz: 785c8d0b19d167355011aa799a9053d247e17c8171cd2681acc7a4acc9ff53f7c9a9ea578ed206b65c7713de75b0dd413f7b91463a700c7d3093eaad74faddc1
7
+ data.tar.gz: ff4ceb1502194c19efe624951b8aa3eb7361eadd26458a6790445fb79726b2c132715727aa8bdc369848c3a5deb9cb0a9f97bca4de967bc511126c11463dc53f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dataplex_v1
2
2
 
3
+ ### v0.32.0 (2023-06-25)
4
+
5
+ * Regenerated from discovery document revision 20230616
6
+
3
7
  ### v0.31.0 (2023-06-18)
4
8
 
5
9
  * 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
@@ -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.32.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 = "20230616"
26
26
  end
27
27
  end
28
28
  end
@@ -1304,6 +1304,7 @@ module Google
1304
1304
  # @private
1305
1305
  class Representation < Google::Apis::Core::JsonRepresentation
1306
1306
  property :count, :numeric_string => true, as: 'count'
1307
+ property :ratio, as: 'ratio'
1307
1308
  property :value, as: 'value'
1308
1309
  end
1309
1310
  end
@@ -1352,8 +1353,10 @@ module Google
1352
1353
  # @private
1353
1354
  class Representation < Google::Apis::Core::JsonRepresentation
1354
1355
  property :column, as: 'column'
1356
+ property :description, as: 'description'
1355
1357
  property :dimension, as: 'dimension'
1356
1358
  property :ignore_null, as: 'ignoreNull'
1359
+ property :name, as: 'name'
1357
1360
  property :non_null_expectation, as: 'nonNullExpectation', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleNonNullExpectation, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleNonNullExpectation::Representation
1358
1361
 
1359
1362
  property :range_expectation, as: 'rangeExpectation', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleRangeExpectation, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleRangeExpectation::Representation
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.32.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-06-25 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.32.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: []