Cloud Monitoring Metrics Scopes V1 API - Module Google::Cloud::Monitoring::MetricsScope::V1::MetricsScopes::Paths (v0.1.3)

Reference documentation and code samples for the Cloud Monitoring Metrics Scopes V1 API module Google::Cloud::Monitoring::MetricsScope::V1::MetricsScopes::Paths.

Path helper methods for the MetricsScopes API.

Methods

#metrics_scope_path

def metrics_scope_path(metrics_scope:) -> ::String

Create a fully-qualified MetricsScope resource string.

The resource will be in the following format:

locations/global/metricsScope/{metrics_scope}

Parameter
  • metrics_scope (String)
Returns
  • (::String)

#monitored_project_path

def monitored_project_path(metrics_scope:, project:) -> ::String

Create a fully-qualified MonitoredProject resource string.

The resource will be in the following format:

locations/global/metricsScopes/{metrics_scope}/projects/{project}

Parameters
  • metrics_scope (String)
  • project (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)