google-apis-dataplex_v1 0.29.0 → 0.30.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c275372bf2a9a62dcc2af765cf23e05fa279f8f37e160f32b235cdb369805a6a
|
4
|
+
data.tar.gz: 0c862019c7f1a485a5648f92c458b6aa9405e425f7e136afb8e406daacc05634
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dcc786bd0d67c07ae24e8350ca9fe96d98243d4c0e43bdb5d27b592cf79d5d2784906f3f7dedf3694d5cdfbd6a60733880df9692efde97b6fe0bc26c11d89f4a
|
7
|
+
data.tar.gz: dc163e106df4192f9186ae063e7e1397f936659803c875ac04f4b5e1e8e0c6d2a367ff96c3054178da15d6fef2591dbc6c7637bd5b17238b8626d28acac91e2f
|
data/CHANGELOG.md
CHANGED
@@ -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
|
@@ -2894,7 +2928,7 @@ module Google
|
|
2894
2928
|
end
|
2895
2929
|
|
2896
2930
|
# Environment represents a user-visible compute infrastructure for analytics
|
2897
|
-
# within a lake.
|
2931
|
+
# within a lake. LINT.IfChange
|
2898
2932
|
class GoogleCloudDataplexV1Environment
|
2899
2933
|
include Google::Apis::Core::Hashable
|
2900
2934
|
|
@@ -3169,6 +3203,16 @@ module Google
|
|
3169
3203
|
# @return [String]
|
3170
3204
|
attr_accessor :end_time
|
3171
3205
|
|
3206
|
+
# Execution related settings, like retry and service_account.
|
3207
|
+
# Corresponds to the JSON property `executionSpec`
|
3208
|
+
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1TaskExecutionSpec]
|
3209
|
+
attr_accessor :execution_spec
|
3210
|
+
|
3211
|
+
# Output only. User-defined labels for the task.
|
3212
|
+
# Corresponds to the JSON property `labels`
|
3213
|
+
# @return [Hash<String,String>]
|
3214
|
+
attr_accessor :labels
|
3215
|
+
|
3172
3216
|
# Output only. Additional information about the current state.
|
3173
3217
|
# Corresponds to the JSON property `message`
|
3174
3218
|
# @return [String]
|
@@ -3207,6 +3251,11 @@ module Google
|
|
3207
3251
|
# @return [String]
|
3208
3252
|
attr_accessor :state
|
3209
3253
|
|
3254
|
+
# Output only. Job execution trigger.
|
3255
|
+
# Corresponds to the JSON property `trigger`
|
3256
|
+
# @return [String]
|
3257
|
+
attr_accessor :trigger
|
3258
|
+
|
3210
3259
|
# Output only. System generated globally unique ID for the job.
|
3211
3260
|
# Corresponds to the JSON property `uid`
|
3212
3261
|
# @return [String]
|
@@ -3219,6 +3268,8 @@ module Google
|
|
3219
3268
|
# Update properties of this object
|
3220
3269
|
def update!(**args)
|
3221
3270
|
@end_time = args[:end_time] if args.key?(:end_time)
|
3271
|
+
@execution_spec = args[:execution_spec] if args.key?(:execution_spec)
|
3272
|
+
@labels = args[:labels] if args.key?(:labels)
|
3222
3273
|
@message = args[:message] if args.key?(:message)
|
3223
3274
|
@name = args[:name] if args.key?(:name)
|
3224
3275
|
@retry_count = args[:retry_count] if args.key?(:retry_count)
|
@@ -3226,6 +3277,7 @@ module Google
|
|
3226
3277
|
@service_job = args[:service_job] if args.key?(:service_job)
|
3227
3278
|
@start_time = args[:start_time] if args.key?(:start_time)
|
3228
3279
|
@state = args[:state] if args.key?(:state)
|
3280
|
+
@trigger = args[:trigger] if args.key?(:trigger)
|
3229
3281
|
@uid = args[:uid] if args.key?(:uid)
|
3230
3282
|
end
|
3231
3283
|
end
|
@@ -3240,6 +3292,11 @@ module Google
|
|
3240
3292
|
# @return [String]
|
3241
3293
|
attr_accessor :end_time
|
3242
3294
|
|
3295
|
+
# Job execution trigger.
|
3296
|
+
# Corresponds to the JSON property `executionTrigger`
|
3297
|
+
# @return [String]
|
3298
|
+
attr_accessor :execution_trigger
|
3299
|
+
|
3243
3300
|
# The unique id identifying the job.
|
3244
3301
|
# Corresponds to the JSON property `jobId`
|
3245
3302
|
# @return [String]
|
@@ -3287,6 +3344,7 @@ module Google
|
|
3287
3344
|
# Update properties of this object
|
3288
3345
|
def update!(**args)
|
3289
3346
|
@end_time = args[:end_time] if args.key?(:end_time)
|
3347
|
+
@execution_trigger = args[:execution_trigger] if args.key?(:execution_trigger)
|
3290
3348
|
@job_id = args[:job_id] if args.key?(:job_id)
|
3291
3349
|
@message = args[:message] if args.key?(:message)
|
3292
3350
|
@retries = args[:retries] if args.key?(:retries)
|
@@ -4076,12 +4134,36 @@ module Google
|
|
4076
4134
|
class GoogleCloudDataplexV1RunTaskRequest
|
4077
4135
|
include Google::Apis::Core::Hashable
|
4078
4136
|
|
4137
|
+
# Optional. Execution spec arguments. If the map is left empty, the task will
|
4138
|
+
# run with existing execution spec args from task definition. If the map
|
4139
|
+
# contains an entry with a new key, the same will be added to existing set of
|
4140
|
+
# args. If the map contains an entry with an existing arg key in task definition,
|
4141
|
+
# the task will run with new arg value for that entry. Clearing an existing arg
|
4142
|
+
# will require arg value to be explicitly set to a hyphen "-". The arg value
|
4143
|
+
# cannot be empty.
|
4144
|
+
# Corresponds to the JSON property `args`
|
4145
|
+
# @return [Hash<String,String>]
|
4146
|
+
attr_accessor :args
|
4147
|
+
|
4148
|
+
# Optional. User-defined labels for the task. If the map is left empty, the task
|
4149
|
+
# will run with existing labels from task definition. If the map contains an
|
4150
|
+
# entry with a new key, the same will be added to existing set of labels. If the
|
4151
|
+
# map contains an entry with an existing label key in task definition, the task
|
4152
|
+
# will run with new label value for that entry. Clearing an existing label will
|
4153
|
+
# require label value to be explicitly set to a hyphen "-". The label value
|
4154
|
+
# cannot be empty.
|
4155
|
+
# Corresponds to the JSON property `labels`
|
4156
|
+
# @return [Hash<String,String>]
|
4157
|
+
attr_accessor :labels
|
4158
|
+
|
4079
4159
|
def initialize(**args)
|
4080
4160
|
update!(**args)
|
4081
4161
|
end
|
4082
4162
|
|
4083
4163
|
# Update properties of this object
|
4084
4164
|
def update!(**args)
|
4165
|
+
@args = args[:args] if args.key?(:args)
|
4166
|
+
@labels = args[:labels] if args.key?(:labels)
|
4085
4167
|
end
|
4086
4168
|
end
|
4087
4169
|
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.30.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 = "
|
25
|
+
REVISION = "20230530"
|
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
|
@@ -1764,6 +1781,9 @@ module Google
|
|
1764
1781
|
# @private
|
1765
1782
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1766
1783
|
property :end_time, as: 'endTime'
|
1784
|
+
property :execution_spec, as: 'executionSpec', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1TaskExecutionSpec, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1TaskExecutionSpec::Representation
|
1785
|
+
|
1786
|
+
hash :labels, as: 'labels'
|
1767
1787
|
property :message, as: 'message'
|
1768
1788
|
property :name, as: 'name'
|
1769
1789
|
property :retry_count, as: 'retryCount'
|
@@ -1771,6 +1791,7 @@ module Google
|
|
1771
1791
|
property :service_job, as: 'serviceJob'
|
1772
1792
|
property :start_time, as: 'startTime'
|
1773
1793
|
property :state, as: 'state'
|
1794
|
+
property :trigger, as: 'trigger'
|
1774
1795
|
property :uid, as: 'uid'
|
1775
1796
|
end
|
1776
1797
|
end
|
@@ -1779,6 +1800,7 @@ module Google
|
|
1779
1800
|
# @private
|
1780
1801
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1781
1802
|
property :end_time, as: 'endTime'
|
1803
|
+
property :execution_trigger, as: 'executionTrigger'
|
1782
1804
|
property :job_id, as: 'jobId'
|
1783
1805
|
property :message, as: 'message'
|
1784
1806
|
property :retries, as: 'retries'
|
@@ -2027,6 +2049,8 @@ module Google
|
|
2027
2049
|
class GoogleCloudDataplexV1RunTaskRequest
|
2028
2050
|
# @private
|
2029
2051
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2052
|
+
hash :args, as: 'args'
|
2053
|
+
hash :labels, as: 'labels'
|
2030
2054
|
end
|
2031
2055
|
end
|
2032
2056
|
|
@@ -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.
|
4
|
+
version: 0.30.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-
|
11
|
+
date: 2023-06-04 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dataplex_v1/v0.30.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: []
|