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.



1075
1076
1077
# File 'lib/google/apis/monitoring_v1/classes.rb', line 1075

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



1073
1074
1075
# File 'lib/google/apis/monitoring_v1/classes.rb', line 1073

def metrics_scopes
  @metrics_scopes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1080
1081
1082
# File 'lib/google/apis/monitoring_v1/classes.rb', line 1080

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