Reference documentation and code samples for the Cloud Monitoring V3 API module Google::Cloud::Monitoring::V3::MetricService::Paths.
Path helper methods for the MetricService API.
Methods
#folder_path
def folder_path(folder:) -> ::String
Create a fully-qualified Folder resource string.
The resource will be in the following format:
folders/{folder}
- folder (String)
- (::String)
#metric_descriptor_path
def metric_descriptor_path(project:, metric_descriptor:) -> ::String
def metric_descriptor_path(organization:, metric_descriptor:) -> ::String
def metric_descriptor_path(folder:, metric_descriptor:) -> ::String
Create a fully-qualified MetricDescriptor resource string.
def metric_descriptor_path(project:, metric_descriptor:) -> ::String
projects/{project}/metricDescriptors/{metric_descriptor=**}
- project (String)
- metric_descriptor (String)
def metric_descriptor_path(organization:, metric_descriptor:) -> ::String
organizations/{organization}/metricDescriptors/{metric_descriptor=**}
- organization (String)
- metric_descriptor (String)
def metric_descriptor_path(folder:, metric_descriptor:) -> ::String
folders/{folder}/metricDescriptors/{metric_descriptor=**}
- folder (String)
- metric_descriptor (String)
- (::String)
- (::ArgumentError)
#monitored_resource_descriptor_path
def monitored_resource_descriptor_path(project:, monitored_resource_descriptor:) -> ::String
def monitored_resource_descriptor_path(organization:, monitored_resource_descriptor:) -> ::String
def monitored_resource_descriptor_path(folder:, monitored_resource_descriptor:) -> ::String
Create a fully-qualified MonitoredResourceDescriptor resource string.
def monitored_resource_descriptor_path(project:, monitored_resource_descriptor:) -> ::String
projects/{project}/monitoredResourceDescriptors/{monitored_resource_descriptor}
- project (String)
- monitored_resource_descriptor (String)
def monitored_resource_descriptor_path(organization:, monitored_resource_descriptor:) -> ::String
organizations/{organization}/monitoredResourceDescriptors/{monitored_resource_descriptor}
- organization (String)
- monitored_resource_descriptor (String)
def monitored_resource_descriptor_path(folder:, monitored_resource_descriptor:) -> ::String
folders/{folder}/monitoredResourceDescriptors/{monitored_resource_descriptor}
- folder (String)
- monitored_resource_descriptor (String)
- (::String)
- (::ArgumentError)
#organization_path
def organization_path(organization:) -> ::String
Create a fully-qualified Organization resource string.
The resource will be in the following format:
organizations/{organization}
- organization (String)
- (::String)
#project_path
def project_path(project:) -> ::String
Create a fully-qualified Project resource string.
The resource will be in the following format:
projects/{project}
- project (String)
- (::String)
#workspace_path
def workspace_path(project:) -> ::String
def workspace_path(workspace:) -> ::String
Create a fully-qualified Workspace resource string.
def workspace_path(project:) -> ::String
projects/{project}
- project (String)
def workspace_path(workspace:) -> ::String
workspaces/{workspace}
- workspace (String)
- (::String)
- (::ArgumentError)