google-cloud-data_catalog-v1 0.9.1 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -6
  3. data/lib/google/cloud/data_catalog/v1/data_catalog/client.rb +394 -5
  4. data/lib/google/cloud/data_catalog/v1/policy_tag_manager/client.rb +8 -2
  5. data/lib/google/cloud/data_catalog/v1/version.rb +1 -1
  6. data/lib/google/cloud/data_catalog/v1.rb +2 -0
  7. data/lib/google/cloud/datacatalog/v1/bigquery_pb.rb +2 -1
  8. data/lib/google/cloud/datacatalog/v1/common_pb.rb +8 -1
  9. data/lib/google/cloud/datacatalog/v1/data_source_pb.rb +11 -1
  10. data/lib/google/cloud/datacatalog/v1/datacatalog_pb.rb +56 -2
  11. data/lib/google/cloud/datacatalog/v1/datacatalog_services_pb.rb +20 -0
  12. data/lib/google/cloud/datacatalog/v1/dataplex_spec_pb.rb +45 -0
  13. data/lib/google/cloud/datacatalog/v1/gcs_fileset_spec_pb.rb +2 -1
  14. data/lib/google/cloud/datacatalog/v1/physical_schema_pb.rb +50 -0
  15. data/lib/google/cloud/datacatalog/v1/policytagmanager_pb.rb +2 -1
  16. data/lib/google/cloud/datacatalog/v1/policytagmanagerserialization_pb.rb +3 -3
  17. data/lib/google/cloud/datacatalog/v1/schema_pb.rb +2 -1
  18. data/lib/google/cloud/datacatalog/v1/search_pb.rb +2 -1
  19. data/lib/google/cloud/datacatalog/v1/table_spec_pb.rb +2 -1
  20. data/lib/google/cloud/datacatalog/v1/tags_pb.rb +2 -1
  21. data/lib/google/cloud/datacatalog/v1/timestamps_pb.rb +2 -1
  22. data/lib/google/cloud/datacatalog/v1/usage_pb.rb +2 -1
  23. data/proto_docs/google/cloud/datacatalog/v1/common.rb +15 -0
  24. data/proto_docs/google/cloud/datacatalog/v1/data_source.rb +37 -0
  25. data/proto_docs/google/cloud/datacatalog/v1/datacatalog.rb +151 -12
  26. data/proto_docs/google/cloud/datacatalog/v1/dataplex_spec.rb +99 -0
  27. data/proto_docs/google/cloud/datacatalog/v1/physical_schema.rb +96 -0
  28. data/proto_docs/google/cloud/datacatalog/v1/policytagmanager.rb +2 -0
  29. data/proto_docs/google/cloud/datacatalog/v1/tags.rb +5 -26
  30. data/proto_docs/google/iam/v1/iam_policy.rb +8 -1
  31. data/proto_docs/google/iam/v1/options.rb +14 -4
  32. data/proto_docs/google/iam/v1/policy.rb +208 -38
  33. metadata +20 -22
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/datacatalog/v1/datacatalog.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
@@ -8,6 +10,7 @@ require 'google/api/resource_pb'
8
10
  require 'google/cloud/datacatalog/v1/bigquery_pb'
9
11
  require 'google/cloud/datacatalog/v1/common_pb'
10
12
  require 'google/cloud/datacatalog/v1/data_source_pb'
13
+ require 'google/cloud/datacatalog/v1/dataplex_spec_pb'
11
14
  require 'google/cloud/datacatalog/v1/gcs_fileset_spec_pb'
12
15
  require 'google/cloud/datacatalog/v1/schema_pb'
13
16
  require 'google/cloud/datacatalog/v1/search_pb'
@@ -19,8 +22,6 @@ require 'google/iam/v1/iam_policy_pb'
19
22
  require 'google/iam/v1/policy_pb'
20
23
  require 'google/protobuf/empty_pb'
21
24
  require 'google/protobuf/field_mask_pb'
22
- require 'google/protobuf/timestamp_pb'
23
- require 'google/protobuf'
24
25
 
25
26
  Google::Protobuf::DescriptorPool.generated_pool.build do
26
27
  add_file("google/cloud/datacatalog/v1/datacatalog.proto", :syntax => :proto3) do
@@ -36,6 +37,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
36
37
  repeated :include_project_ids, :string, 3
37
38
  optional :include_gcp_public_datasets, :bool, 7
38
39
  repeated :restricted_locations, :string, 16
40
+ optional :starred_only, :bool, 18
39
41
  optional :include_public_tag_templates, :bool, 19
40
42
  end
41
43
  add_message "google.cloud.datacatalog.v1.SearchCatalogResponse" do
@@ -97,11 +99,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
97
99
  optional :fully_qualified_name, :string, 29
98
100
  optional :display_name, :string, 3
99
101
  optional :description, :string, 4
102
+ optional :business_context, :message, 37, "google.cloud.datacatalog.v1.BusinessContext"
100
103
  optional :schema, :message, 5, "google.cloud.datacatalog.v1.Schema"
101
104
  optional :source_system_timestamps, :message, 7, "google.cloud.datacatalog.v1.SystemTimestamps"
102
105
  optional :usage_signal, :message, 13, "google.cloud.datacatalog.v1.UsageSignal"
103
106
  map :labels, :string, :string, 14
104
107
  optional :data_source, :message, 20, "google.cloud.datacatalog.v1.DataSource"
108
+ optional :personal_details, :message, 26, "google.cloud.datacatalog.v1.PersonalDetails"
105
109
  oneof :entry_type do
106
110
  optional :type, :enum, 2, "google.cloud.datacatalog.v1.EntryType"
107
111
  optional :user_specified_type, :string, 16
@@ -119,16 +123,21 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
119
123
  optional :database_table_spec, :message, 24, "google.cloud.datacatalog.v1.DatabaseTableSpec"
120
124
  optional :data_source_connection_spec, :message, 27, "google.cloud.datacatalog.v1.DataSourceConnectionSpec"
121
125
  optional :routine_spec, :message, 28, "google.cloud.datacatalog.v1.RoutineSpec"
126
+ optional :fileset_spec, :message, 33, "google.cloud.datacatalog.v1.FilesetSpec"
122
127
  end
123
128
  end
124
129
  add_message "google.cloud.datacatalog.v1.DatabaseTableSpec" do
125
130
  optional :type, :enum, 1, "google.cloud.datacatalog.v1.DatabaseTableSpec.TableType"
131
+ optional :dataplex_table, :message, 2, "google.cloud.datacatalog.v1.DataplexTableSpec"
126
132
  end
127
133
  add_enum "google.cloud.datacatalog.v1.DatabaseTableSpec.TableType" do
128
134
  value :TABLE_TYPE_UNSPECIFIED, 0
129
135
  value :NATIVE, 1
130
136
  value :EXTERNAL, 2
131
137
  end
138
+ add_message "google.cloud.datacatalog.v1.FilesetSpec" do
139
+ optional :dataplex_fileset, :message, 1, "google.cloud.datacatalog.v1.DataplexFilesetSpec"
140
+ end
132
141
  add_message "google.cloud.datacatalog.v1.DataSourceConnectionSpec" do
133
142
  optional :bigquery_connection_spec, :message, 1, "google.cloud.datacatalog.v1.BigQueryConnectionSpec"
134
143
  end
@@ -158,6 +167,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
158
167
  value :SCALAR_FUNCTION, 1
159
168
  value :PROCEDURE, 2
160
169
  end
170
+ add_message "google.cloud.datacatalog.v1.BusinessContext" do
171
+ optional :entry_overview, :message, 1, "google.cloud.datacatalog.v1.EntryOverview"
172
+ optional :contacts, :message, 2, "google.cloud.datacatalog.v1.Contacts"
173
+ end
174
+ add_message "google.cloud.datacatalog.v1.EntryOverview" do
175
+ optional :overview, :string, 1
176
+ end
177
+ add_message "google.cloud.datacatalog.v1.Contacts" do
178
+ repeated :people, :message, 1, "google.cloud.datacatalog.v1.Contacts.Person"
179
+ end
180
+ add_message "google.cloud.datacatalog.v1.Contacts.Person" do
181
+ optional :designation, :string, 1
182
+ optional :email, :string, 2
183
+ end
161
184
  add_message "google.cloud.datacatalog.v1.EntryGroup" do
162
185
  optional :name, :string, 1
163
186
  optional :display_name, :string, 2
@@ -232,6 +255,24 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
232
255
  repeated :entries, :message, 1, "google.cloud.datacatalog.v1.Entry"
233
256
  optional :next_page_token, :string, 2
234
257
  end
258
+ add_message "google.cloud.datacatalog.v1.StarEntryRequest" do
259
+ optional :name, :string, 1
260
+ end
261
+ add_message "google.cloud.datacatalog.v1.StarEntryResponse" do
262
+ end
263
+ add_message "google.cloud.datacatalog.v1.UnstarEntryRequest" do
264
+ optional :name, :string, 1
265
+ end
266
+ add_message "google.cloud.datacatalog.v1.UnstarEntryResponse" do
267
+ end
268
+ add_message "google.cloud.datacatalog.v1.ModifyEntryOverviewRequest" do
269
+ optional :name, :string, 1
270
+ optional :entry_overview, :message, 2, "google.cloud.datacatalog.v1.EntryOverview"
271
+ end
272
+ add_message "google.cloud.datacatalog.v1.ModifyEntryContactsRequest" do
273
+ optional :name, :string, 1
274
+ optional :contacts, :message, 2, "google.cloud.datacatalog.v1.Contacts"
275
+ end
235
276
  add_enum "google.cloud.datacatalog.v1.EntryType" do
236
277
  value :ENTRY_TYPE_UNSPECIFIED, 0
237
278
  value :TABLE, 2
@@ -242,6 +283,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
242
283
  value :DATABASE, 7
243
284
  value :DATA_SOURCE_CONNECTION, 8
244
285
  value :ROUTINE, 9
286
+ value :LAKE, 10
287
+ value :ZONE, 11
245
288
  value :SERVICE, 14
246
289
  end
247
290
  end
@@ -268,11 +311,16 @@ module Google
268
311
  Entry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.Entry").msgclass
269
312
  DatabaseTableSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.DatabaseTableSpec").msgclass
270
313
  DatabaseTableSpec::TableType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.DatabaseTableSpec.TableType").enummodule
314
+ FilesetSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.FilesetSpec").msgclass
271
315
  DataSourceConnectionSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.DataSourceConnectionSpec").msgclass
272
316
  RoutineSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.RoutineSpec").msgclass
273
317
  RoutineSpec::Argument = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.RoutineSpec.Argument").msgclass
274
318
  RoutineSpec::Argument::Mode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode").enummodule
275
319
  RoutineSpec::RoutineType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.RoutineSpec.RoutineType").enummodule
320
+ BusinessContext = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.BusinessContext").msgclass
321
+ EntryOverview = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.EntryOverview").msgclass
322
+ Contacts = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.Contacts").msgclass
323
+ Contacts::Person = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.Contacts.Person").msgclass
276
324
  EntryGroup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.EntryGroup").msgclass
277
325
  CreateTagTemplateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.CreateTagTemplateRequest").msgclass
278
326
  GetTagTemplateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.GetTagTemplateRequest").msgclass
@@ -290,6 +338,12 @@ module Google
290
338
  ListTagsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.ListTagsResponse").msgclass
291
339
  ListEntriesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.ListEntriesRequest").msgclass
292
340
  ListEntriesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.ListEntriesResponse").msgclass
341
+ StarEntryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.StarEntryRequest").msgclass
342
+ StarEntryResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.StarEntryResponse").msgclass
343
+ UnstarEntryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.UnstarEntryRequest").msgclass
344
+ UnstarEntryResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.UnstarEntryResponse").msgclass
345
+ ModifyEntryOverviewRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.ModifyEntryOverviewRequest").msgclass
346
+ ModifyEntryContactsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.ModifyEntryContactsRequest").msgclass
293
347
  EntryType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.EntryType").enummodule
294
348
  end
295
349
  end
@@ -138,6 +138,18 @@ module Google
138
138
  # To get a list of both custom and automatically created entries, use
139
139
  # [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
140
140
  rpc :ListEntries, ::Google::Cloud::DataCatalog::V1::ListEntriesRequest, ::Google::Cloud::DataCatalog::V1::ListEntriesResponse
141
+ # Modifies entry overview, part of the business context of an
142
+ # [Entry][google.cloud.datacatalog.v1.Entry].
143
+ #
144
+ # To call this method, you must have the `datacatalog.entries.updateOverview`
145
+ # IAM permission on the corresponding project.
146
+ rpc :ModifyEntryOverview, ::Google::Cloud::DataCatalog::V1::ModifyEntryOverviewRequest, ::Google::Cloud::DataCatalog::V1::EntryOverview
147
+ # Modifies contacts, part of the business context of an
148
+ # [Entry][google.cloud.datacatalog.v1.Entry].
149
+ #
150
+ # To call this method, you must have the `datacatalog.entries.updateContacts`
151
+ # IAM permission on the corresponding project.
152
+ rpc :ModifyEntryContacts, ::Google::Cloud::DataCatalog::V1::ModifyEntryContactsRequest, ::Google::Cloud::DataCatalog::V1::Contacts
141
153
  # Creates a tag template.
142
154
  #
143
155
  # You must enable the Data Catalog API in the project identified by the
@@ -213,7 +225,15 @@ module Google
213
225
  # Deletes a tag.
214
226
  rpc :DeleteTag, ::Google::Cloud::DataCatalog::V1::DeleteTagRequest, ::Google::Protobuf::Empty
215
227
  # Lists tags assigned to an [Entry][google.cloud.datacatalog.v1.Entry].
228
+ # The [columns][google.cloud.datacatalog.v1.Tag.column] in the response are
229
+ # lowercased.
216
230
  rpc :ListTags, ::Google::Cloud::DataCatalog::V1::ListTagsRequest, ::Google::Cloud::DataCatalog::V1::ListTagsResponse
231
+ # Marks an [Entry][google.cloud.datacatalog.v1.Entry] as starred by
232
+ # the current user. Starring information is private to each user.
233
+ rpc :StarEntry, ::Google::Cloud::DataCatalog::V1::StarEntryRequest, ::Google::Cloud::DataCatalog::V1::StarEntryResponse
234
+ # Marks an [Entry][google.cloud.datacatalog.v1.Entry] as NOT starred by
235
+ # the current user. Starring information is private to each user.
236
+ rpc :UnstarEntry, ::Google::Cloud::DataCatalog::V1::UnstarEntryRequest, ::Google::Cloud::DataCatalog::V1::UnstarEntryResponse
217
237
  # Sets an access control policy for a resource. Replaces any existing
218
238
  # policy.
219
239
  #
@@ -0,0 +1,45 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/datacatalog/v1/dataplex_spec.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/cloud/datacatalog/v1/common_pb'
7
+ require 'google/cloud/datacatalog/v1/physical_schema_pb'
8
+
9
+ Google::Protobuf::DescriptorPool.generated_pool.build do
10
+ add_file("google/cloud/datacatalog/v1/dataplex_spec.proto", :syntax => :proto3) do
11
+ add_message "google.cloud.datacatalog.v1.DataplexSpec" do
12
+ optional :asset, :string, 1
13
+ optional :data_format, :message, 2, "google.cloud.datacatalog.v1.PhysicalSchema"
14
+ optional :compression_format, :string, 3
15
+ optional :project_id, :string, 4
16
+ end
17
+ add_message "google.cloud.datacatalog.v1.DataplexFilesetSpec" do
18
+ optional :dataplex_spec, :message, 1, "google.cloud.datacatalog.v1.DataplexSpec"
19
+ end
20
+ add_message "google.cloud.datacatalog.v1.DataplexTableSpec" do
21
+ repeated :external_tables, :message, 1, "google.cloud.datacatalog.v1.DataplexExternalTable"
22
+ optional :dataplex_spec, :message, 2, "google.cloud.datacatalog.v1.DataplexSpec"
23
+ optional :user_managed, :bool, 3
24
+ end
25
+ add_message "google.cloud.datacatalog.v1.DataplexExternalTable" do
26
+ optional :system, :enum, 1, "google.cloud.datacatalog.v1.IntegratedSystem"
27
+ optional :fully_qualified_name, :string, 28
28
+ optional :google_cloud_resource, :string, 3
29
+ optional :data_catalog_entry, :string, 4
30
+ end
31
+ end
32
+ end
33
+
34
+ module Google
35
+ module Cloud
36
+ module DataCatalog
37
+ module V1
38
+ DataplexSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.DataplexSpec").msgclass
39
+ DataplexFilesetSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.DataplexFilesetSpec").msgclass
40
+ DataplexTableSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.DataplexTableSpec").msgclass
41
+ DataplexExternalTable = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.DataplexExternalTable").msgclass
42
+ end
43
+ end
44
+ end
45
+ end
@@ -1,9 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/datacatalog/v1/gcs_fileset_spec.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/field_behavior_pb'
5
7
  require 'google/cloud/datacatalog/v1/timestamps_pb'
6
- require 'google/protobuf'
7
8
 
8
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
10
  add_file("google/cloud/datacatalog/v1/gcs_fileset_spec.proto", :syntax => :proto3) do
@@ -0,0 +1,50 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/datacatalog/v1/physical_schema.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("google/cloud/datacatalog/v1/physical_schema.proto", :syntax => :proto3) do
8
+ add_message "google.cloud.datacatalog.v1.PhysicalSchema" do
9
+ oneof :schema do
10
+ optional :avro, :message, 1, "google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema"
11
+ optional :thrift, :message, 2, "google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema"
12
+ optional :protobuf, :message, 3, "google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema"
13
+ optional :parquet, :message, 4, "google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema"
14
+ optional :orc, :message, 5, "google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema"
15
+ optional :csv, :message, 6, "google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema"
16
+ end
17
+ end
18
+ add_message "google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema" do
19
+ optional :text, :string, 1
20
+ end
21
+ add_message "google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema" do
22
+ optional :text, :string, 1
23
+ end
24
+ add_message "google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema" do
25
+ optional :text, :string, 1
26
+ end
27
+ add_message "google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema" do
28
+ end
29
+ add_message "google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema" do
30
+ end
31
+ add_message "google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema" do
32
+ end
33
+ end
34
+ end
35
+
36
+ module Google
37
+ module Cloud
38
+ module DataCatalog
39
+ module V1
40
+ PhysicalSchema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.PhysicalSchema").msgclass
41
+ PhysicalSchema::AvroSchema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema").msgclass
42
+ PhysicalSchema::ThriftSchema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema").msgclass
43
+ PhysicalSchema::ProtobufSchema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema").msgclass
44
+ PhysicalSchema::ParquetSchema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema").msgclass
45
+ PhysicalSchema::OrcSchema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema").msgclass
46
+ PhysicalSchema::CsvSchema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema").msgclass
47
+ end
48
+ end
49
+ end
50
+ end
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/datacatalog/v1/policytagmanager.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
@@ -10,7 +12,6 @@ require 'google/iam/v1/iam_policy_pb'
10
12
  require 'google/iam/v1/policy_pb'
11
13
  require 'google/protobuf/empty_pb'
12
14
  require 'google/protobuf/field_mask_pb'
13
- require 'google/protobuf'
14
15
 
15
16
  Google::Protobuf::DescriptorPool.generated_pool.build do
16
17
  add_file("google/cloud/datacatalog/v1/policytagmanager.proto", :syntax => :proto3) do
@@ -1,13 +1,13 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/datacatalog/v1/policytagmanagerserialization.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
7
+ require 'google/api/client_pb'
5
8
  require 'google/api/field_behavior_pb'
6
9
  require 'google/api/resource_pb'
7
10
  require 'google/cloud/datacatalog/v1/policytagmanager_pb'
8
- require 'google/iam/v1/policy_pb'
9
- require 'google/api/client_pb'
10
- require 'google/protobuf'
11
11
 
12
12
  Google::Protobuf::DescriptorPool.generated_pool.build do
13
13
  add_file("google/cloud/datacatalog/v1/policytagmanagerserialization.proto", :syntax => :proto3) do
@@ -1,9 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/datacatalog/v1/schema.proto
3
3
 
4
- require 'google/api/field_behavior_pb'
5
4
  require 'google/protobuf'
6
5
 
6
+ require 'google/api/field_behavior_pb'
7
+
7
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
9
  add_file("google/cloud/datacatalog/v1/schema.proto", :syntax => :proto3) do
9
10
  add_message "google.cloud.datacatalog.v1.Schema" do
@@ -1,10 +1,11 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/datacatalog/v1/search.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/field_behavior_pb'
5
7
  require 'google/cloud/datacatalog/v1/common_pb'
6
8
  require 'google/protobuf/timestamp_pb'
7
- require 'google/protobuf'
8
9
 
9
10
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
11
  add_file("google/cloud/datacatalog/v1/search.proto", :syntax => :proto3) do
@@ -1,9 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/datacatalog/v1/table_spec.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/field_behavior_pb'
5
7
  require 'google/api/resource_pb'
6
- require 'google/protobuf'
7
8
 
8
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
10
  add_file("google/cloud/datacatalog/v1/table_spec.proto", :syntax => :proto3) do
@@ -1,10 +1,11 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/datacatalog/v1/tags.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/field_behavior_pb'
5
7
  require 'google/api/resource_pb'
6
8
  require 'google/protobuf/timestamp_pb'
7
- require 'google/protobuf'
8
9
 
9
10
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
11
  add_file("google/cloud/datacatalog/v1/tags.proto", :syntax => :proto3) do
@@ -1,9 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/datacatalog/v1/timestamps.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/field_behavior_pb'
5
7
  require 'google/protobuf/timestamp_pb'
6
- require 'google/protobuf'
7
8
 
8
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
10
  add_file("google/cloud/datacatalog/v1/timestamps.proto", :syntax => :proto3) do
@@ -1,9 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/datacatalog/v1/usage.proto
3
3
 
4
- require 'google/protobuf/timestamp_pb'
5
4
  require 'google/protobuf'
6
5
 
6
+ require 'google/protobuf/timestamp_pb'
7
+
7
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
9
  add_file("google/cloud/datacatalog/v1/usage.proto", :syntax => :proto3) do
9
10
  add_message "google.cloud.datacatalog.v1.UsageStats" do
@@ -21,6 +21,18 @@ module Google
21
21
  module Cloud
22
22
  module DataCatalog
23
23
  module V1
24
+ # Entry metadata relevant only to the user and private to them.
25
+ # @!attribute [rw] starred
26
+ # @return [::Boolean]
27
+ # True if the entry is starred by the user; false otherwise.
28
+ # @!attribute [rw] star_time
29
+ # @return [::Google::Protobuf::Timestamp]
30
+ # Set if the entry is starred; unset otherwise.
31
+ class PersonalDetails
32
+ include ::Google::Protobuf::MessageExts
33
+ extend ::Google::Protobuf::MessageExts::ClassMethods
34
+ end
35
+
24
36
  # This enum lists all the systems that Data Catalog integrates with.
25
37
  module IntegratedSystem
26
38
  # Default unknown system.
@@ -34,6 +46,9 @@ module Google
34
46
 
35
47
  # Dataproc Metastore.
36
48
  DATAPROC_METASTORE = 3
49
+
50
+ # Dataplex.
51
+ DATAPLEX = 4
37
52
  end
38
53
  end
39
54
  end
@@ -30,6 +30,12 @@ module Google
30
30
  # Full name of a resource as defined by the service. For example:
31
31
  #
32
32
  # `//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}`
33
+ # @!attribute [r] source_entry
34
+ # @return [::String]
35
+ # Output only. Data Catalog entry name, if applicable.
36
+ # @!attribute [rw] storage_properties
37
+ # @return [::Google::Cloud::DataCatalog::V1::StorageProperties]
38
+ # Detailed properties of the underlying storage.
33
39
  class DataSource
34
40
  include ::Google::Protobuf::MessageExts
35
41
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -46,6 +52,37 @@ module Google
46
52
  BIGQUERY = 2
47
53
  end
48
54
  end
55
+
56
+ # Details the properties of the underlying storage.
57
+ # @!attribute [rw] file_pattern
58
+ # @return [::Array<::String>]
59
+ # Patterns to identify a set of files for this fileset.
60
+ #
61
+ # Examples of a valid `file_pattern`:
62
+ #
63
+ # * `gs://bucket_name/dir/*`: matches all files in the `bucket_name/dir`
64
+ # directory
65
+ # * `gs://bucket_name/dir/**`: matches all files in the `bucket_name/dir`
66
+ # and all subdirectories recursively
67
+ # * `gs://bucket_name/file*`: matches files prefixed by `file` in
68
+ # `bucket_name`
69
+ # * `gs://bucket_name/??.txt`: matches files with two characters followed by
70
+ # `.txt` in `bucket_name`
71
+ # * `gs://bucket_name/[aeiou].txt`: matches files that contain a single
72
+ # vowel character followed by `.txt` in
73
+ # `bucket_name`
74
+ # * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
75
+ # or `m` followed by `.txt` in `bucket_name`
76
+ # * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
77
+ # the `a/*/b` pattern, such as `a/c/b`, `a/d/b`
78
+ # * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
79
+ # @!attribute [rw] file_type
80
+ # @return [::String]
81
+ # File type in MIME format, for example, `text/plain`.
82
+ class StorageProperties
83
+ include ::Google::Protobuf::MessageExts
84
+ extend ::Google::Protobuf::MessageExts::ClassMethods
85
+ end
49
86
  end
50
87
  end
51
88
  end