google-apis-dataplex_v1 0.51.0 → 0.53.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: b051a341d4c3315ae276378cd95514c951c0e49f4c735031dea7190f2ae919c2
4
- data.tar.gz: b98d48b7abcbb3d46a28e243289bc5e8a6180e9d2ca3e2daa8826a957112cf7c
3
+ metadata.gz: 4e45b266913b56121b817df796889187d742d836c8a4253ec190a669766b7c1f
4
+ data.tar.gz: 656579f2418d7c6f1e1eebb65192b2100dd22b70070d3bc5feae6bc6216ca572
5
5
  SHA512:
6
- metadata.gz: 86ba3c8f24b9e46db45786035df8b0f4d5ecf68ce206ea4db37810dbdac95b146542e14c8ee199b8f32fe555b9e8d2ea5a462967e31a5a21b98debfcb1d59672
7
- data.tar.gz: 7a28060c3c5b0d96729f2843b9f5d17678623108a48de4f5b7ea363b6c68763ee8c0eb71d9369acd1a3e73b3174db9cb92bf758ea84438b58c4c7a8b70c8cc35
6
+ metadata.gz: 55c8d18cd46b3f1e6c066bc6621e18b2fcec03866cc1472adbba1875ee199861c6997a12f8a618f2da090f488285fa8185b47561ce2fff5487157869baaca790
7
+ data.tar.gz: b29d8e0e071b0affb73bd279e49f74b6b5e129ccdd55c9253cbdbb852d4308038b3f24e892866f5f776e80284f95143bb00bd4d90c286ad4350b772de786458c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.52.0 (2024-03-24)
8
+
9
+ * Regenerated from discovery document revision 20240317
10
+
3
11
  ### v0.51.0 (2024-03-17)
4
12
 
5
13
  * Regenerated from discovery document revision 20240311
@@ -1544,63 +1544,6 @@ module Google
1544
1544
  end
1545
1545
  end
1546
1546
 
1547
- # The output of a DataDocumentation scan.
1548
- class GoogleCloudDataplexV1DataDocumentationResult
1549
- include Google::Apis::Core::Hashable
1550
-
1551
- # Output only. The list of generated queries.
1552
- # Corresponds to the JSON property `queries`
1553
- # @return [Array<Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationResultQuery>]
1554
- attr_accessor :queries
1555
-
1556
- def initialize(**args)
1557
- update!(**args)
1558
- end
1559
-
1560
- # Update properties of this object
1561
- def update!(**args)
1562
- @queries = args[:queries] if args.key?(:queries)
1563
- end
1564
- end
1565
-
1566
- # A query in data documentation
1567
- class GoogleCloudDataplexV1DataDocumentationResultQuery
1568
- include Google::Apis::Core::Hashable
1569
-
1570
- # Output only. The description for the query.
1571
- # Corresponds to the JSON property `description`
1572
- # @return [String]
1573
- attr_accessor :description
1574
-
1575
- # Output only. The SQL query string which can be executed.
1576
- # Corresponds to the JSON property `sql`
1577
- # @return [String]
1578
- attr_accessor :sql
1579
-
1580
- def initialize(**args)
1581
- update!(**args)
1582
- end
1583
-
1584
- # Update properties of this object
1585
- def update!(**args)
1586
- @description = args[:description] if args.key?(:description)
1587
- @sql = args[:sql] if args.key?(:sql)
1588
- end
1589
- end
1590
-
1591
- # DataDocumentation scan related spec.
1592
- class GoogleCloudDataplexV1DataDocumentationSpec
1593
- include Google::Apis::Core::Hashable
1594
-
1595
- def initialize(**args)
1596
- update!(**args)
1597
- end
1598
-
1599
- # Update properties of this object
1600
- def update!(**args)
1601
- end
1602
- end
1603
-
1604
1547
  # DataProfileResult defines the output of DataProfileScan. Each field of the
1605
1548
  # table will have field type specific profile result.
1606
1549
  class GoogleCloudDataplexV1DataProfileResult
@@ -2337,6 +2280,16 @@ module Google
2337
2280
  # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleSetExpectation]
2338
2281
  attr_accessor :set_expectation
2339
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
+
2340
2293
  # Evaluates whether the column aggregate statistic lies between a specified
2341
2294
  # range.
2342
2295
  # Corresponds to the JSON property `statisticRangeExpectation`
@@ -2378,6 +2331,7 @@ module Google
2378
2331
  @regex_expectation = args[:regex_expectation] if args.key?(:regex_expectation)
2379
2332
  @row_condition_expectation = args[:row_condition_expectation] if args.key?(:row_condition_expectation)
2380
2333
  @set_expectation = args[:set_expectation] if args.key?(:set_expectation)
2334
+ @sql_assertion = args[:sql_assertion] if args.key?(:sql_assertion)
2381
2335
  @statistic_range_expectation = args[:statistic_range_expectation] if args.key?(:statistic_range_expectation)
2382
2336
  @table_condition_expectation = args[:table_condition_expectation] if args.key?(:table_condition_expectation)
2383
2337
  @threshold = args[:threshold] if args.key?(:threshold)
@@ -2466,6 +2420,12 @@ module Google
2466
2420
  class GoogleCloudDataplexV1DataQualityRuleResult
2467
2421
  include Google::Apis::Core::Hashable
2468
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
+
2469
2429
  # The number of rows a rule was evaluated against.This field is only valid for
2470
2430
  # row-level type rules.Evaluated count can be configured to either include all
2471
2431
  # rows (default) - with null rows automatically failing rule evaluation, or
@@ -2514,6 +2474,7 @@ module Google
2514
2474
 
2515
2475
  # Update properties of this object
2516
2476
  def update!(**args)
2477
+ @assertion_row_count = args[:assertion_row_count] if args.key?(:assertion_row_count)
2517
2478
  @evaluated_count = args[:evaluated_count] if args.key?(:evaluated_count)
2518
2479
  @failing_rows_query = args[:failing_rows_query] if args.key?(:failing_rows_query)
2519
2480
  @null_count = args[:null_count] if args.key?(:null_count)
@@ -2564,6 +2525,30 @@ module Google
2564
2525
  end
2565
2526
  end
2566
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
+
2567
2552
  # Evaluates whether the column aggregate statistic lies between a specified
2568
2553
  # range.
2569
2554
  class GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation
@@ -2956,16 +2941,6 @@ module Google
2956
2941
  # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataSource]
2957
2942
  attr_accessor :data
2958
2943
 
2959
- # The output of a DataDocumentation scan.
2960
- # Corresponds to the JSON property `dataDocumentationResult`
2961
- # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationResult]
2962
- attr_accessor :data_documentation_result
2963
-
2964
- # DataDocumentation scan related spec.
2965
- # Corresponds to the JSON property `dataDocumentationSpec`
2966
- # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationSpec]
2967
- attr_accessor :data_documentation_spec
2968
-
2969
2944
  # DataProfileResult defines the output of DataProfileScan. Each field of the
2970
2945
  # table will have field type specific profile result.
2971
2946
  # Corresponds to the JSON property `dataProfileResult`
@@ -3048,8 +3023,6 @@ module Google
3048
3023
  def update!(**args)
3049
3024
  @create_time = args[:create_time] if args.key?(:create_time)
3050
3025
  @data = args[:data] if args.key?(:data)
3051
- @data_documentation_result = args[:data_documentation_result] if args.key?(:data_documentation_result)
3052
- @data_documentation_spec = args[:data_documentation_spec] if args.key?(:data_documentation_spec)
3053
3026
  @data_profile_result = args[:data_profile_result] if args.key?(:data_profile_result)
3054
3027
  @data_profile_spec = args[:data_profile_spec] if args.key?(:data_profile_spec)
3055
3028
  @data_quality_result = args[:data_quality_result] if args.key?(:data_quality_result)
@@ -3416,16 +3389,6 @@ module Google
3416
3389
  class GoogleCloudDataplexV1DataScanJob
3417
3390
  include Google::Apis::Core::Hashable
3418
3391
 
3419
- # The output of a DataDocumentation scan.
3420
- # Corresponds to the JSON property `dataDocumentationResult`
3421
- # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationResult]
3422
- attr_accessor :data_documentation_result
3423
-
3424
- # DataDocumentation scan related spec.
3425
- # Corresponds to the JSON property `dataDocumentationSpec`
3426
- # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationSpec]
3427
- attr_accessor :data_documentation_spec
3428
-
3429
3392
  # DataProfileResult defines the output of DataProfileScan. Each field of the
3430
3393
  # table will have field type specific profile result.
3431
3394
  # Corresponds to the JSON property `dataProfileResult`
@@ -3491,8 +3454,6 @@ module Google
3491
3454
 
3492
3455
  # Update properties of this object
3493
3456
  def update!(**args)
3494
- @data_documentation_result = args[:data_documentation_result] if args.key?(:data_documentation_result)
3495
- @data_documentation_spec = args[:data_documentation_spec] if args.key?(:data_documentation_spec)
3496
3457
  @data_profile_result = args[:data_profile_result] if args.key?(:data_profile_result)
3497
3458
  @data_profile_spec = args[:data_profile_spec] if args.key?(:data_profile_spec)
3498
3459
  @data_quality_result = args[:data_quality_result] if args.key?(:data_quality_result)
@@ -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.51.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 = "20240311"
25
+ REVISION = "20240325"
26
26
  end
27
27
  end
28
28
  end
@@ -238,24 +238,6 @@ module Google
238
238
  include Google::Apis::Core::JsonObjectSupport
239
239
  end
240
240
 
241
- class GoogleCloudDataplexV1DataDocumentationResult
242
- class Representation < Google::Apis::Core::JsonRepresentation; end
243
-
244
- include Google::Apis::Core::JsonObjectSupport
245
- end
246
-
247
- class GoogleCloudDataplexV1DataDocumentationResultQuery
248
- class Representation < Google::Apis::Core::JsonRepresentation; end
249
-
250
- include Google::Apis::Core::JsonObjectSupport
251
- end
252
-
253
- class GoogleCloudDataplexV1DataDocumentationSpec
254
- class Representation < Google::Apis::Core::JsonRepresentation; end
255
-
256
- include Google::Apis::Core::JsonObjectSupport
257
- end
258
-
259
241
  class GoogleCloudDataplexV1DataProfileResult
260
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
261
243
 
@@ -418,6 +400,12 @@ module Google
418
400
  include Google::Apis::Core::JsonObjectSupport
419
401
  end
420
402
 
403
+ class GoogleCloudDataplexV1DataQualityRuleSqlAssertion
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
421
409
  class GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation
422
410
  class Representation < Google::Apis::Core::JsonRepresentation; end
423
411
 
@@ -1603,28 +1591,6 @@ module Google
1603
1591
  end
1604
1592
  end
1605
1593
 
1606
- class GoogleCloudDataplexV1DataDocumentationResult
1607
- # @private
1608
- class Representation < Google::Apis::Core::JsonRepresentation
1609
- collection :queries, as: 'queries', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationResultQuery, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationResultQuery::Representation
1610
-
1611
- end
1612
- end
1613
-
1614
- class GoogleCloudDataplexV1DataDocumentationResultQuery
1615
- # @private
1616
- class Representation < Google::Apis::Core::JsonRepresentation
1617
- property :description, as: 'description'
1618
- property :sql, as: 'sql'
1619
- end
1620
- end
1621
-
1622
- class GoogleCloudDataplexV1DataDocumentationSpec
1623
- # @private
1624
- class Representation < Google::Apis::Core::JsonRepresentation
1625
- end
1626
- end
1627
-
1628
1594
  class GoogleCloudDataplexV1DataProfileResult
1629
1595
  # @private
1630
1596
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1843,6 +1809,8 @@ module Google
1843
1809
 
1844
1810
  property :set_expectation, as: 'setExpectation', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleSetExpectation, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleSetExpectation::Representation
1845
1811
 
1812
+ property :sql_assertion, as: 'sqlAssertion', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleSqlAssertion, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleSqlAssertion::Representation
1813
+
1846
1814
  property :statistic_range_expectation, as: 'statisticRangeExpectation', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation::Representation
1847
1815
 
1848
1816
  property :table_condition_expectation, as: 'tableConditionExpectation', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleTableConditionExpectation, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleTableConditionExpectation::Representation
@@ -1879,6 +1847,7 @@ module Google
1879
1847
  class GoogleCloudDataplexV1DataQualityRuleResult
1880
1848
  # @private
1881
1849
  class Representation < Google::Apis::Core::JsonRepresentation
1850
+ property :assertion_row_count, :numeric_string => true, as: 'assertionRowCount'
1882
1851
  property :evaluated_count, :numeric_string => true, as: 'evaluatedCount'
1883
1852
  property :failing_rows_query, as: 'failingRowsQuery'
1884
1853
  property :null_count, :numeric_string => true, as: 'nullCount'
@@ -1904,6 +1873,13 @@ module Google
1904
1873
  end
1905
1874
  end
1906
1875
 
1876
+ class GoogleCloudDataplexV1DataQualityRuleSqlAssertion
1877
+ # @private
1878
+ class Representation < Google::Apis::Core::JsonRepresentation
1879
+ property :sql_statement, as: 'sqlStatement'
1880
+ end
1881
+ end
1882
+
1907
1883
  class GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation
1908
1884
  # @private
1909
1885
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2021,10 +1997,6 @@ module Google
2021
1997
  property :create_time, as: 'createTime'
2022
1998
  property :data, as: 'data', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataSource, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataSource::Representation
2023
1999
 
2024
- property :data_documentation_result, as: 'dataDocumentationResult', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationResult, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationResult::Representation
2025
-
2026
- property :data_documentation_spec, as: 'dataDocumentationSpec', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationSpec, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationSpec::Representation
2027
-
2028
2000
  property :data_profile_result, as: 'dataProfileResult', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResult, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResult::Representation
2029
2001
 
2030
2002
  property :data_profile_spec, as: 'dataProfileSpec', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileSpec, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileSpec::Representation
@@ -2147,10 +2119,6 @@ module Google
2147
2119
  class GoogleCloudDataplexV1DataScanJob
2148
2120
  # @private
2149
2121
  class Representation < Google::Apis::Core::JsonRepresentation
2150
- property :data_documentation_result, as: 'dataDocumentationResult', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationResult, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationResult::Representation
2151
-
2152
- property :data_documentation_spec, as: 'dataDocumentationSpec', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationSpec, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDocumentationSpec::Representation
2153
-
2154
2122
  property :data_profile_result, as: 'dataProfileResult', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResult, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResult::Representation
2155
2123
 
2156
2124
  property :data_profile_spec, as: 'dataProfileSpec', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileSpec, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileSpec::Representation
@@ -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.51.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-17 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.51.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: []