google-cloud-dataplex 0.5.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b078ccf368c5e55895e6fa35b8f56181afc461fa093f00c6b69ad8b74b1e229d
4
- data.tar.gz: f66fac89caf098b8186f39f8afcb59179bb0bbbcd22bd486b2b39cb4a9bc7d45
3
+ metadata.gz: c5e9bc35f44cc14daff192d134c17078ca34f1a1188e9ae8431cfb6cfba559db
4
+ data.tar.gz: 85581ac8e79c6354ce8a6bf9bfc49a949542098bb1d3efa37eb3680b6de2a915
5
5
  SHA512:
6
- metadata.gz: d9b0fee63cea07480f363ef236342e6db07dbe1a45ad7d9bea1f03b52d71d745f6ec1d0a18c4c231495f7787f224936aba3b20a0538f43570230803eb9a4686b
7
- data.tar.gz: 10adbf66b233744a2a1f80b6732e543bd2ff4c0b725d5c3b8ae05b57f7f803367ee15f97054a208092809d89af4c773b8953956fed7babd24b2f3a1ca1f21d23
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://googleapis.dev/ruby/google-cloud-dataplex-v1/latest).
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.
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module Dataplex
23
- VERSION = "0.5.0"
23
+ VERSION = "1.1.0"
24
24
  end
25
25
  end
26
26
  end
@@ -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://googleapis.dev/ruby/google-cloud-dataplex-v1/latest/Google/Cloud/Dataplex/V1/ContentService/Client.html)
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 DataScanService.
82
+ # Create a new client object for DataplexService.
83
83
  #
84
84
  # By default, this returns an instance of
85
- # [Google::Cloud::Dataplex::V1::DataScanService::Client](https://googleapis.dev/ruby/google-cloud-dataplex-v1/latest/Google/Cloud/Dataplex/V1/DataScanService/Client.html)
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 DataScanService service is
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 DataScanService
94
+ # ## About DataplexService
95
95
  #
96
- # DataScanService manages DataScan resources which can be configured to run
97
- # various types of data scanning workload and generate enriched metadata (e.g.
98
- # Data Profile, Data Quality) for the data source.
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.data_scan_service version: :v1, transport: :grpc, &block
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(:DataScanService)
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 MetadataService.
120
+ # Create a new client object for DataTaxonomyService.
119
121
  #
120
122
  # By default, this returns an instance of
121
- # [Google::Cloud::Dataplex::V1::MetadataService::Client](https://googleapis.dev/ruby/google-cloud-dataplex-v1/latest/Google/Cloud/Dataplex/V1/MetadataService/Client.html)
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 MetadataService service is
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 MetadataService
132
+ # ## About DataTaxonomyService
131
133
  #
132
- # Metadata service manages metadata resources such as tables, filesets and
133
- # partitions.
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.metadata_service version: :v1, transport: :grpc, &block
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(:MetadataService)
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 DataplexService.
155
+ # Create a new client object for DataScanService.
154
156
  #
155
157
  # By default, this returns an instance of
156
- # [Google::Cloud::Dataplex::V1::DataplexService::Client](https://googleapis.dev/ruby/google-cloud-dataplex-v1/latest/Google/Cloud/Dataplex/V1/DataplexService/Client.html)
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 DataplexService service is
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 DataplexService
167
+ # ## About DataScanService
166
168
  #
167
- # Dataplex service provides data lakes as a service. The primary resources
168
- # offered by this service are Lakes, Zones and Assets which collectively allow
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.
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.dataplex_service version: :v1, transport: :grpc, &block
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(:DataplexService)
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: 0.5.0
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-09 00:00:00.000000000 Z
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