# Cloud Monitoring Metrics Scopes V1 API - Class Google::Cloud::Monitoring::MetricsScope::V1::ListMetricsScopesByMonitoredProjectResponse (v1.8.0)

1.8.0 (latest) 1.7.0 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.6.0 0.5.2 0.4.0 0.3.1 0.2.0 0.1.3 Reference documentation and code samples for the Cloud Monitoring Metrics Scopes V1 API class Google::Cloud::Monitoring::MetricsScope::V1::ListMetricsScopesByMonitoredProjectResponse.

Response for the `ListMetricsScopesByMonitoredProject` method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #metrics_scopes

    def metrics_scopes() -> ::Array<::Google::Cloud::Monitoring::MetricsScope::V1::MetricsScope>

**Returns**

- (::Array\<[::Google::Cloud::Monitoring::MetricsScope::V1::MetricsScope](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-monitoring-metrics_scope-v1/latest/Google-Cloud-Monitoring-MetricsScope-V1-MetricsScope)\>) --- A set of all metrics scopes that the specified monitored project has been added to.

### #metrics_scopes=

    def metrics_scopes=(value) -> ::Array<::Google::Cloud::Monitoring::MetricsScope::V1::MetricsScope>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Monitoring::MetricsScope::V1::MetricsScope](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-monitoring-metrics_scope-v1/latest/Google-Cloud-Monitoring-MetricsScope-V1-MetricsScope)\>) --- A set of all metrics scopes that the specified monitored project has been added to.
**Returns**

- (::Array\<[::Google::Cloud::Monitoring::MetricsScope::V1::MetricsScope](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-monitoring-metrics_scope-v1/latest/Google-Cloud-Monitoring-MetricsScope-V1-MetricsScope)\>) --- A set of all metrics scopes that the specified monitored project has been added to.