Cloud Monitoring Dashboards V1 API - Module Google::Cloud::Monitoring::Dashboard::V1::DashboardsService::Paths (v0.13.0)

Reference documentation and code samples for the Cloud Monitoring Dashboards V1 API module Google::Cloud::Monitoring::Dashboard::V1::DashboardsService::Paths.

Path helper methods for the DashboardsService API.

Methods

#alert_policy_path

def alert_policy_path(project:, alert_policy:) -> ::String

Create a fully-qualified AlertPolicy resource string.

The resource will be in the following format:

projects/{project}/alertPolicies/{alert_policy}

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

#dashboard_path

def dashboard_path(project:, dashboard:) -> ::String

Create a fully-qualified Dashboard resource string.

The resource will be in the following format:

projects/{project}/dashboards/{dashboard}

Parameters
  • project (String)
  • dashboard (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)