google-cloud-service_usage 1.4.1 → 1.4.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: a47a3f799a3b3bb8d64b2b329f4cca0c212fbabfe694cf3d9fbbd530a95a6400
4
- data.tar.gz: 3d08c4c12f3b3b4d56c22ca63517291d4a8919f2ed0afe62be39dd8b8aa610b7
3
+ metadata.gz: 2650166504f019a70a8f82119b97823ab91b21da4a2962803a01d0ec6187c0dd
4
+ data.tar.gz: 7419745268e73e30fc6b0e8dad5a99de876118806c20d358faaff6b255f51114
5
5
  SHA512:
6
- metadata.gz: ee5d9e359a94aa41e1eff1ef8eda775a668c51741432e00e8526f219b5b0534414ce4b673209c4f6b6518f5239f7e36dd9257e6817b975c2b4a055e89014824a
7
- data.tar.gz: '097bbf4f772527c2f086e3344563b18441ecf7a8f14909eda0fab06884e03ec2e9acca4a0fc39164d59402409195f393081648cb15a2da346bbf4749f7e9179d'
6
+ metadata.gz: 5c2af146d065aa271b37bbd61868b55d26f3c16fc508ea4234098837ce0a0ffb3f9adaafaadb95580d235ae7534b07aad34b2ebd752e7b9550a8e244c304c49c
7
+ data.tar.gz: ba6ff5a8603ea83ca2abb1d02e780413077e2703e610a1a5feb6a880e2d3edbab665d3c9ec30710e578ff3e76b3457c47f22ac411bf8624b25a651669288ea27
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.4.2"
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.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -77,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
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: []