# Cloud Monitoring API

Manages your Cloud Monitoring data and configurations.

## Service: monitoring.googleapis.com

The Service name `monitoring.googleapis.com` is needed to create RPC client stubs.

## `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.longrunning#google.longrunning.Operations`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.longrunning#google.longrunning.Operations.GetOperation` `` | Gets the latest state of a long-running operation. |

## `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.dashboard.v1#google.monitoring.dashboard.v1.DashboardsService`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.dashboard.v1#google.monitoring.dashboard.v1.DashboardsService.CreateDashboard` `` | Creates a new custom dashboard. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.dashboard.v1#google.monitoring.dashboard.v1.DashboardsService.DeleteDashboard` `` | Deletes an existing custom dashboard. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.dashboard.v1#google.monitoring.dashboard.v1.DashboardsService.GetDashboard` `` | Fetches a specific dashboard. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.dashboard.v1#google.monitoring.dashboard.v1.DashboardsService.ListDashboards` `` | Lists the existing dashboards. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.dashboard.v1#google.monitoring.dashboard.v1.DashboardsService.UpdateDashboard` `` | Replaces an existing custom dashboard with a new definition. |

## `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.metricsscope.v1#google.monitoring.metricsscope.v1.MetricsScopes`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.metricsscope.v1#google.monitoring.metricsscope.v1.MetricsScopes.CreateMonitoredProject` `` | Adds a `MonitoredProject` with the given project ID to the specified `Metrics Scope`. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.metricsscope.v1#google.monitoring.metricsscope.v1.MetricsScopes.DeleteMonitoredProject` `` | Deletes a `MonitoredProject` from the specified `Metrics Scope`. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.metricsscope.v1#google.monitoring.metricsscope.v1.MetricsScopes.GetMetricsScope` `` | Returns a specific `Metrics Scope`, including the list of projects monitored by the specified `Metrics Scope`. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.metricsscope.v1#google.monitoring.metricsscope.v1.MetricsScopes.ListMetricsScopesByMonitoredProject` `` | Returns a list of every `Metrics Scope` that a specific `MonitoredProject` has been added to. |

## `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.prometheus.v1#google.monitoring.prometheus.v1.PrometheusUpstream`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.prometheus.v1#google.monitoring.prometheus.v1.PrometheusUpstream.LabelValues` `` | Lists possible values for a given label name. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.prometheus.v1#google.monitoring.prometheus.v1.PrometheusUpstream.ListMetricMetadata` `` | Lists metadata for metrics. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.prometheus.v1#google.monitoring.prometheus.v1.PrometheusUpstream.QueryExemplars` `` | Lists exemplars relevant to a given PromQL query, |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.prometheus.v1#google.monitoring.prometheus.v1.PrometheusUpstream.QueryInstant` `` | Evaluate a PromQL query at a single point in time. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.prometheus.v1#google.monitoring.prometheus.v1.PrometheusUpstream.QueryLabels` `` | Lists labels for metrics. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.prometheus.v1#google.monitoring.prometheus.v1.PrometheusUpstream.QueryRange` `` | Evaluate a PromQL query with \[start, end\] time range. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.prometheus.v1#google.monitoring.prometheus.v1.PrometheusUpstream.QuerySeries` `` | Lists metadata for metrics. |

## `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.AlertPolicyService`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.AlertPolicyService.CreateAlertPolicy` `` | Creates a new alerting policy. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.AlertPolicyService.DeleteAlertPolicy` `` | Deletes an alerting policy. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.AlertPolicyService.GetAlertPolicy` `` | Gets a single alerting policy. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.AlertPolicyService.ListAlertPolicies` `` | Lists the existing alerting policies for the workspace. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.AlertPolicyService.UpdateAlertPolicy` `` | Updates an alerting policy. |

## `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.AlertService`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.AlertService.GetAlert` `` | Gets a single alert. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.AlertService.ListAlerts` `` | Lists the existing alerts for the metrics scope of the project. |

## `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.GroupService`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.GroupService.CreateGroup` `` | Creates a new group. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.GroupService.DeleteGroup` `` | Deletes an existing group. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.GroupService.GetGroup` `` | Gets a single group. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.GroupService.ListGroupMembers` `` | Lists the monitored resources that are members of a group. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.GroupService.ListGroups` `` | Lists the existing groups. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.GroupService.UpdateGroup` `` | Updates an existing group. |

## `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.MetricService`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.MetricService.CreateMetricDescriptor` `` | Creates a new metric descriptor. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.MetricService.CreateTimeSeries` `` | Creates or adds data to one or more time series. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.MetricService.DeleteMetricDescriptor` `` | Deletes a metric descriptor. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.MetricService.GetMetricDescriptor` `` | Gets a single metric descriptor. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.MetricService.GetMonitoredResourceDescriptor` `` | Gets a single monitored resource descriptor. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.MetricService.ListMetricDescriptors` `` | Lists metric descriptors that match a filter. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.MetricService.ListMonitoredResourceDescriptors` `` | Lists monitored resource descriptors that match a filter. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.MetricService.ListTimeSeries` `` | Lists time series that match a filter. |

## `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.NotificationChannelService`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.NotificationChannelService.CreateNotificationChannel` `` | Creates a new notification channel, representing a single notification endpoint such as an email address, SMS number, or PagerDuty service. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.NotificationChannelService.DeleteNotificationChannel` `` | Deletes a notification channel. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.NotificationChannelService.GetNotificationChannel` `` | Gets a single notification channel. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.NotificationChannelService.GetNotificationChannelDescriptor` `` | Gets a single channel descriptor. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.NotificationChannelService.GetNotificationChannelVerificationCode` `` | Requests a verification code for an already verified channel that can then be used in a call to VerifyNotificationChannel() on a different channel with an equivalent identity in the same or in a different project. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.NotificationChannelService.ListNotificationChannelDescriptors` `` | Lists the descriptors for supported channel types. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.NotificationChannelService.ListNotificationChannels` `` | Lists the notification channels that have been created for the project. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.NotificationChannelService.SendNotificationChannelVerificationCode` `` | Causes a verification code to be delivered to the channel. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.NotificationChannelService.UpdateNotificationChannel` `` | Updates a notification channel. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.NotificationChannelService.VerifyNotificationChannel` `` | Verifies a `NotificationChannel` by proving receipt of the code delivered to the channel as a result of calling `SendNotificationChannelVerificationCode`. |

## `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.QueryService`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.QueryService.QueryTimeSeries` (deprecated) `` | Queries time series by using Monitoring Query Language (MQL). |

## `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.ServiceMonitoringService`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.ServiceMonitoringService.CreateService` `` | Create a `Service`. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.ServiceMonitoringService.CreateServiceLevelObjective` `` | Create a `ServiceLevelObjective` for the given `Service`. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.ServiceMonitoringService.DeleteService` `` | Soft delete this `Service`. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.ServiceMonitoringService.DeleteServiceLevelObjective` `` | Delete the given `ServiceLevelObjective`. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.ServiceMonitoringService.GetService` `` | Get the named `Service`. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.ServiceMonitoringService.GetServiceLevelObjective` `` | Get a `ServiceLevelObjective` by name. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.ServiceMonitoringService.ListServiceLevelObjectives` `` | List the `ServiceLevelObjective`s for the given `Service`. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.ServiceMonitoringService.ListServices` `` | List `Service`s for this Metrics Scope. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.ServiceMonitoringService.UpdateService` `` | Update this `Service`. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.ServiceMonitoringService.UpdateServiceLevelObjective` `` | Update the given `ServiceLevelObjective`. |

## `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.SnoozeService`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.SnoozeService.CreateSnooze` `` | Creates a `Snooze` that will prevent alerts, which match the provided criteria, from being opened. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.SnoozeService.GetSnooze` `` | Retrieves a `Snooze` by `name`. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.SnoozeService.ListSnoozes` `` | Lists the `Snooze`s associated with a project. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.SnoozeService.UpdateSnooze` `` | Updates a `Snooze`, identified by its `name`, with the parameters in the given `Snooze` object. |

## `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.UptimeCheckService`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.UptimeCheckService.CreateUptimeCheckConfig` `` | Creates a new Uptime check configuration. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.UptimeCheckService.DeleteUptimeCheckConfig` `` | Deletes an Uptime check configuration. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.UptimeCheckService.GetUptimeCheckConfig` `` | Gets a single Uptime check configuration. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.UptimeCheckService.ListUptimeCheckConfigs` `` | Lists the existing valid Uptime check configurations for the project (leaving out any invalid configurations). |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.UptimeCheckService.ListUptimeCheckIps` `` | Returns the list of IP addresses that checkers run from. |
| `` `https://docs.cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#google.monitoring.v3.UptimeCheckService.UpdateUptimeCheckConfig` `` | Updates an Uptime check configuration. |