google-cloud-data_catalog-v1 0.4.0 → 0.4.5
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/README.md +4 -0
- data/lib/google/cloud/data_catalog/v1/data_catalog/client.rb +10 -10
- data/lib/google/cloud/data_catalog/v1/version.rb +1 -1
- data/proto_docs/google/cloud/datacatalog/v1/gcs_fileset_spec.rb +5 -3
- metadata +5 -6
- data/lib/google/cloud/common_resources_pb.rb +0 -15
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a1e93d5ec146009d08e2a11d3bf7bc658d63f9507661e9033e7c778104e91a06
|
|
4
|
+
data.tar.gz: eb2763470098a47b2f6e8d4e813c389fb282228fc4e46d49fe15a52fdb8c64d3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 920f4bc2eb7a178432c9c7f57b5c12ba2e5996d9d55586ebe66ffd11393e9b8e3c53b3a05acd25c0ef510d63c1124fe004328a18a3d5b122b6325890136a87d0
|
|
7
|
+
data.tar.gz: 553d39102f52a7e850d8583f4605ef40a91d7566db56df83f996e33a3412f4e48e89b1feadfcc4afc7fd5ad2a486a792d1157f5b6f747eba34d9daa9af1a5b7d
|
data/README.md
CHANGED
|
@@ -18,6 +18,7 @@ In order to use this library, you first need to go through the following steps:
|
|
|
18
18
|
|
|
19
19
|
1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
|
|
20
20
|
1. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
|
|
21
|
+
1. [Enable the API.](https://console.cloud.google.com/apis/library/datacatalog.googleapis.com)
|
|
21
22
|
1. {file:AUTHENTICATION.md Set up authentication.}
|
|
22
23
|
|
|
23
24
|
## Quick Start
|
|
@@ -33,6 +34,9 @@ response = client.search_catalog request
|
|
|
33
34
|
View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-data_catalog-v1/latest)
|
|
34
35
|
for class and method documentation.
|
|
35
36
|
|
|
37
|
+
See also the [Product Documentation](https://cloud.google.com/data-catalog)
|
|
38
|
+
for general usage information.
|
|
39
|
+
|
|
36
40
|
## Enabling Logging
|
|
37
41
|
|
|
38
42
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
|
@@ -73,7 +73,7 @@ module Google
|
|
|
73
73
|
initial_delay: 0.1,
|
|
74
74
|
max_delay: 60.0,
|
|
75
75
|
multiplier: 1.3,
|
|
76
|
-
retry_codes: [
|
|
76
|
+
retry_codes: [14]
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
default_config.rpcs.get_entry_group.timeout = 60.0
|
|
@@ -81,7 +81,7 @@ module Google
|
|
|
81
81
|
initial_delay: 0.1,
|
|
82
82
|
max_delay: 60.0,
|
|
83
83
|
multiplier: 1.3,
|
|
84
|
-
retry_codes: [
|
|
84
|
+
retry_codes: [14]
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
default_config.rpcs.list_entry_groups.timeout = 60.0
|
|
@@ -89,7 +89,7 @@ module Google
|
|
|
89
89
|
initial_delay: 0.1,
|
|
90
90
|
max_delay: 60.0,
|
|
91
91
|
multiplier: 1.3,
|
|
92
|
-
retry_codes: [
|
|
92
|
+
retry_codes: [14]
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
default_config.rpcs.get_entry.timeout = 60.0
|
|
@@ -97,7 +97,7 @@ module Google
|
|
|
97
97
|
initial_delay: 0.1,
|
|
98
98
|
max_delay: 60.0,
|
|
99
99
|
multiplier: 1.3,
|
|
100
|
-
retry_codes: [
|
|
100
|
+
retry_codes: [14]
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
default_config.rpcs.lookup_entry.timeout = 60.0
|
|
@@ -105,7 +105,7 @@ module Google
|
|
|
105
105
|
initial_delay: 0.1,
|
|
106
106
|
max_delay: 60.0,
|
|
107
107
|
multiplier: 1.3,
|
|
108
|
-
retry_codes: [
|
|
108
|
+
retry_codes: [14]
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
default_config.rpcs.list_entries.timeout = 60.0
|
|
@@ -113,7 +113,7 @@ module Google
|
|
|
113
113
|
initial_delay: 0.1,
|
|
114
114
|
max_delay: 60.0,
|
|
115
115
|
multiplier: 1.3,
|
|
116
|
-
retry_codes: [
|
|
116
|
+
retry_codes: [14]
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
default_config.rpcs.list_tags.timeout = 60.0
|
|
@@ -121,7 +121,7 @@ module Google
|
|
|
121
121
|
initial_delay: 0.1,
|
|
122
122
|
max_delay: 60.0,
|
|
123
123
|
multiplier: 1.3,
|
|
124
|
-
retry_codes: [
|
|
124
|
+
retry_codes: [14]
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
default_config.rpcs.get_iam_policy.timeout = 60.0
|
|
@@ -129,7 +129,7 @@ module Google
|
|
|
129
129
|
initial_delay: 0.1,
|
|
130
130
|
max_delay: 60.0,
|
|
131
131
|
multiplier: 1.3,
|
|
132
|
-
retry_codes: [
|
|
132
|
+
retry_codes: [14]
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
default_config
|
|
@@ -2450,7 +2450,7 @@ module Google
|
|
|
2450
2450
|
|
|
2451
2451
|
config_attr :endpoint, "datacatalog.googleapis.com", ::String
|
|
2452
2452
|
config_attr :credentials, nil do |value|
|
|
2453
|
-
allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
|
2453
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
|
2454
2454
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
|
2455
2455
|
allowed.any? { |klass| klass === value }
|
|
2456
2456
|
end
|
|
@@ -2478,7 +2478,7 @@ module Google
|
|
|
2478
2478
|
def rpcs
|
|
2479
2479
|
@rpcs ||= begin
|
|
2480
2480
|
parent_rpcs = nil
|
|
2481
|
-
parent_rpcs = @parent_config.rpcs if @parent_config&.respond_to?
|
|
2481
|
+
parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config&.respond_to?(:rpcs)
|
|
2482
2482
|
Rpcs.new parent_rpcs
|
|
2483
2483
|
end
|
|
2484
2484
|
end
|
|
@@ -24,9 +24,11 @@ module Google
|
|
|
24
24
|
# Describes a Cloud Storage fileset entry.
|
|
25
25
|
# @!attribute [rw] file_patterns
|
|
26
26
|
# @return [::Array<::String>]
|
|
27
|
-
# Required. Patterns to identify a set of files in Google Cloud Storage.
|
|
28
|
-
#
|
|
29
|
-
#
|
|
27
|
+
# Required. Patterns to identify a set of files in Google Cloud Storage.
|
|
28
|
+
# See [Cloud Storage
|
|
29
|
+
# documentation](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames)
|
|
30
|
+
# for more information. Note that bucket wildcards are currently not
|
|
31
|
+
# supported.
|
|
30
32
|
#
|
|
31
33
|
# Examples of valid file_patterns:
|
|
32
34
|
#
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-data_catalog-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.5
|
|
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-08-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '0.
|
|
19
|
+
version: '0.3'
|
|
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: '0.
|
|
26
|
+
version: '0.3'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: google-cloud-errors
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -183,7 +183,6 @@ files:
|
|
|
183
183
|
- LICENSE.md
|
|
184
184
|
- README.md
|
|
185
185
|
- lib/google-cloud-data_catalog-v1.rb
|
|
186
|
-
- lib/google/cloud/common_resources_pb.rb
|
|
187
186
|
- lib/google/cloud/data_catalog/v1.rb
|
|
188
187
|
- lib/google/cloud/data_catalog/v1/data_catalog.rb
|
|
189
188
|
- lib/google/cloud/data_catalog/v1/data_catalog/client.rb
|
|
@@ -236,7 +235,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
236
235
|
- !ruby/object:Gem::Version
|
|
237
236
|
version: '0'
|
|
238
237
|
requirements: []
|
|
239
|
-
rubygems_version: 3.
|
|
238
|
+
rubygems_version: 3.1.3
|
|
240
239
|
signing_key:
|
|
241
240
|
specification_version: 4
|
|
242
241
|
summary: API Client library for the Data Catalog V1 API
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
-
# source: google/cloud/common_resources.proto
|
|
3
|
-
|
|
4
|
-
require 'google/protobuf'
|
|
5
|
-
|
|
6
|
-
require 'google/api/resource_pb'
|
|
7
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
8
|
-
add_file("google/cloud/common_resources.proto", :syntax => :proto3) do
|
|
9
|
-
end
|
|
10
|
-
end
|
|
11
|
-
|
|
12
|
-
module Google
|
|
13
|
-
module Cloud
|
|
14
|
-
end
|
|
15
|
-
end
|