# Anthos Multi-Cloud V1 API - Class Google::Cloud::GkeMultiCloud::V1::MonitoringConfig (v0.21.0)

0.21.0 (latest) 0.20.1 0.19.0 0.18.0 0.17.1 0.16.0 0.15.0 0.14.1 0.13.0 0.12.0 0.11.0 0.10.1 0.9.0 0.8.2 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Anthos Multi-Cloud V1 API class Google::Cloud::GkeMultiCloud::V1::MonitoringConfig.

Parameters that describe the Monitoring configuration in a cluster.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #cloud_monitoring_config

    def cloud_monitoring_config() -> ::Google::Cloud::GkeMultiCloud::V1::CloudMonitoringConfig

**Returns**

- ([::Google::Cloud::GkeMultiCloud::V1::CloudMonitoringConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-CloudMonitoringConfig)) --- Optionally enable GKE metrics. Only for Attached Clusters.

### #cloud_monitoring_config=

    def cloud_monitoring_config=(value) -> ::Google::Cloud::GkeMultiCloud::V1::CloudMonitoringConfig

**Parameter**

- **value** ([::Google::Cloud::GkeMultiCloud::V1::CloudMonitoringConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-CloudMonitoringConfig)) --- Optionally enable GKE metrics. Only for Attached Clusters.
**Returns**

- ([::Google::Cloud::GkeMultiCloud::V1::CloudMonitoringConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-CloudMonitoringConfig)) --- Optionally enable GKE metrics. Only for Attached Clusters.

### #managed_prometheus_config

    def managed_prometheus_config() -> ::Google::Cloud::GkeMultiCloud::V1::ManagedPrometheusConfig

**Returns**

- ([::Google::Cloud::GkeMultiCloud::V1::ManagedPrometheusConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-ManagedPrometheusConfig)) --- Enable Google Cloud Managed Service for Prometheus in the cluster.

### #managed_prometheus_config=

    def managed_prometheus_config=(value) -> ::Google::Cloud::GkeMultiCloud::V1::ManagedPrometheusConfig

**Parameter**

- **value** ([::Google::Cloud::GkeMultiCloud::V1::ManagedPrometheusConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-ManagedPrometheusConfig)) --- Enable Google Cloud Managed Service for Prometheus in the cluster.
**Returns**

- ([::Google::Cloud::GkeMultiCloud::V1::ManagedPrometheusConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-ManagedPrometheusConfig)) --- Enable Google Cloud Managed Service for Prometheus in the cluster.