google-cloud-service_directory 0.3.0 → 1.0.0
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/README.md +1 -0
- data/lib/google/cloud/service_directory.rb +8 -8
- data/lib/google/cloud/service_directory/version.rb +1 -1
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 947f6a3afccdb94ddd93e0df5b50a0a60697593a3d7f5af17e262fb808d9a026
|
4
|
+
data.tar.gz: 8de0650c17cfa9f7fc62c4d8c011298560038893e79f8932f2b69104d8501d06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8d21feaacda434bee31626504b8b30b1d5e2bc6c4696ce8eefeacb530b099de48d932db52aaca0b71f695e1e6eaf7d3700d63e29838e4c3df9df1088268f53c
|
7
|
+
data.tar.gz: 84a5fcf0339b7ce05a5bf250c1aaba3c68e3f6aabd469f1266ee8d4876ce4ed6589d94888512b6ea2c94c7cc8b59c309c8ed48307b42c16ee3be6e7ac02d6631
|
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-service_directory
|
66
66
|
checks for credentials are configured on the service Credentials class (such as
|
67
|
-
`::Google::Cloud::ServiceDirectory::
|
67
|
+
`::Google::Cloud::ServiceDirectory::V1::LookupService::Credentials`):
|
68
68
|
|
69
69
|
1. `SERVICE_DIRECTORY_CREDENTIALS` - Path to JSON file, or JSON contents
|
70
70
|
2. `SERVICE_DIRECTORY_KEYFILE` - Path to JSON file, or JSON contents
|
data/README.md
CHANGED
@@ -15,6 +15,7 @@ for this library, google-cloud-service_directory, to see the convenience methods
|
|
15
15
|
constructing client objects. Reference documentation for the client objects
|
16
16
|
themselves can be found in the client library documentation for the versioned
|
17
17
|
client gems:
|
18
|
+
[google-cloud-service_directory-v1](https://googleapis.dev/ruby/google-cloud-service_directory-v1/latest),
|
18
19
|
[google-cloud-service_directory-v1beta1](https://googleapis.dev/ruby/google-cloud-service_directory-v1beta1/latest).
|
19
20
|
|
20
21
|
See also the [Product Documentation](https://cloud.google.com/service-directory)
|
@@ -48,8 +48,8 @@ module Google
|
|
48
48
|
# Create a new client object for LookupService.
|
49
49
|
#
|
50
50
|
# By default, this returns an instance of
|
51
|
-
# [Google::Cloud::ServiceDirectory::
|
52
|
-
# for version
|
51
|
+
# [Google::Cloud::ServiceDirectory::V1::LookupService::Client](https://googleapis.dev/ruby/google-cloud-service_directory-v1/latest/Google/Cloud/ServiceDirectory/V1/LookupService/Client.html)
|
52
|
+
# for version V1 of the API.
|
53
53
|
# However, you can specify specify a different API version by passing it in the
|
54
54
|
# `version` parameter. If the LookupService service is
|
55
55
|
# supported by that API version, and the corresponding gem is available, the
|
@@ -60,10 +60,10 @@ module Google
|
|
60
60
|
# Service Directory API for looking up service data at runtime.
|
61
61
|
#
|
62
62
|
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
63
|
-
# Defaults to `:
|
63
|
+
# Defaults to `:v1`.
|
64
64
|
# @return [LookupService::Client] A client object for the specified version.
|
65
65
|
#
|
66
|
-
def self.lookup_service version: :
|
66
|
+
def self.lookup_service version: :v1, &block
|
67
67
|
require "google/cloud/service_directory/#{version.to_s.downcase}"
|
68
68
|
|
69
69
|
package_name = Google::Cloud::ServiceDirectory
|
@@ -78,8 +78,8 @@ module Google
|
|
78
78
|
# Create a new client object for RegistrationService.
|
79
79
|
#
|
80
80
|
# By default, this returns an instance of
|
81
|
-
# [Google::Cloud::ServiceDirectory::
|
82
|
-
# for version
|
81
|
+
# [Google::Cloud::ServiceDirectory::V1::RegistrationService::Client](https://googleapis.dev/ruby/google-cloud-service_directory-v1/latest/Google/Cloud/ServiceDirectory/V1/RegistrationService/Client.html)
|
82
|
+
# for version V1 of the API.
|
83
83
|
# However, you can specify specify a different API version by passing it in the
|
84
84
|
# `version` parameter. If the RegistrationService service is
|
85
85
|
# supported by that API version, and the corresponding gem is available, the
|
@@ -104,10 +104,10 @@ module Google
|
|
104
104
|
# `projects/*/locations/*/namespaces/*/services/*/endpoints/*`.
|
105
105
|
#
|
106
106
|
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
107
|
-
# Defaults to `:
|
107
|
+
# Defaults to `:v1`.
|
108
108
|
# @return [RegistrationService::Client] A client object for the specified version.
|
109
109
|
#
|
110
|
-
def self.registration_service version: :
|
110
|
+
def self.registration_service version: :v1, &block
|
111
111
|
require "google/cloud/service_directory/#{version.to_s.downcase}"
|
112
112
|
|
113
113
|
package_name = Google::Cloud::ServiceDirectory
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-service_directory
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.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: 2020-
|
11
|
+
date: 2020-12-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-cloud-core
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.5'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: google-cloud-service_directory-v1
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0.1'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0.1'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: google-cloud-service_directory-v1beta1
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -183,7 +197,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
183
197
|
- !ruby/object:Gem::Version
|
184
198
|
version: '0'
|
185
199
|
requirements: []
|
186
|
-
rubygems_version: 3.
|
200
|
+
rubygems_version: 3.1.4
|
187
201
|
signing_key:
|
188
202
|
specification_version: 4
|
189
203
|
summary: API Client library for the Service Directory API
|