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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3c94819dcc38b863e284672f22aede7a8e0a498ec8209e05d9cc5e64671f2438
4
- data.tar.gz: e87c0ebc124e18b3a3435e6f8edc650ec8f14978cb4a94c19dce388f9105d34a
3
+ metadata.gz: 947f6a3afccdb94ddd93e0df5b50a0a60697593a3d7f5af17e262fb808d9a026
4
+ data.tar.gz: 8de0650c17cfa9f7fc62c4d8c011298560038893e79f8932f2b69104d8501d06
5
5
  SHA512:
6
- metadata.gz: 44c02723817d5cfa37c6bf401d2f98f09b4ae38f5fcdcb8b3566d1c2017e1e0b67dacf62daae468db10db26f46b78748195663a4d60ba649da0d9102e4a9c0f9
7
- data.tar.gz: 95790796bb517bd2e0bd5d71c8da7f6f8a71a583db7465908fb5dd060aba4ee13babbeb7b5f1fe57484d44946a9e8a80790b6c1ce583e349edfea93d397e4cb2
6
+ metadata.gz: d8d21feaacda434bee31626504b8b30b1d5e2bc6c4696ce8eefeacb530b099de48d932db52aaca0b71f695e1e6eaf7d3700d63e29838e4c3df9df1088268f53c
7
+ data.tar.gz: 84a5fcf0339b7ce05a5bf250c1aaba3c68e3f6aabd469f1266ee8d4876ce4ed6589d94888512b6ea2c94c7cc8b59c309c8ed48307b42c16ee3be6e7ac02d6631
@@ -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::V1beta1::LookupService::Credentials`):
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::V1beta1::LookupService::Client](https://googleapis.dev/ruby/google-cloud-service_directory-v1beta1/latest/Google/Cloud/ServiceDirectory/V1beta1/LookupService/Client.html)
52
- # for version V1beta1 of the API.
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 `:v1beta1`.
63
+ # Defaults to `:v1`.
64
64
  # @return [LookupService::Client] A client object for the specified version.
65
65
  #
66
- def self.lookup_service version: :v1beta1, &block
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::V1beta1::RegistrationService::Client](https://googleapis.dev/ruby/google-cloud-service_directory-v1beta1/latest/Google/Cloud/ServiceDirectory/V1beta1/RegistrationService/Client.html)
82
- # for version V1beta1 of the API.
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 `:v1beta1`.
107
+ # Defaults to `:v1`.
108
108
  # @return [RegistrationService::Client] A client object for the specified version.
109
109
  #
110
- def self.registration_service version: :v1beta1, &block
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
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module ServiceDirectory
19
- VERSION = "0.3.0".freeze
19
+ VERSION = "1.0.0".freeze
20
20
  end
21
21
  end
22
22
  end
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.3.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-05-21 00:00:00.000000000 Z
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.0.6
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