google-apis-dataplex_v1 0.28.0 → 0.30.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:
|
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
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-dataplex_v1
|
2
2
|
|
3
|
+
### v0.30.0 (2023-06-04)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230530
|
6
|
+
|
7
|
+
### v0.29.0 (2023-05-14)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230503
|
10
|
+
|
3
11
|
### v0.28.0 (2023-04-30)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230423
|
@@ -1473,6 +1473,23 @@ 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
|
+
|
1486
|
+
# Optional. A filter applied to all rows in a single DataScan job. The filter
|
1487
|
+
# needs to be a valid SQL expression for a WHERE clause in BigQuery standard SQL
|
1488
|
+
# syntax. Example: col1 >= 0 AND col2 < 10
|
1489
|
+
# Corresponds to the JSON property `rowFilter`
|
1490
|
+
# @return [String]
|
1491
|
+
attr_accessor :row_filter
|
1492
|
+
|
1476
1493
|
# Optional. The percentage of the records to be selected from the dataset for
|
1477
1494
|
# DataScan. Value can range between 0.0 and 100.0 with up to 3 significant
|
1478
1495
|
# decimal digits. Sampling is not applied if sampling_percent is not specified,
|
@@ -1487,10 +1504,35 @@ module Google
|
|
1487
1504
|
|
1488
1505
|
# Update properties of this object
|
1489
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)
|
1509
|
+
@row_filter = args[:row_filter] if args.key?(:row_filter)
|
1490
1510
|
@sampling_percent = args[:sampling_percent] if args.key?(:sampling_percent)
|
1491
1511
|
end
|
1492
1512
|
end
|
1493
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
|
+
|
1494
1536
|
# DataQualityDimensionResult provides a more detailed, per-dimension view of the
|
1495
1537
|
# results.
|
1496
1538
|
class GoogleCloudDataplexV1DataQualityDimensionResult
|
@@ -1921,6 +1963,13 @@ module Google
|
|
1921
1963
|
class GoogleCloudDataplexV1DataQualitySpec
|
1922
1964
|
include Google::Apis::Core::Hashable
|
1923
1965
|
|
1966
|
+
# Optional. A filter applied to all rows in a single DataScan job. The filter
|
1967
|
+
# needs to be a valid SQL expression for a WHERE clause in BigQuery standard SQL
|
1968
|
+
# syntax. Example: col1 >= 0 AND col2 < 10
|
1969
|
+
# Corresponds to the JSON property `rowFilter`
|
1970
|
+
# @return [String]
|
1971
|
+
attr_accessor :row_filter
|
1972
|
+
|
1924
1973
|
# The list of rules to evaluate against a data source. At least one rule is
|
1925
1974
|
# required.
|
1926
1975
|
# Corresponds to the JSON property `rules`
|
@@ -1941,6 +1990,7 @@ module Google
|
|
1941
1990
|
|
1942
1991
|
# Update properties of this object
|
1943
1992
|
def update!(**args)
|
1993
|
+
@row_filter = args[:row_filter] if args.key?(:row_filter)
|
1944
1994
|
@rules = args[:rules] if args.key?(:rules)
|
1945
1995
|
@sampling_percent = args[:sampling_percent] if args.key?(:sampling_percent)
|
1946
1996
|
end
|
@@ -2074,11 +2124,21 @@ module Google
|
|
2074
2124
|
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventDataProfileResult]
|
2075
2125
|
attr_accessor :data_profile
|
2076
2126
|
|
2127
|
+
# Applied configs for data profile type data scan job.
|
2128
|
+
# Corresponds to the JSON property `dataProfileConfigs`
|
2129
|
+
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventDataProfileAppliedConfigs]
|
2130
|
+
attr_accessor :data_profile_configs
|
2131
|
+
|
2077
2132
|
# Data quality result for data scan job.
|
2078
2133
|
# Corresponds to the JSON property `dataQuality`
|
2079
2134
|
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventDataQualityResult]
|
2080
2135
|
attr_accessor :data_quality
|
2081
2136
|
|
2137
|
+
# Applied configs for data quality type data scan job.
|
2138
|
+
# Corresponds to the JSON property `dataQualityConfigs`
|
2139
|
+
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventDataQualityAppliedConfigs]
|
2140
|
+
attr_accessor :data_quality_configs
|
2141
|
+
|
2082
2142
|
# The data source of the data scan
|
2083
2143
|
# Corresponds to the JSON property `dataSource`
|
2084
2144
|
# @return [String]
|
@@ -2136,7 +2196,9 @@ module Google
|
|
2136
2196
|
# Update properties of this object
|
2137
2197
|
def update!(**args)
|
2138
2198
|
@data_profile = args[:data_profile] if args.key?(:data_profile)
|
2199
|
+
@data_profile_configs = args[:data_profile_configs] if args.key?(:data_profile_configs)
|
2139
2200
|
@data_quality = args[:data_quality] if args.key?(:data_quality)
|
2201
|
+
@data_quality_configs = args[:data_quality_configs] if args.key?(:data_quality_configs)
|
2140
2202
|
@data_source = args[:data_source] if args.key?(:data_source)
|
2141
2203
|
@end_time = args[:end_time] if args.key?(:end_time)
|
2142
2204
|
@job_id = args[:job_id] if args.key?(:job_id)
|
@@ -2150,6 +2212,34 @@ module Google
|
|
2150
2212
|
end
|
2151
2213
|
end
|
2152
2214
|
|
2215
|
+
# Applied configs for data profile type data scan job.
|
2216
|
+
class GoogleCloudDataplexV1DataScanEventDataProfileAppliedConfigs
|
2217
|
+
include Google::Apis::Core::Hashable
|
2218
|
+
|
2219
|
+
# Boolean indicating whether a row filter was applied in the DataScan job.
|
2220
|
+
# Corresponds to the JSON property `rowFilterApplied`
|
2221
|
+
# @return [Boolean]
|
2222
|
+
attr_accessor :row_filter_applied
|
2223
|
+
alias_method :row_filter_applied?, :row_filter_applied
|
2224
|
+
|
2225
|
+
# The percentage of the records selected from the dataset for DataScan. Value
|
2226
|
+
# ranges between 0.0 and 100.0. Value 0.0 or 100.0 imply that sampling was not
|
2227
|
+
# applied.
|
2228
|
+
# Corresponds to the JSON property `samplingPercent`
|
2229
|
+
# @return [Float]
|
2230
|
+
attr_accessor :sampling_percent
|
2231
|
+
|
2232
|
+
def initialize(**args)
|
2233
|
+
update!(**args)
|
2234
|
+
end
|
2235
|
+
|
2236
|
+
# Update properties of this object
|
2237
|
+
def update!(**args)
|
2238
|
+
@row_filter_applied = args[:row_filter_applied] if args.key?(:row_filter_applied)
|
2239
|
+
@sampling_percent = args[:sampling_percent] if args.key?(:sampling_percent)
|
2240
|
+
end
|
2241
|
+
end
|
2242
|
+
|
2153
2243
|
# Data profile result for data scan job.
|
2154
2244
|
class GoogleCloudDataplexV1DataScanEventDataProfileResult
|
2155
2245
|
include Google::Apis::Core::Hashable
|
@@ -2169,6 +2259,34 @@ module Google
|
|
2169
2259
|
end
|
2170
2260
|
end
|
2171
2261
|
|
2262
|
+
# Applied configs for data quality type data scan job.
|
2263
|
+
class GoogleCloudDataplexV1DataScanEventDataQualityAppliedConfigs
|
2264
|
+
include Google::Apis::Core::Hashable
|
2265
|
+
|
2266
|
+
# Boolean indicating whether a row filter was applied in the DataScan job.
|
2267
|
+
# Corresponds to the JSON property `rowFilterApplied`
|
2268
|
+
# @return [Boolean]
|
2269
|
+
attr_accessor :row_filter_applied
|
2270
|
+
alias_method :row_filter_applied?, :row_filter_applied
|
2271
|
+
|
2272
|
+
# The percentage of the records selected from the dataset for DataScan. Value
|
2273
|
+
# ranges between 0.0 and 100.0. Value 0.0 or 100.0 imply that sampling was not
|
2274
|
+
# applied.
|
2275
|
+
# Corresponds to the JSON property `samplingPercent`
|
2276
|
+
# @return [Float]
|
2277
|
+
attr_accessor :sampling_percent
|
2278
|
+
|
2279
|
+
def initialize(**args)
|
2280
|
+
update!(**args)
|
2281
|
+
end
|
2282
|
+
|
2283
|
+
# Update properties of this object
|
2284
|
+
def update!(**args)
|
2285
|
+
@row_filter_applied = args[:row_filter_applied] if args.key?(:row_filter_applied)
|
2286
|
+
@sampling_percent = args[:sampling_percent] if args.key?(:sampling_percent)
|
2287
|
+
end
|
2288
|
+
end
|
2289
|
+
|
2172
2290
|
# Data quality result for data scan job.
|
2173
2291
|
class GoogleCloudDataplexV1DataScanEventDataQualityResult
|
2174
2292
|
include Google::Apis::Core::Hashable
|
@@ -2810,7 +2928,7 @@ module Google
|
|
2810
2928
|
end
|
2811
2929
|
|
2812
2930
|
# Environment represents a user-visible compute infrastructure for analytics
|
2813
|
-
# within a lake.
|
2931
|
+
# within a lake. LINT.IfChange
|
2814
2932
|
class GoogleCloudDataplexV1Environment
|
2815
2933
|
include Google::Apis::Core::Hashable
|
2816
2934
|
|
@@ -3085,6 +3203,16 @@ module Google
|
|
3085
3203
|
# @return [String]
|
3086
3204
|
attr_accessor :end_time
|
3087
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
|
+
|
3088
3216
|
# Output only. Additional information about the current state.
|
3089
3217
|
# Corresponds to the JSON property `message`
|
3090
3218
|
# @return [String]
|
@@ -3123,6 +3251,11 @@ module Google
|
|
3123
3251
|
# @return [String]
|
3124
3252
|
attr_accessor :state
|
3125
3253
|
|
3254
|
+
# Output only. Job execution trigger.
|
3255
|
+
# Corresponds to the JSON property `trigger`
|
3256
|
+
# @return [String]
|
3257
|
+
attr_accessor :trigger
|
3258
|
+
|
3126
3259
|
# Output only. System generated globally unique ID for the job.
|
3127
3260
|
# Corresponds to the JSON property `uid`
|
3128
3261
|
# @return [String]
|
@@ -3135,6 +3268,8 @@ module Google
|
|
3135
3268
|
# Update properties of this object
|
3136
3269
|
def update!(**args)
|
3137
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)
|
3138
3273
|
@message = args[:message] if args.key?(:message)
|
3139
3274
|
@name = args[:name] if args.key?(:name)
|
3140
3275
|
@retry_count = args[:retry_count] if args.key?(:retry_count)
|
@@ -3142,6 +3277,7 @@ module Google
|
|
3142
3277
|
@service_job = args[:service_job] if args.key?(:service_job)
|
3143
3278
|
@start_time = args[:start_time] if args.key?(:start_time)
|
3144
3279
|
@state = args[:state] if args.key?(:state)
|
3280
|
+
@trigger = args[:trigger] if args.key?(:trigger)
|
3145
3281
|
@uid = args[:uid] if args.key?(:uid)
|
3146
3282
|
end
|
3147
3283
|
end
|
@@ -3156,6 +3292,11 @@ module Google
|
|
3156
3292
|
# @return [String]
|
3157
3293
|
attr_accessor :end_time
|
3158
3294
|
|
3295
|
+
# Job execution trigger.
|
3296
|
+
# Corresponds to the JSON property `executionTrigger`
|
3297
|
+
# @return [String]
|
3298
|
+
attr_accessor :execution_trigger
|
3299
|
+
|
3159
3300
|
# The unique id identifying the job.
|
3160
3301
|
# Corresponds to the JSON property `jobId`
|
3161
3302
|
# @return [String]
|
@@ -3203,6 +3344,7 @@ module Google
|
|
3203
3344
|
# Update properties of this object
|
3204
3345
|
def update!(**args)
|
3205
3346
|
@end_time = args[:end_time] if args.key?(:end_time)
|
3347
|
+
@execution_trigger = args[:execution_trigger] if args.key?(:execution_trigger)
|
3206
3348
|
@job_id = args[:job_id] if args.key?(:job_id)
|
3207
3349
|
@message = args[:message] if args.key?(:message)
|
3208
3350
|
@retries = args[:retries] if args.key?(:retries)
|
@@ -3992,12 +4134,36 @@ module Google
|
|
3992
4134
|
class GoogleCloudDataplexV1RunTaskRequest
|
3993
4135
|
include Google::Apis::Core::Hashable
|
3994
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
|
+
|
3995
4159
|
def initialize(**args)
|
3996
4160
|
update!(**args)
|
3997
4161
|
end
|
3998
4162
|
|
3999
4163
|
# Update properties of this object
|
4000
4164
|
def update!(**args)
|
4165
|
+
@args = args[:args] if args.key?(:args)
|
4166
|
+
@labels = args[:labels] if args.key?(:labels)
|
4001
4167
|
end
|
4002
4168
|
end
|
4003
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
|
|
@@ -334,12 +340,24 @@ module Google
|
|
334
340
|
include Google::Apis::Core::JsonObjectSupport
|
335
341
|
end
|
336
342
|
|
343
|
+
class GoogleCloudDataplexV1DataScanEventDataProfileAppliedConfigs
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
+
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
347
|
+
end
|
348
|
+
|
337
349
|
class GoogleCloudDataplexV1DataScanEventDataProfileResult
|
338
350
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
351
|
|
340
352
|
include Google::Apis::Core::JsonObjectSupport
|
341
353
|
end
|
342
354
|
|
355
|
+
class GoogleCloudDataplexV1DataScanEventDataQualityAppliedConfigs
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
|
+
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
359
|
+
end
|
360
|
+
|
343
361
|
class GoogleCloudDataplexV1DataScanEventDataQualityResult
|
344
362
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
363
|
|
@@ -1293,10 +1311,22 @@ module Google
|
|
1293
1311
|
class GoogleCloudDataplexV1DataProfileSpec
|
1294
1312
|
# @private
|
1295
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
|
+
|
1318
|
+
property :row_filter, as: 'rowFilter'
|
1296
1319
|
property :sampling_percent, as: 'samplingPercent'
|
1297
1320
|
end
|
1298
1321
|
end
|
1299
1322
|
|
1323
|
+
class GoogleCloudDataplexV1DataProfileSpecSelectedFields
|
1324
|
+
# @private
|
1325
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1326
|
+
collection :field_names, as: 'fieldNames'
|
1327
|
+
end
|
1328
|
+
end
|
1329
|
+
|
1300
1330
|
class GoogleCloudDataplexV1DataQualityDimensionResult
|
1301
1331
|
# @private
|
1302
1332
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1422,6 +1452,7 @@ module Google
|
|
1422
1452
|
class GoogleCloudDataplexV1DataQualitySpec
|
1423
1453
|
# @private
|
1424
1454
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1455
|
+
property :row_filter, as: 'rowFilter'
|
1425
1456
|
collection :rules, as: 'rules', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRule, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRule::Representation
|
1426
1457
|
|
1427
1458
|
property :sampling_percent, as: 'samplingPercent'
|
@@ -1462,8 +1493,12 @@ module Google
|
|
1462
1493
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1463
1494
|
property :data_profile, as: 'dataProfile', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventDataProfileResult, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventDataProfileResult::Representation
|
1464
1495
|
|
1496
|
+
property :data_profile_configs, as: 'dataProfileConfigs', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventDataProfileAppliedConfigs, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventDataProfileAppliedConfigs::Representation
|
1497
|
+
|
1465
1498
|
property :data_quality, as: 'dataQuality', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventDataQualityResult, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventDataQualityResult::Representation
|
1466
1499
|
|
1500
|
+
property :data_quality_configs, as: 'dataQualityConfigs', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventDataQualityAppliedConfigs, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventDataQualityAppliedConfigs::Representation
|
1501
|
+
|
1467
1502
|
property :data_source, as: 'dataSource'
|
1468
1503
|
property :end_time, as: 'endTime'
|
1469
1504
|
property :job_id, as: 'jobId'
|
@@ -1477,6 +1512,14 @@ module Google
|
|
1477
1512
|
end
|
1478
1513
|
end
|
1479
1514
|
|
1515
|
+
class GoogleCloudDataplexV1DataScanEventDataProfileAppliedConfigs
|
1516
|
+
# @private
|
1517
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1518
|
+
property :row_filter_applied, as: 'rowFilterApplied'
|
1519
|
+
property :sampling_percent, as: 'samplingPercent'
|
1520
|
+
end
|
1521
|
+
end
|
1522
|
+
|
1480
1523
|
class GoogleCloudDataplexV1DataScanEventDataProfileResult
|
1481
1524
|
# @private
|
1482
1525
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1484,6 +1527,14 @@ module Google
|
|
1484
1527
|
end
|
1485
1528
|
end
|
1486
1529
|
|
1530
|
+
class GoogleCloudDataplexV1DataScanEventDataQualityAppliedConfigs
|
1531
|
+
# @private
|
1532
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1533
|
+
property :row_filter_applied, as: 'rowFilterApplied'
|
1534
|
+
property :sampling_percent, as: 'samplingPercent'
|
1535
|
+
end
|
1536
|
+
end
|
1537
|
+
|
1487
1538
|
class GoogleCloudDataplexV1DataScanEventDataQualityResult
|
1488
1539
|
# @private
|
1489
1540
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1730,6 +1781,9 @@ module Google
|
|
1730
1781
|
# @private
|
1731
1782
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1732
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'
|
1733
1787
|
property :message, as: 'message'
|
1734
1788
|
property :name, as: 'name'
|
1735
1789
|
property :retry_count, as: 'retryCount'
|
@@ -1737,6 +1791,7 @@ module Google
|
|
1737
1791
|
property :service_job, as: 'serviceJob'
|
1738
1792
|
property :start_time, as: 'startTime'
|
1739
1793
|
property :state, as: 'state'
|
1794
|
+
property :trigger, as: 'trigger'
|
1740
1795
|
property :uid, as: 'uid'
|
1741
1796
|
end
|
1742
1797
|
end
|
@@ -1745,6 +1800,7 @@ module Google
|
|
1745
1800
|
# @private
|
1746
1801
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1747
1802
|
property :end_time, as: 'endTime'
|
1803
|
+
property :execution_trigger, as: 'executionTrigger'
|
1748
1804
|
property :job_id, as: 'jobId'
|
1749
1805
|
property :message, as: 'message'
|
1750
1806
|
property :retries, as: 'retries'
|
@@ -1993,6 +2049,8 @@ module Google
|
|
1993
2049
|
class GoogleCloudDataplexV1RunTaskRequest
|
1994
2050
|
# @private
|
1995
2051
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2052
|
+
hash :args, as: 'args'
|
2053
|
+
hash :labels, as: 'labels'
|
1996
2054
|
end
|
1997
2055
|
end
|
1998
2056
|
|
@@ -122,6 +122,127 @@ module Google
|
|
122
122
|
execute_or_queue_command(command, &block)
|
123
123
|
end
|
124
124
|
|
125
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
126
|
+
# resource exists and does not have a policy set.
|
127
|
+
# @param [String] resource
|
128
|
+
# REQUIRED: The resource for which the policy is being requested. See Resource
|
129
|
+
# names (https://cloud.google.com/apis/design/resource_names) for the
|
130
|
+
# appropriate value for this field.
|
131
|
+
# @param [Fixnum] options_requested_policy_version
|
132
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
133
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
134
|
+
# rejected.Requests for policies with any conditional role bindings must specify
|
135
|
+
# version 3. Policies with no conditional role bindings may specify any valid
|
136
|
+
# value or leave the field unset.The policy in the response might use the policy
|
137
|
+
# version that you specified, or it might use a lower policy version. For
|
138
|
+
# example, if you specify version 3, but the policy has no conditional role
|
139
|
+
# bindings, the response uses version 1.To learn which resources support
|
140
|
+
# conditions in their IAM policies, see the IAM documentation (https://cloud.
|
141
|
+
# google.com/iam/help/conditions/resource-policies).
|
142
|
+
# @param [String] fields
|
143
|
+
# Selector specifying which fields to include in a partial response.
|
144
|
+
# @param [String] quota_user
|
145
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
146
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
147
|
+
# @param [Google::Apis::RequestOptions] options
|
148
|
+
# Request-specific options
|
149
|
+
#
|
150
|
+
# @yield [result, err] Result & error if block supplied
|
151
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object
|
152
|
+
# @yieldparam err [StandardError] error object if request failed
|
153
|
+
#
|
154
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1Policy]
|
155
|
+
#
|
156
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
157
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
158
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
159
|
+
def get_project_location_aspect_type_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
160
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
161
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation
|
162
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy
|
163
|
+
command.params['resource'] = resource unless resource.nil?
|
164
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
165
|
+
command.query['fields'] = fields unless fields.nil?
|
166
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
167
|
+
execute_or_queue_command(command, &block)
|
168
|
+
end
|
169
|
+
|
170
|
+
# Sets the access control policy on the specified resource. Replaces any
|
171
|
+
# existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
|
172
|
+
# errors.
|
173
|
+
# @param [String] resource
|
174
|
+
# REQUIRED: The resource for which the policy is being specified. See Resource
|
175
|
+
# names (https://cloud.google.com/apis/design/resource_names) for the
|
176
|
+
# appropriate value for this field.
|
177
|
+
# @param [Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
178
|
+
# @param [String] fields
|
179
|
+
# Selector specifying which fields to include in a partial response.
|
180
|
+
# @param [String] quota_user
|
181
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
182
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
183
|
+
# @param [Google::Apis::RequestOptions] options
|
184
|
+
# Request-specific options
|
185
|
+
#
|
186
|
+
# @yield [result, err] Result & error if block supplied
|
187
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object
|
188
|
+
# @yieldparam err [StandardError] error object if request failed
|
189
|
+
#
|
190
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1Policy]
|
191
|
+
#
|
192
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
193
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
194
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
195
|
+
def set_project_location_aspect_type_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
196
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
197
|
+
command.request_representation = Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest::Representation
|
198
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
199
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation
|
200
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy
|
201
|
+
command.params['resource'] = resource unless resource.nil?
|
202
|
+
command.query['fields'] = fields unless fields.nil?
|
203
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
204
|
+
execute_or_queue_command(command, &block)
|
205
|
+
end
|
206
|
+
|
207
|
+
# Returns permissions that a caller has on the specified resource. If the
|
208
|
+
# resource does not exist, this will return an empty set of permissions, not a
|
209
|
+
# NOT_FOUND error.Note: This operation is designed to be used for building
|
210
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
211
|
+
# This operation may "fail open" without warning.
|
212
|
+
# @param [String] resource
|
213
|
+
# REQUIRED: The resource for which the policy detail is being requested. See
|
214
|
+
# Resource names (https://cloud.google.com/apis/design/resource_names) for the
|
215
|
+
# appropriate value for this field.
|
216
|
+
# @param [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
217
|
+
# @param [String] fields
|
218
|
+
# Selector specifying which fields to include in a partial response.
|
219
|
+
# @param [String] quota_user
|
220
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
221
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
222
|
+
# @param [Google::Apis::RequestOptions] options
|
223
|
+
# Request-specific options
|
224
|
+
#
|
225
|
+
# @yield [result, err] Result & error if block supplied
|
226
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
227
|
+
# @yieldparam err [StandardError] error object if request failed
|
228
|
+
#
|
229
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse]
|
230
|
+
#
|
231
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
232
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
233
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
234
|
+
def test_project_location_aspect_type_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
235
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
236
|
+
command.request_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest::Representation
|
237
|
+
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
238
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse::Representation
|
239
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse
|
240
|
+
command.params['resource'] = resource unless resource.nil?
|
241
|
+
command.query['fields'] = fields unless fields.nil?
|
242
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
243
|
+
execute_or_queue_command(command, &block)
|
244
|
+
end
|
245
|
+
|
125
246
|
# Create a DataAttributeBinding resource.
|
126
247
|
# @param [String] parent
|
127
248
|
# Required. The resource name of the parent data taxonomy projects/`
|
@@ -852,6 +973,14 @@ module Google
|
|
852
973
|
# Required. The resource name of the parent environment: projects/`project`/
|
853
974
|
# locations/`location_id`/dataScans/`data_scan_id` where project refers to a
|
854
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.
|
855
984
|
# @param [Fixnum] page_size
|
856
985
|
# Optional. Maximum number of DataScanJobs to return. The service may return
|
857
986
|
# fewer than this value. If unspecified, at most 10 DataScanJobs will be
|
@@ -877,11 +1006,12 @@ module Google
|
|
877
1006
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
878
1007
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
879
1008
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
880
|
-
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)
|
881
1010
|
command = make_simple_command(:get, 'v1/{+parent}/jobs', options)
|
882
1011
|
command.response_representation = Google::Apis::DataplexV1::GoogleCloudDataplexV1ListDataScanJobsResponse::Representation
|
883
1012
|
command.response_class = Google::Apis::DataplexV1::GoogleCloudDataplexV1ListDataScanJobsResponse
|
884
1013
|
command.params['parent'] = parent unless parent.nil?
|
1014
|
+
command.query['filter'] = filter unless filter.nil?
|
885
1015
|
command.query['pageSize'] = page_size unless page_size.nil?
|
886
1016
|
command.query['pageToken'] = page_token unless page_token.nil?
|
887
1017
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1536,6 +1666,248 @@ module Google
|
|
1536
1666
|
execute_or_queue_command(command, &block)
|
1537
1667
|
end
|
1538
1668
|
|
1669
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
1670
|
+
# resource exists and does not have a policy set.
|
1671
|
+
# @param [String] resource
|
1672
|
+
# REQUIRED: The resource for which the policy is being requested. See Resource
|
1673
|
+
# names (https://cloud.google.com/apis/design/resource_names) for the
|
1674
|
+
# appropriate value for this field.
|
1675
|
+
# @param [Fixnum] options_requested_policy_version
|
1676
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
1677
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
1678
|
+
# rejected.Requests for policies with any conditional role bindings must specify
|
1679
|
+
# version 3. Policies with no conditional role bindings may specify any valid
|
1680
|
+
# value or leave the field unset.The policy in the response might use the policy
|
1681
|
+
# version that you specified, or it might use a lower policy version. For
|
1682
|
+
# example, if you specify version 3, but the policy has no conditional role
|
1683
|
+
# bindings, the response uses version 1.To learn which resources support
|
1684
|
+
# conditions in their IAM policies, see the IAM documentation (https://cloud.
|
1685
|
+
# google.com/iam/help/conditions/resource-policies).
|
1686
|
+
# @param [String] fields
|
1687
|
+
# Selector specifying which fields to include in a partial response.
|
1688
|
+
# @param [String] quota_user
|
1689
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1690
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1691
|
+
# @param [Google::Apis::RequestOptions] options
|
1692
|
+
# Request-specific options
|
1693
|
+
#
|
1694
|
+
# @yield [result, err] Result & error if block supplied
|
1695
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object
|
1696
|
+
# @yieldparam err [StandardError] error object if request failed
|
1697
|
+
#
|
1698
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1Policy]
|
1699
|
+
#
|
1700
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1701
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1702
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1703
|
+
def get_project_location_entry_group_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1704
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
1705
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation
|
1706
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy
|
1707
|
+
command.params['resource'] = resource unless resource.nil?
|
1708
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
1709
|
+
command.query['fields'] = fields unless fields.nil?
|
1710
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1711
|
+
execute_or_queue_command(command, &block)
|
1712
|
+
end
|
1713
|
+
|
1714
|
+
# Sets the access control policy on the specified resource. Replaces any
|
1715
|
+
# existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
|
1716
|
+
# errors.
|
1717
|
+
# @param [String] resource
|
1718
|
+
# REQUIRED: The resource for which the policy is being specified. See Resource
|
1719
|
+
# names (https://cloud.google.com/apis/design/resource_names) for the
|
1720
|
+
# appropriate value for this field.
|
1721
|
+
# @param [Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
1722
|
+
# @param [String] fields
|
1723
|
+
# Selector specifying which fields to include in a partial response.
|
1724
|
+
# @param [String] quota_user
|
1725
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1726
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1727
|
+
# @param [Google::Apis::RequestOptions] options
|
1728
|
+
# Request-specific options
|
1729
|
+
#
|
1730
|
+
# @yield [result, err] Result & error if block supplied
|
1731
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object
|
1732
|
+
# @yieldparam err [StandardError] error object if request failed
|
1733
|
+
#
|
1734
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1Policy]
|
1735
|
+
#
|
1736
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1737
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1738
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1739
|
+
def set_project_location_entry_group_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1740
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
1741
|
+
command.request_representation = Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest::Representation
|
1742
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
1743
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation
|
1744
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy
|
1745
|
+
command.params['resource'] = resource unless resource.nil?
|
1746
|
+
command.query['fields'] = fields unless fields.nil?
|
1747
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1748
|
+
execute_or_queue_command(command, &block)
|
1749
|
+
end
|
1750
|
+
|
1751
|
+
# Returns permissions that a caller has on the specified resource. If the
|
1752
|
+
# resource does not exist, this will return an empty set of permissions, not a
|
1753
|
+
# NOT_FOUND error.Note: This operation is designed to be used for building
|
1754
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
1755
|
+
# This operation may "fail open" without warning.
|
1756
|
+
# @param [String] resource
|
1757
|
+
# REQUIRED: The resource for which the policy detail is being requested. See
|
1758
|
+
# Resource names (https://cloud.google.com/apis/design/resource_names) for the
|
1759
|
+
# appropriate value for this field.
|
1760
|
+
# @param [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
1761
|
+
# @param [String] fields
|
1762
|
+
# Selector specifying which fields to include in a partial response.
|
1763
|
+
# @param [String] quota_user
|
1764
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1765
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1766
|
+
# @param [Google::Apis::RequestOptions] options
|
1767
|
+
# Request-specific options
|
1768
|
+
#
|
1769
|
+
# @yield [result, err] Result & error if block supplied
|
1770
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
1771
|
+
# @yieldparam err [StandardError] error object if request failed
|
1772
|
+
#
|
1773
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse]
|
1774
|
+
#
|
1775
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1776
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1777
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1778
|
+
def test_project_location_entry_group_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1779
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
1780
|
+
command.request_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest::Representation
|
1781
|
+
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
1782
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse::Representation
|
1783
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse
|
1784
|
+
command.params['resource'] = resource unless resource.nil?
|
1785
|
+
command.query['fields'] = fields unless fields.nil?
|
1786
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1787
|
+
execute_or_queue_command(command, &block)
|
1788
|
+
end
|
1789
|
+
|
1790
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
1791
|
+
# resource exists and does not have a policy set.
|
1792
|
+
# @param [String] resource
|
1793
|
+
# REQUIRED: The resource for which the policy is being requested. See Resource
|
1794
|
+
# names (https://cloud.google.com/apis/design/resource_names) for the
|
1795
|
+
# appropriate value for this field.
|
1796
|
+
# @param [Fixnum] options_requested_policy_version
|
1797
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
1798
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
1799
|
+
# rejected.Requests for policies with any conditional role bindings must specify
|
1800
|
+
# version 3. Policies with no conditional role bindings may specify any valid
|
1801
|
+
# value or leave the field unset.The policy in the response might use the policy
|
1802
|
+
# version that you specified, or it might use a lower policy version. For
|
1803
|
+
# example, if you specify version 3, but the policy has no conditional role
|
1804
|
+
# bindings, the response uses version 1.To learn which resources support
|
1805
|
+
# conditions in their IAM policies, see the IAM documentation (https://cloud.
|
1806
|
+
# google.com/iam/help/conditions/resource-policies).
|
1807
|
+
# @param [String] fields
|
1808
|
+
# Selector specifying which fields to include in a partial response.
|
1809
|
+
# @param [String] quota_user
|
1810
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1811
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1812
|
+
# @param [Google::Apis::RequestOptions] options
|
1813
|
+
# Request-specific options
|
1814
|
+
#
|
1815
|
+
# @yield [result, err] Result & error if block supplied
|
1816
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object
|
1817
|
+
# @yieldparam err [StandardError] error object if request failed
|
1818
|
+
#
|
1819
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1Policy]
|
1820
|
+
#
|
1821
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1822
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1823
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1824
|
+
def get_project_location_entry_type_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1825
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
1826
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation
|
1827
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy
|
1828
|
+
command.params['resource'] = resource unless resource.nil?
|
1829
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
1830
|
+
command.query['fields'] = fields unless fields.nil?
|
1831
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1832
|
+
execute_or_queue_command(command, &block)
|
1833
|
+
end
|
1834
|
+
|
1835
|
+
# Sets the access control policy on the specified resource. Replaces any
|
1836
|
+
# existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
|
1837
|
+
# errors.
|
1838
|
+
# @param [String] resource
|
1839
|
+
# REQUIRED: The resource for which the policy is being specified. See Resource
|
1840
|
+
# names (https://cloud.google.com/apis/design/resource_names) for the
|
1841
|
+
# appropriate value for this field.
|
1842
|
+
# @param [Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
1843
|
+
# @param [String] fields
|
1844
|
+
# Selector specifying which fields to include in a partial response.
|
1845
|
+
# @param [String] quota_user
|
1846
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1847
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1848
|
+
# @param [Google::Apis::RequestOptions] options
|
1849
|
+
# Request-specific options
|
1850
|
+
#
|
1851
|
+
# @yield [result, err] Result & error if block supplied
|
1852
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object
|
1853
|
+
# @yieldparam err [StandardError] error object if request failed
|
1854
|
+
#
|
1855
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1Policy]
|
1856
|
+
#
|
1857
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1858
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1859
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1860
|
+
def set_project_location_entry_type_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1861
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
1862
|
+
command.request_representation = Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest::Representation
|
1863
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
1864
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation
|
1865
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy
|
1866
|
+
command.params['resource'] = resource unless resource.nil?
|
1867
|
+
command.query['fields'] = fields unless fields.nil?
|
1868
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1869
|
+
execute_or_queue_command(command, &block)
|
1870
|
+
end
|
1871
|
+
|
1872
|
+
# Returns permissions that a caller has on the specified resource. If the
|
1873
|
+
# resource does not exist, this will return an empty set of permissions, not a
|
1874
|
+
# NOT_FOUND error.Note: This operation is designed to be used for building
|
1875
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
1876
|
+
# This operation may "fail open" without warning.
|
1877
|
+
# @param [String] resource
|
1878
|
+
# REQUIRED: The resource for which the policy detail is being requested. See
|
1879
|
+
# Resource names (https://cloud.google.com/apis/design/resource_names) for the
|
1880
|
+
# appropriate value for this field.
|
1881
|
+
# @param [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
1882
|
+
# @param [String] fields
|
1883
|
+
# Selector specifying which fields to include in a partial response.
|
1884
|
+
# @param [String] quota_user
|
1885
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1886
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1887
|
+
# @param [Google::Apis::RequestOptions] options
|
1888
|
+
# Request-specific options
|
1889
|
+
#
|
1890
|
+
# @yield [result, err] Result & error if block supplied
|
1891
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
1892
|
+
# @yieldparam err [StandardError] error object if request failed
|
1893
|
+
#
|
1894
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse]
|
1895
|
+
#
|
1896
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1897
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1898
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1899
|
+
def test_project_location_entry_type_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1900
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
1901
|
+
command.request_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest::Representation
|
1902
|
+
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
1903
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse::Representation
|
1904
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse
|
1905
|
+
command.params['resource'] = resource unless resource.nil?
|
1906
|
+
command.query['fields'] = fields unless fields.nil?
|
1907
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1908
|
+
execute_or_queue_command(command, &block)
|
1909
|
+
end
|
1910
|
+
|
1539
1911
|
# Creates a lake resource.
|
1540
1912
|
# @param [String] parent
|
1541
1913
|
# Required. The resource name of the lake location, of the form: projects/`
|
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-04
|
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: []
|