Class: Google::Apis::MonitoringV1::ListMetricsScopesByMonitoredProjectResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/monitoring_v1/classes.rb,
lib/google/apis/monitoring_v1/representations.rb,
lib/google/apis/monitoring_v1/representations.rb

Overview

Response for the ListMetricsScopesByMonitoredProject method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListMetricsScopesByMonitoredProjectResponse

Returns a new instance of ListMetricsScopesByMonitoredProjectResponse.



1200
1201
1202
# File 'lib/google/apis/monitoring_v1/classes.rb', line 1200

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#metrics_scopesArray<Google::Apis::MonitoringV1::MetricsScope>

A set of all metrics scopes that the specified monitored project has been added to. Corresponds to the JSON property metricsScopes



1198
1199
1200
# File 'lib/google/apis/monitoring_v1/classes.rb', line 1198

def metrics_scopes
  @metrics_scopes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1205
1206
1207
# File 'lib/google/apis/monitoring_v1/classes.rb', line 1205

def update!(**args)
  @metrics_scopes = args[:metrics_scopes] if args.key?(:metrics_scopes)
end