google-cloud-data_catalog-v1 0.8.2 → 0.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.
- checksums.yaml +4 -4
- data/.yardopts +1 -1
- data/AUTHENTICATION.md +7 -25
- data/README.md +1 -1
- data/lib/google/cloud/data_catalog/v1/data_catalog/client.rb +972 -83
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager/client.rb +273 -41
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/client.rb +60 -9
- data/lib/google/cloud/data_catalog/v1/version.rb +1 -1
- data/lib/google/cloud/datacatalog/v1/bigquery_pb.rb +1 -1
- data/lib/google/cloud/datacatalog/v1/common_pb.rb +6 -0
- data/lib/google/cloud/datacatalog/v1/data_source_pb.rb +1 -1
- data/lib/google/cloud/datacatalog/v1/datacatalog_pb.rb +47 -2
- data/lib/google/cloud/datacatalog/v1/datacatalog_services_pb.rb +27 -3
- data/lib/google/cloud/datacatalog/v1/gcs_fileset_spec_pb.rb +2 -2
- data/lib/google/cloud/datacatalog/v1/policytagmanager_pb.rb +2 -2
- data/lib/google/cloud/datacatalog/v1/policytagmanager_services_pb.rb +1 -1
- data/lib/google/cloud/datacatalog/v1/policytagmanagerserialization_pb.rb +3 -3
- data/lib/google/cloud/datacatalog/v1/policytagmanagerserialization_services_pb.rb +1 -1
- data/lib/google/cloud/datacatalog/v1/schema_pb.rb +1 -1
- data/lib/google/cloud/datacatalog/v1/search_pb.rb +4 -2
- data/lib/google/cloud/datacatalog/v1/table_spec_pb.rb +3 -2
- data/lib/google/cloud/datacatalog/v1/tags_pb.rb +2 -2
- data/lib/google/cloud/datacatalog/v1/timestamps_pb.rb +2 -2
- data/lib/google/cloud/datacatalog/v1/usage_pb.rb +1 -1
- data/proto_docs/google/api/resource.rb +10 -71
- data/proto_docs/google/cloud/datacatalog/v1/common.rb +12 -0
- data/proto_docs/google/cloud/datacatalog/v1/datacatalog.rb +133 -12
- data/proto_docs/google/cloud/datacatalog/v1/policytagmanager.rb +2 -4
- data/proto_docs/google/cloud/datacatalog/v1/search.rb +7 -0
- data/proto_docs/google/cloud/datacatalog/v1/table_spec.rb +3 -0
- data/proto_docs/google/cloud/datacatalog/v1/tags.rb +4 -25
- metadata +3 -3
@@ -1,8 +1,6 @@
|
|
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
|
-
|
6
4
|
require 'google/api/annotations_pb'
|
7
5
|
require 'google/api/client_pb'
|
8
6
|
require 'google/api/field_behavior_pb'
|
@@ -22,6 +20,8 @@ require 'google/iam/v1/policy_pb'
|
|
22
20
|
require 'google/protobuf/empty_pb'
|
23
21
|
require 'google/protobuf/field_mask_pb'
|
24
22
|
require 'google/protobuf/timestamp_pb'
|
23
|
+
require 'google/protobuf'
|
24
|
+
|
25
25
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
26
26
|
add_file("google/cloud/datacatalog/v1/datacatalog.proto", :syntax => :proto3) do
|
27
27
|
add_message "google.cloud.datacatalog.v1.SearchCatalogRequest" do
|
@@ -36,6 +36,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
36
36
|
repeated :include_project_ids, :string, 3
|
37
37
|
optional :include_gcp_public_datasets, :bool, 7
|
38
38
|
repeated :restricted_locations, :string, 16
|
39
|
+
optional :starred_only, :bool, 18
|
39
40
|
optional :include_public_tag_templates, :bool, 19
|
40
41
|
end
|
41
42
|
add_message "google.cloud.datacatalog.v1.SearchCatalogResponse" do
|
@@ -97,11 +98,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
97
98
|
optional :fully_qualified_name, :string, 29
|
98
99
|
optional :display_name, :string, 3
|
99
100
|
optional :description, :string, 4
|
101
|
+
optional :business_context, :message, 37, "google.cloud.datacatalog.v1.BusinessContext"
|
100
102
|
optional :schema, :message, 5, "google.cloud.datacatalog.v1.Schema"
|
101
103
|
optional :source_system_timestamps, :message, 7, "google.cloud.datacatalog.v1.SystemTimestamps"
|
102
104
|
optional :usage_signal, :message, 13, "google.cloud.datacatalog.v1.UsageSignal"
|
103
105
|
map :labels, :string, :string, 14
|
104
106
|
optional :data_source, :message, 20, "google.cloud.datacatalog.v1.DataSource"
|
107
|
+
optional :personal_details, :message, 26, "google.cloud.datacatalog.v1.PersonalDetails"
|
105
108
|
oneof :entry_type do
|
106
109
|
optional :type, :enum, 2, "google.cloud.datacatalog.v1.EntryType"
|
107
110
|
optional :user_specified_type, :string, 16
|
@@ -158,6 +161,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
158
161
|
value :SCALAR_FUNCTION, 1
|
159
162
|
value :PROCEDURE, 2
|
160
163
|
end
|
164
|
+
add_message "google.cloud.datacatalog.v1.BusinessContext" do
|
165
|
+
optional :entry_overview, :message, 1, "google.cloud.datacatalog.v1.EntryOverview"
|
166
|
+
optional :contacts, :message, 2, "google.cloud.datacatalog.v1.Contacts"
|
167
|
+
end
|
168
|
+
add_message "google.cloud.datacatalog.v1.EntryOverview" do
|
169
|
+
optional :overview, :string, 1
|
170
|
+
end
|
171
|
+
add_message "google.cloud.datacatalog.v1.Contacts" do
|
172
|
+
repeated :people, :message, 1, "google.cloud.datacatalog.v1.Contacts.Person"
|
173
|
+
end
|
174
|
+
add_message "google.cloud.datacatalog.v1.Contacts.Person" do
|
175
|
+
optional :designation, :string, 1
|
176
|
+
optional :email, :string, 2
|
177
|
+
end
|
161
178
|
add_message "google.cloud.datacatalog.v1.EntryGroup" do
|
162
179
|
optional :name, :string, 1
|
163
180
|
optional :display_name, :string, 2
|
@@ -232,6 +249,24 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
232
249
|
repeated :entries, :message, 1, "google.cloud.datacatalog.v1.Entry"
|
233
250
|
optional :next_page_token, :string, 2
|
234
251
|
end
|
252
|
+
add_message "google.cloud.datacatalog.v1.StarEntryRequest" do
|
253
|
+
optional :name, :string, 1
|
254
|
+
end
|
255
|
+
add_message "google.cloud.datacatalog.v1.StarEntryResponse" do
|
256
|
+
end
|
257
|
+
add_message "google.cloud.datacatalog.v1.UnstarEntryRequest" do
|
258
|
+
optional :name, :string, 1
|
259
|
+
end
|
260
|
+
add_message "google.cloud.datacatalog.v1.UnstarEntryResponse" do
|
261
|
+
end
|
262
|
+
add_message "google.cloud.datacatalog.v1.ModifyEntryOverviewRequest" do
|
263
|
+
optional :name, :string, 1
|
264
|
+
optional :entry_overview, :message, 2, "google.cloud.datacatalog.v1.EntryOverview"
|
265
|
+
end
|
266
|
+
add_message "google.cloud.datacatalog.v1.ModifyEntryContactsRequest" do
|
267
|
+
optional :name, :string, 1
|
268
|
+
optional :contacts, :message, 2, "google.cloud.datacatalog.v1.Contacts"
|
269
|
+
end
|
235
270
|
add_enum "google.cloud.datacatalog.v1.EntryType" do
|
236
271
|
value :ENTRY_TYPE_UNSPECIFIED, 0
|
237
272
|
value :TABLE, 2
|
@@ -273,6 +308,10 @@ module Google
|
|
273
308
|
RoutineSpec::Argument = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.RoutineSpec.Argument").msgclass
|
274
309
|
RoutineSpec::Argument::Mode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.RoutineSpec.Argument.Mode").enummodule
|
275
310
|
RoutineSpec::RoutineType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.RoutineSpec.RoutineType").enummodule
|
311
|
+
BusinessContext = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.BusinessContext").msgclass
|
312
|
+
EntryOverview = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.EntryOverview").msgclass
|
313
|
+
Contacts = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.Contacts").msgclass
|
314
|
+
Contacts::Person = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.Contacts.Person").msgclass
|
276
315
|
EntryGroup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.EntryGroup").msgclass
|
277
316
|
CreateTagTemplateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.CreateTagTemplateRequest").msgclass
|
278
317
|
GetTagTemplateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.GetTagTemplateRequest").msgclass
|
@@ -290,6 +329,12 @@ module Google
|
|
290
329
|
ListTagsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.ListTagsResponse").msgclass
|
291
330
|
ListEntriesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.ListEntriesRequest").msgclass
|
292
331
|
ListEntriesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.ListEntriesResponse").msgclass
|
332
|
+
StarEntryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.StarEntryRequest").msgclass
|
333
|
+
StarEntryResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.StarEntryResponse").msgclass
|
334
|
+
UnstarEntryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.UnstarEntryRequest").msgclass
|
335
|
+
UnstarEntryResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.UnstarEntryResponse").msgclass
|
336
|
+
ModifyEntryOverviewRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.ModifyEntryOverviewRequest").msgclass
|
337
|
+
ModifyEntryContactsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.ModifyEntryContactsRequest").msgclass
|
293
338
|
EntryType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.EntryType").enummodule
|
294
339
|
end
|
295
340
|
end
|
@@ -28,7 +28,7 @@ module Google
|
|
28
28
|
# your data.
|
29
29
|
class Service
|
30
30
|
|
31
|
-
include GRPC::GenericService
|
31
|
+
include ::GRPC::GenericService
|
32
32
|
|
33
33
|
self.marshal_class_method = :encode
|
34
34
|
self.unmarshal_class_method = :decode
|
@@ -133,7 +133,23 @@ module Google
|
|
133
133
|
# The resource name comes from the source Google Cloud Platform service.
|
134
134
|
rpc :LookupEntry, ::Google::Cloud::DataCatalog::V1::LookupEntryRequest, ::Google::Cloud::DataCatalog::V1::Entry
|
135
135
|
# Lists entries.
|
136
|
+
#
|
137
|
+
# Note: Currently, this method can list only custom entries.
|
138
|
+
# To get a list of both custom and automatically created entries, use
|
139
|
+
# [SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog].
|
136
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
|
137
153
|
# Creates a tag template.
|
138
154
|
#
|
139
155
|
# You must enable the Data Catalog API in the project identified by the
|
@@ -194,9 +210,9 @@ module Google
|
|
194
210
|
# Creates a tag and assigns it to:
|
195
211
|
#
|
196
212
|
# * An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
|
197
|
-
#
|
213
|
+
# `projects.locations.entryGroups.entries.tags.create`.
|
198
214
|
# * Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method
|
199
|
-
# name is
|
215
|
+
# name is `projects.locations.entryGroups.tags.create`.
|
200
216
|
#
|
201
217
|
# Note: The project identified by the `parent` parameter for the [tag]
|
202
218
|
# (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
|
@@ -209,7 +225,15 @@ module Google
|
|
209
225
|
# Deletes a tag.
|
210
226
|
rpc :DeleteTag, ::Google::Cloud::DataCatalog::V1::DeleteTagRequest, ::Google::Protobuf::Empty
|
211
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.
|
212
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
|
213
237
|
# Sets an access control policy for a resource. Replaces any existing
|
214
238
|
# policy.
|
215
239
|
#
|
@@ -1,10 +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
|
-
|
6
4
|
require 'google/api/field_behavior_pb'
|
7
5
|
require 'google/cloud/datacatalog/v1/timestamps_pb'
|
6
|
+
require 'google/protobuf'
|
7
|
+
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
9
|
add_file("google/cloud/datacatalog/v1/gcs_fileset_spec.proto", :syntax => :proto3) do
|
10
10
|
add_message "google.cloud.datacatalog.v1.GcsFilesetSpec" do
|
@@ -1,8 +1,6 @@
|
|
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
|
-
|
6
4
|
require 'google/api/annotations_pb'
|
7
5
|
require 'google/api/client_pb'
|
8
6
|
require 'google/api/field_behavior_pb'
|
@@ -12,6 +10,8 @@ require 'google/iam/v1/iam_policy_pb'
|
|
12
10
|
require 'google/iam/v1/policy_pb'
|
13
11
|
require 'google/protobuf/empty_pb'
|
14
12
|
require 'google/protobuf/field_mask_pb'
|
13
|
+
require 'google/protobuf'
|
14
|
+
|
15
15
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
16
16
|
add_file("google/cloud/datacatalog/v1/policytagmanager.proto", :syntax => :proto3) do
|
17
17
|
add_message "google.cloud.datacatalog.v1.Taxonomy" do
|
@@ -1,14 +1,14 @@
|
|
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
|
-
|
6
4
|
require 'google/api/annotations_pb'
|
5
|
+
require 'google/api/client_pb'
|
7
6
|
require 'google/api/field_behavior_pb'
|
8
7
|
require 'google/api/resource_pb'
|
9
8
|
require 'google/cloud/datacatalog/v1/policytagmanager_pb'
|
10
9
|
require 'google/iam/v1/policy_pb'
|
11
|
-
require 'google/
|
10
|
+
require 'google/protobuf'
|
11
|
+
|
12
12
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
13
13
|
add_file("google/cloud/datacatalog/v1/policytagmanagerserialization.proto", :syntax => :proto3) do
|
14
14
|
add_message "google.cloud.datacatalog.v1.SerializedTaxonomy" do
|
@@ -1,9 +1,9 @@
|
|
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'
|
4
5
|
require 'google/protobuf'
|
5
6
|
|
6
|
-
require 'google/api/field_behavior_pb'
|
7
7
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
8
|
add_file("google/cloud/datacatalog/v1/schema.proto", :syntax => :proto3) do
|
9
9
|
add_message "google.cloud.datacatalog.v1.Schema" do
|
@@ -1,11 +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
|
-
|
6
4
|
require 'google/api/field_behavior_pb'
|
7
5
|
require 'google/cloud/datacatalog/v1/common_pb'
|
8
6
|
require 'google/protobuf/timestamp_pb'
|
7
|
+
require 'google/protobuf'
|
8
|
+
|
9
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
10
|
add_file("google/cloud/datacatalog/v1/search.proto", :syntax => :proto3) do
|
11
11
|
add_message "google.cloud.datacatalog.v1.SearchCatalogResult" do
|
@@ -15,6 +15,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
15
15
|
optional :linked_resource, :string, 4
|
16
16
|
optional :modify_time, :message, 7, "google.protobuf.Timestamp"
|
17
17
|
optional :fully_qualified_name, :string, 10
|
18
|
+
optional :display_name, :string, 12
|
19
|
+
optional :description, :string, 13
|
18
20
|
oneof :system do
|
19
21
|
optional :integrated_system, :enum, 8, "google.cloud.datacatalog.v1.IntegratedSystem"
|
20
22
|
optional :user_specified_system, :string, 9
|
@@ -1,10 +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
|
-
|
6
4
|
require 'google/api/field_behavior_pb'
|
7
5
|
require 'google/api/resource_pb'
|
6
|
+
require 'google/protobuf'
|
7
|
+
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
9
|
add_file("google/cloud/datacatalog/v1/table_spec.proto", :syntax => :proto3) do
|
10
10
|
add_message "google.cloud.datacatalog.v1.BigQueryTableSpec" do
|
@@ -24,6 +24,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
24
24
|
optional :dataset, :string, 1
|
25
25
|
optional :table_prefix, :string, 2
|
26
26
|
optional :shard_count, :int64, 3
|
27
|
+
optional :latest_shard_resource, :string, 4
|
27
28
|
end
|
28
29
|
add_enum "google.cloud.datacatalog.v1.TableSourceType" do
|
29
30
|
value :TABLE_SOURCE_TYPE_UNSPECIFIED, 0
|
@@ -1,11 +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
|
-
|
6
4
|
require 'google/api/field_behavior_pb'
|
7
5
|
require 'google/api/resource_pb'
|
8
6
|
require 'google/protobuf/timestamp_pb'
|
7
|
+
require 'google/protobuf'
|
8
|
+
|
9
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
10
|
add_file("google/cloud/datacatalog/v1/tags.proto", :syntax => :proto3) do
|
11
11
|
add_message "google.cloud.datacatalog.v1.Tag" do
|
@@ -1,10 +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
|
-
|
6
4
|
require 'google/api/field_behavior_pb'
|
7
5
|
require 'google/protobuf/timestamp_pb'
|
6
|
+
require 'google/protobuf'
|
7
|
+
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
9
|
add_file("google/cloud/datacatalog/v1/timestamps.proto", :syntax => :proto3) do
|
10
10
|
add_message "google.cloud.datacatalog.v1.SystemTimestamps" do
|
@@ -1,9 +1,9 @@
|
|
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'
|
4
5
|
require 'google/protobuf'
|
5
6
|
|
6
|
-
require 'google/protobuf/timestamp_pb'
|
7
7
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
8
|
add_file("google/cloud/datacatalog/v1/usage.proto", :syntax => :proto3) do
|
9
9
|
add_message "google.cloud.datacatalog.v1.UsageStats" do
|
@@ -33,11 +33,7 @@ module Google
|
|
33
33
|
# // For Kubernetes resources, the format is {api group}/{kind}.
|
34
34
|
# option (google.api.resource) = {
|
35
35
|
# type: "pubsub.googleapis.com/Topic"
|
36
|
-
#
|
37
|
-
# pattern: "projects/{project}/topics/{topic}"
|
38
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
39
|
-
# parent_name_extractor: "projects/{project}"
|
40
|
-
# }
|
36
|
+
# pattern: "projects/{project}/topics/{topic}"
|
41
37
|
# };
|
42
38
|
# }
|
43
39
|
#
|
@@ -45,10 +41,7 @@ module Google
|
|
45
41
|
#
|
46
42
|
# resources:
|
47
43
|
# - type: "pubsub.googleapis.com/Topic"
|
48
|
-
#
|
49
|
-
# - pattern: "projects/{project}/topics/{topic}"
|
50
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
51
|
-
# parent_name_extractor: "projects/{project}"
|
44
|
+
# pattern: "projects/{project}/topics/{topic}"
|
52
45
|
#
|
53
46
|
# Sometimes, resources have multiple patterns, typically because they can
|
54
47
|
# live under multiple parents.
|
@@ -58,26 +51,10 @@ module Google
|
|
58
51
|
# message LogEntry {
|
59
52
|
# option (google.api.resource) = {
|
60
53
|
# type: "logging.googleapis.com/LogEntry"
|
61
|
-
#
|
62
|
-
#
|
63
|
-
#
|
64
|
-
#
|
65
|
-
# }
|
66
|
-
# name_descriptor: {
|
67
|
-
# pattern: "folders/{folder}/logs/{log}"
|
68
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
69
|
-
# parent_name_extractor: "folders/{folder}"
|
70
|
-
# }
|
71
|
-
# name_descriptor: {
|
72
|
-
# pattern: "organizations/{organization}/logs/{log}"
|
73
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Organization"
|
74
|
-
# parent_name_extractor: "organizations/{organization}"
|
75
|
-
# }
|
76
|
-
# name_descriptor: {
|
77
|
-
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
78
|
-
# parent_type: "billing.googleapis.com/BillingAccount"
|
79
|
-
# parent_name_extractor: "billingAccounts/{billing_account}"
|
80
|
-
# }
|
54
|
+
# pattern: "projects/{project}/logs/{log}"
|
55
|
+
# pattern: "folders/{folder}/logs/{log}"
|
56
|
+
# pattern: "organizations/{organization}/logs/{log}"
|
57
|
+
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
81
58
|
# };
|
82
59
|
# }
|
83
60
|
#
|
@@ -85,48 +62,10 @@ module Google
|
|
85
62
|
#
|
86
63
|
# resources:
|
87
64
|
# - type: 'logging.googleapis.com/LogEntry'
|
88
|
-
#
|
89
|
-
#
|
90
|
-
#
|
91
|
-
#
|
92
|
-
# - pattern: "folders/{folder}/logs/{log}"
|
93
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
94
|
-
# parent_name_extractor: "folders/{folder}"
|
95
|
-
# - pattern: "organizations/{organization}/logs/{log}"
|
96
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Organization"
|
97
|
-
# parent_name_extractor: "organizations/{organization}"
|
98
|
-
# - pattern: "billingAccounts/{billing_account}/logs/{log}"
|
99
|
-
# parent_type: "billing.googleapis.com/BillingAccount"
|
100
|
-
# parent_name_extractor: "billingAccounts/{billing_account}"
|
101
|
-
#
|
102
|
-
# For flexible resources, the resource name doesn't contain parent names, but
|
103
|
-
# the resource itself has parents for policy evaluation.
|
104
|
-
#
|
105
|
-
# Example:
|
106
|
-
#
|
107
|
-
# message Shelf {
|
108
|
-
# option (google.api.resource) = {
|
109
|
-
# type: "library.googleapis.com/Shelf"
|
110
|
-
# name_descriptor: {
|
111
|
-
# pattern: "shelves/{shelf}"
|
112
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
113
|
-
# }
|
114
|
-
# name_descriptor: {
|
115
|
-
# pattern: "shelves/{shelf}"
|
116
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
117
|
-
# }
|
118
|
-
# };
|
119
|
-
# }
|
120
|
-
#
|
121
|
-
# The ResourceDescriptor Yaml config will look like:
|
122
|
-
#
|
123
|
-
# resources:
|
124
|
-
# - type: 'library.googleapis.com/Shelf'
|
125
|
-
# name_descriptor:
|
126
|
-
# - pattern: "shelves/{shelf}"
|
127
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
128
|
-
# - pattern: "shelves/{shelf}"
|
129
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
65
|
+
# pattern: "projects/{project}/logs/{log}"
|
66
|
+
# pattern: "folders/{folder}/logs/{log}"
|
67
|
+
# pattern: "organizations/{organization}/logs/{log}"
|
68
|
+
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
130
69
|
# @!attribute [rw] type
|
131
70
|
# @return [::String]
|
132
71
|
# The resource type. It must be in the format of
|
@@ -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.
|