google-cloud-data_catalog-v1 0.14.0 → 0.16.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/README.md +1 -1
- data/lib/google/cloud/data_catalog/v1/data_catalog/client.rb +288 -54
- data/lib/google/cloud/data_catalog/v1/data_catalog/operations.rb +768 -0
- data/lib/google/cloud/data_catalog/v1/data_catalog/rest/client.rb +228 -54
- data/lib/google/cloud/data_catalog/v1/data_catalog/rest/operations.rb +792 -0
- data/lib/google/cloud/data_catalog/v1/data_catalog/rest/service_stub.rb +120 -0
- data/lib/google/cloud/data_catalog/v1/data_catalog/rest.rb +1 -0
- data/lib/google/cloud/data_catalog/v1/data_catalog.rb +1 -0
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager/client.rb +6 -3
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager/rest/client.rb +6 -3
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/client.rb +6 -4
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/rest/client.rb +6 -4
- data/lib/google/cloud/data_catalog/v1/version.rb +1 -1
- data/lib/google/cloud/datacatalog/v1/bigquery_pb.rb +24 -25
- data/lib/google/cloud/datacatalog/v1/common_pb.rb +26 -12
- data/lib/google/cloud/datacatalog/v1/data_source_pb.rb +24 -18
- data/lib/google/cloud/datacatalog/v1/datacatalog_pb.rb +55 -263
- data/lib/google/cloud/datacatalog/v1/datacatalog_services_pb.rb +33 -0
- data/lib/google/cloud/datacatalog/v1/dataplex_spec_pb.rb +25 -21
- data/lib/google/cloud/datacatalog/v1/dump_content_pb.rb +49 -0
- data/lib/google/cloud/datacatalog/v1/gcs_fileset_spec_pb.rb +25 -10
- data/lib/google/cloud/datacatalog/v1/physical_schema_pb.rb +24 -26
- data/lib/google/cloud/datacatalog/v1/policytagmanager_pb.rb +28 -66
- data/lib/google/cloud/datacatalog/v1/policytagmanagerserialization_pb.rb +25 -43
- data/lib/google/cloud/datacatalog/v1/schema_pb.rb +27 -11
- data/lib/google/cloud/datacatalog/v1/search_pb.rb +25 -21
- data/lib/google/cloud/datacatalog/v1/table_spec_pb.rb +24 -26
- data/lib/google/cloud/datacatalog/v1/tags_pb.rb +25 -59
- data/lib/google/cloud/datacatalog/v1/timestamps_pb.rb +25 -6
- data/lib/google/cloud/datacatalog/v1/usage_pb.rb +26 -11
- data/proto_docs/google/api/client.rb +67 -4
- data/proto_docs/google/cloud/datacatalog/v1/common.rb +25 -0
- data/proto_docs/google/cloud/datacatalog/v1/datacatalog.rb +367 -41
- data/proto_docs/google/cloud/datacatalog/v1/dump_content.rb +53 -0
- data/proto_docs/google/cloud/datacatalog/v1/gcs_fileset_spec.rb +2 -1
- data/proto_docs/google/cloud/datacatalog/v1/policytagmanager.rb +23 -2
- data/proto_docs/google/cloud/datacatalog/v1/policytagmanagerserialization.rb +6 -3
- data/proto_docs/google/cloud/datacatalog/v1/schema.rb +68 -3
- data/proto_docs/google/cloud/datacatalog/v1/search.rb +2 -2
- data/proto_docs/google/cloud/datacatalog/v1/table_spec.rb +5 -5
- data/proto_docs/google/cloud/datacatalog/v1/tags.rb +11 -8
- data/proto_docs/google/cloud/datacatalog/v1/usage.rb +30 -1
- data/proto_docs/google/longrunning/operations.rb +164 -0
- data/proto_docs/google/protobuf/any.rb +144 -0
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- data/proto_docs/google/rpc/status.rb +48 -0
- metadata +11 -4
@@ -1066,6 +1066,44 @@ module Google
|
|
1066
1066
|
result
|
1067
1067
|
end
|
1068
1068
|
|
1069
|
+
##
|
1070
|
+
# Baseline implementation for the reconcile_tags REST call
|
1071
|
+
#
|
1072
|
+
# @param request_pb [::Google::Cloud::DataCatalog::V1::ReconcileTagsRequest]
|
1073
|
+
# A request object representing the call parameters. Required.
|
1074
|
+
# @param options [::Gapic::CallOptions]
|
1075
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1076
|
+
#
|
1077
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
1078
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
1079
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1080
|
+
#
|
1081
|
+
# @return [::Google::Longrunning::Operation]
|
1082
|
+
# A result object deserialized from the server's reply
|
1083
|
+
def reconcile_tags request_pb, options = nil
|
1084
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1085
|
+
|
1086
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_reconcile_tags_request request_pb
|
1087
|
+
query_string_params = if query_string_params.any?
|
1088
|
+
query_string_params.to_h { |p| p.split("=", 2) }
|
1089
|
+
else
|
1090
|
+
{}
|
1091
|
+
end
|
1092
|
+
|
1093
|
+
response = @client_stub.make_http_request(
|
1094
|
+
verb,
|
1095
|
+
uri: uri,
|
1096
|
+
body: body || "",
|
1097
|
+
params: query_string_params,
|
1098
|
+
options: options
|
1099
|
+
)
|
1100
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
1101
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
1102
|
+
|
1103
|
+
yield result, operation if block_given?
|
1104
|
+
result
|
1105
|
+
end
|
1106
|
+
|
1069
1107
|
##
|
1070
1108
|
# Baseline implementation for the star_entry REST call
|
1071
1109
|
#
|
@@ -1256,6 +1294,44 @@ module Google
|
|
1256
1294
|
result
|
1257
1295
|
end
|
1258
1296
|
|
1297
|
+
##
|
1298
|
+
# Baseline implementation for the import_entries REST call
|
1299
|
+
#
|
1300
|
+
# @param request_pb [::Google::Cloud::DataCatalog::V1::ImportEntriesRequest]
|
1301
|
+
# A request object representing the call parameters. Required.
|
1302
|
+
# @param options [::Gapic::CallOptions]
|
1303
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1304
|
+
#
|
1305
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
1306
|
+
# @yieldparam result [::Google::Longrunning::Operation]
|
1307
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1308
|
+
#
|
1309
|
+
# @return [::Google::Longrunning::Operation]
|
1310
|
+
# A result object deserialized from the server's reply
|
1311
|
+
def import_entries request_pb, options = nil
|
1312
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1313
|
+
|
1314
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_import_entries_request request_pb
|
1315
|
+
query_string_params = if query_string_params.any?
|
1316
|
+
query_string_params.to_h { |p| p.split("=", 2) }
|
1317
|
+
else
|
1318
|
+
{}
|
1319
|
+
end
|
1320
|
+
|
1321
|
+
response = @client_stub.make_http_request(
|
1322
|
+
verb,
|
1323
|
+
uri: uri,
|
1324
|
+
body: body || "",
|
1325
|
+
params: query_string_params,
|
1326
|
+
options: options
|
1327
|
+
)
|
1328
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
1329
|
+
result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
|
1330
|
+
|
1331
|
+
yield result, operation if block_given?
|
1332
|
+
result
|
1333
|
+
end
|
1334
|
+
|
1259
1335
|
##
|
1260
1336
|
# @private
|
1261
1337
|
#
|
@@ -1864,6 +1940,28 @@ module Google
|
|
1864
1940
|
transcoder.transcode request_pb
|
1865
1941
|
end
|
1866
1942
|
|
1943
|
+
##
|
1944
|
+
# @private
|
1945
|
+
#
|
1946
|
+
# GRPC transcoding helper method for the reconcile_tags REST call
|
1947
|
+
#
|
1948
|
+
# @param request_pb [::Google::Cloud::DataCatalog::V1::ReconcileTagsRequest]
|
1949
|
+
# A request object representing the call parameters. Required.
|
1950
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
1951
|
+
# Uri, Body, Query string parameters
|
1952
|
+
def self.transcode_reconcile_tags_request request_pb
|
1953
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
1954
|
+
.with_bindings(
|
1955
|
+
uri_method: :post,
|
1956
|
+
uri_template: "/v1/{parent}/tags:reconcile",
|
1957
|
+
body: "*",
|
1958
|
+
matches: [
|
1959
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+/entries/[^/]+/?$}, false]
|
1960
|
+
]
|
1961
|
+
)
|
1962
|
+
transcoder.transcode request_pb
|
1963
|
+
end
|
1964
|
+
|
1867
1965
|
##
|
1868
1966
|
# @private
|
1869
1967
|
#
|
@@ -2013,6 +2111,28 @@ module Google
|
|
2013
2111
|
)
|
2014
2112
|
transcoder.transcode request_pb
|
2015
2113
|
end
|
2114
|
+
|
2115
|
+
##
|
2116
|
+
# @private
|
2117
|
+
#
|
2118
|
+
# GRPC transcoding helper method for the import_entries REST call
|
2119
|
+
#
|
2120
|
+
# @param request_pb [::Google::Cloud::DataCatalog::V1::ImportEntriesRequest]
|
2121
|
+
# A request object representing the call parameters. Required.
|
2122
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
2123
|
+
# Uri, Body, Query string parameters
|
2124
|
+
def self.transcode_import_entries_request request_pb
|
2125
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
2126
|
+
.with_bindings(
|
2127
|
+
uri_method: :post,
|
2128
|
+
uri_template: "/v1/{parent}/entries:import",
|
2129
|
+
body: "*",
|
2130
|
+
matches: [
|
2131
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+/?$}, false]
|
2132
|
+
]
|
2133
|
+
)
|
2134
|
+
transcoder.transcode request_pb
|
2135
|
+
end
|
2016
2136
|
end
|
2017
2137
|
end
|
2018
2138
|
end
|
@@ -24,6 +24,7 @@ require "google/cloud/data_catalog/v1/version"
|
|
24
24
|
|
25
25
|
require "google/cloud/data_catalog/v1/data_catalog/credentials"
|
26
26
|
require "google/cloud/data_catalog/v1/data_catalog/paths"
|
27
|
+
require "google/cloud/data_catalog/v1/data_catalog/rest/operations"
|
27
28
|
require "google/cloud/data_catalog/v1/data_catalog/rest/client"
|
28
29
|
|
29
30
|
module Google
|
@@ -24,6 +24,7 @@ require "google/cloud/data_catalog/v1/version"
|
|
24
24
|
|
25
25
|
require "google/cloud/data_catalog/v1/data_catalog/credentials"
|
26
26
|
require "google/cloud/data_catalog/v1/data_catalog/paths"
|
27
|
+
require "google/cloud/data_catalog/v1/data_catalog/operations"
|
27
28
|
require "google/cloud/data_catalog/v1/data_catalog/client"
|
28
29
|
require "google/cloud/data_catalog/v1/data_catalog/rest"
|
29
30
|
|
@@ -450,7 +450,7 @@ module Google
|
|
450
450
|
# @param options [::Gapic::CallOptions, ::Hash]
|
451
451
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
452
452
|
#
|
453
|
-
# @overload list_taxonomies(parent: nil, page_size: nil, page_token: nil)
|
453
|
+
# @overload list_taxonomies(parent: nil, page_size: nil, page_token: nil, filter: nil)
|
454
454
|
# Pass arguments to `list_taxonomies` via keyword arguments. Note that at
|
455
455
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
456
456
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -465,6 +465,9 @@ module Google
|
|
465
465
|
# the first page is returned.
|
466
466
|
#
|
467
467
|
# The token is returned in the response to a previous list request.
|
468
|
+
# @param filter [::String]
|
469
|
+
# Supported field for filter is 'service' and value is 'dataplex'.
|
470
|
+
# Eg: service=dataplex.
|
468
471
|
#
|
469
472
|
# @yield [response, operation] Access the result along with the RPC operation
|
470
473
|
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::DataCatalog::V1::Taxonomy>]
|
@@ -1393,9 +1396,9 @@ module Google
|
|
1393
1396
|
# * (`String`) The path to a service account key file in JSON format
|
1394
1397
|
# * (`Hash`) A service account key as a Hash
|
1395
1398
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
1396
|
-
# (see the [googleauth docs](https://
|
1399
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
1397
1400
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
1398
|
-
# (see the [signet docs](https://
|
1401
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
1399
1402
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
1400
1403
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
1401
1404
|
# * (`nil`) indicating no credentials
|
@@ -372,7 +372,7 @@ module Google
|
|
372
372
|
# @param options [::Gapic::CallOptions, ::Hash]
|
373
373
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
374
374
|
#
|
375
|
-
# @overload list_taxonomies(parent: nil, page_size: nil, page_token: nil)
|
375
|
+
# @overload list_taxonomies(parent: nil, page_size: nil, page_token: nil, filter: nil)
|
376
376
|
# Pass arguments to `list_taxonomies` via keyword arguments. Note that at
|
377
377
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
378
378
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -387,6 +387,9 @@ module Google
|
|
387
387
|
# the first page is returned.
|
388
388
|
#
|
389
389
|
# The token is returned in the response to a previous list request.
|
390
|
+
# @param filter [::String]
|
391
|
+
# Supported field for filter is 'service' and value is 'dataplex'.
|
392
|
+
# Eg: service=dataplex.
|
390
393
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
391
394
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::DataCatalog::V1::Taxonomy>]
|
392
395
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -1077,9 +1080,9 @@ module Google
|
|
1077
1080
|
# * (`String`) The path to a service account key file in JSON format
|
1078
1081
|
# * (`Hash`) A service account key as a Hash
|
1079
1082
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
1080
|
-
# (see the [googleauth docs](https://
|
1083
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
1081
1084
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
1082
|
-
# (see the [signet docs](https://
|
1085
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
1083
1086
|
# * (`nil`) indicating no credentials
|
1084
1087
|
# @return [::Object]
|
1085
1088
|
# @!attribute [rw] scope
|
@@ -288,7 +288,8 @@ module Google
|
|
288
288
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
289
289
|
#
|
290
290
|
# @param parent [::String]
|
291
|
-
# Required. Resource name of project that the imported taxonomies will belong
|
291
|
+
# Required. Resource name of project that the imported taxonomies will belong
|
292
|
+
# to.
|
292
293
|
# @param inline_source [::Google::Cloud::DataCatalog::V1::InlineSource, ::Hash]
|
293
294
|
# Inline source taxonomy to import.
|
294
295
|
# @param cross_regional_source [::Google::Cloud::DataCatalog::V1::CrossRegionalSource, ::Hash]
|
@@ -382,7 +383,8 @@ module Google
|
|
382
383
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
383
384
|
#
|
384
385
|
# @param parent [::String]
|
385
|
-
# Required. Resource name of the project that the exported taxonomies belong
|
386
|
+
# Required. Resource name of the project that the exported taxonomies belong
|
387
|
+
# to.
|
386
388
|
# @param taxonomies [::Array<::String>]
|
387
389
|
# Required. Resource names of the taxonomies to export.
|
388
390
|
# @param serialized_taxonomies [::Boolean]
|
@@ -491,9 +493,9 @@ module Google
|
|
491
493
|
# * (`String`) The path to a service account key file in JSON format
|
492
494
|
# * (`Hash`) A service account key as a Hash
|
493
495
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
494
|
-
# (see the [googleauth docs](https://
|
496
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
495
497
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
496
|
-
# (see the [signet docs](https://
|
498
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
497
499
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
498
500
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
499
501
|
# * (`nil`) indicating no credentials
|
@@ -256,7 +256,8 @@ module Google
|
|
256
256
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
257
257
|
#
|
258
258
|
# @param parent [::String]
|
259
|
-
# Required. Resource name of project that the imported taxonomies will belong
|
259
|
+
# Required. Resource name of project that the imported taxonomies will belong
|
260
|
+
# to.
|
260
261
|
# @param inline_source [::Google::Cloud::DataCatalog::V1::InlineSource, ::Hash]
|
261
262
|
# Inline source taxonomy to import.
|
262
263
|
# @param cross_regional_source [::Google::Cloud::DataCatalog::V1::CrossRegionalSource, ::Hash]
|
@@ -327,7 +328,8 @@ module Google
|
|
327
328
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
328
329
|
#
|
329
330
|
# @param parent [::String]
|
330
|
-
# Required. Resource name of the project that the exported taxonomies belong
|
331
|
+
# Required. Resource name of the project that the exported taxonomies belong
|
332
|
+
# to.
|
331
333
|
# @param taxonomies [::Array<::String>]
|
332
334
|
# Required. Resource names of the taxonomies to export.
|
333
335
|
# @param serialized_taxonomies [::Boolean]
|
@@ -413,9 +415,9 @@ module Google
|
|
413
415
|
# * (`String`) The path to a service account key file in JSON format
|
414
416
|
# * (`Hash`) A service account key as a Hash
|
415
417
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
416
|
-
# (see the [googleauth docs](https://
|
418
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
417
419
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
418
|
-
# (see the [signet docs](https://
|
420
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
419
421
|
# * (`nil`) indicating no credentials
|
420
422
|
# @return [::Object]
|
421
423
|
# @!attribute [rw] scope
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/datacatalog/v1/bigquery.proto
|
3
4
|
|
@@ -5,33 +6,31 @@ require 'google/protobuf'
|
|
5
6
|
|
6
7
|
require 'google/api/field_behavior_pb'
|
7
8
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
value :MYSQL, 2
|
30
|
-
end
|
31
|
-
add_message "google.cloud.datacatalog.v1.BigQueryRoutineSpec" do
|
32
|
-
repeated :imported_libraries, :string, 1
|
9
|
+
|
10
|
+
descriptor_data = "\n*google/cloud/datacatalog/v1/bigquery.proto\x12\x1bgoogle.cloud.datacatalog.v1\x1a\x1fgoogle/api/field_behavior.proto\"\xb4\x02\n\x16\x42igQueryConnectionSpec\x12[\n\x0f\x63onnection_type\x18\x01 \x01(\x0e\x32\x42.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType\x12P\n\tcloud_sql\x18\x02 \x01(\x0b\x32;.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpecH\x00\x12\x16\n\x0ehas_credential\x18\x03 \x01(\x08\"@\n\x0e\x43onnectionType\x12\x1f\n\x1b\x43ONNECTION_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tCLOUD_SQL\x10\x01\x42\x11\n\x0f\x63onnection_spec\"\xe7\x01\n\x1e\x43loudSqlBigQueryConnectionSpec\x12\x13\n\x0binstance_id\x18\x01 \x01(\t\x12\x10\n\x08\x64\x61tabase\x18\x02 \x01(\t\x12V\n\x04type\x18\x03 \x01(\x0e\x32H.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType\"F\n\x0c\x44\x61tabaseType\x12\x1d\n\x19\x44\x41TABASE_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08POSTGRES\x10\x01\x12\t\n\x05MYSQL\x10\x02\"1\n\x13\x42igQueryRoutineSpec\x12\x1a\n\x12imported_libraries\x18\x01 \x03(\tB\xd5\x01\n\x1f\x63om.google.cloud.datacatalog.v1B\rBigQueryProtoP\x01ZAcloud.google.com/go/datacatalog/apiv1/datacatalogpb;datacatalogpb\xf8\x01\x01\xaa\x02\x1bGoogle.Cloud.DataCatalog.V1\xca\x02\x1bGoogle\\Cloud\\DataCatalog\\V1\xea\x02\x1eGoogle::Cloud::DataCatalog::V1b\x06proto3"
|
11
|
+
|
12
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
|
+
|
14
|
+
begin
|
15
|
+
pool.add_serialized_file(descriptor_data)
|
16
|
+
rescue TypeError => e
|
17
|
+
# Compatibility code: will be removed in the next major version.
|
18
|
+
require 'google/protobuf/descriptor_pb'
|
19
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
20
|
+
parsed.clear_dependency
|
21
|
+
serialized = parsed.class.encode(parsed)
|
22
|
+
file = pool.add_serialized_file(serialized)
|
23
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
24
|
+
imports = [
|
25
|
+
]
|
26
|
+
imports.each do |type_name, expected_filename|
|
27
|
+
import_file = pool.lookup(type_name).file_descriptor
|
28
|
+
if import_file.name != expected_filename
|
29
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
33
30
|
end
|
34
31
|
end
|
32
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
33
|
+
warn "This will become an error in the next major version."
|
35
34
|
end
|
36
35
|
|
37
36
|
module Google
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/datacatalog/v1/common.proto
|
3
4
|
|
@@ -5,20 +6,32 @@ require 'google/protobuf'
|
|
5
6
|
|
6
7
|
require 'google/protobuf/timestamp_pb'
|
7
8
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
9
|
+
|
10
|
+
descriptor_data = "\n(google/cloud/datacatalog/v1/common.proto\x12\x1bgoogle.cloud.datacatalog.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"Q\n\x0fPersonalDetails\x12\x0f\n\x07starred\x18\x01 \x01(\x08\x12-\n\tstar_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp*\xbd\x01\n\x10IntegratedSystem\x12!\n\x1dINTEGRATED_SYSTEM_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x42IGQUERY\x10\x01\x12\x10\n\x0c\x43LOUD_PUBSUB\x10\x02\x12\x16\n\x12\x44\x41TAPROC_METASTORE\x10\x03\x12\x0c\n\x08\x44\x41TAPLEX\x10\x04\x12\x11\n\rCLOUD_SPANNER\x10\x06\x12\x12\n\x0e\x43LOUD_BIGTABLE\x10\x07\x12\r\n\tCLOUD_SQL\x10\x08\x12\n\n\x06LOOKER\x10\t*j\n\x0eManagingSystem\x12\x1f\n\x1bMANAGING_SYSTEM_UNSPECIFIED\x10\x00\x12\x1c\n\x18MANAGING_SYSTEM_DATAPLEX\x10\x01\x12\x19\n\x15MANAGING_SYSTEM_OTHER\x10\x02\x42\xc6\x01\n\x1f\x63om.google.cloud.datacatalog.v1P\x01ZAcloud.google.com/go/datacatalog/apiv1/datacatalogpb;datacatalogpb\xf8\x01\x01\xaa\x02\x1bGoogle.Cloud.DataCatalog.V1\xca\x02\x1bGoogle\\Cloud\\DataCatalog\\V1\xea\x02\x1eGoogle::Cloud::DataCatalog::V1b\x06proto3"
|
11
|
+
|
12
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
|
+
|
14
|
+
begin
|
15
|
+
pool.add_serialized_file(descriptor_data)
|
16
|
+
rescue TypeError => e
|
17
|
+
# Compatibility code: will be removed in the next major version.
|
18
|
+
require 'google/protobuf/descriptor_pb'
|
19
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
20
|
+
parsed.clear_dependency
|
21
|
+
serialized = parsed.class.encode(parsed)
|
22
|
+
file = pool.add_serialized_file(serialized)
|
23
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
24
|
+
imports = [
|
25
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
26
|
+
]
|
27
|
+
imports.each do |type_name, expected_filename|
|
28
|
+
import_file = pool.lookup(type_name).file_descriptor
|
29
|
+
if import_file.name != expected_filename
|
30
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
20
31
|
end
|
21
32
|
end
|
33
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
34
|
+
warn "This will become an error in the next major version."
|
22
35
|
end
|
23
36
|
|
24
37
|
module Google
|
@@ -27,6 +40,7 @@ module Google
|
|
27
40
|
module V1
|
28
41
|
PersonalDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.PersonalDetails").msgclass
|
29
42
|
IntegratedSystem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.IntegratedSystem").enummodule
|
43
|
+
ManagingSystem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.ManagingSystem").enummodule
|
30
44
|
end
|
31
45
|
end
|
32
46
|
end
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/datacatalog/v1/data_source.proto
|
3
4
|
|
@@ -5,26 +6,31 @@ require 'google/protobuf'
|
|
5
6
|
|
6
7
|
require 'google/api/field_behavior_pb'
|
7
8
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
9
|
+
|
10
|
+
descriptor_data = "\n-google/cloud/datacatalog/v1/data_source.proto\x12\x1bgoogle.cloud.datacatalog.v1\x1a\x1fgoogle/api/field_behavior.proto\"\x9c\x02\n\nDataSource\x12@\n\x07service\x18\x01 \x01(\x0e\x32/.google.cloud.datacatalog.v1.DataSource.Service\x12\x10\n\x08resource\x18\x02 \x01(\t\x12\x19\n\x0csource_entry\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12L\n\x12storage_properties\x18\x04 \x01(\x0b\x32..google.cloud.datacatalog.v1.StoragePropertiesH\x00\"C\n\x07Service\x12\x17\n\x13SERVICE_UNSPECIFIED\x10\x00\x12\x11\n\rCLOUD_STORAGE\x10\x01\x12\x0c\n\x08\x42IGQUERY\x10\x02\x42\x0c\n\nproperties\"<\n\x11StorageProperties\x12\x14\n\x0c\x66ile_pattern\x18\x01 \x03(\t\x12\x11\n\tfile_type\x18\x02 \x01(\tB\xd7\x01\n\x1f\x63om.google.cloud.datacatalog.v1B\x0f\x44\x61taSourceProtoP\x01ZAcloud.google.com/go/datacatalog/apiv1/datacatalogpb;datacatalogpb\xf8\x01\x01\xaa\x02\x1bGoogle.Cloud.DataCatalog.V1\xca\x02\x1bGoogle\\Cloud\\DataCatalog\\V1\xea\x02\x1eGoogle::Cloud::DataCatalog::V1b\x06proto3"
|
11
|
+
|
12
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
|
+
|
14
|
+
begin
|
15
|
+
pool.add_serialized_file(descriptor_data)
|
16
|
+
rescue TypeError => e
|
17
|
+
# Compatibility code: will be removed in the next major version.
|
18
|
+
require 'google/protobuf/descriptor_pb'
|
19
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
20
|
+
parsed.clear_dependency
|
21
|
+
serialized = parsed.class.encode(parsed)
|
22
|
+
file = pool.add_serialized_file(serialized)
|
23
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
24
|
+
imports = [
|
25
|
+
]
|
26
|
+
imports.each do |type_name, expected_filename|
|
27
|
+
import_file = pool.lookup(type_name).file_descriptor
|
28
|
+
if import_file.name != expected_filename
|
29
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
26
30
|
end
|
27
31
|
end
|
32
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
33
|
+
warn "This will become an error in the next major version."
|
28
34
|
end
|
29
35
|
|
30
36
|
module Google
|