google-cloud-dataplex 0.5.0 → 1.1.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/dataplex/version.rb +1 -1
- data/lib/google/cloud/dataplex.rb +64 -29
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5e9bc35f44cc14daff192d134c17078ca34f1a1188e9ae8431cfb6cfba559db
|
4
|
+
data.tar.gz: 85581ac8e79c6354ce8a6bf9bfc49a949542098bb1d3efa37eb3680b6de2a915
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3e11879f529b6d3c4beb62ced452bef82f8f9e2b68b6e6290d8a8a9e278acf6430682348a69e9a64ad4fba5361b0031aa57c8ff9eef3970b5c30b702cf222e2
|
7
|
+
data.tar.gz: 9c8df4d9cccfc21e3ac28a10002ba9e7e353f1ed29b3a274a68601b9c5a75a2f45b8cb611d2bf9f10d90a5f4a1a4549875d7ed6feb4968275c863ad8855f87b9
|
data/README.md
CHANGED
@@ -16,7 +16,7 @@ for this library, google-cloud-dataplex, to see the convenience methods for
|
|
16
16
|
constructing client objects. Reference documentation for the client objects
|
17
17
|
themselves can be found in the client library documentation for the versioned
|
18
18
|
client gems:
|
19
|
-
[google-cloud-dataplex-v1](https://
|
19
|
+
[google-cloud-dataplex-v1](https://cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest).
|
20
20
|
|
21
21
|
See also the [Product Documentation](https://cloud.google.com/dataplex/)
|
22
22
|
for more usage information.
|
@@ -48,7 +48,7 @@ module Google
|
|
48
48
|
# Create a new client object for ContentService.
|
49
49
|
#
|
50
50
|
# By default, this returns an instance of
|
51
|
-
# [Google::Cloud::Dataplex::V1::ContentService::Client](https://
|
51
|
+
# [Google::Cloud::Dataplex::V1::ContentService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-ContentService-Client)
|
52
52
|
# for a gRPC client for version V1 of the API.
|
53
53
|
# However, you can specify a different API version by passing it in the
|
54
54
|
# `version` parameter. If the ContentService service is
|
@@ -79,110 +79,145 @@ module Google
|
|
79
79
|
end
|
80
80
|
|
81
81
|
##
|
82
|
-
# Create a new client object for
|
82
|
+
# Create a new client object for DataplexService.
|
83
83
|
#
|
84
84
|
# By default, this returns an instance of
|
85
|
-
# [Google::Cloud::Dataplex::V1::
|
85
|
+
# [Google::Cloud::Dataplex::V1::DataplexService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DataplexService-Client)
|
86
86
|
# for a gRPC client for version V1 of the API.
|
87
87
|
# However, you can specify a different API version by passing it in the
|
88
|
-
# `version` parameter. If the
|
88
|
+
# `version` parameter. If the DataplexService service is
|
89
89
|
# supported by that API version, and the corresponding gem is available, the
|
90
90
|
# appropriate versioned client will be returned.
|
91
91
|
# You can also specify a different transport by passing `:rest` or `:grpc` in
|
92
92
|
# the `transport` parameter.
|
93
93
|
#
|
94
|
-
# ## About
|
94
|
+
# ## About DataplexService
|
95
95
|
#
|
96
|
-
#
|
97
|
-
#
|
98
|
-
#
|
96
|
+
# Dataplex service provides data lakes as a service. The primary resources
|
97
|
+
# offered by this service are Lakes, Zones and Assets which collectively allow
|
98
|
+
# a data administrator to organize, manage, secure and catalog data across
|
99
|
+
# their organization located across cloud projects in a variety of storage
|
100
|
+
# systems including Cloud Storage and BigQuery.
|
99
101
|
#
|
100
102
|
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
101
103
|
# Defaults to `:v1`.
|
102
104
|
# @param transport [:grpc, :rest] The transport to use. Defaults to `:grpc`.
|
103
105
|
# @return [::Object] A client object for the specified version.
|
104
106
|
#
|
105
|
-
def self.
|
107
|
+
def self.dataplex_service version: :v1, transport: :grpc, &block
|
106
108
|
require "google/cloud/dataplex/#{version.to_s.downcase}"
|
107
109
|
|
108
110
|
package_name = Google::Cloud::Dataplex
|
109
111
|
.constants
|
110
112
|
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
111
113
|
.first
|
112
|
-
service_module = Google::Cloud::Dataplex.const_get(package_name).const_get(:
|
114
|
+
service_module = Google::Cloud::Dataplex.const_get(package_name).const_get(:DataplexService)
|
113
115
|
service_module = service_module.const_get(:Rest) if transport == :rest
|
114
116
|
service_module.const_get(:Client).new(&block)
|
115
117
|
end
|
116
118
|
|
117
119
|
##
|
118
|
-
# Create a new client object for
|
120
|
+
# Create a new client object for DataTaxonomyService.
|
119
121
|
#
|
120
122
|
# By default, this returns an instance of
|
121
|
-
# [Google::Cloud::Dataplex::V1::
|
123
|
+
# [Google::Cloud::Dataplex::V1::DataTaxonomyService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DataTaxonomyService-Client)
|
122
124
|
# for a gRPC client for version V1 of the API.
|
123
125
|
# However, you can specify a different API version by passing it in the
|
124
|
-
# `version` parameter. If the
|
126
|
+
# `version` parameter. If the DataTaxonomyService service is
|
125
127
|
# supported by that API version, and the corresponding gem is available, the
|
126
128
|
# appropriate versioned client will be returned.
|
127
129
|
# You can also specify a different transport by passing `:rest` or `:grpc` in
|
128
130
|
# the `transport` parameter.
|
129
131
|
#
|
130
|
-
# ## About
|
132
|
+
# ## About DataTaxonomyService
|
131
133
|
#
|
132
|
-
#
|
133
|
-
#
|
134
|
+
# DataTaxonomyService enables attribute-based governance. The resources
|
135
|
+
# currently offered include DataTaxonomy and DataAttribute.
|
134
136
|
#
|
135
137
|
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
136
138
|
# Defaults to `:v1`.
|
137
139
|
# @param transport [:grpc, :rest] The transport to use. Defaults to `:grpc`.
|
138
140
|
# @return [::Object] A client object for the specified version.
|
139
141
|
#
|
140
|
-
def self.
|
142
|
+
def self.data_taxonomy_service version: :v1, transport: :grpc, &block
|
141
143
|
require "google/cloud/dataplex/#{version.to_s.downcase}"
|
142
144
|
|
143
145
|
package_name = Google::Cloud::Dataplex
|
144
146
|
.constants
|
145
147
|
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
146
148
|
.first
|
147
|
-
service_module = Google::Cloud::Dataplex.const_get(package_name).const_get(:
|
149
|
+
service_module = Google::Cloud::Dataplex.const_get(package_name).const_get(:DataTaxonomyService)
|
148
150
|
service_module = service_module.const_get(:Rest) if transport == :rest
|
149
151
|
service_module.const_get(:Client).new(&block)
|
150
152
|
end
|
151
153
|
|
152
154
|
##
|
153
|
-
# Create a new client object for
|
155
|
+
# Create a new client object for DataScanService.
|
154
156
|
#
|
155
157
|
# By default, this returns an instance of
|
156
|
-
# [Google::Cloud::Dataplex::V1::
|
158
|
+
# [Google::Cloud::Dataplex::V1::DataScanService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DataScanService-Client)
|
157
159
|
# for a gRPC client for version V1 of the API.
|
158
160
|
# However, you can specify a different API version by passing it in the
|
159
|
-
# `version` parameter. If the
|
161
|
+
# `version` parameter. If the DataScanService service is
|
160
162
|
# supported by that API version, and the corresponding gem is available, the
|
161
163
|
# appropriate versioned client will be returned.
|
162
164
|
# You can also specify a different transport by passing `:rest` or `:grpc` in
|
163
165
|
# the `transport` parameter.
|
164
166
|
#
|
165
|
-
# ## About
|
167
|
+
# ## About DataScanService
|
166
168
|
#
|
167
|
-
#
|
168
|
-
#
|
169
|
-
#
|
170
|
-
# their organization located across cloud projects in a variety of storage
|
171
|
-
# systems including Cloud Storage and BigQuery.
|
169
|
+
# DataScanService manages DataScan resources which can be configured to run
|
170
|
+
# various types of data scanning workload and generate enriched metadata (e.g.
|
171
|
+
# Data Profile, Data Quality) for the data source.
|
172
172
|
#
|
173
173
|
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
174
174
|
# Defaults to `:v1`.
|
175
175
|
# @param transport [:grpc, :rest] The transport to use. Defaults to `:grpc`.
|
176
176
|
# @return [::Object] A client object for the specified version.
|
177
177
|
#
|
178
|
-
def self.
|
178
|
+
def self.data_scan_service version: :v1, transport: :grpc, &block
|
179
179
|
require "google/cloud/dataplex/#{version.to_s.downcase}"
|
180
180
|
|
181
181
|
package_name = Google::Cloud::Dataplex
|
182
182
|
.constants
|
183
183
|
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
184
184
|
.first
|
185
|
-
service_module = Google::Cloud::Dataplex.const_get(package_name).const_get(:
|
185
|
+
service_module = Google::Cloud::Dataplex.const_get(package_name).const_get(:DataScanService)
|
186
|
+
service_module = service_module.const_get(:Rest) if transport == :rest
|
187
|
+
service_module.const_get(:Client).new(&block)
|
188
|
+
end
|
189
|
+
|
190
|
+
##
|
191
|
+
# Create a new client object for MetadataService.
|
192
|
+
#
|
193
|
+
# By default, this returns an instance of
|
194
|
+
# [Google::Cloud::Dataplex::V1::MetadataService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-MetadataService-Client)
|
195
|
+
# for a gRPC client for version V1 of the API.
|
196
|
+
# However, you can specify a different API version by passing it in the
|
197
|
+
# `version` parameter. If the MetadataService service is
|
198
|
+
# supported by that API version, and the corresponding gem is available, the
|
199
|
+
# appropriate versioned client will be returned.
|
200
|
+
# You can also specify a different transport by passing `:rest` or `:grpc` in
|
201
|
+
# the `transport` parameter.
|
202
|
+
#
|
203
|
+
# ## About MetadataService
|
204
|
+
#
|
205
|
+
# Metadata service manages metadata resources such as tables, filesets and
|
206
|
+
# partitions.
|
207
|
+
#
|
208
|
+
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
209
|
+
# Defaults to `:v1`.
|
210
|
+
# @param transport [:grpc, :rest] The transport to use. Defaults to `:grpc`.
|
211
|
+
# @return [::Object] A client object for the specified version.
|
212
|
+
#
|
213
|
+
def self.metadata_service version: :v1, transport: :grpc, &block
|
214
|
+
require "google/cloud/dataplex/#{version.to_s.downcase}"
|
215
|
+
|
216
|
+
package_name = Google::Cloud::Dataplex
|
217
|
+
.constants
|
218
|
+
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
219
|
+
.first
|
220
|
+
service_module = Google::Cloud::Dataplex.const_get(package_name).const_get(:MetadataService)
|
186
221
|
service_module = service_module.const_get(:Rest) if transport == :rest
|
187
222
|
service_module.const_get(:Client).new(&block)
|
188
223
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-dataplex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.1.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: 2023-03
|
11
|
+
date: 2023-08-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-cloud-core
|