google-apis-dataplex_v1 0.52.0 → 0.53.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 70d4c4a035e90d085f3276e8a92eb23583397a229b6ebf606e045e65b81c24da
4
- data.tar.gz: ba3cbc796fe1c6a0d2f3703935e5a607a9d8f9bf422479b08b0b35d54d3bbd6b
3
+ metadata.gz: 4e45b266913b56121b817df796889187d742d836c8a4253ec190a669766b7c1f
4
+ data.tar.gz: 656579f2418d7c6f1e1eebb65192b2100dd22b70070d3bc5feae6bc6216ca572
5
5
  SHA512:
6
- metadata.gz: e9d04373aca6569d4557fa7597cbe7bd5a14d158901a43a4461eaad0f8dc1a80022ccaf051464b86fa92f5cc9aaeef8c57523a32ae708a49f50456cbdde9cb91
7
- data.tar.gz: 791d6bd70153108896c2cc903c90fd92cf130caf66b96dfae04d75e1f75c847ae4fafdcb3ca2337a359f7be2f4deb735edc4e1515dff845e984dc7518d4d12a3
6
+ metadata.gz: 55c8d18cd46b3f1e6c066bc6621e18b2fcec03866cc1472adbba1875ee199861c6997a12f8a618f2da090f488285fa8185b47561ce2fff5487157869baaca790
7
+ data.tar.gz: b29d8e0e071b0affb73bd279e49f74b6b5e129ccdd55c9253cbdbb852d4308038b3f24e892866f5f776e80284f95143bb00bd4d90c286ad4350b772de786458c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dataplex_v1
2
2
 
3
+ ### v0.53.0 (2024-03-31)
4
+
5
+ * Regenerated from discovery document revision 20240325
6
+
3
7
  ### v0.52.0 (2024-03-24)
4
8
 
5
9
  * Regenerated from discovery document revision 20240317
@@ -2280,6 +2280,16 @@ module Google
2280
2280
  # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleSetExpectation]
2281
2281
  attr_accessor :set_expectation
2282
2282
 
2283
+ # Queries for rows returned by the provided SQL statement. If any rows are are
2284
+ # returned, this rule fails.The SQL statement needs to use BigQuery standard SQL
2285
+ # syntax, and must not contain any semicolons.$`data()` can be used to reference
2286
+ # the rows being evaluated, i.e. the table after all additional filters (row
2287
+ # filters, incremental data filters, sampling) are applied.Example: SELECT *
2288
+ # FROM $`data()` WHERE price < 0
2289
+ # Corresponds to the JSON property `sqlAssertion`
2290
+ # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleSqlAssertion]
2291
+ attr_accessor :sql_assertion
2292
+
2283
2293
  # Evaluates whether the column aggregate statistic lies between a specified
2284
2294
  # range.
2285
2295
  # Corresponds to the JSON property `statisticRangeExpectation`
@@ -2321,6 +2331,7 @@ module Google
2321
2331
  @regex_expectation = args[:regex_expectation] if args.key?(:regex_expectation)
2322
2332
  @row_condition_expectation = args[:row_condition_expectation] if args.key?(:row_condition_expectation)
2323
2333
  @set_expectation = args[:set_expectation] if args.key?(:set_expectation)
2334
+ @sql_assertion = args[:sql_assertion] if args.key?(:sql_assertion)
2324
2335
  @statistic_range_expectation = args[:statistic_range_expectation] if args.key?(:statistic_range_expectation)
2325
2336
  @table_condition_expectation = args[:table_condition_expectation] if args.key?(:table_condition_expectation)
2326
2337
  @threshold = args[:threshold] if args.key?(:threshold)
@@ -2409,6 +2420,12 @@ module Google
2409
2420
  class GoogleCloudDataplexV1DataQualityRuleResult
2410
2421
  include Google::Apis::Core::Hashable
2411
2422
 
2423
+ # Output only. The number of rows returned by the sql statement in the
2424
+ # SqlAssertion rule.This field is only valid for SqlAssertion rules.
2425
+ # Corresponds to the JSON property `assertionRowCount`
2426
+ # @return [Fixnum]
2427
+ attr_accessor :assertion_row_count
2428
+
2412
2429
  # The number of rows a rule was evaluated against.This field is only valid for
2413
2430
  # row-level type rules.Evaluated count can be configured to either include all
2414
2431
  # rows (default) - with null rows automatically failing rule evaluation, or
@@ -2457,6 +2474,7 @@ module Google
2457
2474
 
2458
2475
  # Update properties of this object
2459
2476
  def update!(**args)
2477
+ @assertion_row_count = args[:assertion_row_count] if args.key?(:assertion_row_count)
2460
2478
  @evaluated_count = args[:evaluated_count] if args.key?(:evaluated_count)
2461
2479
  @failing_rows_query = args[:failing_rows_query] if args.key?(:failing_rows_query)
2462
2480
  @null_count = args[:null_count] if args.key?(:null_count)
@@ -2507,6 +2525,30 @@ module Google
2507
2525
  end
2508
2526
  end
2509
2527
 
2528
+ # Queries for rows returned by the provided SQL statement. If any rows are are
2529
+ # returned, this rule fails.The SQL statement needs to use BigQuery standard SQL
2530
+ # syntax, and must not contain any semicolons.$`data()` can be used to reference
2531
+ # the rows being evaluated, i.e. the table after all additional filters (row
2532
+ # filters, incremental data filters, sampling) are applied.Example: SELECT *
2533
+ # FROM $`data()` WHERE price < 0
2534
+ class GoogleCloudDataplexV1DataQualityRuleSqlAssertion
2535
+ include Google::Apis::Core::Hashable
2536
+
2537
+ # Optional. The SQL statement.
2538
+ # Corresponds to the JSON property `sqlStatement`
2539
+ # @return [String]
2540
+ attr_accessor :sql_statement
2541
+
2542
+ def initialize(**args)
2543
+ update!(**args)
2544
+ end
2545
+
2546
+ # Update properties of this object
2547
+ def update!(**args)
2548
+ @sql_statement = args[:sql_statement] if args.key?(:sql_statement)
2549
+ end
2550
+ end
2551
+
2510
2552
  # Evaluates whether the column aggregate statistic lies between a specified
2511
2553
  # range.
2512
2554
  class GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation
@@ -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.52.0"
19
+ GEM_VERSION = "0.53.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240317"
25
+ REVISION = "20240325"
26
26
  end
27
27
  end
28
28
  end
@@ -400,6 +400,12 @@ module Google
400
400
  include Google::Apis::Core::JsonObjectSupport
401
401
  end
402
402
 
403
+ class GoogleCloudDataplexV1DataQualityRuleSqlAssertion
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
403
409
  class GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation
404
410
  class Representation < Google::Apis::Core::JsonRepresentation; end
405
411
 
@@ -1803,6 +1809,8 @@ module Google
1803
1809
 
1804
1810
  property :set_expectation, as: 'setExpectation', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleSetExpectation, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleSetExpectation::Representation
1805
1811
 
1812
+ property :sql_assertion, as: 'sqlAssertion', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleSqlAssertion, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleSqlAssertion::Representation
1813
+
1806
1814
  property :statistic_range_expectation, as: 'statisticRangeExpectation', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation::Representation
1807
1815
 
1808
1816
  property :table_condition_expectation, as: 'tableConditionExpectation', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleTableConditionExpectation, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleTableConditionExpectation::Representation
@@ -1839,6 +1847,7 @@ module Google
1839
1847
  class GoogleCloudDataplexV1DataQualityRuleResult
1840
1848
  # @private
1841
1849
  class Representation < Google::Apis::Core::JsonRepresentation
1850
+ property :assertion_row_count, :numeric_string => true, as: 'assertionRowCount'
1842
1851
  property :evaluated_count, :numeric_string => true, as: 'evaluatedCount'
1843
1852
  property :failing_rows_query, as: 'failingRowsQuery'
1844
1853
  property :null_count, :numeric_string => true, as: 'nullCount'
@@ -1864,6 +1873,13 @@ module Google
1864
1873
  end
1865
1874
  end
1866
1875
 
1876
+ class GoogleCloudDataplexV1DataQualityRuleSqlAssertion
1877
+ # @private
1878
+ class Representation < Google::Apis::Core::JsonRepresentation
1879
+ property :sql_statement, as: 'sqlStatement'
1880
+ end
1881
+ end
1882
+
1867
1883
  class GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation
1868
1884
  # @private
1869
1885
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2476,13 +2476,15 @@ module Google
2476
2476
  # locations/`location`/entryGroups/`entry_group`.
2477
2477
  # @param [String] filter
2478
2478
  # Optional. A filter on the entries to return. Filters are case-sensitive. The
2479
- # request can be filtered by the following fields: entry_type, display_name. The
2480
- # comparison operators are =, !=, <, >, <=, >= (strings are compared according
2481
- # to lexical order) The logical operators AND, OR, NOT can be used in the filter.
2482
- # Example filter expressions: "display_name=AnExampleDisplayName" "entry_type=
2483
- # projects/example-project/locations/global/entryTypes/example-entry_type" "
2484
- # entry_type=projects/a* OR "entry_type=projects/k*" "NOT display_name=
2485
- # AnotherExampleDisplayName"
2479
+ # request can be filtered by the following fields: entry_type, entry_source.
2480
+ # display_name. The comparison operators are =, !=, <, >, <=, >= (strings are
2481
+ # compared according to lexical order) The logical operators AND, OR, NOT can be
2482
+ # used in the filter. Wildcard "*" can be used, but for entry_type the full
2483
+ # project id or number needs to be provided. Example filter expressions: "
2484
+ # entry_source.display_name=AnExampleDisplayName" "entry_type=projects/example-
2485
+ # project/locations/global/entryTypes/example-entry_type" "entry_type=projects/
2486
+ # example-project/locations/us/entryTypes/a* OR entry_type=projects/another-
2487
+ # project/locations/*" "NOT entry_source.display_name=AnotherExampleDisplayName"
2486
2488
  # @param [Fixnum] page_size
2487
2489
  # @param [String] page_token
2488
2490
  # Optional. The pagination token returned by a previous request.
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.52.0
4
+ version: 0.53.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: 2024-03-24 00:00:00.000000000 Z
11
+ date: 2024-03-31 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.52.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dataplex_v1/v0.53.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: []