google-cloud-dataplex-v1 2.7.0 → 2.8.1

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.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/dataplex/v1/bindings_override.rb +24 -0
  3. data/lib/google/cloud/dataplex/v1/business_glossary_service/client.rb +20 -3
  4. data/lib/google/cloud/dataplex/v1/business_glossary_service/operations.rb +20 -3
  5. data/lib/google/cloud/dataplex/v1/catalog_pb.rb +2 -1
  6. data/lib/google/cloud/dataplex/v1/catalog_service/client.rb +35 -3
  7. data/lib/google/cloud/dataplex/v1/catalog_service/operations.rb +20 -3
  8. data/lib/google/cloud/dataplex/v1/catalog_service/rest/client.rb +15 -0
  9. data/lib/google/cloud/dataplex/v1/catalog_services_pb.rb +15 -0
  10. data/lib/google/cloud/dataplex/v1/cmek_pb.rb +1 -1
  11. data/lib/google/cloud/dataplex/v1/cmek_service/client.rb +20 -3
  12. data/lib/google/cloud/dataplex/v1/cmek_service/operations.rb +20 -3
  13. data/lib/google/cloud/dataplex/v1/content_service/client.rb +20 -3
  14. data/lib/google/cloud/dataplex/v1/data_documentation_pb.rb +49 -0
  15. data/lib/google/cloud/dataplex/v1/data_quality_pb.rb +2 -1
  16. data/lib/google/cloud/dataplex/v1/data_scan_service/client.rb +20 -3
  17. data/lib/google/cloud/dataplex/v1/data_scan_service/operations.rb +20 -3
  18. data/lib/google/cloud/dataplex/v1/data_taxonomy_service/client.rb +20 -3
  19. data/lib/google/cloud/dataplex/v1/data_taxonomy_service/operations.rb +20 -3
  20. data/lib/google/cloud/dataplex/v1/dataplex_service/client.rb +20 -3
  21. data/lib/google/cloud/dataplex/v1/dataplex_service/operations.rb +20 -3
  22. data/lib/google/cloud/dataplex/v1/datascans_pb.rb +3 -1
  23. data/lib/google/cloud/dataplex/v1/metadata_service/client.rb +20 -3
  24. data/lib/google/cloud/dataplex/v1/version.rb +1 -1
  25. data/proto_docs/google/cloud/dataplex/v1/catalog.rb +16 -7
  26. data/proto_docs/google/cloud/dataplex/v1/cmek.rb +3 -0
  27. data/proto_docs/google/cloud/dataplex/v1/data_documentation.rb +98 -0
  28. data/proto_docs/google/cloud/dataplex/v1/data_quality.rb +32 -0
  29. data/proto_docs/google/cloud/dataplex/v1/datascans.rb +39 -12
  30. data/proto_docs/google/cloud/dataplex/v1/processing.rb +2 -2
  31. metadata +3 -1
@@ -0,0 +1,98 @@
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
+
20
+ module Google
21
+ module Cloud
22
+ module Dataplex
23
+ module V1
24
+ # DataDocumentation scan related spec.
25
+ class DataDocumentationSpec
26
+ include ::Google::Protobuf::MessageExts
27
+ extend ::Google::Protobuf::MessageExts::ClassMethods
28
+ end
29
+
30
+ # The output of a DataDocumentation scan.
31
+ # @!attribute [r] table_result
32
+ # @return [::Google::Cloud::Dataplex::V1::DataDocumentationResult::TableResult]
33
+ # Output only. Table result for insights.
34
+ class DataDocumentationResult
35
+ include ::Google::Protobuf::MessageExts
36
+ extend ::Google::Protobuf::MessageExts::ClassMethods
37
+
38
+ # Generated metadata about the table.
39
+ # @!attribute [r] name
40
+ # @return [::String]
41
+ # Output only. The service-qualified full resource name of the cloud
42
+ # resource. Ex:
43
+ # //bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID
44
+ # @!attribute [r] overview
45
+ # @return [::String]
46
+ # Output only. Generated description of the table.
47
+ # @!attribute [r] schema
48
+ # @return [::Google::Cloud::Dataplex::V1::DataDocumentationResult::Schema]
49
+ # Output only. Schema of the table with generated metadata of the columns
50
+ # in the schema.
51
+ # @!attribute [r] queries
52
+ # @return [::Array<::Google::Cloud::Dataplex::V1::DataDocumentationResult::Query>]
53
+ # Output only. Sample SQL queries for the table.
54
+ class TableResult
55
+ include ::Google::Protobuf::MessageExts
56
+ extend ::Google::Protobuf::MessageExts::ClassMethods
57
+ end
58
+
59
+ # A sample SQL query in data documentation.
60
+ # @!attribute [r] sql
61
+ # @return [::String]
62
+ # Output only. The SQL query string which can be executed.
63
+ # @!attribute [r] description
64
+ # @return [::String]
65
+ # Output only. The description for the query.
66
+ class Query
67
+ include ::Google::Protobuf::MessageExts
68
+ extend ::Google::Protobuf::MessageExts::ClassMethods
69
+ end
70
+
71
+ # Schema of the table with generated metadata of columns.
72
+ # @!attribute [r] fields
73
+ # @return [::Array<::Google::Cloud::Dataplex::V1::DataDocumentationResult::Field>]
74
+ # Output only. The list of columns.
75
+ class Schema
76
+ include ::Google::Protobuf::MessageExts
77
+ extend ::Google::Protobuf::MessageExts::ClassMethods
78
+ end
79
+
80
+ # Column of a table with generated metadata and nested fields.
81
+ # @!attribute [r] name
82
+ # @return [::String]
83
+ # Output only. The name of the column.
84
+ # @!attribute [r] description
85
+ # @return [::String]
86
+ # Output only. Generated description for columns and fields.
87
+ # @!attribute [r] fields
88
+ # @return [::Array<::Google::Cloud::Dataplex::V1::DataDocumentationResult::Field>]
89
+ # Output only. Nested fields.
90
+ class Field
91
+ include ::Google::Protobuf::MessageExts
92
+ extend ::Google::Protobuf::MessageExts::ClassMethods
93
+ end
94
+ end
95
+ end
96
+ end
97
+ end
98
+ end
@@ -172,6 +172,9 @@ module Google
172
172
  # @return [::Google::Cloud::Dataplex::V1::DataScanCatalogPublishingStatus]
173
173
  # Output only. The status of publishing the data scan as Dataplex Universal
174
174
  # Catalog metadata.
175
+ # @!attribute [r] anomaly_detection_generated_assets
176
+ # @return [::Google::Cloud::Dataplex::V1::DataQualityResult::AnomalyDetectionGeneratedAssets]
177
+ # Output only. The generated assets for anomaly detection.
175
178
  class DataQualityResult
176
179
  include ::Google::Protobuf::MessageExts
177
180
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -212,6 +215,35 @@ module Google
212
215
  end
213
216
  end
214
217
  end
218
+
219
+ # The assets generated by Anomaly Detection Data Scan.
220
+ # @!attribute [r] result_table
221
+ # @return [::String]
222
+ # Output only. The result table for anomaly detection.
223
+ # Format:
224
+ # PROJECT_ID.DATASET_ID.TABLE_ID
225
+ # If the result table is set at AnomalyDetectionAssets, the result table
226
+ # here would be the same as the one set in the
227
+ # AnomalyDetectionAssets.result_table.
228
+ # @!attribute [r] data_intermediate_table
229
+ # @return [::String]
230
+ # Output only. The intermediate table for data anomaly detection.
231
+ # Format:
232
+ # PROJECT_ID.DATASET_ID.TABLE_ID
233
+ # @!attribute [r] freshness_intermediate_table
234
+ # @return [::String]
235
+ # Output only. The intermediate table for freshness anomaly detection.
236
+ # Format:
237
+ # PROJECT_ID.DATASET_ID.TABLE_ID
238
+ # @!attribute [r] volume_intermediate_table
239
+ # @return [::String]
240
+ # Output only. The intermediate table for volume anomaly detection.
241
+ # Format:
242
+ # PROJECT_ID.DATASET_ID.TABLE_ID
243
+ class AnomalyDetectionGeneratedAssets
244
+ include ::Google::Protobuf::MessageExts
245
+ extend ::Google::Protobuf::MessageExts::ClassMethods
246
+ end
215
247
  end
216
248
 
217
249
  # DataQualityRuleResult provides a more detailed, per-rule view of the results.
@@ -303,6 +303,10 @@ module Google
303
303
  # * Data discovery: scans data in Cloud Storage buckets to extract and then
304
304
  # catalog metadata. For more information, see [Discover and catalog Cloud
305
305
  # Storage data](https://cloud.google.com/bigquery/docs/automatic-discovery).
306
+ # * Data documentation: analyzes the table details and generates insights
307
+ # including descriptions and sample SQL queries for the table. For more
308
+ # information, see [Generate data insights in
309
+ # BigQuery](https://cloud.google.com/bigquery/docs/data-insights).
306
310
  # @!attribute [r] name
307
311
  # @return [::String]
308
312
  # Output only. Identifier. The relative resource name of the scan, of the
@@ -353,32 +357,42 @@ module Google
353
357
  # @return [::Google::Cloud::Dataplex::V1::DataQualitySpec]
354
358
  # Settings for a data quality scan.
355
359
  #
356
- # Note: The following fields are mutually exclusive: `data_quality_spec`, `data_profile_spec`, `data_discovery_spec`. If a field in that set is populated, all other fields in the set will automatically be cleared.
360
+ # Note: The following fields are mutually exclusive: `data_quality_spec`, `data_profile_spec`, `data_discovery_spec`, `data_documentation_spec`. If a field in that set is populated, all other fields in the set will automatically be cleared.
357
361
  # @!attribute [rw] data_profile_spec
358
362
  # @return [::Google::Cloud::Dataplex::V1::DataProfileSpec]
359
363
  # Settings for a data profile scan.
360
364
  #
361
- # Note: The following fields are mutually exclusive: `data_profile_spec`, `data_quality_spec`, `data_discovery_spec`. If a field in that set is populated, all other fields in the set will automatically be cleared.
365
+ # Note: The following fields are mutually exclusive: `data_profile_spec`, `data_quality_spec`, `data_discovery_spec`, `data_documentation_spec`. If a field in that set is populated, all other fields in the set will automatically be cleared.
362
366
  # @!attribute [rw] data_discovery_spec
363
367
  # @return [::Google::Cloud::Dataplex::V1::DataDiscoverySpec]
364
368
  # Settings for a data discovery scan.
365
369
  #
366
- # Note: The following fields are mutually exclusive: `data_discovery_spec`, `data_quality_spec`, `data_profile_spec`. If a field in that set is populated, all other fields in the set will automatically be cleared.
370
+ # Note: The following fields are mutually exclusive: `data_discovery_spec`, `data_quality_spec`, `data_profile_spec`, `data_documentation_spec`. If a field in that set is populated, all other fields in the set will automatically be cleared.
371
+ # @!attribute [rw] data_documentation_spec
372
+ # @return [::Google::Cloud::Dataplex::V1::DataDocumentationSpec]
373
+ # Settings for a data documentation scan.
374
+ #
375
+ # Note: The following fields are mutually exclusive: `data_documentation_spec`, `data_quality_spec`, `data_profile_spec`, `data_discovery_spec`. If a field in that set is populated, all other fields in the set will automatically be cleared.
367
376
  # @!attribute [r] data_quality_result
368
377
  # @return [::Google::Cloud::Dataplex::V1::DataQualityResult]
369
378
  # Output only. The result of a data quality scan.
370
379
  #
371
- # Note: The following fields are mutually exclusive: `data_quality_result`, `data_profile_result`, `data_discovery_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
380
+ # Note: The following fields are mutually exclusive: `data_quality_result`, `data_profile_result`, `data_discovery_result`, `data_documentation_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
372
381
  # @!attribute [r] data_profile_result
373
382
  # @return [::Google::Cloud::Dataplex::V1::DataProfileResult]
374
383
  # Output only. The result of a data profile scan.
375
384
  #
376
- # Note: The following fields are mutually exclusive: `data_profile_result`, `data_quality_result`, `data_discovery_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
385
+ # Note: The following fields are mutually exclusive: `data_profile_result`, `data_quality_result`, `data_discovery_result`, `data_documentation_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
377
386
  # @!attribute [r] data_discovery_result
378
387
  # @return [::Google::Cloud::Dataplex::V1::DataDiscoveryResult]
379
388
  # Output only. The result of a data discovery scan.
380
389
  #
381
- # Note: The following fields are mutually exclusive: `data_discovery_result`, `data_quality_result`, `data_profile_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
390
+ # Note: The following fields are mutually exclusive: `data_discovery_result`, `data_quality_result`, `data_profile_result`, `data_documentation_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
391
+ # @!attribute [r] data_documentation_result
392
+ # @return [::Google::Cloud::Dataplex::V1::DataDocumentationResult]
393
+ # Output only. The result of a data documentation scan.
394
+ #
395
+ # Note: The following fields are mutually exclusive: `data_documentation_result`, `data_quality_result`, `data_profile_result`, `data_discovery_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
382
396
  class DataScan
383
397
  include ::Google::Protobuf::MessageExts
384
398
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -459,32 +473,42 @@ module Google
459
473
  # @return [::Google::Cloud::Dataplex::V1::DataQualitySpec]
460
474
  # Output only. Settings for a data quality scan.
461
475
  #
462
- # Note: The following fields are mutually exclusive: `data_quality_spec`, `data_profile_spec`, `data_discovery_spec`. If a field in that set is populated, all other fields in the set will automatically be cleared.
476
+ # Note: The following fields are mutually exclusive: `data_quality_spec`, `data_profile_spec`, `data_discovery_spec`, `data_documentation_spec`. If a field in that set is populated, all other fields in the set will automatically be cleared.
463
477
  # @!attribute [r] data_profile_spec
464
478
  # @return [::Google::Cloud::Dataplex::V1::DataProfileSpec]
465
479
  # Output only. Settings for a data profile scan.
466
480
  #
467
- # Note: The following fields are mutually exclusive: `data_profile_spec`, `data_quality_spec`, `data_discovery_spec`. If a field in that set is populated, all other fields in the set will automatically be cleared.
481
+ # Note: The following fields are mutually exclusive: `data_profile_spec`, `data_quality_spec`, `data_discovery_spec`, `data_documentation_spec`. If a field in that set is populated, all other fields in the set will automatically be cleared.
468
482
  # @!attribute [r] data_discovery_spec
469
483
  # @return [::Google::Cloud::Dataplex::V1::DataDiscoverySpec]
470
484
  # Output only. Settings for a data discovery scan.
471
485
  #
472
- # Note: The following fields are mutually exclusive: `data_discovery_spec`, `data_quality_spec`, `data_profile_spec`. If a field in that set is populated, all other fields in the set will automatically be cleared.
486
+ # Note: The following fields are mutually exclusive: `data_discovery_spec`, `data_quality_spec`, `data_profile_spec`, `data_documentation_spec`. If a field in that set is populated, all other fields in the set will automatically be cleared.
487
+ # @!attribute [r] data_documentation_spec
488
+ # @return [::Google::Cloud::Dataplex::V1::DataDocumentationSpec]
489
+ # Output only. Settings for a data documentation scan.
490
+ #
491
+ # Note: The following fields are mutually exclusive: `data_documentation_spec`, `data_quality_spec`, `data_profile_spec`, `data_discovery_spec`. If a field in that set is populated, all other fields in the set will automatically be cleared.
473
492
  # @!attribute [r] data_quality_result
474
493
  # @return [::Google::Cloud::Dataplex::V1::DataQualityResult]
475
494
  # Output only. The result of a data quality scan.
476
495
  #
477
- # Note: The following fields are mutually exclusive: `data_quality_result`, `data_profile_result`, `data_discovery_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
496
+ # Note: The following fields are mutually exclusive: `data_quality_result`, `data_profile_result`, `data_discovery_result`, `data_documentation_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
478
497
  # @!attribute [r] data_profile_result
479
498
  # @return [::Google::Cloud::Dataplex::V1::DataProfileResult]
480
499
  # Output only. The result of a data profile scan.
481
500
  #
482
- # Note: The following fields are mutually exclusive: `data_profile_result`, `data_quality_result`, `data_discovery_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
501
+ # Note: The following fields are mutually exclusive: `data_profile_result`, `data_quality_result`, `data_discovery_result`, `data_documentation_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
483
502
  # @!attribute [r] data_discovery_result
484
503
  # @return [::Google::Cloud::Dataplex::V1::DataDiscoveryResult]
485
504
  # Output only. The result of a data discovery scan.
486
505
  #
487
- # Note: The following fields are mutually exclusive: `data_discovery_result`, `data_quality_result`, `data_profile_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
506
+ # Note: The following fields are mutually exclusive: `data_discovery_result`, `data_quality_result`, `data_profile_result`, `data_documentation_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
507
+ # @!attribute [r] data_documentation_result
508
+ # @return [::Google::Cloud::Dataplex::V1::DataDocumentationResult]
509
+ # Output only. The result of a data documentation scan.
510
+ #
511
+ # Note: The following fields are mutually exclusive: `data_documentation_result`, `data_quality_result`, `data_profile_result`, `data_discovery_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
488
512
  class DataScanJob
489
513
  include ::Google::Protobuf::MessageExts
490
514
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -527,6 +551,9 @@ module Google
527
551
 
528
552
  # Data discovery scan.
529
553
  DATA_DISCOVERY = 3
554
+
555
+ # Data documentation scan.
556
+ DATA_DOCUMENTATION = 4
530
557
  end
531
558
  end
532
559
  end
@@ -78,8 +78,8 @@ module Google
78
78
  # Storage bucket for DataDiscoveryScan Format:
79
79
  # //storage.googleapis.com/projects/PROJECT_ID/buckets/BUCKET_ID
80
80
  # or
81
- # BigQuery table of type "TABLE" for DataProfileScan/DataQualityScan
82
- # Format:
81
+ # BigQuery table of type "TABLE" for
82
+ # DataProfileScan/DataQualityScan/DataDocumentationScan Format:
83
83
  # //bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID
84
84
  #
85
85
  # Note: The following fields are mutually exclusive: `resource`, `entity`. If a field in that set is populated, all other fields in the set will automatically be cleared.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-dataplex-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.0
4
+ version: 2.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -127,6 +127,7 @@ files:
127
127
  - lib/google/cloud/dataplex/v1/content_service/rest/service_stub.rb
128
128
  - lib/google/cloud/dataplex/v1/content_services_pb.rb
129
129
  - lib/google/cloud/dataplex/v1/data_discovery_pb.rb
130
+ - lib/google/cloud/dataplex/v1/data_documentation_pb.rb
130
131
  - lib/google/cloud/dataplex/v1/data_profile_pb.rb
131
132
  - lib/google/cloud/dataplex/v1/data_quality_pb.rb
132
133
  - lib/google/cloud/dataplex/v1/data_scan_service.rb
@@ -191,6 +192,7 @@ files:
191
192
  - proto_docs/google/cloud/dataplex/v1/cmek.rb
192
193
  - proto_docs/google/cloud/dataplex/v1/content.rb
193
194
  - proto_docs/google/cloud/dataplex/v1/data_discovery.rb
195
+ - proto_docs/google/cloud/dataplex/v1/data_documentation.rb
194
196
  - proto_docs/google/cloud/dataplex/v1/data_profile.rb
195
197
  - proto_docs/google/cloud/dataplex/v1/data_quality.rb
196
198
  - proto_docs/google/cloud/dataplex/v1/data_taxonomy.rb