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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bd5e9572f8a6eb1c0ebb1587fe128266148640d685aac5575c4434899f456a59
4
- data.tar.gz: cdc947879bb35c9fe055831c8c8f75a60e9b87034019043cd5ca27c2da2b2e96
3
+ metadata.gz: 81bc0616093ab5046f559df5bb334cd493a7d66329499bc05d12d570fb56ec88
4
+ data.tar.gz: 6aedf6a1c6e9ddda2b05fcad9b63c784e1108494681131118a42503f29969e56
5
5
  SHA512:
6
- metadata.gz: 146d2825878acdee5c577c6da1793de510e6d7a62acabf22d98e31c6541687e28daa59b6e7b74bbf0962e56ee0d6aaf66b6c310d921714a2bc62e4556558d2a5
7
- data.tar.gz: a1cacab12f0cb6253a194014630039ed02622752644849738a3683c099919afa4b3f373598bf6b41f972de6b646d8513da019707b6304ecebae38f47113bd60f
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
  #
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module DataCatalog
23
- VERSION = "1.1.0"
23
+ VERSION = "1.2.0"
24
24
  end
25
25
  end
26
26
  end
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.1.0
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-03-09 00:00:00.000000000 Z
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.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.0'
40
+ version: '0.7'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: google-style
43
43
  requirement: !ruby/object:Gem::Requirement