google-cloud-data_catalog-v1 0.12.1 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/google/cloud/data_catalog/v1/data_catalog/client.rb +30 -24
- data/lib/google/cloud/data_catalog/v1/data_catalog/rest/client.rb +3011 -0
- data/lib/google/cloud/data_catalog/v1/data_catalog/rest/service_stub.rb +2022 -0
- data/lib/google/cloud/data_catalog/v1/data_catalog/rest.rb +53 -0
- data/lib/google/cloud/data_catalog/v1/data_catalog.rb +7 -1
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager/client.rb +22 -12
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager/rest/client.rb +1270 -0
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager/rest/service_stub.rb +846 -0
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager/rest.rb +57 -0
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager.rb +7 -1
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/client.rb +14 -0
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/rest/client.rb +536 -0
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/rest/service_stub.rb +227 -0
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/rest.rb +55 -0
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization.rb +7 -1
- data/lib/google/cloud/data_catalog/v1/rest.rb +39 -0
- data/lib/google/cloud/data_catalog/v1/version.rb +1 -1
- data/lib/google/cloud/data_catalog/v1.rb +7 -2
- data/proto_docs/google/api/client.rb +318 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- metadata +33 -16
- data/proto_docs/google/iam/v1/iam_policy.rb +0 -87
- data/proto_docs/google/iam/v1/options.rb +0 -50
- data/proto_docs/google/iam/v1/policy.rb +0 -418
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b8ea140377daa0bb096d98b3caa4a748568a94bcef202599229803a74a5f13c1
|
4
|
+
data.tar.gz: 6b88c341a9b1c9fc6fa3100bac7aee78bdc34806b8a044b241a0c49787fe6670
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 784cac8f9f0f249613d46bc56bd0d0fdbe680eae305166a9e89891a3b32fd0b9602bc69652a46d39ceb0e65e2964650335f225a97b257934e934eaba818703cb
|
7
|
+
data.tar.gz: 41f5e31b8711d5794e7a7e71ceba78fa1f7b18026b71004cd573fbb8bfe861a6b84222a3b1fc4305cb144fe342e75edf7b175d4bae484f78287660ece350739c
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Ruby Client for the Data Catalog V1 API
|
2
2
|
|
3
|
-
|
3
|
+
A fully managed and highly scalable data discovery and metadata management service.
|
4
4
|
|
5
5
|
DataCatalog is a centralized and unified data catalog service for all your Cloud resources, where users and systems can discover data, explore and curate its semantics, understand how to act on it, and help govern its usage.
|
6
6
|
|
@@ -46,7 +46,7 @@ for general usage information.
|
|
46
46
|
## Enabling Logging
|
47
47
|
|
48
48
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
49
|
-
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/
|
49
|
+
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
|
50
50
|
or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
|
51
51
|
that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
52
52
|
and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/datacatalog/v1/datacatalog_pb"
|
21
|
+
require "google/iam/v1"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -176,6 +177,12 @@ module Google
|
|
176
177
|
@quota_project_id = @config.quota_project
|
177
178
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
178
179
|
|
180
|
+
@iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
|
181
|
+
config.credentials = credentials
|
182
|
+
config.quota_project = @quota_project_id
|
183
|
+
config.endpoint = @config.endpoint
|
184
|
+
end
|
185
|
+
|
179
186
|
@data_catalog_stub = ::Gapic::ServiceStub.new(
|
180
187
|
::Google::Cloud::DataCatalog::V1::DataCatalog::Stub,
|
181
188
|
credentials: credentials,
|
@@ -185,6 +192,13 @@ module Google
|
|
185
192
|
)
|
186
193
|
end
|
187
194
|
|
195
|
+
##
|
196
|
+
# Get the associated client for mix-in of the IAMPolicy.
|
197
|
+
#
|
198
|
+
# @return [Google::Iam::V1::IAMPolicy::Client]
|
199
|
+
#
|
200
|
+
attr_reader :iam_policy_client
|
201
|
+
|
188
202
|
# Service calls
|
189
203
|
|
190
204
|
##
|
@@ -284,13 +298,11 @@ module Google
|
|
284
298
|
# # Call the search_catalog method.
|
285
299
|
# result = client.search_catalog request
|
286
300
|
#
|
287
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
288
|
-
# #
|
289
|
-
#
|
290
|
-
# # methods are also available for managing paging directly.
|
291
|
-
# result.each do |response|
|
301
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
302
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
303
|
+
# result.each do |item|
|
292
304
|
# # Each element is of type ::Google::Cloud::DataCatalog::V1::SearchCatalogResult.
|
293
|
-
# p
|
305
|
+
# p item
|
294
306
|
# end
|
295
307
|
#
|
296
308
|
def search_catalog request, options = nil
|
@@ -775,13 +787,11 @@ module Google
|
|
775
787
|
# # Call the list_entry_groups method.
|
776
788
|
# result = client.list_entry_groups request
|
777
789
|
#
|
778
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
779
|
-
# #
|
780
|
-
#
|
781
|
-
# # methods are also available for managing paging directly.
|
782
|
-
# result.each do |response|
|
790
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
791
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
792
|
+
# result.each do |item|
|
783
793
|
# # Each element is of type ::Google::Cloud::DataCatalog::V1::EntryGroup.
|
784
|
-
# p
|
794
|
+
# p item
|
785
795
|
# end
|
786
796
|
#
|
787
797
|
def list_entry_groups request, options = nil
|
@@ -1406,13 +1416,11 @@ module Google
|
|
1406
1416
|
# # Call the list_entries method.
|
1407
1417
|
# result = client.list_entries request
|
1408
1418
|
#
|
1409
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
1410
|
-
# #
|
1411
|
-
#
|
1412
|
-
# # methods are also available for managing paging directly.
|
1413
|
-
# result.each do |response|
|
1419
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
1420
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
1421
|
+
# result.each do |item|
|
1414
1422
|
# # Each element is of type ::Google::Cloud::DataCatalog::V1::Entry.
|
1415
|
-
# p
|
1423
|
+
# p item
|
1416
1424
|
# end
|
1417
1425
|
#
|
1418
1426
|
def list_entries request, options = nil
|
@@ -2838,13 +2846,11 @@ module Google
|
|
2838
2846
|
# # Call the list_tags method.
|
2839
2847
|
# result = client.list_tags request
|
2840
2848
|
#
|
2841
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
2842
|
-
# #
|
2843
|
-
#
|
2844
|
-
# # methods are also available for managing paging directly.
|
2845
|
-
# result.each do |response|
|
2849
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
2850
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
2851
|
+
# result.each do |item|
|
2846
2852
|
# # Each element is of type ::Google::Cloud::DataCatalog::V1::Tag.
|
2847
|
-
# p
|
2853
|
+
# p item
|
2848
2854
|
# end
|
2849
2855
|
#
|
2850
2856
|
def list_tags request, options = nil
|