google-cloud-data_catalog 1.1.0 → 1.2.3

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: bd5e9572f8a6eb1c0ebb1587fe128266148640d685aac5575c4434899f456a59
4
- data.tar.gz: cdc947879bb35c9fe055831c8c8f75a60e9b87034019043cd5ca27c2da2b2e96
3
+ metadata.gz: a5c3fa73a53d9a1f1138f0d6c7689f23a29c9d1cb175a32b085feb0dd6d3b62d
4
+ data.tar.gz: fd1dd7cf933b8caf1a32f45c04ff0a11b4d456f05c94f053220bd1e2ade0b818
5
5
  SHA512:
6
- metadata.gz: 146d2825878acdee5c577c6da1793de510e6d7a62acabf22d98e31c6541687e28daa59b6e7b74bbf0962e56ee0d6aaf66b6c310d921714a2bc62e4556558d2a5
7
- data.tar.gz: a1cacab12f0cb6253a194014630039ed02622752644849738a3683c099919afa4b3f373598bf6b41f972de6b646d8513da019707b6304ecebae38f47113bd60f
6
+ metadata.gz: ef3146f3abfb5aaeaf8c71fb5fb54659c983c18da6e1c721e6e989cabd73a3a669673524657e9aa8d5d370b1d127d08952d5bf4824e0d764b48d478414983d51
7
+ data.tar.gz: feb9b766ceff884fbff94166977f7850a1ba89963e2c9a942ca4d97862cf7cc7442cb3fa3de050da0ed72e981c2bbad34562471fe32061732e56a7397c4724d5
data/AUTHENTICATION.md CHANGED
@@ -66,11 +66,11 @@ The environment variables that google-cloud-data_catalog
66
66
  checks for credentials are configured on the service Credentials class (such as
67
67
  `::Google::Cloud::DataCatalog::V1::DataCatalog::Credentials`):
68
68
 
69
- 1. `DATA_CATALOG_CREDENTIALS` - Path to JSON file, or JSON contents
70
- 2. `DATA_CATALOG_KEYFILE` - Path to JSON file, or JSON contents
71
- 3. `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
72
- 4. `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
73
- 5. `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
69
+ * `DATA_CATALOG_CREDENTIALS` - Path to JSON file, or JSON contents
70
+ * `DATA_CATALOG_KEYFILE` - Path to JSON file, or JSON contents
71
+ * `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
72
+ * `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
73
+ * `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
74
74
 
75
75
  ```ruby
76
76
  require "google/cloud/data_catalog"
@@ -82,8 +82,8 @@ client = Google::Cloud::DataCatalog.data_catalog
82
82
 
83
83
  ### Configuration
84
84
 
85
- The **Credentials JSON** can be configured instead of placing them in
86
- environment variables. Either on an individual client initialization:
85
+ The path to the **Credentials JSON** file can be configured instead of storing
86
+ it in an environment variable. Either on an individual client initialization:
87
87
 
88
88
  ```ruby
89
89
  require "google/cloud/data_catalog"
@@ -93,7 +93,7 @@ client = Google::Cloud::DataCatalog.data_catalog do |config|
93
93
  end
94
94
  ```
95
95
 
96
- Or configured globally for all clients:
96
+ Or globally for all clients:
97
97
 
98
98
  ```ruby
99
99
  require "google/cloud/data_catalog"
@@ -57,8 +57,8 @@ module Google
57
57
  #
58
58
  # ## About DataCatalog
59
59
  #
60
- # Data Catalog API service allows clients to discover, understand, and manage
61
- # their data.
60
+ # Data Catalog API service allows you to discover, understand, and manage
61
+ # your data.
62
62
  #
63
63
  # @param version [::String, ::Symbol] The API version to connect to. Optional.
64
64
  # Defaults to `:v1`.
@@ -75,6 +75,74 @@ 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 you to manage your 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 you to manipulate
127
+ # your policy tags and taxonomies in a serialized format.
128
+ #
129
+ # Taxonomy is a hierarchical group of policy tags.
130
+ #
131
+ # @param version [::String, ::Symbol] The API version to connect to. Optional.
132
+ # Defaults to `:v1`.
133
+ # @return [PolicyTagManagerSerialization::Client] A client object for the specified version.
134
+ #
135
+ def self.policy_tag_manager_serialization version: :v1, &block
136
+ require "google/cloud/data_catalog/#{version.to_s.downcase}"
137
+
138
+ package_name = Google::Cloud::DataCatalog
139
+ .constants
140
+ .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
141
+ .first
142
+ package_module = Google::Cloud::DataCatalog.const_get package_name
143
+ package_module.const_get(:PolicyTagManagerSerialization).const_get(:Client).new(&block)
144
+ end
145
+
78
146
  ##
79
147
  # Configure the google-cloud-data_catalog library.
80
148
  #
@@ -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.3"
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.3
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-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-core
@@ -16,28 +16,34 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.5'
19
+ version: '1.6'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.5'
26
+ version: '1.6'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: google-cloud-data_catalog-v1
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0.7'
34
+ - - "<"
32
35
  - !ruby/object:Gem::Version
33
- version: '0.0'
36
+ version: 2.a
34
37
  type: :runtime
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
37
40
  requirements:
38
- - - "~>"
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: '0.7'
44
+ - - "<"
39
45
  - !ruby/object:Gem::Version
40
- version: '0.0'
46
+ version: 2.a
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: google-style
43
49
  requirement: !ruby/object:Gem::Requirement
@@ -184,7 +190,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
184
190
  - !ruby/object:Gem::Version
185
191
  version: '0'
186
192
  requirements: []
187
- rubygems_version: 3.2.13
193
+ rubygems_version: 3.2.17
188
194
  signing_key:
189
195
  specification_version: 4
190
196
  summary: API Client library for the Data Catalog API