Cloud Monitoring V3 API - Module Google::Cloud::Monitoring::V3::SnoozeService::Paths (v0.12.0)

Reference documentation and code samples for the Cloud Monitoring V3 API module Google::Cloud::Monitoring::V3::SnoozeService::Paths.

Path helper methods for the SnoozeService API.

Methods

#alert_policy_path

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

Create a fully-qualified AlertPolicy resource string.

Overloads
def alert_policy_path(project:, alert_policy:) -> ::String
The resource will be in the following format:

projects/{project}/alertPolicies/{alert_policy}

Parameters
  • project (String)
  • alert_policy (String)
def alert_policy_path(organization:, alert_policy:) -> ::String
The resource will be in the following format:

organizations/{organization}/alertPolicies/{alert_policy}

Parameters
  • organization (String)
  • alert_policy (String)
def alert_policy_path(folder:, alert_policy:) -> ::String
The resource will be in the following format:

folders/{folder}/alertPolicies/{alert_policy}

Parameters
  • folder (String)
  • alert_policy (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)

#snooze_path

def snooze_path(project:, snooze:) -> ::String

Create a fully-qualified Snooze resource string.

The resource will be in the following format:

projects/{project}/snoozes/{snooze}

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

#workspace_path

def workspace_path(project:) -> ::String
def workspace_path(workspace:) -> ::String

Create a fully-qualified Workspace resource string.

Overloads
def workspace_path(project:) -> ::String
The resource will be in the following format:

projects/{project}

Parameter
  • project (String)
def workspace_path(workspace:) -> ::String
The resource will be in the following format:

workspaces/{workspace}

Parameter
  • workspace (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)