google-cloud-dataplex 0.5.0 → 1.0.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 +29 -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: 7e1c00487b297793f5ec55ffb4f95953024a6d0192db4a44fb391bb1f3f841bd
|
4
|
+
data.tar.gz: ce5bbad3f4941fa272417662557d6a4d1bae0fa871863685958599f686ad142e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a89409eec425f67b749bd6ada3e32e8fd3bf282cf59c0d1dc451ab788fec5a6c74c826f23412ecb141013606d813345bf3a39072b78c4a49123b598b19994e4d
|
7
|
+
data.tar.gz: d99105b4f51c930fdef285f74c38f82cfc6fc1bfbe696aa09361236d67e6474a219e71ea7572e8da3a959c03eb5007b4bf43baf90cc291b190a5dc44c097b65b
|
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,110 @@ 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 DataScanService.
|
119
121
|
#
|
120
122
|
# By default, this returns an instance of
|
121
|
-
# [Google::Cloud::Dataplex::V1::
|
123
|
+
# [Google::Cloud::Dataplex::V1::DataScanService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DataScanService-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 DataScanService 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 DataScanService
|
131
133
|
#
|
132
|
-
#
|
133
|
-
#
|
134
|
+
# DataScanService manages DataScan resources which can be configured to run
|
135
|
+
# various types of data scanning workload and generate enriched metadata (e.g.
|
136
|
+
# Data Profile, Data Quality) for the data source.
|
134
137
|
#
|
135
138
|
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
136
139
|
# Defaults to `:v1`.
|
137
140
|
# @param transport [:grpc, :rest] The transport to use. Defaults to `:grpc`.
|
138
141
|
# @return [::Object] A client object for the specified version.
|
139
142
|
#
|
140
|
-
def self.
|
143
|
+
def self.data_scan_service version: :v1, transport: :grpc, &block
|
141
144
|
require "google/cloud/dataplex/#{version.to_s.downcase}"
|
142
145
|
|
143
146
|
package_name = Google::Cloud::Dataplex
|
144
147
|
.constants
|
145
148
|
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
146
149
|
.first
|
147
|
-
service_module = Google::Cloud::Dataplex.const_get(package_name).const_get(:
|
150
|
+
service_module = Google::Cloud::Dataplex.const_get(package_name).const_get(:DataScanService)
|
148
151
|
service_module = service_module.const_get(:Rest) if transport == :rest
|
149
152
|
service_module.const_get(:Client).new(&block)
|
150
153
|
end
|
151
154
|
|
152
155
|
##
|
153
|
-
# Create a new client object for
|
156
|
+
# Create a new client object for MetadataService.
|
154
157
|
#
|
155
158
|
# By default, this returns an instance of
|
156
|
-
# [Google::Cloud::Dataplex::V1::
|
159
|
+
# [Google::Cloud::Dataplex::V1::MetadataService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-MetadataService-Client)
|
157
160
|
# for a gRPC client for version V1 of the API.
|
158
161
|
# However, you can specify a different API version by passing it in the
|
159
|
-
# `version` parameter. If the
|
162
|
+
# `version` parameter. If the MetadataService service is
|
160
163
|
# supported by that API version, and the corresponding gem is available, the
|
161
164
|
# appropriate versioned client will be returned.
|
162
165
|
# You can also specify a different transport by passing `:rest` or `:grpc` in
|
163
166
|
# the `transport` parameter.
|
164
167
|
#
|
165
|
-
# ## About
|
168
|
+
# ## About MetadataService
|
166
169
|
#
|
167
|
-
#
|
168
|
-
#
|
169
|
-
# a data administrator to organize, manage, secure and catalog data across
|
170
|
-
# their organization located across cloud projects in a variety of storage
|
171
|
-
# systems including Cloud Storage and BigQuery.
|
170
|
+
# Metadata service manages metadata resources such as tables, filesets and
|
171
|
+
# partitions.
|
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.metadata_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(:MetadataService)
|
186
186
|
service_module = service_module.const_get(:Rest) if transport == :rest
|
187
187
|
service_module.const_get(:Client).new(&block)
|
188
188
|
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: 0.
|
4
|
+
version: 1.0.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-
|
11
|
+
date: 2023-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-cloud-core
|