google-cloud-service_health 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: 20ff4af3ab5362cb0f0d43816785f970823ba81897787114c32a399abfc9c0c7
4
- data.tar.gz: e90fdc1b4aa1caf029f6faeb458a5015388e2582aa792445c6aa4d4e00862e59
3
+ metadata.gz: 4978f2a5541e889259dbaaf32320c11bf42e3c08b96b18b94e393f235ed97639
4
+ data.tar.gz: 2d6ffc6783ee797c55f9f30989734ae8d7e07c65ff5e2fd66c34ba2f6e30daed
5
5
  SHA512:
6
- metadata.gz: bf07da71cd9f74f55e18cf952eaf826023c6fa39b122857d4139b69fb237e0182760867b4c01985ce525769446a4fcd5aaefb255301df1beb99e32be64468a07
7
- data.tar.gz: 3602203c86e0b5dbee24a7ddde3acc1f8755c384a041c89a0bbb3fd0db54507d20d90f1614eeff2860ea51194295e0cb6eabf7cef3700b44bd36bd8b74f025cf
6
+ metadata.gz: fff506d958e983196c2212e724f88ac205d66dda571fe3b00fb010debd86724fcd7256637f9553d199e31364da212f10181ce60f1b0a6de951a3d11933978c82
7
+ data.tar.gz: b5008af2a3c29806c4936d3ab9a55c4bea8f4d5c0d6f38caeb7372d74d123bf7682553b1928179f11d16b578a8d8009cc3409e7673275b532e5d0d66634233b9
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/servicehealth.googleapis.com)
35
35
  1. {file:AUTHENTICATION.md Set up authentication.}
36
36
 
37
+ ```ruby
38
+ require "google/cloud/service_health"
39
+
40
+ client = Google::Cloud::ServiceHealth.service_health
41
+ request = ::Google::Cloud::ServiceHealth::V1::ListEventsRequest.new # (request fields as keyword arguments...)
42
+ response = client.list_events 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 ServiceHealth
23
- VERSION = "2.0.1"
23
+ VERSION = "2.1.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_health
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: Personalized Service Health helps you gain visibility into disruptive events
75
75
  impacting Google Cloud products.