google-cloud-service_usage 1.4.1 → 1.5.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: a47a3f799a3b3bb8d64b2b329f4cca0c212fbabfe694cf3d9fbbd530a95a6400
4
- data.tar.gz: 3d08c4c12f3b3b4d56c22ca63517291d4a8919f2ed0afe62be39dd8b8aa610b7
3
+ metadata.gz: e731ed577f5012e1219a748edeb2d8b957a983c547258e1deb8dd21c1f49faeb
4
+ data.tar.gz: 27102a17308ee300bfa9087dd26086e98631a19b551f3d79d9a32085d3e1c47d
5
5
  SHA512:
6
- metadata.gz: ee5d9e359a94aa41e1eff1ef8eda775a668c51741432e00e8526f219b5b0534414ce4b673209c4f6b6518f5239f7e36dd9257e6817b975c2b4a055e89014824a
7
- data.tar.gz: '097bbf4f772527c2f086e3344563b18441ecf7a8f14909eda0fab06884e03ec2e9acca4a0fc39164d59402409195f393081648cb15a2da346bbf4749f7e9179d'
6
+ metadata.gz: 43dc773e323e440825d501a857413dff8f6fc4b4199abcfa7c45d18718578124bdbb661308dc21f3e2c45aaf6869848a1f73f43b0566d091e305ac826fd2f43c
7
+ data.tar.gz: 8e0923d4eafd13128d2bb647d7e5b1fe36f5767c84f81e29945541e6767aff4a92e6cfdd5a789e37f806b66d144fe8cdad698d6d3d670270498e24ce947a1def
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/serviceusage.googleapis.com)
35
35
  1. {file:AUTHENTICATION.md Set up authentication.}
36
36
 
37
+ ```ruby
38
+ require "google/cloud/service_usage"
39
+
40
+ client = Google::Cloud::ServiceUsage.service_usage
41
+ request = ::Google::Cloud::ServiceUsage::V1::EnableServiceRequest.new # (request fields as keyword arguments...)
42
+ response = client.enable_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
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module ServiceUsage
23
- VERSION = "1.4.1"
23
+ VERSION = "1.5.0"
24
24
  end
25
25
  end
26
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-service_usage
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -70,14 +70,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
70
70
  requirements:
71
71
  - - ">="
72
72
  - !ruby/object:Gem::Version
73
- version: '3.0'
73
+ version: '3.2'
74
74
  required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  requirements:
76
76
  - - ">="
77
77
  - !ruby/object:Gem::Version
78
78
  version: '0'
79
79
  requirements: []
80
- rubygems_version: 3.6.8
80
+ rubygems_version: 3.6.9
81
81
  specification_version: 4
82
82
  summary: API Client library for the Service Usage API
83
83
  test_files: []