google-apis-dataplex_v1 0.28.0 → 0.29.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: 79183222691f8cadecfdc63027c620f80295eb29125613e1e4ab131b61847477
|
4
|
+
data.tar.gz: f05c6d1e8a2e73ddbfdb0502098fe39b331c9e517d3109edf7cf5814f4dc7687
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 313f481f7863cb22bf970db8cd5d625e1eb1eba388ffcefb385330764fde96b4a4a896bc468074d6f4044e8b86bb08b76a987fff798c7bd6856fd29cda95e4b1
|
7
|
+
data.tar.gz: b66d28da086fa91d589de14b3dde75ae8d44006dd4444f6f461a92f6e0371a1e0e55d6e8c35f45ca00f10264a5890c2d947e3091a14f30c459fabaf51f075150
|
data/CHANGELOG.md
CHANGED
@@ -1473,6 +1473,13 @@ module Google
|
|
1473
1473
|
class GoogleCloudDataplexV1DataProfileSpec
|
1474
1474
|
include Google::Apis::Core::Hashable
|
1475
1475
|
|
1476
|
+
# Optional. A filter applied to all rows in a single DataScan job. The filter
|
1477
|
+
# needs to be a valid SQL expression for a WHERE clause in BigQuery standard SQL
|
1478
|
+
# syntax. Example: col1 >= 0 AND col2 < 10
|
1479
|
+
# Corresponds to the JSON property `rowFilter`
|
1480
|
+
# @return [String]
|
1481
|
+
attr_accessor :row_filter
|
1482
|
+
|
1476
1483
|
# Optional. The percentage of the records to be selected from the dataset for
|
1477
1484
|
# DataScan. Value can range between 0.0 and 100.0 with up to 3 significant
|
1478
1485
|
# decimal digits. Sampling is not applied if sampling_percent is not specified,
|
@@ -1487,6 +1494,7 @@ module Google
|
|
1487
1494
|
|
1488
1495
|
# Update properties of this object
|
1489
1496
|
def update!(**args)
|
1497
|
+
@row_filter = args[:row_filter] if args.key?(:row_filter)
|
1490
1498
|
@sampling_percent = args[:sampling_percent] if args.key?(:sampling_percent)
|
1491
1499
|
end
|
1492
1500
|
end
|
@@ -1921,6 +1929,13 @@ module Google
|
|
1921
1929
|
class GoogleCloudDataplexV1DataQualitySpec
|
1922
1930
|
include Google::Apis::Core::Hashable
|
1923
1931
|
|
1932
|
+
# Optional. A filter applied to all rows in a single DataScan job. The filter
|
1933
|
+
# needs to be a valid SQL expression for a WHERE clause in BigQuery standard SQL
|
1934
|
+
# syntax. Example: col1 >= 0 AND col2 < 10
|
1935
|
+
# Corresponds to the JSON property `rowFilter`
|
1936
|
+
# @return [String]
|
1937
|
+
attr_accessor :row_filter
|
1938
|
+
|
1924
1939
|
# The list of rules to evaluate against a data source. At least one rule is
|
1925
1940
|
# required.
|
1926
1941
|
# Corresponds to the JSON property `rules`
|
@@ -1941,6 +1956,7 @@ module Google
|
|
1941
1956
|
|
1942
1957
|
# Update properties of this object
|
1943
1958
|
def update!(**args)
|
1959
|
+
@row_filter = args[:row_filter] if args.key?(:row_filter)
|
1944
1960
|
@rules = args[:rules] if args.key?(:rules)
|
1945
1961
|
@sampling_percent = args[:sampling_percent] if args.key?(:sampling_percent)
|
1946
1962
|
end
|
@@ -2074,11 +2090,21 @@ module Google
|
|
2074
2090
|
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventDataProfileResult]
|
2075
2091
|
attr_accessor :data_profile
|
2076
2092
|
|
2093
|
+
# Applied configs for data profile type data scan job.
|
2094
|
+
# Corresponds to the JSON property `dataProfileConfigs`
|
2095
|
+
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventDataProfileAppliedConfigs]
|
2096
|
+
attr_accessor :data_profile_configs
|
2097
|
+
|
2077
2098
|
# Data quality result for data scan job.
|
2078
2099
|
# Corresponds to the JSON property `dataQuality`
|
2079
2100
|
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventDataQualityResult]
|
2080
2101
|
attr_accessor :data_quality
|
2081
2102
|
|
2103
|
+
# Applied configs for data quality type data scan job.
|
2104
|
+
# Corresponds to the JSON property `dataQualityConfigs`
|
2105
|
+
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventDataQualityAppliedConfigs]
|
2106
|
+
attr_accessor :data_quality_configs
|
2107
|
+
|
2082
2108
|
# The data source of the data scan
|
2083
2109
|
# Corresponds to the JSON property `dataSource`
|
2084
2110
|
# @return [String]
|
@@ -2136,7 +2162,9 @@ module Google
|
|
2136
2162
|
# Update properties of this object
|
2137
2163
|
def update!(**args)
|
2138
2164
|
@data_profile = args[:data_profile] if args.key?(:data_profile)
|
2165
|
+
@data_profile_configs = args[:data_profile_configs] if args.key?(:data_profile_configs)
|
2139
2166
|
@data_quality = args[:data_quality] if args.key?(:data_quality)
|
2167
|
+
@data_quality_configs = args[:data_quality_configs] if args.key?(:data_quality_configs)
|
2140
2168
|
@data_source = args[:data_source] if args.key?(:data_source)
|
2141
2169
|
@end_time = args[:end_time] if args.key?(:end_time)
|
2142
2170
|
@job_id = args[:job_id] if args.key?(:job_id)
|
@@ -2150,6 +2178,34 @@ module Google
|
|
2150
2178
|
end
|
2151
2179
|
end
|
2152
2180
|
|
2181
|
+
# Applied configs for data profile type data scan job.
|
2182
|
+
class GoogleCloudDataplexV1DataScanEventDataProfileAppliedConfigs
|
2183
|
+
include Google::Apis::Core::Hashable
|
2184
|
+
|
2185
|
+
# Boolean indicating whether a row filter was applied in the DataScan job.
|
2186
|
+
# Corresponds to the JSON property `rowFilterApplied`
|
2187
|
+
# @return [Boolean]
|
2188
|
+
attr_accessor :row_filter_applied
|
2189
|
+
alias_method :row_filter_applied?, :row_filter_applied
|
2190
|
+
|
2191
|
+
# The percentage of the records selected from the dataset for DataScan. Value
|
2192
|
+
# ranges between 0.0 and 100.0. Value 0.0 or 100.0 imply that sampling was not
|
2193
|
+
# applied.
|
2194
|
+
# Corresponds to the JSON property `samplingPercent`
|
2195
|
+
# @return [Float]
|
2196
|
+
attr_accessor :sampling_percent
|
2197
|
+
|
2198
|
+
def initialize(**args)
|
2199
|
+
update!(**args)
|
2200
|
+
end
|
2201
|
+
|
2202
|
+
# Update properties of this object
|
2203
|
+
def update!(**args)
|
2204
|
+
@row_filter_applied = args[:row_filter_applied] if args.key?(:row_filter_applied)
|
2205
|
+
@sampling_percent = args[:sampling_percent] if args.key?(:sampling_percent)
|
2206
|
+
end
|
2207
|
+
end
|
2208
|
+
|
2153
2209
|
# Data profile result for data scan job.
|
2154
2210
|
class GoogleCloudDataplexV1DataScanEventDataProfileResult
|
2155
2211
|
include Google::Apis::Core::Hashable
|
@@ -2169,6 +2225,34 @@ module Google
|
|
2169
2225
|
end
|
2170
2226
|
end
|
2171
2227
|
|
2228
|
+
# Applied configs for data quality type data scan job.
|
2229
|
+
class GoogleCloudDataplexV1DataScanEventDataQualityAppliedConfigs
|
2230
|
+
include Google::Apis::Core::Hashable
|
2231
|
+
|
2232
|
+
# Boolean indicating whether a row filter was applied in the DataScan job.
|
2233
|
+
# Corresponds to the JSON property `rowFilterApplied`
|
2234
|
+
# @return [Boolean]
|
2235
|
+
attr_accessor :row_filter_applied
|
2236
|
+
alias_method :row_filter_applied?, :row_filter_applied
|
2237
|
+
|
2238
|
+
# The percentage of the records selected from the dataset for DataScan. Value
|
2239
|
+
# ranges between 0.0 and 100.0. Value 0.0 or 100.0 imply that sampling was not
|
2240
|
+
# applied.
|
2241
|
+
# Corresponds to the JSON property `samplingPercent`
|
2242
|
+
# @return [Float]
|
2243
|
+
attr_accessor :sampling_percent
|
2244
|
+
|
2245
|
+
def initialize(**args)
|
2246
|
+
update!(**args)
|
2247
|
+
end
|
2248
|
+
|
2249
|
+
# Update properties of this object
|
2250
|
+
def update!(**args)
|
2251
|
+
@row_filter_applied = args[:row_filter_applied] if args.key?(:row_filter_applied)
|
2252
|
+
@sampling_percent = args[:sampling_percent] if args.key?(:sampling_percent)
|
2253
|
+
end
|
2254
|
+
end
|
2255
|
+
|
2172
2256
|
# Data quality result for data scan job.
|
2173
2257
|
class GoogleCloudDataplexV1DataScanEventDataQualityResult
|
2174
2258
|
include Google::Apis::Core::Hashable
|
@@ -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.29.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 = "20230503"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -334,12 +334,24 @@ module Google
|
|
334
334
|
include Google::Apis::Core::JsonObjectSupport
|
335
335
|
end
|
336
336
|
|
337
|
+
class GoogleCloudDataplexV1DataScanEventDataProfileAppliedConfigs
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
|
+
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
341
|
+
end
|
342
|
+
|
337
343
|
class GoogleCloudDataplexV1DataScanEventDataProfileResult
|
338
344
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
345
|
|
340
346
|
include Google::Apis::Core::JsonObjectSupport
|
341
347
|
end
|
342
348
|
|
349
|
+
class GoogleCloudDataplexV1DataScanEventDataQualityAppliedConfigs
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
|
+
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
353
|
+
end
|
354
|
+
|
343
355
|
class GoogleCloudDataplexV1DataScanEventDataQualityResult
|
344
356
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
357
|
|
@@ -1293,6 +1305,7 @@ module Google
|
|
1293
1305
|
class GoogleCloudDataplexV1DataProfileSpec
|
1294
1306
|
# @private
|
1295
1307
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1308
|
+
property :row_filter, as: 'rowFilter'
|
1296
1309
|
property :sampling_percent, as: 'samplingPercent'
|
1297
1310
|
end
|
1298
1311
|
end
|
@@ -1422,6 +1435,7 @@ module Google
|
|
1422
1435
|
class GoogleCloudDataplexV1DataQualitySpec
|
1423
1436
|
# @private
|
1424
1437
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1438
|
+
property :row_filter, as: 'rowFilter'
|
1425
1439
|
collection :rules, as: 'rules', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRule, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRule::Representation
|
1426
1440
|
|
1427
1441
|
property :sampling_percent, as: 'samplingPercent'
|
@@ -1462,8 +1476,12 @@ module Google
|
|
1462
1476
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1463
1477
|
property :data_profile, as: 'dataProfile', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventDataProfileResult, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventDataProfileResult::Representation
|
1464
1478
|
|
1479
|
+
property :data_profile_configs, as: 'dataProfileConfigs', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventDataProfileAppliedConfigs, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventDataProfileAppliedConfigs::Representation
|
1480
|
+
|
1465
1481
|
property :data_quality, as: 'dataQuality', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventDataQualityResult, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventDataQualityResult::Representation
|
1466
1482
|
|
1483
|
+
property :data_quality_configs, as: 'dataQualityConfigs', class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventDataQualityAppliedConfigs, decorator: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataScanEventDataQualityAppliedConfigs::Representation
|
1484
|
+
|
1467
1485
|
property :data_source, as: 'dataSource'
|
1468
1486
|
property :end_time, as: 'endTime'
|
1469
1487
|
property :job_id, as: 'jobId'
|
@@ -1477,6 +1495,14 @@ module Google
|
|
1477
1495
|
end
|
1478
1496
|
end
|
1479
1497
|
|
1498
|
+
class GoogleCloudDataplexV1DataScanEventDataProfileAppliedConfigs
|
1499
|
+
# @private
|
1500
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1501
|
+
property :row_filter_applied, as: 'rowFilterApplied'
|
1502
|
+
property :sampling_percent, as: 'samplingPercent'
|
1503
|
+
end
|
1504
|
+
end
|
1505
|
+
|
1480
1506
|
class GoogleCloudDataplexV1DataScanEventDataProfileResult
|
1481
1507
|
# @private
|
1482
1508
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1484,6 +1510,14 @@ module Google
|
|
1484
1510
|
end
|
1485
1511
|
end
|
1486
1512
|
|
1513
|
+
class GoogleCloudDataplexV1DataScanEventDataQualityAppliedConfigs
|
1514
|
+
# @private
|
1515
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1516
|
+
property :row_filter_applied, as: 'rowFilterApplied'
|
1517
|
+
property :sampling_percent, as: 'samplingPercent'
|
1518
|
+
end
|
1519
|
+
end
|
1520
|
+
|
1487
1521
|
class GoogleCloudDataplexV1DataScanEventDataQualityResult
|
1488
1522
|
# @private
|
1489
1523
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -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/`
|
@@ -1536,6 +1657,248 @@ module Google
|
|
1536
1657
|
execute_or_queue_command(command, &block)
|
1537
1658
|
end
|
1538
1659
|
|
1660
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
1661
|
+
# resource exists and does not have a policy set.
|
1662
|
+
# @param [String] resource
|
1663
|
+
# REQUIRED: The resource for which the policy is being requested. See Resource
|
1664
|
+
# names (https://cloud.google.com/apis/design/resource_names) for the
|
1665
|
+
# appropriate value for this field.
|
1666
|
+
# @param [Fixnum] options_requested_policy_version
|
1667
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
1668
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
1669
|
+
# rejected.Requests for policies with any conditional role bindings must specify
|
1670
|
+
# version 3. Policies with no conditional role bindings may specify any valid
|
1671
|
+
# value or leave the field unset.The policy in the response might use the policy
|
1672
|
+
# version that you specified, or it might use a lower policy version. For
|
1673
|
+
# example, if you specify version 3, but the policy has no conditional role
|
1674
|
+
# bindings, the response uses version 1.To learn which resources support
|
1675
|
+
# conditions in their IAM policies, see the IAM documentation (https://cloud.
|
1676
|
+
# google.com/iam/help/conditions/resource-policies).
|
1677
|
+
# @param [String] fields
|
1678
|
+
# Selector specifying which fields to include in a partial response.
|
1679
|
+
# @param [String] quota_user
|
1680
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1681
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1682
|
+
# @param [Google::Apis::RequestOptions] options
|
1683
|
+
# Request-specific options
|
1684
|
+
#
|
1685
|
+
# @yield [result, err] Result & error if block supplied
|
1686
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object
|
1687
|
+
# @yieldparam err [StandardError] error object if request failed
|
1688
|
+
#
|
1689
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1Policy]
|
1690
|
+
#
|
1691
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1692
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1693
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1694
|
+
def get_project_location_entry_group_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1695
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
1696
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation
|
1697
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy
|
1698
|
+
command.params['resource'] = resource unless resource.nil?
|
1699
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
1700
|
+
command.query['fields'] = fields unless fields.nil?
|
1701
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1702
|
+
execute_or_queue_command(command, &block)
|
1703
|
+
end
|
1704
|
+
|
1705
|
+
# Sets the access control policy on the specified resource. Replaces any
|
1706
|
+
# existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
|
1707
|
+
# errors.
|
1708
|
+
# @param [String] resource
|
1709
|
+
# REQUIRED: The resource for which the policy is being specified. See Resource
|
1710
|
+
# names (https://cloud.google.com/apis/design/resource_names) for the
|
1711
|
+
# appropriate value for this field.
|
1712
|
+
# @param [Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
1713
|
+
# @param [String] fields
|
1714
|
+
# Selector specifying which fields to include in a partial response.
|
1715
|
+
# @param [String] quota_user
|
1716
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1717
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1718
|
+
# @param [Google::Apis::RequestOptions] options
|
1719
|
+
# Request-specific options
|
1720
|
+
#
|
1721
|
+
# @yield [result, err] Result & error if block supplied
|
1722
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object
|
1723
|
+
# @yieldparam err [StandardError] error object if request failed
|
1724
|
+
#
|
1725
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1Policy]
|
1726
|
+
#
|
1727
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1728
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1729
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1730
|
+
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)
|
1731
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
1732
|
+
command.request_representation = Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest::Representation
|
1733
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
1734
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation
|
1735
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy
|
1736
|
+
command.params['resource'] = resource unless resource.nil?
|
1737
|
+
command.query['fields'] = fields unless fields.nil?
|
1738
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1739
|
+
execute_or_queue_command(command, &block)
|
1740
|
+
end
|
1741
|
+
|
1742
|
+
# Returns permissions that a caller has on the specified resource. If the
|
1743
|
+
# resource does not exist, this will return an empty set of permissions, not a
|
1744
|
+
# NOT_FOUND error.Note: This operation is designed to be used for building
|
1745
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
1746
|
+
# This operation may "fail open" without warning.
|
1747
|
+
# @param [String] resource
|
1748
|
+
# REQUIRED: The resource for which the policy detail is being requested. See
|
1749
|
+
# Resource names (https://cloud.google.com/apis/design/resource_names) for the
|
1750
|
+
# appropriate value for this field.
|
1751
|
+
# @param [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
1752
|
+
# @param [String] fields
|
1753
|
+
# Selector specifying which fields to include in a partial response.
|
1754
|
+
# @param [String] quota_user
|
1755
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1756
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1757
|
+
# @param [Google::Apis::RequestOptions] options
|
1758
|
+
# Request-specific options
|
1759
|
+
#
|
1760
|
+
# @yield [result, err] Result & error if block supplied
|
1761
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
1762
|
+
# @yieldparam err [StandardError] error object if request failed
|
1763
|
+
#
|
1764
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse]
|
1765
|
+
#
|
1766
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1767
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1768
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1769
|
+
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)
|
1770
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
1771
|
+
command.request_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest::Representation
|
1772
|
+
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
1773
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse::Representation
|
1774
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse
|
1775
|
+
command.params['resource'] = resource unless resource.nil?
|
1776
|
+
command.query['fields'] = fields unless fields.nil?
|
1777
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1778
|
+
execute_or_queue_command(command, &block)
|
1779
|
+
end
|
1780
|
+
|
1781
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
1782
|
+
# resource exists and does not have a policy set.
|
1783
|
+
# @param [String] resource
|
1784
|
+
# REQUIRED: The resource for which the policy is being requested. See Resource
|
1785
|
+
# names (https://cloud.google.com/apis/design/resource_names) for the
|
1786
|
+
# appropriate value for this field.
|
1787
|
+
# @param [Fixnum] options_requested_policy_version
|
1788
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
1789
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
1790
|
+
# rejected.Requests for policies with any conditional role bindings must specify
|
1791
|
+
# version 3. Policies with no conditional role bindings may specify any valid
|
1792
|
+
# value or leave the field unset.The policy in the response might use the policy
|
1793
|
+
# version that you specified, or it might use a lower policy version. For
|
1794
|
+
# example, if you specify version 3, but the policy has no conditional role
|
1795
|
+
# bindings, the response uses version 1.To learn which resources support
|
1796
|
+
# conditions in their IAM policies, see the IAM documentation (https://cloud.
|
1797
|
+
# google.com/iam/help/conditions/resource-policies).
|
1798
|
+
# @param [String] fields
|
1799
|
+
# Selector specifying which fields to include in a partial response.
|
1800
|
+
# @param [String] quota_user
|
1801
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1802
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1803
|
+
# @param [Google::Apis::RequestOptions] options
|
1804
|
+
# Request-specific options
|
1805
|
+
#
|
1806
|
+
# @yield [result, err] Result & error if block supplied
|
1807
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object
|
1808
|
+
# @yieldparam err [StandardError] error object if request failed
|
1809
|
+
#
|
1810
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1Policy]
|
1811
|
+
#
|
1812
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1813
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1814
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1815
|
+
def get_project_location_entry_type_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1816
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
1817
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation
|
1818
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy
|
1819
|
+
command.params['resource'] = resource unless resource.nil?
|
1820
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
1821
|
+
command.query['fields'] = fields unless fields.nil?
|
1822
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1823
|
+
execute_or_queue_command(command, &block)
|
1824
|
+
end
|
1825
|
+
|
1826
|
+
# Sets the access control policy on the specified resource. Replaces any
|
1827
|
+
# existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
|
1828
|
+
# errors.
|
1829
|
+
# @param [String] resource
|
1830
|
+
# REQUIRED: The resource for which the policy is being specified. See Resource
|
1831
|
+
# names (https://cloud.google.com/apis/design/resource_names) for the
|
1832
|
+
# appropriate value for this field.
|
1833
|
+
# @param [Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
1834
|
+
# @param [String] fields
|
1835
|
+
# Selector specifying which fields to include in a partial response.
|
1836
|
+
# @param [String] quota_user
|
1837
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1838
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1839
|
+
# @param [Google::Apis::RequestOptions] options
|
1840
|
+
# Request-specific options
|
1841
|
+
#
|
1842
|
+
# @yield [result, err] Result & error if block supplied
|
1843
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object
|
1844
|
+
# @yieldparam err [StandardError] error object if request failed
|
1845
|
+
#
|
1846
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1Policy]
|
1847
|
+
#
|
1848
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1849
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1850
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1851
|
+
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)
|
1852
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
1853
|
+
command.request_representation = Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest::Representation
|
1854
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
1855
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation
|
1856
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy
|
1857
|
+
command.params['resource'] = resource unless resource.nil?
|
1858
|
+
command.query['fields'] = fields unless fields.nil?
|
1859
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1860
|
+
execute_or_queue_command(command, &block)
|
1861
|
+
end
|
1862
|
+
|
1863
|
+
# Returns permissions that a caller has on the specified resource. If the
|
1864
|
+
# resource does not exist, this will return an empty set of permissions, not a
|
1865
|
+
# NOT_FOUND error.Note: This operation is designed to be used for building
|
1866
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
1867
|
+
# This operation may "fail open" without warning.
|
1868
|
+
# @param [String] resource
|
1869
|
+
# REQUIRED: The resource for which the policy detail is being requested. See
|
1870
|
+
# Resource names (https://cloud.google.com/apis/design/resource_names) for the
|
1871
|
+
# appropriate value for this field.
|
1872
|
+
# @param [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
1873
|
+
# @param [String] fields
|
1874
|
+
# Selector specifying which fields to include in a partial response.
|
1875
|
+
# @param [String] quota_user
|
1876
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1877
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1878
|
+
# @param [Google::Apis::RequestOptions] options
|
1879
|
+
# Request-specific options
|
1880
|
+
#
|
1881
|
+
# @yield [result, err] Result & error if block supplied
|
1882
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
1883
|
+
# @yieldparam err [StandardError] error object if request failed
|
1884
|
+
#
|
1885
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse]
|
1886
|
+
#
|
1887
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1888
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1889
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1890
|
+
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)
|
1891
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
1892
|
+
command.request_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest::Representation
|
1893
|
+
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
1894
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse::Representation
|
1895
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse
|
1896
|
+
command.params['resource'] = resource unless resource.nil?
|
1897
|
+
command.query['fields'] = fields unless fields.nil?
|
1898
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1899
|
+
execute_or_queue_command(command, &block)
|
1900
|
+
end
|
1901
|
+
|
1539
1902
|
# Creates a lake resource.
|
1540
1903
|
# @param [String] parent
|
1541
1904
|
# 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.29.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-05-14 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.29.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: []
|