Reference documentation and code samples for the Cloud Logging V2 API module Google::Cloud::Logging::V2::MetricsService::Paths.
Path helper methods for the MetricsService API.
Methods
#log_metric_path
def log_metric_path(project:, metric:) -> ::String
Create a fully-qualified LogMetric resource string.
The resource will be in the following format:
projects/{project}/metrics/{metric}
Parameters
- project (String)
- metric (String)
Returns
- (::String)
Raises
- (::ArgumentError)
#project_path
def project_path(project:) -> ::String
Create a fully-qualified Project resource string.
The resource will be in the following format:
projects/{project}
Parameter
- project (String)
Returns
- (::String)