google-cloud-service_directory 2.0.1 → 2.1.0

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: 31801355da098fee3421f9c9b5c38c5ff2d31315fc5dea258f2c8e5cb9e0398a
4
+ data.tar.gz: 4010eb1c2b9ee34177d48de6513e2765cc8a7c1cbb2f6c2b65d8d8df72412ced
5
5
  SHA512:
6
- metadata.gz: d7cbc69ef684a33d3e023a77f1f3187855d09f7e098273d5af0904a013557962e6b454e17daca76dc10dd1a9a27a2b12ebb78e99dd912fe076435ba32cb8f915
7
- data.tar.gz: ffea89d279704f558dd0639bd3a472a48b144bd56d542988f17cacb6d05c4453a98e91225976d58d78d9e1882ab73e06e99bf7e4d4747972e8915845da7d7abb
6
+ metadata.gz: 4c8040ca09ea8a864d35580eb936d9b0f47ebd2373251f9e658e57019888f4e646f2b192d4cd79c09e61ed08054832c7c6fbc8ea3f843e7522904b8aa18579fe
7
+ data.tar.gz: 7db754584bc771bdb60d1c4ad51b94455fa509b1f24a175a9e29ebc18a0f8edfcca243401b36fb65fa6c229b32edf41ebab5fb5173e6816ca19a899b20ae3c7d
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.1.0".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.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: '3.0'
65
+ version: '3.2'
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
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: []