google-cloud-monitoring-v3 0.9.0 → 0.11.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.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +1 -1
  3. data/README.md +3 -3
  4. data/lib/google/cloud/monitoring/v3/alert_policy_service/client.rb +6 -8
  5. data/lib/google/cloud/monitoring/v3/alert_policy_service.rb +1 -1
  6. data/lib/google/cloud/monitoring/v3/group_service/client.rb +10 -14
  7. data/lib/google/cloud/monitoring/v3/group_service.rb +1 -1
  8. data/lib/google/cloud/monitoring/v3/metric_service/client.rb +14 -20
  9. data/lib/google/cloud/monitoring/v3/metric_service.rb +1 -1
  10. data/lib/google/cloud/monitoring/v3/notification_channel_service/client.rb +10 -14
  11. data/lib/google/cloud/monitoring/v3/notification_channel_service.rb +1 -1
  12. data/lib/google/cloud/monitoring/v3/query_service/client.rb +6 -8
  13. data/lib/google/cloud/monitoring/v3/query_service.rb +1 -1
  14. data/lib/google/cloud/monitoring/v3/service_monitoring_service/client.rb +10 -14
  15. data/lib/google/cloud/monitoring/v3/service_monitoring_service.rb +1 -1
  16. data/lib/google/cloud/monitoring/v3/snooze_service/client.rb +746 -0
  17. data/lib/google/cloud/monitoring/v3/snooze_service/credentials.rb +53 -0
  18. data/lib/google/cloud/monitoring/v3/snooze_service/paths.rb +149 -0
  19. data/lib/google/cloud/monitoring/v3/snooze_service.rb +51 -0
  20. data/lib/google/cloud/monitoring/v3/uptime_check_service/client.rb +23 -21
  21. data/lib/google/cloud/monitoring/v3/uptime_check_service.rb +6 -6
  22. data/lib/google/cloud/monitoring/v3/version.rb +1 -1
  23. data/lib/google/cloud/monitoring/v3.rb +3 -2
  24. data/lib/google/monitoring/v3/snooze_pb.rb +33 -0
  25. data/lib/google/monitoring/v3/snooze_service_pb.rb +51 -0
  26. data/lib/google/monitoring/v3/snooze_service_services_pb.rb +57 -0
  27. data/lib/google/monitoring/v3/uptime_pb.rb +54 -0
  28. data/lib/google/monitoring/v3/uptime_service_pb.rb +1 -0
  29. data/lib/google/monitoring/v3/uptime_service_services_pb.rb +5 -5
  30. data/proto_docs/google/api/client.rb +381 -0
  31. data/proto_docs/google/api/distribution.rb +2 -0
  32. data/proto_docs/google/api/launch_stage.rb +3 -3
  33. data/proto_docs/google/api/metric.rb +10 -6
  34. data/proto_docs/google/api/monitored_resource.rb +30 -18
  35. data/proto_docs/google/monitoring/v3/snooze.rb +74 -0
  36. data/proto_docs/google/monitoring/v3/snooze_service.rb +154 -0
  37. data/proto_docs/google/monitoring/v3/uptime.rb +184 -14
  38. data/proto_docs/google/monitoring/v3/uptime_service.rb +8 -1
  39. data/proto_docs/google/rpc/status.rb +4 -2
  40. metadata +18 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6f4a2337dbf0ef457c6d081534bebf6bd7e520c20206d888197b9d0b4ba4bef8
4
- data.tar.gz: e2d84d8f5d5c8b1a3b499a62c9e2def1dd6038547c508a212f61a69b297bcd48
3
+ metadata.gz: 6b7a0de040f975ac5fd6e4d7e2042f7b2fcbd3c53ac448fad690bf08925bdd76
4
+ data.tar.gz: e2c83be0585f10fbde045bd459d8d09735594bc5dac918638e05213e4308f461
5
5
  SHA512:
6
- metadata.gz: 62cd6eac0899172c7158161e8b15d6c7f4a7e637411b775a9b581ad56961550f6fe2b29887a215602eee0a43915f8a8308c8fdb7a890abd47820a5ac5f591efb
7
- data.tar.gz: 7d9a6175333c76488d187ece3deaca8d95ac15e259c977ff9102c104caf638513d1a60d5f293389e9619812280fab3671059821d1333b1cd3db2df09fd5bc9c9
6
+ metadata.gz: 11e068d1566f5fd49f0ae26ed33734f28bd792fc632b97dc11d7c63b45fd2a904234d413e7f5642bf70b49568190f9fa7c6d6f8e8b5712c588abc7ea5b936453
7
+ data.tar.gz: 3fb9406866a8e8cfd65bc793ad7ef6437e14cede76b7154023ac4e143ac0bbd13dbe81cb062075978742611e1e696e3634de23d41b23bc5601a5e8e9df60e30a
data/AUTHENTICATION.md CHANGED
@@ -114,7 +114,7 @@ credentials are discovered.
114
114
  To configure your system for this, simply:
115
115
 
116
116
  1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
117
- 2. Authenticate using OAuth 2.0 `$ gcloud auth login`
117
+ 2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
118
118
  3. Write code as if already authenticated.
119
119
 
120
120
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Ruby Client for the Cloud Monitoring V3 API
2
2
 
3
- API Client library for the Cloud Monitoring V3 API
3
+ Manages your Cloud Monitoring data and configurations.
4
4
 
5
5
  Cloud Monitoring collects metrics, events, and metadata from Google Cloud, Amazon Web Services (AWS), hosted uptime probes, and application instrumentation.
6
6
 
@@ -46,8 +46,8 @@ for general usage information.
46
46
  ## Enabling Logging
47
47
 
48
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
- The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
50
- or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
49
+ The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
+ or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
51
51
  that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
52
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
53
53
 
@@ -240,13 +240,11 @@ module Google
240
240
  # # Call the list_alert_policies method.
241
241
  # result = client.list_alert_policies request
242
242
  #
243
- # # The returned object is of type Gapic::PagedEnumerable. You can
244
- # # iterate over all elements by calling #each, and the enumerable
245
- # # will lazily make API calls to fetch subsequent pages. Other
246
- # # methods are also available for managing paging directly.
247
- # result.each do |response|
243
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
244
+ # # over elements, and API calls will be issued to fetch pages as needed.
245
+ # result.each do |item|
248
246
  # # Each element is of type ::Google::Cloud::Monitoring::V3::AlertPolicy.
249
- # p response
247
+ # p item
250
248
  # end
251
249
  #
252
250
  def list_alert_policies request, options = nil
@@ -718,9 +716,9 @@ module Google
718
716
  # * (`String`) The path to a service account key file in JSON format
719
717
  # * (`Hash`) A service account key as a Hash
720
718
  # * (`Google::Auth::Credentials`) A googleauth credentials object
721
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
719
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
722
720
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
723
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
721
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
724
722
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
725
723
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
726
724
  # * (`nil`) indicating no credentials
@@ -41,7 +41,7 @@ module Google
41
41
  # which can be reached by clicking the "Monitoring" tab in
42
42
  # [Cloud console](https://console.cloud.google.com/).
43
43
  #
44
- # To load this service and instantiate a client:
44
+ # @example Load this service and instantiate a gRPC client
45
45
  #
46
46
  # require "google/cloud/monitoring/v3/alert_policy_service"
47
47
  # client = ::Google::Cloud::Monitoring::V3::AlertPolicyService::Client.new
@@ -256,13 +256,11 @@ module Google
256
256
  # # Call the list_groups method.
257
257
  # result = client.list_groups request
258
258
  #
259
- # # The returned object is of type Gapic::PagedEnumerable. You can
260
- # # iterate over all elements by calling #each, and the enumerable
261
- # # will lazily make API calls to fetch subsequent pages. Other
262
- # # methods are also available for managing paging directly.
263
- # result.each do |response|
259
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
260
+ # # over elements, and API calls will be issued to fetch pages as needed.
261
+ # result.each do |item|
264
262
  # # Each element is of type ::Google::Cloud::Monitoring::V3::Group.
265
- # p response
263
+ # p item
266
264
  # end
267
265
  #
268
266
  def list_groups request, options = nil
@@ -730,13 +728,11 @@ module Google
730
728
  # # Call the list_group_members method.
731
729
  # result = client.list_group_members request
732
730
  #
733
- # # The returned object is of type Gapic::PagedEnumerable. You can
734
- # # iterate over all elements by calling #each, and the enumerable
735
- # # will lazily make API calls to fetch subsequent pages. Other
736
- # # methods are also available for managing paging directly.
737
- # result.each do |response|
731
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
732
+ # # over elements, and API calls will be issued to fetch pages as needed.
733
+ # result.each do |item|
738
734
  # # Each element is of type ::Google::Api::MonitoredResource.
739
- # p response
735
+ # p item
740
736
  # end
741
737
  #
742
738
  def list_group_members request, options = nil
@@ -819,9 +815,9 @@ module Google
819
815
  # * (`String`) The path to a service account key file in JSON format
820
816
  # * (`Hash`) A service account key as a Hash
821
817
  # * (`Google::Auth::Credentials`) A googleauth credentials object
822
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
818
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
823
819
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
824
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
820
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
825
821
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
826
822
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
827
823
  # * (`nil`) indicating no credentials
@@ -44,7 +44,7 @@ module Google
44
44
  # updated automatically as monitored resources are added and removed
45
45
  # from the infrastructure.
46
46
  #
47
- # To load this service and instantiate a client:
47
+ # @example Load this service and instantiate a gRPC client
48
48
  #
49
49
  # require "google/cloud/monitoring/v3/group_service"
50
50
  # client = ::Google::Cloud::Monitoring::V3::GroupService::Client.new
@@ -236,13 +236,11 @@ module Google
236
236
  # # Call the list_monitored_resource_descriptors method.
237
237
  # result = client.list_monitored_resource_descriptors request
238
238
  #
239
- # # The returned object is of type Gapic::PagedEnumerable. You can
240
- # # iterate over all elements by calling #each, and the enumerable
241
- # # will lazily make API calls to fetch subsequent pages. Other
242
- # # methods are also available for managing paging directly.
243
- # result.each do |response|
239
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
240
+ # # over elements, and API calls will be issued to fetch pages as needed.
241
+ # result.each do |item|
244
242
  # # Each element is of type ::Google::Api::MonitoredResourceDescriptor.
245
- # p response
243
+ # p item
246
244
  # end
247
245
  #
248
246
  def list_monitored_resource_descriptors request, options = nil
@@ -436,13 +434,11 @@ module Google
436
434
  # # Call the list_metric_descriptors method.
437
435
  # result = client.list_metric_descriptors request
438
436
  #
439
- # # The returned object is of type Gapic::PagedEnumerable. You can
440
- # # iterate over all elements by calling #each, and the enumerable
441
- # # will lazily make API calls to fetch subsequent pages. Other
442
- # # methods are also available for managing paging directly.
443
- # result.each do |response|
437
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
438
+ # # over elements, and API calls will be issued to fetch pages as needed.
439
+ # result.each do |item|
444
440
  # # Each element is of type ::Google::Api::MetricDescriptor.
445
- # p response
441
+ # p item
446
442
  # end
447
443
  #
448
444
  def list_metric_descriptors request, options = nil
@@ -846,13 +842,11 @@ module Google
846
842
  # # Call the list_time_series method.
847
843
  # result = client.list_time_series request
848
844
  #
849
- # # The returned object is of type Gapic::PagedEnumerable. You can
850
- # # iterate over all elements by calling #each, and the enumerable
851
- # # will lazily make API calls to fetch subsequent pages. Other
852
- # # methods are also available for managing paging directly.
853
- # result.each do |response|
845
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
846
+ # # over elements, and API calls will be issued to fetch pages as needed.
847
+ # result.each do |item|
854
848
  # # Each element is of type ::Google::Cloud::Monitoring::V3::TimeSeries.
855
- # p response
849
+ # p item
856
850
  # end
857
851
  #
858
852
  def list_time_series request, options = nil
@@ -1138,9 +1132,9 @@ module Google
1138
1132
  # * (`String`) The path to a service account key file in JSON format
1139
1133
  # * (`Hash`) A service account key as a Hash
1140
1134
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1141
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
1135
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1142
1136
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1143
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
1137
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1144
1138
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1145
1139
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1146
1140
  # * (`nil`) indicating no credentials
@@ -34,7 +34,7 @@ module Google
34
34
  # Manages metric descriptors, monitored resource descriptors, and
35
35
  # time series data.
36
36
  #
37
- # To load this service and instantiate a client:
37
+ # @example Load this service and instantiate a gRPC client
38
38
  #
39
39
  # require "google/cloud/monitoring/v3/metric_service"
40
40
  # client = ::Google::Cloud::Monitoring::V3::MetricService::Client.new
@@ -246,13 +246,11 @@ module Google
246
246
  # # Call the list_notification_channel_descriptors method.
247
247
  # result = client.list_notification_channel_descriptors request
248
248
  #
249
- # # The returned object is of type Gapic::PagedEnumerable. You can
250
- # # iterate over all elements by calling #each, and the enumerable
251
- # # will lazily make API calls to fetch subsequent pages. Other
252
- # # methods are also available for managing paging directly.
253
- # result.each do |response|
249
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
250
+ # # over elements, and API calls will be issued to fetch pages as needed.
251
+ # result.each do |item|
254
252
  # # Each element is of type ::Google::Cloud::Monitoring::V3::NotificationChannelDescriptor.
255
- # p response
253
+ # p item
256
254
  # end
257
255
  #
258
256
  def list_notification_channel_descriptors request, options = nil
@@ -457,13 +455,11 @@ module Google
457
455
  # # Call the list_notification_channels method.
458
456
  # result = client.list_notification_channels request
459
457
  #
460
- # # The returned object is of type Gapic::PagedEnumerable. You can
461
- # # iterate over all elements by calling #each, and the enumerable
462
- # # will lazily make API calls to fetch subsequent pages. Other
463
- # # methods are also available for managing paging directly.
464
- # result.each do |response|
458
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
459
+ # # over elements, and API calls will be issued to fetch pages as needed.
460
+ # result.each do |item|
465
461
  # # Each element is of type ::Google::Cloud::Monitoring::V3::NotificationChannel.
466
- # p response
462
+ # p item
467
463
  # end
468
464
  #
469
465
  def list_notification_channels request, options = nil
@@ -1214,9 +1210,9 @@ module Google
1214
1210
  # * (`String`) The path to a service account key file in JSON format
1215
1211
  # * (`Hash`) A service account key as a Hash
1216
1212
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1217
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
1213
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1218
1214
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1219
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
1215
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1220
1216
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1221
1217
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1222
1218
  # * (`nil`) indicating no credentials
@@ -34,7 +34,7 @@ module Google
34
34
  # The Notification Channel API provides access to configuration that
35
35
  # controls how messages related to incidents are sent.
36
36
  #
37
- # To load this service and instantiate a client:
37
+ # @example Load this service and instantiate a gRPC client
38
38
  #
39
39
  # require "google/cloud/monitoring/v3/notification_channel_service"
40
40
  # client = ::Google::Cloud::Monitoring::V3::NotificationChannelService::Client.new
@@ -198,13 +198,11 @@ module Google
198
198
  # # Call the query_time_series method.
199
199
  # result = client.query_time_series request
200
200
  #
201
- # # The returned object is of type Gapic::PagedEnumerable. You can
202
- # # iterate over all elements by calling #each, and the enumerable
203
- # # will lazily make API calls to fetch subsequent pages. Other
204
- # # methods are also available for managing paging directly.
205
- # result.each do |response|
201
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
202
+ # # over elements, and API calls will be issued to fetch pages as needed.
203
+ # result.each do |item|
206
204
  # # Each element is of type ::Google::Cloud::Monitoring::V3::TimeSeriesData.
207
- # p response
205
+ # p item
208
206
  # end
209
207
  #
210
208
  def query_time_series request, options = nil
@@ -287,9 +285,9 @@ module Google
287
285
  # * (`String`) The path to a service account key file in JSON format
288
286
  # * (`Hash`) A service account key as a Hash
289
287
  # * (`Google::Auth::Credentials`) A googleauth credentials object
290
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
288
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
291
289
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
292
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
290
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
293
291
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
294
292
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
295
293
  # * (`nil`) indicating no credentials
@@ -34,7 +34,7 @@ module Google
34
34
  # Monitoring. Time series data is a collection of data points that describes
35
35
  # the time-varying values of a metric.
36
36
  #
37
- # To load this service and instantiate a client:
37
+ # @example Load this service and instantiate a gRPC client
38
38
  #
39
39
  # require "google/cloud/monitoring/v3/query_service"
40
40
  # client = ::Google::Cloud::Monitoring::V3::QueryService::Client.new
@@ -438,13 +438,11 @@ module Google
438
438
  # # Call the list_services method.
439
439
  # result = client.list_services request
440
440
  #
441
- # # The returned object is of type Gapic::PagedEnumerable. You can
442
- # # iterate over all elements by calling #each, and the enumerable
443
- # # will lazily make API calls to fetch subsequent pages. Other
444
- # # methods are also available for managing paging directly.
445
- # result.each do |response|
441
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
442
+ # # over elements, and API calls will be issued to fetch pages as needed.
443
+ # result.each do |item|
446
444
  # # Each element is of type ::Google::Cloud::Monitoring::V3::Service.
447
- # p response
445
+ # p item
448
446
  # end
449
447
  #
450
448
  def list_services request, options = nil
@@ -910,13 +908,11 @@ module Google
910
908
  # # Call the list_service_level_objectives method.
911
909
  # result = client.list_service_level_objectives request
912
910
  #
913
- # # The returned object is of type Gapic::PagedEnumerable. You can
914
- # # iterate over all elements by calling #each, and the enumerable
915
- # # will lazily make API calls to fetch subsequent pages. Other
916
- # # methods are also available for managing paging directly.
917
- # result.each do |response|
911
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
912
+ # # over elements, and API calls will be issued to fetch pages as needed.
913
+ # result.each do |item|
918
914
  # # Each element is of type ::Google::Cloud::Monitoring::V3::ServiceLevelObjective.
919
- # p response
915
+ # p item
920
916
  # end
921
917
  #
922
918
  def list_service_level_objectives request, options = nil
@@ -1174,9 +1170,9 @@ module Google
1174
1170
  # * (`String`) The path to a service account key file in JSON format
1175
1171
  # * (`Hash`) A service account key as a Hash
1176
1172
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1177
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
1173
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1178
1174
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1179
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
1175
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1180
1176
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1181
1177
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1182
1178
  # * (`nil`) indicating no credentials
@@ -36,7 +36,7 @@ module Google
36
36
  # `Service`'s monitored resources, its Service-Level Objectives, and a taxonomy
37
37
  # of categorized Health Metrics.
38
38
  #
39
- # To load this service and instantiate a client:
39
+ # @example Load this service and instantiate a gRPC client
40
40
  #
41
41
  # require "google/cloud/monitoring/v3/service_monitoring_service"
42
42
  # client = ::Google::Cloud::Monitoring::V3::ServiceMonitoringService::Client.new