google-cloud-data_catalog-v1 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/data_catalog/v1/data_catalog/client.rb +702 -147
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager/client.rb +341 -90
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/client.rb +98 -48
- 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 +1 -0
- data/lib/google/cloud/datacatalog/v1/data_source_pb.rb +1 -1
- data/lib/google/cloud/datacatalog/v1/datacatalog_pb.rb +2 -2
- data/lib/google/cloud/datacatalog/v1/datacatalog_services_pb.rb +7 -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 +2 -2
- 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/cloud/datacatalog/v1/datacatalog.rb +11 -4
- 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
- metadata +4 -4
@@ -44,13 +44,12 @@ module Google
|
|
44
44
|
# See {::Google::Cloud::DataCatalog::V1::PolicyTagManagerSerialization::Client::Configuration}
|
45
45
|
# for a description of the configuration fields.
|
46
46
|
#
|
47
|
-
#
|
47
|
+
# @example
|
48
48
|
#
|
49
|
-
#
|
50
|
-
#
|
51
|
-
#
|
52
|
-
#
|
53
|
-
# end
|
49
|
+
# # Modify the configuration for all PolicyTagManagerSerialization clients
|
50
|
+
# ::Google::Cloud::DataCatalog::V1::PolicyTagManagerSerialization::Client.configure do |config|
|
51
|
+
# config.timeout = 10.0
|
52
|
+
# end
|
54
53
|
#
|
55
54
|
# @yield [config] Configure the Client client.
|
56
55
|
# @yieldparam config [Client::Configuration]
|
@@ -99,19 +98,15 @@ module Google
|
|
99
98
|
##
|
100
99
|
# Create a new PolicyTagManagerSerialization client object.
|
101
100
|
#
|
102
|
-
#
|
103
|
-
#
|
104
|
-
# To create a new PolicyTagManagerSerialization client with the default
|
105
|
-
# configuration:
|
101
|
+
# @example
|
106
102
|
#
|
107
|
-
#
|
103
|
+
# # Create a client using the default configuration
|
104
|
+
# client = ::Google::Cloud::DataCatalog::V1::PolicyTagManagerSerialization::Client.new
|
108
105
|
#
|
109
|
-
#
|
110
|
-
#
|
111
|
-
#
|
112
|
-
#
|
113
|
-
# config.timeout = 10.0
|
114
|
-
# end
|
106
|
+
# # Create a client using a custom configuration
|
107
|
+
# client = ::Google::Cloud::DataCatalog::V1::PolicyTagManagerSerialization::Client.new do |config|
|
108
|
+
# config.timeout = 10.0
|
109
|
+
# end
|
115
110
|
#
|
116
111
|
# @yield [config] Configure the PolicyTagManagerSerialization client.
|
117
112
|
# @yieldparam config [Client::Configuration]
|
@@ -131,10 +126,9 @@ module Google
|
|
131
126
|
|
132
127
|
# Create credentials
|
133
128
|
credentials = @config.credentials
|
134
|
-
# Use self-signed JWT if the
|
129
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
135
130
|
# but only if the default endpoint does not have a region prefix.
|
136
|
-
enable_self_signed_jwt = @config.
|
137
|
-
@config.endpoint == Client.configure.endpoint &&
|
131
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
138
132
|
!@config.endpoint.split(".").first.include?("-")
|
139
133
|
credentials ||= Credentials.default scope: @config.scope,
|
140
134
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -198,6 +192,21 @@ module Google
|
|
198
192
|
#
|
199
193
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
200
194
|
#
|
195
|
+
# @example Basic example
|
196
|
+
# require "google/cloud/data_catalog/v1"
|
197
|
+
#
|
198
|
+
# # Create a client object. The client can be reused for multiple calls.
|
199
|
+
# client = Google::Cloud::DataCatalog::V1::PolicyTagManagerSerialization::Client.new
|
200
|
+
#
|
201
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
202
|
+
# request = Google::Cloud::DataCatalog::V1::ReplaceTaxonomyRequest.new
|
203
|
+
#
|
204
|
+
# # Call the replace_taxonomy method.
|
205
|
+
# result = client.replace_taxonomy request
|
206
|
+
#
|
207
|
+
# # The returned object is of type Google::Cloud::DataCatalog::V1::Taxonomy.
|
208
|
+
# p result
|
209
|
+
#
|
201
210
|
def replace_taxonomy request, options = nil
|
202
211
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
203
212
|
|
@@ -215,16 +224,20 @@ module Google
|
|
215
224
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
|
216
225
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
217
226
|
|
218
|
-
header_params = {
|
219
|
-
|
220
|
-
|
227
|
+
header_params = {}
|
228
|
+
if request.name
|
229
|
+
header_params["name"] = request.name
|
230
|
+
end
|
231
|
+
|
221
232
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
222
233
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
223
234
|
|
224
235
|
options.apply_defaults timeout: @config.rpcs.replace_taxonomy.timeout,
|
225
236
|
metadata: metadata,
|
226
237
|
retry_policy: @config.rpcs.replace_taxonomy.retry_policy
|
227
|
-
|
238
|
+
|
239
|
+
options.apply_defaults timeout: @config.timeout,
|
240
|
+
metadata: @config.metadata,
|
228
241
|
retry_policy: @config.retry_policy
|
229
242
|
|
230
243
|
@policy_tag_manager_serialization_stub.call_rpc :replace_taxonomy, request, options: options do |response, operation|
|
@@ -275,6 +288,21 @@ module Google
|
|
275
288
|
#
|
276
289
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
277
290
|
#
|
291
|
+
# @example Basic example
|
292
|
+
# require "google/cloud/data_catalog/v1"
|
293
|
+
#
|
294
|
+
# # Create a client object. The client can be reused for multiple calls.
|
295
|
+
# client = Google::Cloud::DataCatalog::V1::PolicyTagManagerSerialization::Client.new
|
296
|
+
#
|
297
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
298
|
+
# request = Google::Cloud::DataCatalog::V1::ImportTaxonomiesRequest.new
|
299
|
+
#
|
300
|
+
# # Call the import_taxonomies method.
|
301
|
+
# result = client.import_taxonomies request
|
302
|
+
#
|
303
|
+
# # The returned object is of type Google::Cloud::DataCatalog::V1::ImportTaxonomiesResponse.
|
304
|
+
# p result
|
305
|
+
#
|
278
306
|
def import_taxonomies request, options = nil
|
279
307
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
280
308
|
|
@@ -292,16 +320,20 @@ module Google
|
|
292
320
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
|
293
321
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
294
322
|
|
295
|
-
header_params = {
|
296
|
-
|
297
|
-
|
323
|
+
header_params = {}
|
324
|
+
if request.parent
|
325
|
+
header_params["parent"] = request.parent
|
326
|
+
end
|
327
|
+
|
298
328
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
299
329
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
300
330
|
|
301
331
|
options.apply_defaults timeout: @config.rpcs.import_taxonomies.timeout,
|
302
332
|
metadata: metadata,
|
303
333
|
retry_policy: @config.rpcs.import_taxonomies.retry_policy
|
304
|
-
|
334
|
+
|
335
|
+
options.apply_defaults timeout: @config.timeout,
|
336
|
+
metadata: @config.metadata,
|
305
337
|
retry_policy: @config.retry_policy
|
306
338
|
|
307
339
|
@policy_tag_manager_serialization_stub.call_rpc :import_taxonomies, request, options: options do |response, operation|
|
@@ -351,6 +383,21 @@ module Google
|
|
351
383
|
#
|
352
384
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
353
385
|
#
|
386
|
+
# @example Basic example
|
387
|
+
# require "google/cloud/data_catalog/v1"
|
388
|
+
#
|
389
|
+
# # Create a client object. The client can be reused for multiple calls.
|
390
|
+
# client = Google::Cloud::DataCatalog::V1::PolicyTagManagerSerialization::Client.new
|
391
|
+
#
|
392
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
393
|
+
# request = Google::Cloud::DataCatalog::V1::ExportTaxonomiesRequest.new
|
394
|
+
#
|
395
|
+
# # Call the export_taxonomies method.
|
396
|
+
# result = client.export_taxonomies request
|
397
|
+
#
|
398
|
+
# # The returned object is of type Google::Cloud::DataCatalog::V1::ExportTaxonomiesResponse.
|
399
|
+
# p result
|
400
|
+
#
|
354
401
|
def export_taxonomies request, options = nil
|
355
402
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
356
403
|
|
@@ -368,16 +415,20 @@ module Google
|
|
368
415
|
gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
|
369
416
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
370
417
|
|
371
|
-
header_params = {
|
372
|
-
|
373
|
-
|
418
|
+
header_params = {}
|
419
|
+
if request.parent
|
420
|
+
header_params["parent"] = request.parent
|
421
|
+
end
|
422
|
+
|
374
423
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
375
424
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
376
425
|
|
377
426
|
options.apply_defaults timeout: @config.rpcs.export_taxonomies.timeout,
|
378
427
|
metadata: metadata,
|
379
428
|
retry_policy: @config.rpcs.export_taxonomies.retry_policy
|
380
|
-
|
429
|
+
|
430
|
+
options.apply_defaults timeout: @config.timeout,
|
431
|
+
metadata: @config.metadata,
|
381
432
|
retry_policy: @config.retry_policy
|
382
433
|
|
383
434
|
@policy_tag_manager_serialization_stub.call_rpc :export_taxonomies, request, options: options do |response, operation|
|
@@ -401,22 +452,21 @@ module Google
|
|
401
452
|
# Configuration can be applied globally to all clients, or to a single client
|
402
453
|
# on construction.
|
403
454
|
#
|
404
|
-
#
|
405
|
-
#
|
406
|
-
#
|
407
|
-
# to 20 seconds,
|
408
|
-
#
|
409
|
-
#
|
410
|
-
#
|
411
|
-
#
|
412
|
-
#
|
413
|
-
#
|
414
|
-
#
|
415
|
-
#
|
416
|
-
#
|
417
|
-
#
|
418
|
-
#
|
419
|
-
# end
|
455
|
+
# @example
|
456
|
+
#
|
457
|
+
# # Modify the global config, setting the timeout for
|
458
|
+
# # replace_taxonomy to 20 seconds,
|
459
|
+
# # and all remaining timeouts to 10 seconds.
|
460
|
+
# ::Google::Cloud::DataCatalog::V1::PolicyTagManagerSerialization::Client.configure do |config|
|
461
|
+
# config.timeout = 10.0
|
462
|
+
# config.rpcs.replace_taxonomy.timeout = 20.0
|
463
|
+
# end
|
464
|
+
#
|
465
|
+
# # Apply the above configuration only to a new client.
|
466
|
+
# client = ::Google::Cloud::DataCatalog::V1::PolicyTagManagerSerialization::Client.new do |config|
|
467
|
+
# config.timeout = 10.0
|
468
|
+
# config.rpcs.replace_taxonomy.timeout = 20.0
|
469
|
+
# end
|
420
470
|
#
|
421
471
|
# @!attribute [rw] endpoint
|
422
472
|
# The hostname or hostname:port of the service endpoint.
|
@@ -1,9 +1,9 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/datacatalog/v1/bigquery.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/bigquery.proto", :syntax => :proto3) do
|
9
9
|
add_message "google.cloud.datacatalog.v1.BigQueryConnectionSpec" do
|
@@ -1,9 +1,9 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/datacatalog/v1/data_source.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/data_source.proto", :syntax => :proto3) do
|
9
9
|
add_message "google.cloud.datacatalog.v1.DataSource" do
|
@@ -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
|
@@ -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,6 +133,10 @@ 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
|
137
141
|
# Creates a tag template.
|
138
142
|
#
|
@@ -194,9 +198,9 @@ module Google
|
|
194
198
|
# Creates a tag and assigns it to:
|
195
199
|
#
|
196
200
|
# * An [Entry][google.cloud.datacatalog.v1.Entry] if the method name is
|
197
|
-
#
|
201
|
+
# `projects.locations.entryGroups.entries.tags.create`.
|
198
202
|
# * Or [EntryGroup][google.cloud.datacatalog.v1.EntryGroup]if the method
|
199
|
-
# name is
|
203
|
+
# name is `projects.locations.entryGroups.tags.create`.
|
200
204
|
#
|
201
205
|
# Note: The project identified by the `parent` parameter for the [tag]
|
202
206
|
# (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters)
|
@@ -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'
|
7
5
|
require 'google/api/field_behavior_pb'
|
8
6
|
require 'google/api/resource_pb'
|
9
7
|
require 'google/cloud/datacatalog/v1/policytagmanager_pb'
|
10
8
|
require 'google/iam/v1/policy_pb'
|
11
9
|
require 'google/api/client_pb'
|
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
|
@@ -34,7 +34,8 @@ module Google
|
|
34
34
|
# @return [::String]
|
35
35
|
# Optional. The query string with a minimum of 3 characters and specific syntax.
|
36
36
|
# For more information, see
|
37
|
-
# [Data Catalog search
|
37
|
+
# [Data Catalog search
|
38
|
+
# syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
|
38
39
|
#
|
39
40
|
# An empty query string returns all data assets (in the specified scope)
|
40
41
|
# that you have access to.
|
@@ -115,7 +116,7 @@ module Google
|
|
115
116
|
# explicit permissions on them to view them. For example, if you are the
|
116
117
|
# owner.
|
117
118
|
#
|
118
|
-
# Other scope fields, for example,
|
119
|
+
# Other scope fields, for example, `include_org_ids`,
|
119
120
|
# still restrict the returned public tag templates and at least one of
|
120
121
|
# them is required.
|
121
122
|
class Scope
|
@@ -424,6 +425,7 @@ module Google
|
|
424
425
|
# and read-only afterwards. Can be used for search and lookup of the entries.
|
425
426
|
#
|
426
427
|
#
|
428
|
+
#
|
427
429
|
# FQNs take two forms:
|
428
430
|
#
|
429
431
|
# * For non-regionalized resources:
|
@@ -729,11 +731,16 @@ module Google
|
|
729
731
|
# @!attribute [rw] update_mask
|
730
732
|
# @return [::Google::Protobuf::FieldMask]
|
731
733
|
# Names of fields whose values to overwrite on a tag template. Currently,
|
732
|
-
# only `display_name` can be overwritten.
|
734
|
+
# only `display_name` and `is_publicly_readable` can be overwritten.
|
733
735
|
#
|
734
736
|
# If this parameter is absent or empty, all modifiable fields
|
735
737
|
# are overwritten. If such fields are non-required and omitted in the
|
736
738
|
# request body, their values are emptied.
|
739
|
+
#
|
740
|
+
# Note: Updating the `is_publicly_readable` field may require up to 12
|
741
|
+
# hours to take effect in search results. Additionally, it also requires
|
742
|
+
# the `tagTemplates.getIamPolicy` and `tagTemplates.setIamPolicy`
|
743
|
+
# permissions.
|
737
744
|
class UpdateTagTemplateRequest
|
738
745
|
include ::Google::Protobuf::MessageExts
|
739
746
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -860,7 +867,7 @@ module Google
|
|
860
867
|
# {::Google::Cloud::DataCatalog::V1::DataCatalog::Client#rename_tag_template_field RenameTagTemplateField}.
|
861
868
|
# @!attribute [rw] name
|
862
869
|
# @return [::String]
|
863
|
-
# Required. The name of the tag template.
|
870
|
+
# Required. The name of the tag template field.
|
864
871
|
# @!attribute [rw] new_tag_template_field_id
|
865
872
|
# @return [::String]
|
866
873
|
# Required. The new ID of this tag template field. For example, `my_new_field`.
|
@@ -105,8 +105,7 @@ module Google
|
|
105
105
|
# @return [::String]
|
106
106
|
# Output only. Resource name of this policy tag in the URL format.
|
107
107
|
#
|
108
|
-
# The policy tag manager generates unique taxonomy IDs and policy tag IDs
|
109
|
-
# /><br />
|
108
|
+
# The policy tag manager generates unique taxonomy IDs and policy tag IDs.
|
110
109
|
# @!attribute [rw] display_name
|
111
110
|
# @return [::String]
|
112
111
|
# Required. User-defined name of this policy tag.
|
@@ -228,8 +227,7 @@ module Google
|
|
228
227
|
# {::Google::Cloud::DataCatalog::V1::PolicyTagManager::Client#create_policy_tag CreatePolicyTag}.
|
229
228
|
# @!attribute [rw] parent
|
230
229
|
# @return [::String]
|
231
|
-
# Required. Resource name of the taxonomy that the policy tag will belong to
|
232
|
-
# />
|
230
|
+
# Required. Resource name of the taxonomy that the policy tag will belong to.
|
233
231
|
# @!attribute [rw] policy_tag
|
234
232
|
# @return [::Google::Cloud::DataCatalog::V1::PolicyTag]
|
235
233
|
# The policy tag to create.
|
@@ -83,6 +83,13 @@ module Google
|
|
83
83
|
# Example for a DPMS table:
|
84
84
|
#
|
85
85
|
# `dataproc_metastore:PROJECT_ID.LOCATION_ID.INSTANCE_ID.DATABASE_ID.TABLE_ID`
|
86
|
+
# @!attribute [rw] display_name
|
87
|
+
# @return [::String]
|
88
|
+
# The display name of the result.
|
89
|
+
# @!attribute [rw] description
|
90
|
+
# @return [::String]
|
91
|
+
# Entry description that can consist of several sentences or paragraphs that
|
92
|
+
# describe entry contents.
|
86
93
|
class SearchCatalogResult
|
87
94
|
include ::Google::Protobuf::MessageExts
|
88
95
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -83,6 +83,9 @@ module Google
|
|
83
83
|
# @!attribute [r] shard_count
|
84
84
|
# @return [::Integer]
|
85
85
|
# Output only. Total number of shards.
|
86
|
+
# @!attribute [r] latest_shard_resource
|
87
|
+
# @return [::String]
|
88
|
+
# Output only. BigQuery resource name of the latest shard.
|
86
89
|
class BigQueryDateShardedSpec
|
87
90
|
include ::Google::Protobuf::MessageExts
|
88
91
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-data_catalog-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.7'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|