google-cloud-dataplex-v1 2.2.0 → 2.3.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 +4 -4
- data/lib/google/cloud/dataplex/v1/catalog_pb.rb +4 -1
- data/lib/google/cloud/dataplex/v1/catalog_service/paths.rb +14 -0
- data/lib/google/cloud/dataplex/v1/cmek_pb.rb +63 -0
- data/lib/google/cloud/dataplex/v1/cmek_service/client.rb +947 -0
- data/lib/google/cloud/dataplex/v1/cmek_service/credentials.rb +47 -0
- data/lib/google/cloud/dataplex/v1/cmek_service/operations.rb +813 -0
- data/lib/google/cloud/dataplex/v1/cmek_service/paths.rb +69 -0
- data/lib/google/cloud/dataplex/v1/cmek_service/rest/client.rb +895 -0
- data/lib/google/cloud/dataplex/v1/cmek_service/rest/operations.rb +943 -0
- data/lib/google/cloud/dataplex/v1/cmek_service/rest/service_stub.rb +388 -0
- data/lib/google/cloud/dataplex/v1/cmek_service/rest.rb +54 -0
- data/lib/google/cloud/dataplex/v1/cmek_service.rb +56 -0
- data/lib/google/cloud/dataplex/v1/cmek_services_pb.rb +53 -0
- data/lib/google/cloud/dataplex/v1/data_discovery_pb.rb +2 -1
- data/lib/google/cloud/dataplex/v1/data_quality_pb.rb +1 -1
- data/lib/google/cloud/dataplex/v1/logs_pb.rb +3 -1
- data/lib/google/cloud/dataplex/v1/rest.rb +1 -0
- data/lib/google/cloud/dataplex/v1/version.rb +1 -1
- data/lib/google/cloud/dataplex/v1.rb +1 -0
- data/proto_docs/google/cloud/dataplex/v1/catalog.rb +94 -0
- data/proto_docs/google/cloud/dataplex/v1/cmek.rb +216 -0
- data/proto_docs/google/cloud/dataplex/v1/data_discovery.rb +40 -3
- data/proto_docs/google/cloud/dataplex/v1/data_profile.rb +2 -0
- data/proto_docs/google/cloud/dataplex/v1/data_quality.rb +33 -28
- data/proto_docs/google/cloud/dataplex/v1/logs.rb +27 -0
- data/proto_docs/google/cloud/dataplex/v1/resources.rb +14 -10
- metadata +14 -2
@@ -0,0 +1,388 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2025 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
require "google/cloud/dataplex/v1/cmek_pb"
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Cloud
|
23
|
+
module Dataplex
|
24
|
+
module V1
|
25
|
+
module CmekService
|
26
|
+
module Rest
|
27
|
+
##
|
28
|
+
# REST service stub for the CmekService service.
|
29
|
+
# Service stub contains baseline method implementations
|
30
|
+
# including transcoding, making the REST call, and deserialing the response.
|
31
|
+
#
|
32
|
+
class ServiceStub
|
33
|
+
# @private
|
34
|
+
def initialize endpoint:, endpoint_template:, universe_domain:, credentials:, logger:
|
35
|
+
# These require statements are intentionally placed here to initialize
|
36
|
+
# the REST modules only when it's required.
|
37
|
+
require "gapic/rest"
|
38
|
+
|
39
|
+
@client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint,
|
40
|
+
endpoint_template: endpoint_template,
|
41
|
+
universe_domain: universe_domain,
|
42
|
+
credentials: credentials,
|
43
|
+
numeric_enums: true,
|
44
|
+
service_name: self.class,
|
45
|
+
raise_faraday_errors: false,
|
46
|
+
logger: logger
|
47
|
+
end
|
48
|
+
|
49
|
+
##
|
50
|
+
# The effective universe domain
|
51
|
+
#
|
52
|
+
# @return [String]
|
53
|
+
#
|
54
|
+
def universe_domain
|
55
|
+
@client_stub.universe_domain
|
56
|
+
end
|
57
|
+
|
58
|
+
##
|
59
|
+
# The effective endpoint
|
60
|
+
#
|
61
|
+
# @return [String]
|
62
|
+
#
|
63
|
+
def endpoint
|
64
|
+
@client_stub.endpoint
|
65
|
+
end
|
66
|
+
|
67
|
+
##
|
68
|
+
# The logger used for request/response debug logging.
|
69
|
+
#
|
70
|
+
# @return [Logger]
|
71
|
+
#
|
72
|
+
def logger stub: false
|
73
|
+
stub ? @client_stub.stub_logger : @client_stub.logger
|
74
|
+
end
|
75
|
+
|
76
|
+
##
|
77
|
+
# Baseline implementation for the create_encryption_config REST call
|
78
|
+
#
|
79
|
+
# @param request_pb [::Google::Cloud::Dataplex::V1::CreateEncryptionConfigRequest]
|
80
|
+
# A request object representing the call parameters. Required.
|
81
|
+
# @param options [::Gapic::CallOptions]
|
82
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
83
|
+
#
|
84
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
85
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
86
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
87
|
+
#
|
88
|
+
# @return [::Google::Longrunning::Operation]
|
89
|
+
# A result object deserialized from the server's reply
|
90
|
+
def create_encryption_config request_pb, options = nil
|
91
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
92
|
+
|
93
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_create_encryption_config_request request_pb
|
94
|
+
query_string_params = if query_string_params.any?
|
95
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
96
|
+
else
|
97
|
+
{}
|
98
|
+
end
|
99
|
+
|
100
|
+
response = @client_stub.make_http_request(
|
101
|
+
verb,
|
102
|
+
uri: uri,
|
103
|
+
body: body || "",
|
104
|
+
params: query_string_params,
|
105
|
+
method_name: "create_encryption_config",
|
106
|
+
options: options
|
107
|
+
)
|
108
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
109
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
110
|
+
catch :response do
|
111
|
+
yield result, operation if block_given?
|
112
|
+
result
|
113
|
+
end
|
114
|
+
end
|
115
|
+
|
116
|
+
##
|
117
|
+
# Baseline implementation for the update_encryption_config REST call
|
118
|
+
#
|
119
|
+
# @param request_pb [::Google::Cloud::Dataplex::V1::UpdateEncryptionConfigRequest]
|
120
|
+
# A request object representing the call parameters. Required.
|
121
|
+
# @param options [::Gapic::CallOptions]
|
122
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
123
|
+
#
|
124
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
125
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
126
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
127
|
+
#
|
128
|
+
# @return [::Google::Longrunning::Operation]
|
129
|
+
# A result object deserialized from the server's reply
|
130
|
+
def update_encryption_config request_pb, options = nil
|
131
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
132
|
+
|
133
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_update_encryption_config_request request_pb
|
134
|
+
query_string_params = if query_string_params.any?
|
135
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
136
|
+
else
|
137
|
+
{}
|
138
|
+
end
|
139
|
+
|
140
|
+
response = @client_stub.make_http_request(
|
141
|
+
verb,
|
142
|
+
uri: uri,
|
143
|
+
body: body || "",
|
144
|
+
params: query_string_params,
|
145
|
+
method_name: "update_encryption_config",
|
146
|
+
options: options
|
147
|
+
)
|
148
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
149
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
150
|
+
catch :response do
|
151
|
+
yield result, operation if block_given?
|
152
|
+
result
|
153
|
+
end
|
154
|
+
end
|
155
|
+
|
156
|
+
##
|
157
|
+
# Baseline implementation for the delete_encryption_config REST call
|
158
|
+
#
|
159
|
+
# @param request_pb [::Google::Cloud::Dataplex::V1::DeleteEncryptionConfigRequest]
|
160
|
+
# A request object representing the call parameters. Required.
|
161
|
+
# @param options [::Gapic::CallOptions]
|
162
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
163
|
+
#
|
164
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
165
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
166
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
167
|
+
#
|
168
|
+
# @return [::Google::Longrunning::Operation]
|
169
|
+
# A result object deserialized from the server's reply
|
170
|
+
def delete_encryption_config request_pb, options = nil
|
171
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
172
|
+
|
173
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_delete_encryption_config_request request_pb
|
174
|
+
query_string_params = if query_string_params.any?
|
175
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
176
|
+
else
|
177
|
+
{}
|
178
|
+
end
|
179
|
+
|
180
|
+
response = @client_stub.make_http_request(
|
181
|
+
verb,
|
182
|
+
uri: uri,
|
183
|
+
body: body || "",
|
184
|
+
params: query_string_params,
|
185
|
+
method_name: "delete_encryption_config",
|
186
|
+
options: options
|
187
|
+
)
|
188
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
189
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
190
|
+
catch :response do
|
191
|
+
yield result, operation if block_given?
|
192
|
+
result
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
##
|
197
|
+
# Baseline implementation for the list_encryption_configs REST call
|
198
|
+
#
|
199
|
+
# @param request_pb [::Google::Cloud::Dataplex::V1::ListEncryptionConfigsRequest]
|
200
|
+
# A request object representing the call parameters. Required.
|
201
|
+
# @param options [::Gapic::CallOptions]
|
202
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
203
|
+
#
|
204
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
205
|
+
# @yieldparam result [::Google::Cloud::Dataplex::V1::ListEncryptionConfigsResponse]
|
206
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
207
|
+
#
|
208
|
+
# @return [::Google::Cloud::Dataplex::V1::ListEncryptionConfigsResponse]
|
209
|
+
# A result object deserialized from the server's reply
|
210
|
+
def list_encryption_configs request_pb, options = nil
|
211
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
212
|
+
|
213
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_encryption_configs_request request_pb
|
214
|
+
query_string_params = if query_string_params.any?
|
215
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
216
|
+
else
|
217
|
+
{}
|
218
|
+
end
|
219
|
+
|
220
|
+
response = @client_stub.make_http_request(
|
221
|
+
verb,
|
222
|
+
uri: uri,
|
223
|
+
body: body || "",
|
224
|
+
params: query_string_params,
|
225
|
+
method_name: "list_encryption_configs",
|
226
|
+
options: options
|
227
|
+
)
|
228
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
229
|
+
result = ::Google::Cloud::Dataplex::V1::ListEncryptionConfigsResponse.decode_json response.body, ignore_unknown_fields: true
|
230
|
+
catch :response do
|
231
|
+
yield result, operation if block_given?
|
232
|
+
result
|
233
|
+
end
|
234
|
+
end
|
235
|
+
|
236
|
+
##
|
237
|
+
# Baseline implementation for the get_encryption_config REST call
|
238
|
+
#
|
239
|
+
# @param request_pb [::Google::Cloud::Dataplex::V1::GetEncryptionConfigRequest]
|
240
|
+
# A request object representing the call parameters. Required.
|
241
|
+
# @param options [::Gapic::CallOptions]
|
242
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
243
|
+
#
|
244
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
245
|
+
# @yieldparam result [::Google::Cloud::Dataplex::V1::EncryptionConfig]
|
246
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
247
|
+
#
|
248
|
+
# @return [::Google::Cloud::Dataplex::V1::EncryptionConfig]
|
249
|
+
# A result object deserialized from the server's reply
|
250
|
+
def get_encryption_config request_pb, options = nil
|
251
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
252
|
+
|
253
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_encryption_config_request request_pb
|
254
|
+
query_string_params = if query_string_params.any?
|
255
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
256
|
+
else
|
257
|
+
{}
|
258
|
+
end
|
259
|
+
|
260
|
+
response = @client_stub.make_http_request(
|
261
|
+
verb,
|
262
|
+
uri: uri,
|
263
|
+
body: body || "",
|
264
|
+
params: query_string_params,
|
265
|
+
method_name: "get_encryption_config",
|
266
|
+
options: options
|
267
|
+
)
|
268
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
269
|
+
result = ::Google::Cloud::Dataplex::V1::EncryptionConfig.decode_json response.body, ignore_unknown_fields: true
|
270
|
+
catch :response do
|
271
|
+
yield result, operation if block_given?
|
272
|
+
result
|
273
|
+
end
|
274
|
+
end
|
275
|
+
|
276
|
+
##
|
277
|
+
# @private
|
278
|
+
#
|
279
|
+
# GRPC transcoding helper method for the create_encryption_config REST call
|
280
|
+
#
|
281
|
+
# @param request_pb [::Google::Cloud::Dataplex::V1::CreateEncryptionConfigRequest]
|
282
|
+
# A request object representing the call parameters. Required.
|
283
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
284
|
+
# Uri, Body, Query string parameters
|
285
|
+
def self.transcode_create_encryption_config_request request_pb
|
286
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
287
|
+
.with_bindings(
|
288
|
+
uri_method: :post,
|
289
|
+
uri_template: "/v1/{parent}/encryptionConfigs",
|
290
|
+
body: "encryption_config",
|
291
|
+
matches: [
|
292
|
+
["parent", %r{^organizations/[^/]+/locations/[^/]+/?$}, false]
|
293
|
+
]
|
294
|
+
)
|
295
|
+
transcoder.transcode request_pb
|
296
|
+
end
|
297
|
+
|
298
|
+
##
|
299
|
+
# @private
|
300
|
+
#
|
301
|
+
# GRPC transcoding helper method for the update_encryption_config REST call
|
302
|
+
#
|
303
|
+
# @param request_pb [::Google::Cloud::Dataplex::V1::UpdateEncryptionConfigRequest]
|
304
|
+
# A request object representing the call parameters. Required.
|
305
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
306
|
+
# Uri, Body, Query string parameters
|
307
|
+
def self.transcode_update_encryption_config_request request_pb
|
308
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
309
|
+
.with_bindings(
|
310
|
+
uri_method: :patch,
|
311
|
+
uri_template: "/v1/{encryption_config.name}",
|
312
|
+
body: "encryption_config",
|
313
|
+
matches: [
|
314
|
+
["encryption_config.name", %r{^organizations/[^/]+/locations/[^/]+/encryptionConfigs/[^/]+/?$}, false]
|
315
|
+
]
|
316
|
+
)
|
317
|
+
transcoder.transcode request_pb
|
318
|
+
end
|
319
|
+
|
320
|
+
##
|
321
|
+
# @private
|
322
|
+
#
|
323
|
+
# GRPC transcoding helper method for the delete_encryption_config REST call
|
324
|
+
#
|
325
|
+
# @param request_pb [::Google::Cloud::Dataplex::V1::DeleteEncryptionConfigRequest]
|
326
|
+
# A request object representing the call parameters. Required.
|
327
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
328
|
+
# Uri, Body, Query string parameters
|
329
|
+
def self.transcode_delete_encryption_config_request request_pb
|
330
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
331
|
+
.with_bindings(
|
332
|
+
uri_method: :delete,
|
333
|
+
uri_template: "/v1/{name}",
|
334
|
+
matches: [
|
335
|
+
["name", %r{^organizations/[^/]+/locations/[^/]+/encryptionConfigs/[^/]+/?$}, false]
|
336
|
+
]
|
337
|
+
)
|
338
|
+
transcoder.transcode request_pb
|
339
|
+
end
|
340
|
+
|
341
|
+
##
|
342
|
+
# @private
|
343
|
+
#
|
344
|
+
# GRPC transcoding helper method for the list_encryption_configs REST call
|
345
|
+
#
|
346
|
+
# @param request_pb [::Google::Cloud::Dataplex::V1::ListEncryptionConfigsRequest]
|
347
|
+
# A request object representing the call parameters. Required.
|
348
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
349
|
+
# Uri, Body, Query string parameters
|
350
|
+
def self.transcode_list_encryption_configs_request request_pb
|
351
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
352
|
+
.with_bindings(
|
353
|
+
uri_method: :get,
|
354
|
+
uri_template: "/v1/{parent}/encryptionConfigs",
|
355
|
+
matches: [
|
356
|
+
["parent", %r{^organizations/[^/]+/locations/[^/]+/?$}, false]
|
357
|
+
]
|
358
|
+
)
|
359
|
+
transcoder.transcode request_pb
|
360
|
+
end
|
361
|
+
|
362
|
+
##
|
363
|
+
# @private
|
364
|
+
#
|
365
|
+
# GRPC transcoding helper method for the get_encryption_config REST call
|
366
|
+
#
|
367
|
+
# @param request_pb [::Google::Cloud::Dataplex::V1::GetEncryptionConfigRequest]
|
368
|
+
# A request object representing the call parameters. Required.
|
369
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
370
|
+
# Uri, Body, Query string parameters
|
371
|
+
def self.transcode_get_encryption_config_request request_pb
|
372
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
373
|
+
.with_bindings(
|
374
|
+
uri_method: :get,
|
375
|
+
uri_template: "/v1/{name}",
|
376
|
+
matches: [
|
377
|
+
["name", %r{^organizations/[^/]+/locations/[^/]+/encryptionConfigs/[^/]+/?$}, false]
|
378
|
+
]
|
379
|
+
)
|
380
|
+
transcoder.transcode request_pb
|
381
|
+
end
|
382
|
+
end
|
383
|
+
end
|
384
|
+
end
|
385
|
+
end
|
386
|
+
end
|
387
|
+
end
|
388
|
+
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2025 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
require "gapic/rest"
|
20
|
+
require "gapic/config"
|
21
|
+
require "gapic/config/method"
|
22
|
+
|
23
|
+
require "google/cloud/dataplex/v1/version"
|
24
|
+
require "google/cloud/dataplex/v1/bindings_override"
|
25
|
+
|
26
|
+
require "google/cloud/dataplex/v1/cmek_service/credentials"
|
27
|
+
require "google/cloud/dataplex/v1/cmek_service/paths"
|
28
|
+
require "google/cloud/dataplex/v1/cmek_service/rest/operations"
|
29
|
+
require "google/cloud/dataplex/v1/cmek_service/rest/client"
|
30
|
+
|
31
|
+
module Google
|
32
|
+
module Cloud
|
33
|
+
module Dataplex
|
34
|
+
module V1
|
35
|
+
##
|
36
|
+
# Dataplex Cmek Service
|
37
|
+
#
|
38
|
+
# To load this service and instantiate a REST client:
|
39
|
+
#
|
40
|
+
# require "google/cloud/dataplex/v1/cmek_service/rest"
|
41
|
+
# client = ::Google::Cloud::Dataplex::V1::CmekService::Rest::Client.new
|
42
|
+
#
|
43
|
+
module CmekService
|
44
|
+
# Client for the REST transport
|
45
|
+
module Rest
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
helper_path = ::File.join __dir__, "rest", "helpers.rb"
|
54
|
+
require "google/cloud/dataplex/v1/cmek_service/rest/helpers" if ::File.file? helper_path
|
@@ -0,0 +1,56 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2025 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
require "gapic/common"
|
20
|
+
require "gapic/config"
|
21
|
+
require "gapic/config/method"
|
22
|
+
|
23
|
+
require "google/cloud/dataplex/v1/version"
|
24
|
+
|
25
|
+
require "google/cloud/dataplex/v1/cmek_service/credentials"
|
26
|
+
require "google/cloud/dataplex/v1/cmek_service/paths"
|
27
|
+
require "google/cloud/dataplex/v1/cmek_service/operations"
|
28
|
+
require "google/cloud/dataplex/v1/cmek_service/client"
|
29
|
+
require "google/cloud/dataplex/v1/cmek_service/rest"
|
30
|
+
|
31
|
+
module Google
|
32
|
+
module Cloud
|
33
|
+
module Dataplex
|
34
|
+
module V1
|
35
|
+
##
|
36
|
+
# Dataplex Cmek Service
|
37
|
+
#
|
38
|
+
# @example Load this service and instantiate a gRPC client
|
39
|
+
#
|
40
|
+
# require "google/cloud/dataplex/v1/cmek_service"
|
41
|
+
# client = ::Google::Cloud::Dataplex::V1::CmekService::Client.new
|
42
|
+
#
|
43
|
+
# @example Load this service and instantiate a REST client
|
44
|
+
#
|
45
|
+
# require "google/cloud/dataplex/v1/cmek_service/rest"
|
46
|
+
# client = ::Google::Cloud::Dataplex::V1::CmekService::Rest::Client.new
|
47
|
+
#
|
48
|
+
module CmekService
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
helper_path = ::File.join __dir__, "cmek_service", "helpers.rb"
|
56
|
+
require "google/cloud/dataplex/v1/cmek_service/helpers" if ::File.file? helper_path
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: google/cloud/dataplex/v1/cmek.proto for package 'Google.Cloud.Dataplex.V1'
|
3
|
+
# Original file comments:
|
4
|
+
# Copyright 2025 Google LLC
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
#
|
18
|
+
|
19
|
+
require 'grpc'
|
20
|
+
require 'google/cloud/dataplex/v1/cmek_pb'
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Cloud
|
24
|
+
module Dataplex
|
25
|
+
module V1
|
26
|
+
module CmekService
|
27
|
+
# Dataplex Cmek Service
|
28
|
+
class Service
|
29
|
+
|
30
|
+
include ::GRPC::GenericService
|
31
|
+
|
32
|
+
self.marshal_class_method = :encode
|
33
|
+
self.unmarshal_class_method = :decode
|
34
|
+
self.service_name = 'google.cloud.dataplex.v1.CmekService'
|
35
|
+
|
36
|
+
# Create an EncryptionConfig.
|
37
|
+
rpc :CreateEncryptionConfig, ::Google::Cloud::Dataplex::V1::CreateEncryptionConfigRequest, ::Google::Longrunning::Operation
|
38
|
+
# Update an EncryptionConfig.
|
39
|
+
rpc :UpdateEncryptionConfig, ::Google::Cloud::Dataplex::V1::UpdateEncryptionConfigRequest, ::Google::Longrunning::Operation
|
40
|
+
# Delete an EncryptionConfig.
|
41
|
+
rpc :DeleteEncryptionConfig, ::Google::Cloud::Dataplex::V1::DeleteEncryptionConfigRequest, ::Google::Longrunning::Operation
|
42
|
+
# List EncryptionConfigs.
|
43
|
+
rpc :ListEncryptionConfigs, ::Google::Cloud::Dataplex::V1::ListEncryptionConfigsRequest, ::Google::Cloud::Dataplex::V1::ListEncryptionConfigsResponse
|
44
|
+
# Get an EncryptionConfig.
|
45
|
+
rpc :GetEncryptionConfig, ::Google::Cloud::Dataplex::V1::GetEncryptionConfigRequest, ::Google::Cloud::Dataplex::V1::EncryptionConfig
|
46
|
+
end
|
47
|
+
|
48
|
+
Stub = Service.rpc_stub_class
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
@@ -8,7 +8,7 @@ require 'google/api/field_behavior_pb'
|
|
8
8
|
require 'google/api/resource_pb'
|
9
9
|
|
10
10
|
|
11
|
-
descriptor_data = "\n-google/cloud/dataplex/v1/data_discovery.proto\x12\x18google.cloud.dataplex.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\x85\x08\n\x11\x44\x61taDiscoverySpec\x12m\n\x1a\x62igquery_publishing_config\x18\x01 \x01(\x0b\x32\x44.google.cloud.dataplex.v1.DataDiscoverySpec.BigQueryPublishingConfigB\x03\xe0\x41\x01\x12S\n\x0estorage_config\x18\x64 \x01(\x0b\x32\x39.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfigH\x00\x1a\xa8\x02\n\x18\x42igQueryPublishingConfig\x12g\n\ntable_type\x18\x02 \x01(\x0e\x32N.google.cloud.dataplex.v1.DataDiscoverySpec.BigQueryPublishingConfig.TableTypeB\x03\xe0\x41\x01\x12H\n\nconnection\x18\x03 \x01(\tB4\xe0\x41\x01\xfa\x41.\n,bigqueryconnection.googleapis.com/Connection\x12\x15\n\x08location\x18\x04 \x01(\tB\x03\xe0\x41\x01\"B\n\tTableType\x12\x1a\n\x16TABLE_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x45XTERNAL\x10\x01\x12\x0b\n\x07\x42IGLAKE\x10\x02\x1a\xed\x03\n\rStorageConfig\x12\x1d\n\x10include_patterns\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12\x1d\n\x10\x65xclude_patterns\x18\x02 \x03(\tB\x03\xe0\x41\x01\x12^\n\x0b\x63sv_options\x18\x03 \x01(\x0b\x32\x44.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig.CsvOptionsB\x03\xe0\x41\x01\x12`\n\x0cjson_options\x18\x04 \x01(\x0b\x32\x45.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig.JsonOptionsB\x03\xe0\x41\x01\x1a\x8f\x01\n\nCsvOptions\x12\x18\n\x0bheader_rows\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x16\n\tdelimiter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08\x65ncoding\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12$\n\x17type_inference_disabled\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x12\n\x05quote\x18\x05 \x01(\tB\x03\xe0\x41\x01\x1aJ\n\x0bJsonOptions\x12\x15\n\x08\x65ncoding\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12$\n\x17type_inference_disabled\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x42\x11\n\x0fresource_config\"\
|
11
|
+
descriptor_data = "\n-google/cloud/dataplex/v1/data_discovery.proto\x12\x18google.cloud.dataplex.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\x85\x08\n\x11\x44\x61taDiscoverySpec\x12m\n\x1a\x62igquery_publishing_config\x18\x01 \x01(\x0b\x32\x44.google.cloud.dataplex.v1.DataDiscoverySpec.BigQueryPublishingConfigB\x03\xe0\x41\x01\x12S\n\x0estorage_config\x18\x64 \x01(\x0b\x32\x39.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfigH\x00\x1a\xa8\x02\n\x18\x42igQueryPublishingConfig\x12g\n\ntable_type\x18\x02 \x01(\x0e\x32N.google.cloud.dataplex.v1.DataDiscoverySpec.BigQueryPublishingConfig.TableTypeB\x03\xe0\x41\x01\x12H\n\nconnection\x18\x03 \x01(\tB4\xe0\x41\x01\xfa\x41.\n,bigqueryconnection.googleapis.com/Connection\x12\x15\n\x08location\x18\x04 \x01(\tB\x03\xe0\x41\x01\"B\n\tTableType\x12\x1a\n\x16TABLE_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x45XTERNAL\x10\x01\x12\x0b\n\x07\x42IGLAKE\x10\x02\x1a\xed\x03\n\rStorageConfig\x12\x1d\n\x10include_patterns\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12\x1d\n\x10\x65xclude_patterns\x18\x02 \x03(\tB\x03\xe0\x41\x01\x12^\n\x0b\x63sv_options\x18\x03 \x01(\x0b\x32\x44.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig.CsvOptionsB\x03\xe0\x41\x01\x12`\n\x0cjson_options\x18\x04 \x01(\x0b\x32\x45.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig.JsonOptionsB\x03\xe0\x41\x01\x1a\x8f\x01\n\nCsvOptions\x12\x18\n\x0bheader_rows\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x16\n\tdelimiter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08\x65ncoding\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12$\n\x17type_inference_disabled\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x12\n\x05quote\x18\x05 \x01(\tB\x03\xe0\x41\x01\x1aJ\n\x0bJsonOptions\x12\x15\n\x08\x65ncoding\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12$\n\x17type_inference_disabled\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x42\x11\n\x0fresource_config\"\xb7\x04\n\x13\x44\x61taDiscoveryResult\x12\x62\n\x13\x62igquery_publishing\x18\x01 \x01(\x0b\x32@.google.cloud.dataplex.v1.DataDiscoveryResult.BigQueryPublishingB\x03\xe0\x41\x03\x12Z\n\x0fscan_statistics\x18\x02 \x01(\x0b\x32<.google.cloud.dataplex.v1.DataDiscoveryResult.ScanStatisticsB\x03\xe0\x41\x03\x1a\x65\n\x12\x42igQueryPublishing\x12\x38\n\x07\x64\x61taset\x18\x01 \x01(\tB\'\xe0\x41\x03\xfa\x41!\n\x1f\x62igquery.googleapis.com/Dataset\x12\x15\n\x08location\x18\x02 \x01(\tB\x03\xe0\x41\x03\x1a\xf8\x01\n\x0eScanStatistics\x12\x1a\n\x12scanned_file_count\x18\x01 \x01(\x05\x12\x1c\n\x14\x64\x61ta_processed_bytes\x18\x02 \x01(\x03\x12\x16\n\x0e\x66iles_excluded\x18\x03 \x01(\x05\x12\x16\n\x0etables_created\x18\x04 \x01(\x05\x12\x16\n\x0etables_deleted\x18\x05 \x01(\x05\x12\x16\n\x0etables_updated\x18\x06 \x01(\x05\x12\x18\n\x10\x66ilesets_created\x18\x07 \x01(\x05\x12\x18\n\x10\x66ilesets_deleted\x18\x08 \x01(\x05\x12\x18\n\x10\x66ilesets_updated\x18\t \x01(\x05\x42\xac\x02\n\x1c\x63om.google.cloud.dataplex.v1B\x12\x44\x61taDiscoveryProtoP\x01Z8cloud.google.com/go/dataplex/apiv1/dataplexpb;dataplexpb\xea\x41H\n\x1f\x62igquery.googleapis.com/Dataset\x12%projects/{project}/datasets/{dataset}\xea\x41p\n,bigqueryconnection.googleapis.com/Connection\x12@projects/{project}/locations/{location}/connections/{connection}b\x06proto3"
|
12
12
|
|
13
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
14
|
|
@@ -46,6 +46,7 @@ module Google
|
|
46
46
|
DataDiscoverySpec::StorageConfig::JsonOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig.JsonOptions").msgclass
|
47
47
|
DataDiscoveryResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataDiscoveryResult").msgclass
|
48
48
|
DataDiscoveryResult::BigQueryPublishing = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataDiscoveryResult.BigQueryPublishing").msgclass
|
49
|
+
DataDiscoveryResult::ScanStatistics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataDiscoveryResult.ScanStatistics").msgclass
|
49
50
|
end
|
50
51
|
end
|
51
52
|
end
|
@@ -9,7 +9,7 @@ require 'google/api/resource_pb'
|
|
9
9
|
require 'google/cloud/dataplex/v1/processing_pb'
|
10
10
|
|
11
11
|
|
12
|
-
descriptor_data = "\n+google/cloud/dataplex/v1/data_quality.proto\x12\x18google.cloud.dataplex.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a)google/cloud/dataplex/v1/processing.proto\"\xc0\x08\n\x0f\x44\x61taQualitySpec\x12=\n\x05rules\x18\x01 \x03(\x0b\x32).google.cloud.dataplex.v1.DataQualityRuleB\x03\xe0\x41\x02\x12\x1d\n\x10sampling_percent\x18\x04 \x01(\x02\x42\x03\xe0\x41\x01\x12\x17\n\nrow_filter\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12Y\n\x11post_scan_actions\x18\x06 \x01(\x0b\x32\x39.google.cloud.dataplex.v1.DataQualitySpec.PostScanActionsB\x03\xe0\x41\x01\x1a\xda\x06\n\x0fPostScanActions\x12\x66\n\x0f\x62igquery_export\x18\x01 \x01(\x0b\x32H.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExportB\x03\xe0\x41\x01\x12n\n\x13notification_report\x18\x02 \x01(\x0b\x32L.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.NotificationReportB\x03\xe0\x41\x01\x1a,\n\x0e\x42igQueryExport\x12\x1a\n\rresults_table\x18\x01 \x01(\tB\x03\xe0\x41\x01\x1a!\n\nRecipients\x12\x13\n\x06\x65mails\x18\x01 \x03(\tB\x03\xe0\x41\x01\x1a\x35\n\x15ScoreThresholdTrigger\x12\x1c\n\x0fscore_threshold\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01\x1a\x13\n\x11JobFailureTrigger\x1a\x0f\n\rJobEndTrigger\x1a\xc0\x03\n\x12NotificationReport\x12]\n\nrecipients\x18\x01 \x01(\x0b\x32\x44.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.RecipientsB\x03\xe0\x41\x02\x12u\n\x17score_threshold_trigger\x18\x02 \x01(\x0b\x32O.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.ScoreThresholdTriggerB\x03\xe0\x41\x01\x12m\n\x13job_failure_trigger\x18\x04 \x01(\x0b\x32K.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.JobFailureTriggerB\x03\xe0\x41\x01\x12\x65\n\x0fjob_end_trigger\x18\x05 \x01(\x0b\x32G.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.JobEndTriggerB\x03\xe0\x41\x01\"\
|
12
|
+
descriptor_data = "\n+google/cloud/dataplex/v1/data_quality.proto\x12\x18google.cloud.dataplex.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a)google/cloud/dataplex/v1/processing.proto\"\xc0\x08\n\x0f\x44\x61taQualitySpec\x12=\n\x05rules\x18\x01 \x03(\x0b\x32).google.cloud.dataplex.v1.DataQualityRuleB\x03\xe0\x41\x02\x12\x1d\n\x10sampling_percent\x18\x04 \x01(\x02\x42\x03\xe0\x41\x01\x12\x17\n\nrow_filter\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12Y\n\x11post_scan_actions\x18\x06 \x01(\x0b\x32\x39.google.cloud.dataplex.v1.DataQualitySpec.PostScanActionsB\x03\xe0\x41\x01\x1a\xda\x06\n\x0fPostScanActions\x12\x66\n\x0f\x62igquery_export\x18\x01 \x01(\x0b\x32H.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.BigQueryExportB\x03\xe0\x41\x01\x12n\n\x13notification_report\x18\x02 \x01(\x0b\x32L.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.NotificationReportB\x03\xe0\x41\x01\x1a,\n\x0e\x42igQueryExport\x12\x1a\n\rresults_table\x18\x01 \x01(\tB\x03\xe0\x41\x01\x1a!\n\nRecipients\x12\x13\n\x06\x65mails\x18\x01 \x03(\tB\x03\xe0\x41\x01\x1a\x35\n\x15ScoreThresholdTrigger\x12\x1c\n\x0fscore_threshold\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01\x1a\x13\n\x11JobFailureTrigger\x1a\x0f\n\rJobEndTrigger\x1a\xc0\x03\n\x12NotificationReport\x12]\n\nrecipients\x18\x01 \x01(\x0b\x32\x44.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.RecipientsB\x03\xe0\x41\x02\x12u\n\x17score_threshold_trigger\x18\x02 \x01(\x0b\x32O.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.ScoreThresholdTriggerB\x03\xe0\x41\x01\x12m\n\x13job_failure_trigger\x18\x04 \x01(\x0b\x32K.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.JobFailureTriggerB\x03\xe0\x41\x01\x12\x65\n\x0fjob_end_trigger\x18\x05 \x01(\x0b\x32G.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.JobEndTriggerB\x03\xe0\x41\x01\"\xec\x06\n\x11\x44\x61taQualityResult\x12\x13\n\x06passed\x18\x05 \x01(\x08\x42\x03\xe0\x41\x03\x12\x17\n\x05score\x18\t \x01(\x02\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x12M\n\ndimensions\x18\x02 \x03(\x0b\x32\x34.google.cloud.dataplex.v1.DataQualityDimensionResultB\x03\xe0\x41\x03\x12G\n\x07\x63olumns\x18\n \x03(\x0b\x32\x31.google.cloud.dataplex.v1.DataQualityColumnResultB\x03\xe0\x41\x03\x12\x43\n\x05rules\x18\x03 \x03(\x0b\x32/.google.cloud.dataplex.v1.DataQualityRuleResultB\x03\xe0\x41\x03\x12\x16\n\trow_count\x18\x04 \x01(\x03\x42\x03\xe0\x41\x03\x12@\n\x0cscanned_data\x18\x07 \x01(\x0b\x32%.google.cloud.dataplex.v1.ScannedDataB\x03\xe0\x41\x03\x12h\n\x18post_scan_actions_result\x18\x08 \x01(\x0b\x32\x41.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResultB\x03\xe0\x41\x03\x1a\xfd\x02\n\x15PostScanActionsResult\x12{\n\x16\x62igquery_export_result\x18\x01 \x01(\x0b\x32V.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResultB\x03\xe0\x41\x03\x1a\xe6\x01\n\x14\x42igQueryExportResult\x12p\n\x05state\x18\x01 \x01(\x0e\x32\\.google.cloud.dataplex.v1.DataQualityResult.PostScanActionsResult.BigQueryExportResult.StateB\x03\xe0\x41\x03\x12\x14\n\x07message\x18\x02 \x01(\tB\x03\xe0\x41\x03\"F\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\r\n\tSUCCEEDED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\x0b\n\x07SKIPPED\x10\x03\x42\x08\n\x06_score\"\x98\x02\n\x15\x44\x61taQualityRuleResult\x12<\n\x04rule\x18\x01 \x01(\x0b\x32).google.cloud.dataplex.v1.DataQualityRuleB\x03\xe0\x41\x03\x12\x13\n\x06passed\x18\x07 \x01(\x08\x42\x03\xe0\x41\x03\x12\x1c\n\x0f\x65valuated_count\x18\t \x01(\x03\x42\x03\xe0\x41\x03\x12\x19\n\x0cpassed_count\x18\x08 \x01(\x03\x42\x03\xe0\x41\x03\x12\x17\n\nnull_count\x18\x05 \x01(\x03\x42\x03\xe0\x41\x03\x12\x17\n\npass_ratio\x18\x06 \x01(\x01\x42\x03\xe0\x41\x03\x12\x1f\n\x12\x66\x61iling_rows_query\x18\n \x01(\tB\x03\xe0\x41\x03\x12 \n\x13\x61ssertion_row_count\x18\x0b \x01(\x03\x42\x03\xe0\x41\x03\"\x9c\x01\n\x1a\x44\x61taQualityDimensionResult\x12\x46\n\tdimension\x18\x01 \x01(\x0b\x32..google.cloud.dataplex.v1.DataQualityDimensionB\x03\xe0\x41\x03\x12\x13\n\x06passed\x18\x03 \x01(\x08\x42\x03\xe0\x41\x03\x12\x17\n\x05score\x18\x04 \x01(\x02\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x42\x08\n\x06_score\")\n\x14\x44\x61taQualityDimension\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x01\"\x8d\x0e\n\x0f\x44\x61taQualityRule\x12W\n\x11range_expectation\x18\x01 \x01(\x0b\x32:.google.cloud.dataplex.v1.DataQualityRule.RangeExpectationH\x00\x12\\\n\x14non_null_expectation\x18\x02 \x01(\x0b\x32<.google.cloud.dataplex.v1.DataQualityRule.NonNullExpectationH\x00\x12S\n\x0fset_expectation\x18\x03 \x01(\x0b\x32\x38.google.cloud.dataplex.v1.DataQualityRule.SetExpectationH\x00\x12W\n\x11regex_expectation\x18\x04 \x01(\x0b\x32:.google.cloud.dataplex.v1.DataQualityRule.RegexExpectationH\x00\x12\x61\n\x16uniqueness_expectation\x18\x64 \x01(\x0b\x32?.google.cloud.dataplex.v1.DataQualityRule.UniquenessExpectationH\x00\x12j\n\x1bstatistic_range_expectation\x18\x65 \x01(\x0b\x32\x43.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectationH\x00\x12g\n\x19row_condition_expectation\x18\xc8\x01 \x01(\x0b\x32\x41.google.cloud.dataplex.v1.DataQualityRule.RowConditionExpectationH\x00\x12k\n\x1btable_condition_expectation\x18\xc9\x01 \x01(\x0b\x32\x43.google.cloud.dataplex.v1.DataQualityRule.TableConditionExpectationH\x00\x12P\n\rsql_assertion\x18\xca\x01 \x01(\x0b\x32\x36.google.cloud.dataplex.v1.DataQualityRule.SqlAssertionH\x00\x12\x14\n\x06\x63olumn\x18\xf4\x03 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0bignore_null\x18\xf5\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x17\n\tdimension\x18\xf6\x03 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\tthreshold\x18\xf7\x03 \x01(\x01\x42\x03\xe0\x41\x01\x12\x12\n\x04name\x18\xf8\x03 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0b\x64\x65scription\x18\xf9\x03 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\tsuspended\x18\xfa\x03 \x01(\x08\x42\x03\xe0\x41\x01\x1a\x84\x01\n\x10RangeExpectation\x12\x16\n\tmin_value\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tmax_value\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1f\n\x12strict_min_enabled\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1f\n\x12strict_max_enabled\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x1a\x14\n\x12NonNullExpectation\x1a%\n\x0eSetExpectation\x12\x13\n\x06values\x18\x01 \x03(\tB\x03\xe0\x41\x01\x1a&\n\x10RegexExpectation\x12\x12\n\x05regex\x18\x01 \x01(\tB\x03\xe0\x41\x01\x1a\x17\n\x15UniquenessExpectation\x1a\xc2\x02\n\x19StatisticRangeExpectation\x12k\n\tstatistic\x18\x01 \x01(\x0e\x32S.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatisticB\x03\xe0\x41\x01\x12\x16\n\tmin_value\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tmax_value\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1f\n\x12strict_min_enabled\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1f\n\x12strict_max_enabled\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"F\n\x0f\x43olumnStatistic\x12\x17\n\x13STATISTIC_UNDEFINED\x10\x00\x12\x08\n\x04MEAN\x10\x01\x12\x07\n\x03MIN\x10\x02\x12\x07\n\x03MAX\x10\x03\x1a\x36\n\x17RowConditionExpectation\x12\x1b\n\x0esql_expression\x18\x01 \x01(\tB\x03\xe0\x41\x01\x1a\x38\n\x19TableConditionExpectation\x12\x1b\n\x0esql_expression\x18\x01 \x01(\tB\x03\xe0\x41\x01\x1a*\n\x0cSqlAssertion\x12\x1a\n\rsql_statement\x18\x01 \x01(\tB\x03\xe0\x41\x01\x42\x0b\n\trule_type\"Q\n\x17\x44\x61taQualityColumnResult\x12\x13\n\x06\x63olumn\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\x05score\x18\x02 \x01(\x02\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x42\x08\n\x06_scoreB\xc4\x01\n\x1c\x63om.google.cloud.dataplex.v1B\x10\x44\x61taQualityProtoP\x01Z8cloud.google.com/go/dataplex/apiv1/dataplexpb;dataplexpb\xea\x41U\n\x1d\x62igquery.googleapis.com/Table\x12\x34projects/{project}/datasets/{dataset}/tables/{table}b\x06proto3"
|
13
13
|
|
14
14
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
15
|
|