google-cloud-service_directory 2.0.1 → 2.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2af8118b6c7afc0926a625893da02165851cb0ba6ae38ebc47a7c9a9890d426d
4
- data.tar.gz: 775e5d85f187b2918092247c19d7f4bf9ad83243cafb95f617a66c355ead4f50
3
+ metadata.gz: 11692505dadc4027070d7030912a97057ab16f352cf4b53322392837cc93268f
4
+ data.tar.gz: 9b24a687390bd14640b3caea9f018d637de2a876de7c254c935d63883f1a8d57
5
5
  SHA512:
6
- metadata.gz: d7cbc69ef684a33d3e023a77f1f3187855d09f7e098273d5af0904a013557962e6b454e17daca76dc10dd1a9a27a2b12ebb78e99dd912fe076435ba32cb8f915
7
- data.tar.gz: ffea89d279704f558dd0639bd3a472a48b144bd56d542988f17cacb6d05c4453a98e91225976d58d78d9e1882ab73e06e99bf7e4d4747972e8915845da7d7abb
6
+ metadata.gz: 6acb69b508eae726bb7d27403166ac14ebb941fed0f661503db2f68b916e84e683c38fb4d2c1953469d7021fbd352b6e0853ef246796c44c438fc764378896a6
7
+ data.tar.gz: 591414ca806acf4ce0c8f409e0bc3937f2ea885774b2161a18ea770a20e3de34536fd5e5907a2c5ed30438665f0064c4e4f247b874383e8f86d43707f9d64331
data/README.md CHANGED
@@ -34,6 +34,14 @@ In order to use this library, you first need to go through the following steps:
34
34
  1. [Enable the API.](https://console.cloud.google.com/apis/library/servicedirectory.googleapis.com)
35
35
  1. {file:AUTHENTICATION.md Set up authentication.}
36
36
 
37
+ ```ruby
38
+ require "google/cloud/service_directory"
39
+
40
+ client = Google::Cloud::ServiceDirectory.lookup_service
41
+ request = ::Google::Cloud::ServiceDirectory::V1::ResolveServiceRequest.new # (request fields as keyword arguments...)
42
+ response = client.resolve_service request
43
+ ```
44
+
37
45
  ## Debug Logging
38
46
 
39
47
  This library comes with opt-in Debug Logging that can help you troubleshoot
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module ServiceDirectory
19
- VERSION = "2.0.1".freeze
19
+ VERSION = "2.0.2".freeze
20
20
  end
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-service_directory
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.6.8
72
+ rubygems_version: 3.6.9
73
73
  specification_version: 4
74
74
  summary: API Client library for the Service Directory API
75
75
  test_files: []