Module: Google::Cloud::Monitoring::V3::Metric
- 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
Manages metric descriptors, monitored resource descriptors, and time series data.
Class Method Details
.new(credentials: nil, scopes: nil, client_config: nil, timeout: nil, lib_name: nil, lib_version: nil) ⇒ Object
Manages metric descriptors, monitored resource descriptors, and time series data.
220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 |
# File 'lib/google/cloud/monitoring/v3.rb', line 220 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::MetricServiceClient.new(**kwargs) end |