Module: Google::Cloud::Monitoring::V3::NotificationChannel
- Defined in:
- lib/google/cloud/monitoring/v3.rb
Class Method Summary collapse
-
.new(credentials: nil, scopes: nil, client_config: nil, timeout: nil, lib_name: nil, lib_version: nil) ⇒ Object
The Notification Channel API provides access to configuration that controls how messages related to incidents are sent.
Class Method Details
.new(credentials: nil, scopes: nil, client_config: nil, timeout: nil, lib_name: nil, lib_version: nil) ⇒ Object
The Notification Channel API provides access to configuration that controls how messages related to incidents are sent.
268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 |
# File 'lib/google/cloud/monitoring/v3.rb', line 268 def self.new \ credentials: nil, scopes: nil, client_config: nil, timeout: nil, lib_name: nil, lib_version: nil kwargs = { credentials: credentials, scopes: scopes, client_config: client_config, timeout: timeout, lib_name: lib_name, lib_version: lib_version }.select { |_, v| v != nil } Google::Cloud::Monitoring::V3::NotificationChannelServiceClient.new(**kwargs) end |