google-apis-dataplex_v1 0.29.0 → 0.31.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: 79183222691f8cadecfdc63027c620f80295eb29125613e1e4ab131b61847477
4
- data.tar.gz: f05c6d1e8a2e73ddbfdb0502098fe39b331c9e517d3109edf7cf5814f4dc7687
3
+ metadata.gz: 33679b505aded3a86f3c2f8d07c8b79aa7c77cfdee0ec1f2056adc1c34b72eb8
4
+ data.tar.gz: 9ce56cc75b19cd2b339ff3a2be0df2b2b0472ed31450a77c0b5053cbf4f884af
5
5
  SHA512:
6
- metadata.gz: 313f481f7863cb22bf970db8cd5d625e1eb1eba388ffcefb385330764fde96b4a4a896bc468074d6f4044e8b86bb08b76a987fff798c7bd6856fd29cda95e4b1
7
- data.tar.gz: b66d28da086fa91d589de14b3dde75ae8d44006dd4444f6f461a92f6e0371a1e0e55d6e8c35f45ca00f10264a5890c2d947e3091a14f30c459fabaf51f075150
6
+ metadata.gz: c7275bd818893c7187ef0620cb3c66d9b2f97ad14680a1be418dbafc87cce6e331f08627508e0532de18f2864ab8597ee494563d1ebbed360086e1c4024ba7c9
7
+ data.tar.gz: 01b3b1581b846a600fcb3c6c9361f8df4590502cd6320f1a31c7a652927eb6ff814eeb3d544cb74a25196e6ef51bc52d3197744748f8db85d3d14def02d1ce4a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-dataplex_v1
2
2
 
3
+ ### v0.31.0 (2023-06-18)
4
+
5
+ * Regenerated from discovery document revision 20230607
6
+
7
+ ### v0.30.0 (2023-06-04)
8
+
9
+ * Regenerated from discovery document revision 20230530
10
+
3
11
  ### v0.29.0 (2023-05-14)
4
12
 
5
13
  * Regenerated from discovery document revision 20230503
@@ -1387,8 +1387,8 @@ module Google
1387
1387
  # below this point. The third quartile (Q3) splits off the highest 25% of data
1388
1388
  # from the lowest 75%. It is known as the upper or 75th empirical quartile, as
1389
1389
  # 75% of the data lies below this point. Here, the quartiles is provided as an
1390
- # ordered list of quartile values for the scanned data, occurring in order Q1,
1391
- # median, Q3.
1390
+ # ordered list of approximate quartile values for the scanned data, occurring in
1391
+ # order Q1, median, Q3.
1392
1392
  # Corresponds to the JSON property `quartiles`
1393
1393
  # @return [Array<Fixnum>]
1394
1394
  attr_accessor :quartiles
@@ -1473,6 +1473,16 @@ module Google
1473
1473
  class GoogleCloudDataplexV1DataProfileSpec
1474
1474
  include Google::Apis::Core::Hashable
1475
1475
 
1476
+ # The specification for fields to include or exclude in data profile scan.
1477
+ # Corresponds to the JSON property `excludeFields`
1478
+ # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileSpecSelectedFields]
1479
+ attr_accessor :exclude_fields
1480
+
1481
+ # The specification for fields to include or exclude in data profile scan.
1482
+ # Corresponds to the JSON property `includeFields`
1483
+ # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileSpecSelectedFields]
1484
+ attr_accessor :include_fields
1485
+
1476
1486
  # Optional. A filter applied to all rows in a single DataScan job. The filter
1477
1487
  # needs to be a valid SQL expression for a WHERE clause in BigQuery standard SQL
1478
1488
  # syntax. Example: col1 >= 0 AND col2 < 10
@@ -1494,11 +1504,35 @@ module Google
1494
1504
 
1495
1505
  # Update properties of this object
1496
1506
  def update!(**args)
1507
+ @exclude_fields = args[:exclude_fields] if args.key?(:exclude_fields)
1508
+ @include_fields = args[:include_fields] if args.key?(:include_fields)
1497
1509
  @row_filter = args[:row_filter] if args.key?(:row_filter)
1498
1510
  @sampling_percent = args[:sampling_percent] if args.key?(:sampling_percent)
1499
1511
  end
1500
1512
  end
1501
1513
 
1514
+ # The specification for fields to include or exclude in data profile scan.
1515
+ class GoogleCloudDataplexV1DataProfileSpecSelectedFields
1516
+ include Google::Apis::Core::Hashable
1517
+
1518
+ # Optional. Expected input is a list of fully qualified names of fields as in
1519
+ # the schema.Only top-level field names for nested fields are supported. For
1520
+ # instance, if 'x' is of nested field type, listing 'x' is supported but 'x.y.z'
1521
+ # is not supported. Here 'y' and 'y.z' are nested fields of 'x'.
1522
+ # Corresponds to the JSON property `fieldNames`
1523
+ # @return [Array<String>]
1524
+ attr_accessor :field_names
1525
+
1526
+ def initialize(**args)
1527
+ update!(**args)
1528
+ end
1529
+
1530
+ # Update properties of this object
1531
+ def update!(**args)
1532
+ @field_names = args[:field_names] if args.key?(:field_names)
1533
+ end
1534
+ end
1535
+
1502
1536
  # DataQualityDimensionResult provides a more detailed, per-dimension view of the
1503
1537
  # results.
1504
1538
  class GoogleCloudDataplexV1DataQualityDimensionResult
@@ -2182,6 +2216,12 @@ module Google
2182
2216
  class GoogleCloudDataplexV1DataScanEventDataProfileAppliedConfigs
2183
2217
  include Google::Apis::Core::Hashable
2184
2218
 
2219
+ # Boolean indicating whether a column filter was applied in the DataScan job.
2220
+ # Corresponds to the JSON property `columnFilterApplied`
2221
+ # @return [Boolean]
2222
+ attr_accessor :column_filter_applied
2223
+ alias_method :column_filter_applied?, :column_filter_applied
2224
+
2185
2225
  # Boolean indicating whether a row filter was applied in the DataScan job.
2186
2226
  # Corresponds to the JSON property `rowFilterApplied`
2187
2227
  # @return [Boolean]
@@ -2201,6 +2241,7 @@ module Google
2201
2241
 
2202
2242
  # Update properties of this object
2203
2243
  def update!(**args)
2244
+ @column_filter_applied = args[:column_filter_applied] if args.key?(:column_filter_applied)
2204
2245
  @row_filter_applied = args[:row_filter_applied] if args.key?(:row_filter_applied)
2205
2246
  @sampling_percent = args[:sampling_percent] if args.key?(:sampling_percent)
2206
2247
  end
@@ -2894,7 +2935,7 @@ module Google
2894
2935
  end
2895
2936
 
2896
2937
  # Environment represents a user-visible compute infrastructure for analytics
2897
- # within a lake.
2938
+ # within a lake. LINT.IfChange
2898
2939
  class GoogleCloudDataplexV1Environment
2899
2940
  include Google::Apis::Core::Hashable
2900
2941
 
@@ -3169,6 +3210,16 @@ module Google
3169
3210
  # @return [String]
3170
3211
  attr_accessor :end_time
3171
3212
 
3213
+ # Execution related settings, like retry and service_account.
3214
+ # Corresponds to the JSON property `executionSpec`
3215
+ # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1TaskExecutionSpec]
3216
+ attr_accessor :execution_spec
3217
+
3218
+ # Output only. User-defined labels for the task.
3219
+ # Corresponds to the JSON property `labels`
3220
+ # @return [Hash<String,String>]
3221
+ attr_accessor :labels
3222
+
3172
3223
  # Output only. Additional information about the current state.
3173
3224
  # Corresponds to the JSON property `message`
3174
3225
  # @return [String]
@@ -3207,6 +3258,11 @@ module Google
3207
3258
  # @return [String]
3208
3259
  attr_accessor :state
3209
3260
 
3261
+ # Output only. Job execution trigger.
3262
+ # Corresponds to the JSON property `trigger`
3263
+ # @return [String]
3264
+ attr_accessor :trigger
3265
+
3210
3266
  # Output only. System generated globally unique ID for the job.
3211
3267
  # Corresponds to the JSON property `uid`
3212
3268
  # @return [String]
@@ -3219,6 +3275,8 @@ module Google
3219
3275
  # Update properties of this object
3220
3276
  def update!(**args)
3221
3277
  @end_time = args[:end_time] if args.key?(:end_time)
3278
+ @execution_spec = args[:execution_spec] if args.key?(:execution_spec)
3279
+ @labels = args[:labels] if args.key?(:labels)
3222
3280
  @message = args[:message] if args.key?(:message)
3223
3281
  @name = args[:name] if args.key?(:name)
3224
3282
  @retry_count = args[:retry_count] if args.key?(:retry_count)
@@ -3226,6 +3284,7 @@ module Google
3226
3284
  @service_job = args[:service_job] if args.key?(:service_job)
3227
3285
  @start_time = args[:start_time] if args.key?(:start_time)
3228
3286
  @state = args[:state] if args.key?(:state)
3287
+ @trigger = args[:trigger] if args.key?(:trigger)
3229
3288
  @uid = args[:uid] if args.key?(:uid)
3230
3289
  end
3231
3290
  end
@@ -3240,6 +3299,11 @@ module Google
3240
3299
  # @return [String]
3241
3300
  attr_accessor :end_time
3242
3301
 
3302
+ # Job execution trigger.
3303
+ # Corresponds to the JSON property `executionTrigger`
3304
+ # @return [String]
3305
+ attr_accessor :execution_trigger
3306
+
3243
3307
  # The unique id identifying the job.
3244
3308
  # Corresponds to the JSON property `jobId`
3245
3309
  # @return [String]
@@ -3287,6 +3351,7 @@ module Google
3287
3351
  # Update properties of this object
3288
3352
  def update!(**args)
3289
3353
  @end_time = args[:end_time] if args.key?(:end_time)
3354
+ @execution_trigger = args[:execution_trigger] if args.key?(:execution_trigger)
3290
3355
  @job_id = args[:job_id] if args.key?(:job_id)
3291
3356
  @message = args[:message] if args.key?(:message)
3292
3357
  @retries = args[:retries] if args.key?(:retries)
@@ -4076,12 +4141,36 @@ module Google
4076
4141
  class GoogleCloudDataplexV1RunTaskRequest
4077
4142
  include Google::Apis::Core::Hashable
4078
4143
 
4144
+ # Optional. Execution spec arguments. If the map is left empty, the task will
4145
+ # run with existing execution spec args from task definition. If the map
4146
+ # contains an entry with a new key, the same will be added to existing set of
4147
+ # args. If the map contains an entry with an existing arg key in task definition,
4148
+ # the task will run with new arg value for that entry. Clearing an existing arg
4149
+ # will require arg value to be explicitly set to a hyphen "-". The arg value
4150
+ # cannot be empty.
4151
+ # Corresponds to the JSON property `args`
4152
+ # @return [Hash<String,String>]
4153
+ attr_accessor :args
4154
+
4155
+ # Optional. User-defined labels for the task. If the map is left empty, the task
4156
+ # will run with existing labels from task definition. If the map contains an
4157
+ # entry with a new key, the same will be added to existing set of labels. If the
4158
+ # map contains an entry with an existing label key in task definition, the task
4159
+ # will run with new label value for that entry. Clearing an existing label will
4160
+ # require label value to be explicitly set to a hyphen "-". The label value
4161
+ # cannot be empty.
4162
+ # Corresponds to the JSON property `labels`
4163
+ # @return [Hash<String,String>]
4164
+ attr_accessor :labels
4165
+
4079
4166
  def initialize(**args)
4080
4167
  update!(**args)
4081
4168
  end
4082
4169
 
4083
4170
  # Update properties of this object
4084
4171
  def update!(**args)
4172
+ @args = args[:args] if args.key?(:args)
4173
+ @labels = args[:labels] if args.key?(:labels)
4085
4174
  end
4086
4175
  end
4087
4176
 
@@ -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.29.0"
19
+ GEM_VERSION = "0.31.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 = "20230503"
25
+ REVISION = "20230607"
26
26
  end
27
27
  end
28
28
  end
@@ -244,6 +244,12 @@ module Google
244
244
  include Google::Apis::Core::JsonObjectSupport
245
245
  end
246
246
 
247
+ class GoogleCloudDataplexV1DataProfileSpecSelectedFields
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
247
253
  class GoogleCloudDataplexV1DataQualityDimensionResult
248
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
255
 
@@ -1305,11 +1311,22 @@ module Google
1305
1311
  class GoogleCloudDataplexV1DataProfileSpec
1306
1312
  # @private
1307
1313
  class Representation < Google::Apis::Core::JsonRepresentation
1314
+ property :exclude_fields, as: 'excludeFields', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileSpecSelectedFields, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileSpecSelectedFields::Representation
1315
+
1316
+ property :include_fields, as: 'includeFields', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileSpecSelectedFields, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileSpecSelectedFields::Representation
1317
+
1308
1318
  property :row_filter, as: 'rowFilter'
1309
1319
  property :sampling_percent, as: 'samplingPercent'
1310
1320
  end
1311
1321
  end
1312
1322
 
1323
+ class GoogleCloudDataplexV1DataProfileSpecSelectedFields
1324
+ # @private
1325
+ class Representation < Google::Apis::Core::JsonRepresentation
1326
+ collection :field_names, as: 'fieldNames'
1327
+ end
1328
+ end
1329
+
1313
1330
  class GoogleCloudDataplexV1DataQualityDimensionResult
1314
1331
  # @private
1315
1332
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1498,6 +1515,7 @@ module Google
1498
1515
  class GoogleCloudDataplexV1DataScanEventDataProfileAppliedConfigs
1499
1516
  # @private
1500
1517
  class Representation < Google::Apis::Core::JsonRepresentation
1518
+ property :column_filter_applied, as: 'columnFilterApplied'
1501
1519
  property :row_filter_applied, as: 'rowFilterApplied'
1502
1520
  property :sampling_percent, as: 'samplingPercent'
1503
1521
  end
@@ -1764,6 +1782,9 @@ module Google
1764
1782
  # @private
1765
1783
  class Representation < Google::Apis::Core::JsonRepresentation
1766
1784
  property :end_time, as: 'endTime'
1785
+ property :execution_spec, as: 'executionSpec', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1TaskExecutionSpec, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1TaskExecutionSpec::Representation
1786
+
1787
+ hash :labels, as: 'labels'
1767
1788
  property :message, as: 'message'
1768
1789
  property :name, as: 'name'
1769
1790
  property :retry_count, as: 'retryCount'
@@ -1771,6 +1792,7 @@ module Google
1771
1792
  property :service_job, as: 'serviceJob'
1772
1793
  property :start_time, as: 'startTime'
1773
1794
  property :state, as: 'state'
1795
+ property :trigger, as: 'trigger'
1774
1796
  property :uid, as: 'uid'
1775
1797
  end
1776
1798
  end
@@ -1779,6 +1801,7 @@ module Google
1779
1801
  # @private
1780
1802
  class Representation < Google::Apis::Core::JsonRepresentation
1781
1803
  property :end_time, as: 'endTime'
1804
+ property :execution_trigger, as: 'executionTrigger'
1782
1805
  property :job_id, as: 'jobId'
1783
1806
  property :message, as: 'message'
1784
1807
  property :retries, as: 'retries'
@@ -2027,6 +2050,8 @@ module Google
2027
2050
  class GoogleCloudDataplexV1RunTaskRequest
2028
2051
  # @private
2029
2052
  class Representation < Google::Apis::Core::JsonRepresentation
2053
+ hash :args, as: 'args'
2054
+ hash :labels, as: 'labels'
2030
2055
  end
2031
2056
  end
2032
2057
 
@@ -973,6 +973,14 @@ module Google
973
973
  # Required. The resource name of the parent environment: projects/`project`/
974
974
  # locations/`location_id`/dataScans/`data_scan_id` where project refers to a
975
975
  # project_id or project_number and location_id refers to a GCP region.
976
+ # @param [String] filter
977
+ # Optional. An expression for filtering the results of the ListDataScanJobs
978
+ # request.If unspecified, all datascan jobs will be returned. Multiple filters
979
+ # can be applied (with AND, OR logical operators). Filters are case-sensitive.
980
+ # Allowed fields are: start_time end_timestart_time and end_time expect RFC-3339
981
+ # formatted strings (e.g. 2018-10-08T18:30:00-07:00).For instance, 'start_time >
982
+ # 2018-10-08T00:00:00.123456789Z AND end_time < 2018-10-09T00:00:00.123456789Z'
983
+ # limits results to DataScanJobs between specified start and end times.
976
984
  # @param [Fixnum] page_size
977
985
  # Optional. Maximum number of DataScanJobs to return. The service may return
978
986
  # fewer than this value. If unspecified, at most 10 DataScanJobs will be
@@ -998,11 +1006,12 @@ module Google
998
1006
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
999
1007
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1000
1008
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1001
- def list_project_location_data_scan_jobs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1009
+ def list_project_location_data_scan_jobs(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1002
1010
  command = make_simple_command(:get, 'v1/{+parent}/jobs', options)
1003
1011
  command.response_representation = Google::Apis::DataplexV1::GoogleCloudDataplexV1ListDataScanJobsResponse::Representation
1004
1012
  command.response_class = Google::Apis::DataplexV1::GoogleCloudDataplexV1ListDataScanJobsResponse
1005
1013
  command.params['parent'] = parent unless parent.nil?
1014
+ command.query['filter'] = filter unless filter.nil?
1006
1015
  command.query['pageSize'] = page_size unless page_size.nil?
1007
1016
  command.query['pageToken'] = page_token unless page_token.nil?
1008
1017
  command.query['fields'] = fields unless fields.nil?
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.29.0
4
+ version: 0.31.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-05-14 00:00:00.000000000 Z
11
+ date: 2023-06-18 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.29.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dataplex_v1/v0.31.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: []