google-cloud-data_catalog 1.1.0 → 1.2.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/lib/google/cloud/data_catalog.rb +67 -0
- data/lib/google/cloud/data_catalog/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 81bc0616093ab5046f559df5bb334cd493a7d66329499bc05d12d570fb56ec88
|
4
|
+
data.tar.gz: 6aedf6a1c6e9ddda2b05fcad9b63c784e1108494681131118a42503f29969e56
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 896b468f1d13f63beadeeaaf496a32dadceae09c26992903a513ed82361e4c5fb95583fcbe015176331453f8c20a5bdf4f1b022a38d85301898e64b031d0a18e
|
7
|
+
data.tar.gz: 94381d600eaad0dc70166e287e12d193f9db9f3ae95ed066a47935b8afec100fa9a6ba079d7df99ca59c3f05871174068f82dc3e515abc44bd6e1d54eb3c70df
|
@@ -75,6 +75,73 @@ module Google
|
|
75
75
|
package_module.const_get(:DataCatalog).const_get(:Client).new(&block)
|
76
76
|
end
|
77
77
|
|
78
|
+
##
|
79
|
+
# Create a new client object for PolicyTagManager.
|
80
|
+
#
|
81
|
+
# By default, this returns an instance of
|
82
|
+
# [Google::Cloud::DataCatalog::V1::PolicyTagManager::Client](https://googleapis.dev/ruby/google-cloud-data_catalog-v1/latest/Google/Cloud/DataCatalog/V1/PolicyTagManager/Client.html)
|
83
|
+
# for version V1 of the API.
|
84
|
+
# However, you can specify specify a different API version by passing it in the
|
85
|
+
# `version` parameter. If the PolicyTagManager service is
|
86
|
+
# supported by that API version, and the corresponding gem is available, the
|
87
|
+
# appropriate versioned client will be returned.
|
88
|
+
#
|
89
|
+
# ## About PolicyTagManager
|
90
|
+
#
|
91
|
+
# Policy Tag Manager API service allows clients to manage their policy tags and
|
92
|
+
# taxonomies.
|
93
|
+
#
|
94
|
+
# Policy tags are used to tag BigQuery columns and apply additional access
|
95
|
+
# control policies. A taxonomy is a hierarchical grouping of policy tags that
|
96
|
+
# classify data along a common axis.
|
97
|
+
#
|
98
|
+
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
99
|
+
# Defaults to `:v1`.
|
100
|
+
# @return [PolicyTagManager::Client] A client object for the specified version.
|
101
|
+
#
|
102
|
+
def self.policy_tag_manager version: :v1, &block
|
103
|
+
require "google/cloud/data_catalog/#{version.to_s.downcase}"
|
104
|
+
|
105
|
+
package_name = Google::Cloud::DataCatalog
|
106
|
+
.constants
|
107
|
+
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
108
|
+
.first
|
109
|
+
package_module = Google::Cloud::DataCatalog.const_get package_name
|
110
|
+
package_module.const_get(:PolicyTagManager).const_get(:Client).new(&block)
|
111
|
+
end
|
112
|
+
|
113
|
+
##
|
114
|
+
# Create a new client object for PolicyTagManagerSerialization.
|
115
|
+
#
|
116
|
+
# By default, this returns an instance of
|
117
|
+
# [Google::Cloud::DataCatalog::V1::PolicyTagManagerSerialization::Client](https://googleapis.dev/ruby/google-cloud-data_catalog-v1/latest/Google/Cloud/DataCatalog/V1/PolicyTagManagerSerialization/Client.html)
|
118
|
+
# for version V1 of the API.
|
119
|
+
# However, you can specify specify a different API version by passing it in the
|
120
|
+
# `version` parameter. If the PolicyTagManagerSerialization service is
|
121
|
+
# supported by that API version, and the corresponding gem is available, the
|
122
|
+
# appropriate versioned client will be returned.
|
123
|
+
#
|
124
|
+
# ## About PolicyTagManagerSerialization
|
125
|
+
#
|
126
|
+
# Policy Tag Manager serialization API service allows clients to manipulate
|
127
|
+
# their policy tags and taxonomies in serialized format, where taxonomy is a
|
128
|
+
# hierarchical group of policy tags.
|
129
|
+
#
|
130
|
+
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
131
|
+
# Defaults to `:v1`.
|
132
|
+
# @return [PolicyTagManagerSerialization::Client] A client object for the specified version.
|
133
|
+
#
|
134
|
+
def self.policy_tag_manager_serialization version: :v1, &block
|
135
|
+
require "google/cloud/data_catalog/#{version.to_s.downcase}"
|
136
|
+
|
137
|
+
package_name = Google::Cloud::DataCatalog
|
138
|
+
.constants
|
139
|
+
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
140
|
+
.first
|
141
|
+
package_module = Google::Cloud::DataCatalog.const_get package_name
|
142
|
+
package_module.const_get(:PolicyTagManagerSerialization).const_get(:Client).new(&block)
|
143
|
+
end
|
144
|
+
|
78
145
|
##
|
79
146
|
# Configure the google-cloud-data_catalog library.
|
80
147
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-data_catalog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.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: 2021-
|
11
|
+
date: 2021-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-cloud-core
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0.
|
33
|
+
version: '0.7'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '0.
|
40
|
+
version: '0.7'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: google-style
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|