google-cloud-dataplex-v1 2.8.1 → 2.10.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.
Files changed (100) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/dataplex/v1/analyze_pb.rb +2 -25
  4. data/lib/google/cloud/dataplex/v1/approval_workflow_pb.rb +33 -0
  5. data/lib/google/cloud/dataplex/v1/bindings_override.rb +18 -26
  6. data/lib/google/cloud/dataplex/v1/business_glossary_pb.rb +3 -26
  7. data/lib/google/cloud/dataplex/v1/business_glossary_service/client.rb +2 -0
  8. data/lib/google/cloud/dataplex/v1/business_glossary_service/credentials.rb +4 -1
  9. data/lib/google/cloud/dataplex/v1/business_glossary_service/operations.rb +2 -0
  10. data/lib/google/cloud/dataplex/v1/business_glossary_service/rest/client.rb +2 -0
  11. data/lib/google/cloud/dataplex/v1/business_glossary_service/rest/operations.rb +2 -0
  12. data/lib/google/cloud/dataplex/v1/catalog_pb.rb +20 -27
  13. data/lib/google/cloud/dataplex/v1/catalog_service/client.rb +1079 -74
  14. data/lib/google/cloud/dataplex/v1/catalog_service/credentials.rb +4 -1
  15. data/lib/google/cloud/dataplex/v1/catalog_service/operations.rb +2 -0
  16. data/lib/google/cloud/dataplex/v1/catalog_service/paths.rb +19 -0
  17. data/lib/google/cloud/dataplex/v1/catalog_service/rest/client.rb +1025 -83
  18. data/lib/google/cloud/dataplex/v1/catalog_service/rest/operations.rb +2 -0
  19. data/lib/google/cloud/dataplex/v1/catalog_service/rest/service_stub.rb +554 -0
  20. data/lib/google/cloud/dataplex/v1/catalog_services_pb.rb +18 -15
  21. data/lib/google/cloud/dataplex/v1/cmek_pb.rb +3 -26
  22. data/lib/google/cloud/dataplex/v1/cmek_service/client.rb +2 -0
  23. data/lib/google/cloud/dataplex/v1/cmek_service/credentials.rb +2 -1
  24. data/lib/google/cloud/dataplex/v1/cmek_service/operations.rb +2 -0
  25. data/lib/google/cloud/dataplex/v1/cmek_service/rest/client.rb +2 -0
  26. data/lib/google/cloud/dataplex/v1/cmek_service/rest/operations.rb +2 -0
  27. data/lib/google/cloud/dataplex/v1/content_pb.rb +3 -38
  28. data/lib/google/cloud/dataplex/v1/content_services_pb.rb +0 -49
  29. data/lib/google/cloud/dataplex/v1/data_discovery_pb.rb +4 -24
  30. data/lib/google/cloud/dataplex/v1/data_documentation_pb.rb +10 -24
  31. data/lib/google/cloud/dataplex/v1/data_product_service/client.rb +1644 -0
  32. data/lib/google/cloud/dataplex/v1/{content_service → data_product_service}/credentials.rb +7 -4
  33. data/lib/google/cloud/dataplex/v1/data_product_service/operations.rb +843 -0
  34. data/lib/google/cloud/dataplex/v1/data_product_service/paths.rb +231 -0
  35. data/lib/google/cloud/dataplex/v1/data_product_service/rest/client.rb +1533 -0
  36. data/lib/google/cloud/dataplex/v1/data_product_service/rest/operations.rb +956 -0
  37. data/lib/google/cloud/dataplex/v1/{content_service → data_product_service}/rest/service_stub.rb +284 -160
  38. data/lib/google/cloud/dataplex/v1/{content_service → data_product_service}/rest.rb +11 -10
  39. data/lib/google/cloud/dataplex/v1/{content_service.rb → data_product_service.rb} +15 -14
  40. data/lib/google/cloud/dataplex/v1/data_products_pb.rb +52 -0
  41. data/lib/google/cloud/dataplex/v1/data_products_services_pb.rb +69 -0
  42. data/lib/google/cloud/dataplex/v1/data_profile_pb.rb +5 -25
  43. data/lib/google/cloud/dataplex/v1/data_quality_pb.rb +13 -26
  44. data/lib/google/cloud/dataplex/v1/data_quality_rule_template_pb.rb +25 -0
  45. data/lib/google/cloud/dataplex/v1/data_scan_service/client.rb +99 -1
  46. data/lib/google/cloud/dataplex/v1/data_scan_service/credentials.rb +4 -1
  47. data/lib/google/cloud/dataplex/v1/data_scan_service/operations.rb +2 -0
  48. data/lib/google/cloud/dataplex/v1/data_scan_service/paths.rb +21 -0
  49. data/lib/google/cloud/dataplex/v1/data_scan_service/rest/client.rb +92 -1
  50. data/lib/google/cloud/dataplex/v1/data_scan_service/rest/operations.rb +2 -0
  51. data/lib/google/cloud/dataplex/v1/data_scan_service/rest/service_stub.rb +62 -0
  52. data/lib/google/cloud/dataplex/v1/data_taxonomy_pb.rb +3 -27
  53. data/lib/google/cloud/dataplex/v1/data_taxonomy_service/client.rb +2 -0
  54. data/lib/google/cloud/dataplex/v1/data_taxonomy_service/credentials.rb +2 -1
  55. data/lib/google/cloud/dataplex/v1/data_taxonomy_service/operations.rb +2 -0
  56. data/lib/google/cloud/dataplex/v1/data_taxonomy_service/rest/client.rb +2 -0
  57. data/lib/google/cloud/dataplex/v1/data_taxonomy_service/rest/operations.rb +2 -0
  58. data/lib/google/cloud/dataplex/v1/dataplex_service/client.rb +2 -664
  59. data/lib/google/cloud/dataplex/v1/dataplex_service/credentials.rb +4 -1
  60. data/lib/google/cloud/dataplex/v1/dataplex_service/operations.rb +2 -0
  61. data/lib/google/cloud/dataplex/v1/dataplex_service/paths.rb +0 -21
  62. data/lib/google/cloud/dataplex/v1/dataplex_service/rest/client.rb +2 -622
  63. data/lib/google/cloud/dataplex/v1/dataplex_service/rest/operations.rb +2 -0
  64. data/lib/google/cloud/dataplex/v1/dataplex_service/rest/service_stub.rb +0 -368
  65. data/lib/google/cloud/dataplex/v1/datascans_common_pb.rb +3 -24
  66. data/lib/google/cloud/dataplex/v1/datascans_pb.rb +9 -31
  67. data/lib/google/cloud/dataplex/v1/datascans_services_pb.rb +2 -0
  68. data/lib/google/cloud/dataplex/v1/logs_pb.rb +3 -27
  69. data/lib/google/cloud/dataplex/v1/metadata_pb.rb +3 -25
  70. data/lib/google/cloud/dataplex/v1/metadata_service/client.rb +2 -0
  71. data/lib/google/cloud/dataplex/v1/metadata_service/credentials.rb +2 -1
  72. data/lib/google/cloud/dataplex/v1/metadata_service/rest/client.rb +2 -0
  73. data/lib/google/cloud/dataplex/v1/processing_pb.rb +5 -24
  74. data/lib/google/cloud/dataplex/v1/resources_pb.rb +2 -25
  75. data/lib/google/cloud/dataplex/v1/rest.rb +1 -1
  76. data/lib/google/cloud/dataplex/v1/security_pb.rb +2 -23
  77. data/lib/google/cloud/dataplex/v1/service_pb.rb +3 -38
  78. data/lib/google/cloud/dataplex/v1/service_services_pb.rb +0 -13
  79. data/lib/google/cloud/dataplex/v1/tasks_pb.rb +2 -25
  80. data/lib/google/cloud/dataplex/v1/version.rb +1 -1
  81. data/lib/google/cloud/dataplex/v1.rb +1 -0
  82. data/proto_docs/google/api/client.rb +149 -29
  83. data/proto_docs/google/cloud/dataplex/v1/approval_workflow.rb +263 -0
  84. data/proto_docs/google/cloud/dataplex/v1/catalog.rb +433 -5
  85. data/proto_docs/google/cloud/dataplex/v1/data_discovery.rb +13 -0
  86. data/proto_docs/google/cloud/dataplex/v1/data_documentation.rb +118 -2
  87. data/proto_docs/google/cloud/dataplex/v1/data_products.rb +567 -0
  88. data/proto_docs/google/cloud/dataplex/v1/data_profile.rb +29 -0
  89. data/proto_docs/google/cloud/dataplex/v1/data_quality.rb +240 -10
  90. data/proto_docs/google/cloud/dataplex/v1/data_quality_rule_template.rb +88 -0
  91. data/proto_docs/google/cloud/dataplex/v1/datascans.rb +82 -5
  92. data/proto_docs/google/cloud/dataplex/v1/datascans_common.rb +7 -3
  93. data/proto_docs/google/cloud/dataplex/v1/logs.rb +7 -0
  94. data/proto_docs/google/cloud/dataplex/v1/processing.rb +27 -3
  95. data/proto_docs/google/cloud/dataplex/v1/service.rb +0 -148
  96. metadata +20 -12
  97. data/lib/google/cloud/dataplex/v1/content_service/client.rb +0 -1261
  98. data/lib/google/cloud/dataplex/v1/content_service/paths.rb +0 -73
  99. data/lib/google/cloud/dataplex/v1/content_service/rest/client.rb +0 -1171
  100. data/proto_docs/google/cloud/dataplex/v1/content.rb +0 -142
@@ -22,20 +22,69 @@ module Google
22
22
  module Dataplex
23
23
  module V1
24
24
  # DataDocumentation scan related spec.
25
+ # @!attribute [rw] catalog_publishing_enabled
26
+ # @return [::Boolean]
27
+ # Optional. Whether to publish result to Dataplex Catalog.
28
+ # @!attribute [rw] generation_scopes
29
+ # @return [::Array<::Google::Cloud::Dataplex::V1::DataDocumentationSpec::GenerationScope>]
30
+ # Optional. Specifies which components of the data documentation to generate.
31
+ # Any component that is required to generate the specified components will
32
+ # also be generated. If no generation scope is specified, all available
33
+ # documentation components will be generated.
25
34
  class DataDocumentationSpec
26
35
  include ::Google::Protobuf::MessageExts
27
36
  extend ::Google::Protobuf::MessageExts::ClassMethods
37
+
38
+ # The data documentation generation scope. This field contains the possible
39
+ # components of a data documentation scan which can be selectively generated.
40
+ module GenerationScope
41
+ # Unspecified generation scope. If no generation scope is specified, all
42
+ # available documentation components will be generated.
43
+ GENERATION_SCOPE_UNSPECIFIED = 0
44
+
45
+ # All the possible results will be generated.
46
+ ALL = 1
47
+
48
+ # Table and column descriptions will be generated.
49
+ TABLE_AND_COLUMN_DESCRIPTIONS = 2
50
+
51
+ # SQL queries will be generated.
52
+ SQL_QUERIES = 3
53
+ end
28
54
  end
29
55
 
30
56
  # The output of a DataDocumentation scan.
57
+ # @!attribute [r] dataset_result
58
+ # @return [::Google::Cloud::Dataplex::V1::DataDocumentationResult::DatasetResult]
59
+ # Output only. Insights for a Dataset resource.
60
+ #
61
+ # Note: The following fields are mutually exclusive: `dataset_result`, `table_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
31
62
  # @!attribute [r] table_result
32
63
  # @return [::Google::Cloud::Dataplex::V1::DataDocumentationResult::TableResult]
33
- # Output only. Table result for insights.
64
+ # Output only. Insights for a Table resource.
65
+ #
66
+ # Note: The following fields are mutually exclusive: `table_result`, `dataset_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
34
67
  class DataDocumentationResult
35
68
  include ::Google::Protobuf::MessageExts
36
69
  extend ::Google::Protobuf::MessageExts::ClassMethods
37
70
 
38
- # Generated metadata about the table.
71
+ # Insights for a dataset resource.
72
+ # @!attribute [r] overview
73
+ # @return [::String]
74
+ # Output only. Generated Dataset description.
75
+ # @!attribute [r] schema_relationships
76
+ # @return [::Array<::Google::Cloud::Dataplex::V1::DataDocumentationResult::SchemaRelationship>]
77
+ # Output only. Relationships suggesting how tables in the dataset are
78
+ # related to each other, based on their schema.
79
+ # @!attribute [r] queries
80
+ # @return [::Array<::Google::Cloud::Dataplex::V1::DataDocumentationResult::Query>]
81
+ # Output only. Sample SQL queries for the dataset.
82
+ class DatasetResult
83
+ include ::Google::Protobuf::MessageExts
84
+ extend ::Google::Protobuf::MessageExts::ClassMethods
85
+ end
86
+
87
+ # Insights for a table resource.
39
88
  # @!attribute [r] name
40
89
  # @return [::String]
41
90
  # Output only. The service-qualified full resource name of the cloud
@@ -56,6 +105,73 @@ module Google
56
105
  extend ::Google::Protobuf::MessageExts::ClassMethods
57
106
  end
58
107
 
108
+ # Details of the relationship between the schema of two resources.
109
+ # @!attribute [r] left_schema_paths
110
+ # @return [::Google::Cloud::Dataplex::V1::DataDocumentationResult::SchemaRelationship::SchemaPaths]
111
+ # Output only. An ordered list of fields for the join from the first table.
112
+ # The size of this list must be the same as `right_schema_paths`.
113
+ # Each field at index i in this list must correspond to a field at the same
114
+ # index in the `right_schema_paths` list.
115
+ # @!attribute [r] right_schema_paths
116
+ # @return [::Google::Cloud::Dataplex::V1::DataDocumentationResult::SchemaRelationship::SchemaPaths]
117
+ # Output only. An ordered list of fields for the join from the second
118
+ # table. The size of this list must be the same as `left_schema_paths`.
119
+ # Each field at index i in this list must correspond to a field at the same
120
+ # index in the `left_schema_paths` list.
121
+ # @!attribute [r] sources
122
+ # @return [::Array<::Google::Cloud::Dataplex::V1::DataDocumentationResult::SchemaRelationship::Source>]
123
+ # Output only. Sources which generated the schema relation edge.
124
+ # @!attribute [r] type
125
+ # @return [::Google::Cloud::Dataplex::V1::DataDocumentationResult::SchemaRelationship::Type]
126
+ # Output only. The type of relationship between the schema paths.
127
+ class SchemaRelationship
128
+ include ::Google::Protobuf::MessageExts
129
+ extend ::Google::Protobuf::MessageExts::ClassMethods
130
+
131
+ # Represents an ordered set of paths within a table's schema.
132
+ # @!attribute [r] table_fqn
133
+ # @return [::String]
134
+ # Output only. The service-qualified full resource name of the table
135
+ # Ex:
136
+ # //bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID
137
+ # @!attribute [r] paths
138
+ # @return [::Array<::String>]
139
+ # Output only. An ordered set of Paths to fields within the schema of the
140
+ # table. For fields nested within a top level field of type record, use
141
+ # '.' to separate field names. Examples: Top level field - `top_level`
142
+ # Nested field - `top_level.child.sub_field`
143
+ class SchemaPaths
144
+ include ::Google::Protobuf::MessageExts
145
+ extend ::Google::Protobuf::MessageExts::ClassMethods
146
+ end
147
+
148
+ # Source which generated the schema relation edge.
149
+ module Source
150
+ # The source of the schema relationship is unspecified.
151
+ SOURCE_UNSPECIFIED = 0
152
+
153
+ # The source of the schema relationship is agent.
154
+ AGENT = 4
155
+
156
+ # The source of the schema relationship is query history from the source
157
+ # system.
158
+ QUERY_HISTORY = 5
159
+
160
+ # The source of the schema relationship is table constraints added in
161
+ # the source system.
162
+ TABLE_CONSTRAINTS = 6
163
+ end
164
+
165
+ # The type of relationship.
166
+ module Type
167
+ # The type of the schema relationship is unspecified.
168
+ TYPE_UNSPECIFIED = 0
169
+
170
+ # Indicates a join relationship between the schema fields.
171
+ SCHEMA_JOIN = 1
172
+ end
173
+ end
174
+
59
175
  # A sample SQL query in data documentation.
60
176
  # @!attribute [r] sql
61
177
  # @return [::String]