google-apis-dataplex_v1 0.52.0 → 0.54.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: 70d4c4a035e90d085f3276e8a92eb23583397a229b6ebf606e045e65b81c24da
4
- data.tar.gz: ba3cbc796fe1c6a0d2f3703935e5a607a9d8f9bf422479b08b0b35d54d3bbd6b
3
+ metadata.gz: 82a2a14975955cf3e91ea7feeeb6b8b1d952ed4d1296a9cac8ecd8fe54354889
4
+ data.tar.gz: 3c806b1679d956503726abea766c97ac61556969e2f8227da72e0c5422d879ba
5
5
  SHA512:
6
- metadata.gz: e9d04373aca6569d4557fa7597cbe7bd5a14d158901a43a4461eaad0f8dc1a80022ccaf051464b86fa92f5cc9aaeef8c57523a32ae708a49f50456cbdde9cb91
7
- data.tar.gz: 791d6bd70153108896c2cc903c90fd92cf130caf66b96dfae04d75e1f75c847ae4fafdcb3ca2337a359f7be2f4deb735edc4e1515dff845e984dc7518d4d12a3
6
+ metadata.gz: 163cad555814a31d7e0afee176e70d48ca21a3ab3ba36cc38ee4f701cbc6550c2485fbb0cf4843cecec9d80bc3cc3ff156f9065e647e10fa777a57a5bb06f31c
7
+ data.tar.gz: 30d5a403f1f160f216d80abd05f3542dfe97b4f3470611f45bed7f5d5cdd03b2f2c2401d9d3ba2a3b4e4b4044f586505112d14f14da173c2179ea112415ab029
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-dataplex_v1
2
2
 
3
+ ### v0.54.0 (2024-04-21)
4
+
5
+ * Regenerated from discovery document revision 20240410
6
+
7
+ ### v0.53.0 (2024-03-31)
8
+
9
+ * Regenerated from discovery document revision 20240325
10
+
3
11
  ### v0.52.0 (2024-03-24)
4
12
 
5
13
  * 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
@@ -3908,9 +3950,10 @@ module Google
3908
3950
  class GoogleCloudDataplexV1Entry
3909
3951
  include Google::Apis::Core::Hashable
3910
3952
 
3911
- # Optional. The Aspects attached to the Entry. The key is either the resource
3912
- # name of the aspect type (if the aspect is attached directly to the entry) or "
3913
- # aspectType@path" if the aspect is attached to an entry's path.
3953
+ # Optional. The Aspects attached to the Entry. The format for the key can be one
3954
+ # of the following: 1. `projectId`.`locationId`.`aspectTypeId` (if the aspect is
3955
+ # attached directly to the entry) 2. `projectId`.`locationId`.`aspectTypeId`@`
3956
+ # path` (if the aspect is attached to an entry's path)
3914
3957
  # Corresponds to the JSON property `aspects`
3915
3958
  # @return [Hash<String,Google::Apis::DataplexV1::GoogleCloudDataplexV1Aspect>]
3916
3959
  attr_accessor :aspects
@@ -5967,46 +6010,11 @@ module Google
5967
6010
  # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1Entry]
5968
6011
  attr_accessor :dataplex_entry
5969
6012
 
5970
- # Entry description.
5971
- # Corresponds to the JSON property `description`
5972
- # @return [String]
5973
- attr_accessor :description
5974
-
5975
- # Display name.
5976
- # Corresponds to the JSON property `displayName`
5977
- # @return [String]
5978
- attr_accessor :display_name
5979
-
5980
- # Resource name of the entry.
5981
- # Corresponds to the JSON property `entry`
5982
- # @return [String]
5983
- attr_accessor :entry
5984
-
5985
- # The entry type.
5986
- # Corresponds to the JSON property `entryType`
5987
- # @return [String]
5988
- attr_accessor :entry_type
5989
-
5990
- # Fully qualified name.
5991
- # Corresponds to the JSON property `fullyQualifiedName`
5992
- # @return [String]
5993
- attr_accessor :fully_qualified_name
5994
-
5995
6013
  # Linked resource name.
5996
6014
  # Corresponds to the JSON property `linkedResource`
5997
6015
  # @return [String]
5998
6016
  attr_accessor :linked_resource
5999
6017
 
6000
- # The last modification timestamp.
6001
- # Corresponds to the JSON property `modifyTime`
6002
- # @return [String]
6003
- attr_accessor :modify_time
6004
-
6005
- # Relative resource name.
6006
- # Corresponds to the JSON property `relativeResource`
6007
- # @return [String]
6008
- attr_accessor :relative_resource
6009
-
6010
6018
  # Snippets for the entry, contains HTML-style highlighting for matched tokens,
6011
6019
  # will be used in UI.
6012
6020
  # Corresponds to the JSON property `snippets`
@@ -6020,14 +6028,7 @@ module Google
6020
6028
  # Update properties of this object
6021
6029
  def update!(**args)
6022
6030
  @dataplex_entry = args[:dataplex_entry] if args.key?(:dataplex_entry)
6023
- @description = args[:description] if args.key?(:description)
6024
- @display_name = args[:display_name] if args.key?(:display_name)
6025
- @entry = args[:entry] if args.key?(:entry)
6026
- @entry_type = args[:entry_type] if args.key?(:entry_type)
6027
- @fully_qualified_name = args[:fully_qualified_name] if args.key?(:fully_qualified_name)
6028
6031
  @linked_resource = args[:linked_resource] if args.key?(:linked_resource)
6029
- @modify_time = args[:modify_time] if args.key?(:modify_time)
6030
- @relative_resource = args[:relative_resource] if args.key?(:relative_resource)
6031
6032
  @snippets = args[:snippets] if args.key?(:snippets)
6032
6033
  end
6033
6034
  end
@@ -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.54.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 = "20240410"
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
@@ -2828,14 +2844,7 @@ module Google
2828
2844
  class Representation < Google::Apis::Core::JsonRepresentation
2829
2845
  property :dataplex_entry, as: 'dataplexEntry', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1Entry, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1Entry::Representation
2830
2846
 
2831
- property :description, as: 'description'
2832
- property :display_name, as: 'displayName'
2833
- property :entry, as: 'entry'
2834
- property :entry_type, as: 'entryType'
2835
- property :fully_qualified_name, as: 'fullyQualifiedName'
2836
2847
  property :linked_resource, as: 'linkedResource'
2837
- property :modify_time, as: 'modifyTime'
2838
- property :relative_resource, as: 'relativeResource'
2839
2848
  property :snippets, as: 'snippets', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1SearchEntriesResultSnippets, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1SearchEntriesResultSnippets::Representation
2840
2849
 
2841
2850
  end
@@ -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.54.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-04-21 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.54.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: []