From 39be3659bd77bb90f6b024d2ac1426e9a4ec2dd0 Mon Sep 17 00:00:00 2001 From: Sam Levenick Date: Wed, 22 Jan 2020 22:03:43 +0000 Subject: [PATCH] Inspec project_metric Signed-off-by: Modular Magician --- plugins/modules/gcp_logging_metric.py | 7 +++++++ plugins/modules/gcp_logging_metric_info.py | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/plugins/modules/gcp_logging_metric.py b/plugins/modules/gcp_logging_metric.py index 820eeb2..4303b5f 100644 --- a/plugins/modules/gcp_logging_metric.py +++ b/plugins/modules/gcp_logging_metric.py @@ -387,6 +387,13 @@ metricDescriptor: with user-visible concepts, such as Quota. returned: success type: str + type: + description: + - The metric type, including its DNS name prefix. The type is not URL-encoded. + - All user-defined metric types have the DNS name `custom.googleapis.com` or + `external.googleapis.com`. + returned: success + type: str labelExtractors: description: - A map from a label key string to an extractor expression which is used to extract diff --git a/plugins/modules/gcp_logging_metric_info.py b/plugins/modules/gcp_logging_metric_info.py index 488b457..6d34668 100644 --- a/plugins/modules/gcp_logging_metric_info.py +++ b/plugins/modules/gcp_logging_metric_info.py @@ -186,6 +186,13 @@ resources: associated with user-visible concepts, such as Quota. returned: success type: str + type: + description: + - The metric type, including its DNS name prefix. The type is not URL-encoded. + - All user-defined metric types have the DNS name `custom.googleapis.com` + or `external.googleapis.com`. + returned: success + type: str labelExtractors: description: - A map from a label key string to an extractor expression which is used to