google-cloud-monitoring 1.9.2 → 1.9.3
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 +4 -4
- data/README.md +8 -0
- data/lib/google/cloud/monitoring/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a48961c2d139913aba13dd02ef5e2fab70fe72cf0b945666f3ca0bd7530ae46d
|
4
|
+
data.tar.gz: 8ce89578c72e37bb26e15542fbee7e93486856a4720f83986a9b5a1323577999
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d87861eec83f601b76b70bf2bd5a9b58586cf6606f60eb2f8de5e74e533b7ad657a05cab362eab345405a6110713faa5d127e90addc96a8eceefac2a174ac07c
|
7
|
+
data.tar.gz: 1c363b9575c5ccac356e0aef381288afea54b09e68470084422a05258df8c90d7341a42b69b13958f4cb27b853b65649b4e11cb10aa8721219ce60174dddd56e
|
data/README.md
CHANGED
@@ -36,6 +36,14 @@ In order to use this library, you first need to go through the following steps:
|
|
36
36
|
1. [Enable the API.](https://console.cloud.google.com/apis/library/monitoring.googleapis.com)
|
37
37
|
1. {file:AUTHENTICATION.md Set up authentication.}
|
38
38
|
|
39
|
+
```ruby
|
40
|
+
require "google/cloud/monitoring"
|
41
|
+
|
42
|
+
client = Google::Cloud::Monitoring.alert_policy_service
|
43
|
+
request = ::Google::Cloud::Monitoring::V3::ListAlertPoliciesRequest.new # (request fields as keyword arguments...)
|
44
|
+
response = client.list_alert_policies request
|
45
|
+
```
|
46
|
+
|
39
47
|
## Migrating from 0.x versions
|
40
48
|
|
41
49
|
The 1.0 release of the google-cloud-monitoring client is a significant upgrade
|