google-cloud-service_control 1.5.1 → 1.5.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: d92f8280f8b4480d451a5ef6e8ce59c6ed2520258ba276afd615d6033ab2b52c
4
- data.tar.gz: e7c785e218621ca91437bbc4821f4777f5571770485106a2e56ea9cd047d678c
3
+ metadata.gz: d1e2e8834b6867132d5047a12c766e4c55ada80bbfe31068f3549f097468348f
4
+ data.tar.gz: 870715f15e8ecb031a04e3685feef3c74446d2d6fc196918c575184a123d98b6
5
5
  SHA512:
6
- metadata.gz: 4d1500521933a127af413ad5cb48d2773d6297b77e2e25bcd9c30a795c9f9cc35f661998e5ee04ea71d6bb54ac6cd9abfe8c4015c6d4b5688f7d2c7b3843b691
7
- data.tar.gz: daac7bc03ae14dbb9ad35179947cd4d24ff5ff3b0c7428fbe9e2cd09141edb5bc8eb7c24a0dcb86cbc7216cd544f33b004ff15c7e8034e9df62c92315be60746
6
+ metadata.gz: 43ca0f1d4a63838a3d66d5c2c09546f3c87c0bfaade235aeb91aa7bf513a89f0c62cac64306ee370ac7217acf8d59002ff11e226faef64f88399924066f13028
7
+ data.tar.gz: 1e4cfc99e501438b1dc2be0536a8f459cf7291d4589522171b9df18b9e951c5f6ba8e9875b2738d85e82bf5842330c3b9dc3b0640c89d2085d97e26ef4cfbc6a
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/servicecontrol.googleapis.com)
35
35
  1. {file:AUTHENTICATION.md Set up authentication.}
36
36
 
37
+ ```ruby
38
+ require "google/cloud/service_control"
39
+
40
+ client = Google::Cloud::ServiceControl.quota_controller
41
+ request = ::Google::Cloud::ServiceControl::V1::AllocateQuotaRequest.new # (request fields as keyword arguments...)
42
+ response = client.allocate_quota 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 ServiceControl
23
- VERSION = "1.5.1"
23
+ VERSION = "1.5.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_control
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 1.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.6.8
78
+ rubygems_version: 3.6.9
79
79
  specification_version: 4
80
80
  summary: API Client library for the Service Control API API
81
81
  test_files: []