google-cloud-data_catalog 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +1 -1
- data/lib/google-cloud-data_catalog.rb +1 -1
- data/lib/google/cloud/data_catalog.rb +18 -13
- data/lib/google/cloud/data_catalog/version.rb +1 -1
- metadata +18 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 728fc45f11454c73b385005b453efd01c889b1d121f46608b6caca20c3a8eb4e
|
4
|
+
data.tar.gz: 69d94d3f39f0a517893d3aad5484e2ced4080e0b1b741e73545c41ed36b88dd4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b469bd83b713b59b886f242cce4149fb869e4851a870b4cbf47a59d4745a4a2c56d222463f25b297f5b0b8906e50063fb4c5a435155848d5a96b2f03dc1a370
|
7
|
+
data.tar.gz: ff65b41c4f5b94078b31cd8187e7fb6cb3063f585fd7785b47d55677c6ac860ca7700e3e8a733106402fe6cac02d2430acd48db1f1004b66583d7bbcd74c6cf9
|
data/AUTHENTICATION.md
CHANGED
@@ -64,7 +64,7 @@ containers where writing files is difficult or not encouraged.
|
|
64
64
|
|
65
65
|
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
69
|
1. `DATA_CATALOG_CREDENTIALS` - Path to JSON file, or JSON contents
|
70
70
|
2. `DATA_CATALOG_KEYFILE` - Path to JSON file, or JSON contents
|
@@ -16,21 +16,26 @@
|
|
16
16
|
|
17
17
|
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
18
|
|
19
|
+
# Require this file early so that the version constant gets defined before
|
20
|
+
# requiring "google/cloud". This is because google-cloud-core will load the
|
21
|
+
# entrypoint (gem name) file, which in turn re-requires this file (hence
|
22
|
+
# causing a require cycle) unless the version constant is already defined.
|
19
23
|
require "google/cloud/data_catalog/version"
|
24
|
+
|
20
25
|
require "googleauth"
|
21
26
|
gem "google-cloud-core"
|
22
|
-
require "google/cloud" unless defined? Google::Cloud.new
|
27
|
+
require "google/cloud" unless defined? ::Google::Cloud.new
|
23
28
|
require "google/cloud/config"
|
24
29
|
|
25
30
|
# Set the default configuration
|
26
|
-
Google::Cloud.configure.add_config! :data_catalog do |config|
|
27
|
-
config.add_field! :credentials, nil, match: [String, Hash, Google::Auth::Credentials]
|
28
|
-
config.add_field! :lib_name, nil, match: String
|
29
|
-
config.add_field! :lib_version, nil, match: String
|
30
|
-
config.add_field! :interceptors, nil, match: Array
|
31
|
-
config.add_field! :timeout, nil, match: Numeric
|
32
|
-
config.add_field! :metadata, nil, match: Hash
|
33
|
-
config.add_field! :retry_policy, nil, match: [Hash, Proc]
|
31
|
+
::Google::Cloud.configure.add_config! :data_catalog do |config|
|
32
|
+
config.add_field! :credentials, nil, match: [::String, ::Hash, ::Google::Auth::Credentials]
|
33
|
+
config.add_field! :lib_name, nil, match: ::String
|
34
|
+
config.add_field! :lib_version, nil, match: ::String
|
35
|
+
config.add_field! :interceptors, nil, match: ::Array
|
36
|
+
config.add_field! :timeout, nil, match: ::Numeric
|
37
|
+
config.add_field! :metadata, nil, match: ::Hash
|
38
|
+
config.add_field! :retry_policy, nil, match: [::Hash, ::Proc]
|
34
39
|
end
|
35
40
|
|
36
41
|
module Google
|
@@ -52,7 +57,7 @@ module Google
|
|
52
57
|
# Data Catalog API service allows clients to discover, understand, and manage
|
53
58
|
# their data.
|
54
59
|
#
|
55
|
-
# @param version [String, Symbol] The API version to connect to. Optional.
|
60
|
+
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
56
61
|
# Defaults to `:v1`.
|
57
62
|
# @return [DataCatalog::Client] A client object for the specified version.
|
58
63
|
#
|
@@ -93,12 +98,12 @@ module Google
|
|
93
98
|
# * `:retry_codes` (*type:* `Array<String>`) -
|
94
99
|
# The error codes that should trigger a retry.
|
95
100
|
#
|
96
|
-
# @return [Google::Cloud::Config] The default configuration used by this library
|
101
|
+
# @return [::Google::Cloud::Config] The default configuration used by this library
|
97
102
|
#
|
98
103
|
def self.configure
|
99
|
-
yield Google::Cloud.configure.data_catalog if block_given?
|
104
|
+
yield ::Google::Cloud.configure.data_catalog if block_given?
|
100
105
|
|
101
|
-
Google::Cloud.configure.data_catalog
|
106
|
+
::Google::Cloud.configure.data_catalog
|
102
107
|
end
|
103
108
|
end
|
104
109
|
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: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-cloud-core
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '5.
|
75
|
+
version: '5.14'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '5.
|
82
|
+
version: '5.14'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: minitest-autotest
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -122,6 +122,20 @@ dependencies:
|
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '5.2'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rake
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '12.0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '12.0'
|
125
139
|
- !ruby/object:Gem::Dependency
|
126
140
|
name: redcarpet
|
127
141
|
requirement: !ruby/object:Gem::Requirement
|