google-cloud-dataplex 1.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7e1c00487b297793f5ec55ffb4f95953024a6d0192db4a44fb391bb1f3f841bd
4
- data.tar.gz: ce5bbad3f4941fa272417662557d6a4d1bae0fa871863685958599f686ad142e
3
+ metadata.gz: c5e9bc35f44cc14daff192d134c17078ca34f1a1188e9ae8431cfb6cfba559db
4
+ data.tar.gz: 85581ac8e79c6354ce8a6bf9bfc49a949542098bb1d3efa37eb3680b6de2a915
5
5
  SHA512:
6
- metadata.gz: a89409eec425f67b749bd6ada3e32e8fd3bf282cf59c0d1dc451ab788fec5a6c74c826f23412ecb141013606d813345bf3a39072b78c4a49123b598b19994e4d
7
- data.tar.gz: d99105b4f51c930fdef285f74c38f82cfc6fc1bfbe696aa09361236d67e6474a219e71ea7572e8da3a959c03eb5007b4bf43baf90cc291b190a5dc44c097b65b
6
+ metadata.gz: c3e11879f529b6d3c4beb62ced452bef82f8f9e2b68b6e6290d8a8a9e278acf6430682348a69e9a64ad4fba5361b0031aa57c8ff9eef3970b5c30b702cf222e2
7
+ data.tar.gz: 9c8df4d9cccfc21e3ac28a10002ba9e7e353f1ed29b3a274a68601b9c5a75a2f45b8cb611d2bf9f10d90a5f4a1a4549875d7ed6feb4968275c863ad8855f87b9
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module Dataplex
23
- VERSION = "1.0.0"
23
+ VERSION = "1.1.0"
24
24
  end
25
25
  end
26
26
  end
@@ -116,6 +116,41 @@ module Google
116
116
  service_module.const_get(:Client).new(&block)
117
117
  end
118
118
 
119
+ ##
120
+ # Create a new client object for DataTaxonomyService.
121
+ #
122
+ # By default, this returns an instance of
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)
124
+ # for a gRPC client for version V1 of the API.
125
+ # However, you can specify a different API version by passing it in the
126
+ # `version` parameter. If the DataTaxonomyService service is
127
+ # supported by that API version, and the corresponding gem is available, the
128
+ # appropriate versioned client will be returned.
129
+ # You can also specify a different transport by passing `:rest` or `:grpc` in
130
+ # the `transport` parameter.
131
+ #
132
+ # ## About DataTaxonomyService
133
+ #
134
+ # DataTaxonomyService enables attribute-based governance. The resources
135
+ # currently offered include DataTaxonomy and DataAttribute.
136
+ #
137
+ # @param version [::String, ::Symbol] The API version to connect to. Optional.
138
+ # Defaults to `:v1`.
139
+ # @param transport [:grpc, :rest] The transport to use. Defaults to `:grpc`.
140
+ # @return [::Object] A client object for the specified version.
141
+ #
142
+ def self.data_taxonomy_service version: :v1, transport: :grpc, &block
143
+ require "google/cloud/dataplex/#{version.to_s.downcase}"
144
+
145
+ package_name = Google::Cloud::Dataplex
146
+ .constants
147
+ .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
148
+ .first
149
+ service_module = Google::Cloud::Dataplex.const_get(package_name).const_get(:DataTaxonomyService)
150
+ service_module = service_module.const_get(:Rest) if transport == :rest
151
+ service_module.const_get(:Client).new(&block)
152
+ end
153
+
119
154
  ##
120
155
  # Create a new client object for DataScanService.
121
156
  #
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: 1.0.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-07-28 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