diff --git a/monitoring/api/v3/cloud-client/snippets.py b/monitoring/api/v3/cloud-client/snippets.py index 430d1b93865..e44d0d017ec 100644 --- a/monitoring/api/v3/cloud-client/snippets.py +++ b/monitoring/api/v3/cloud-client/snippets.py @@ -128,10 +128,10 @@ def get_monitored_resource_descriptor(type_): def get_metric_descriptor(type_): - # [START get_monitored_resources] + # [START get_metric_descriptor] client = monitoring.Client() print(client.fetch_metric_descriptor(type_)) - # [END get_monitored_resources] + # [END get_metric_descriptor] if __name__ == '__main__':