Cloud Monitoring V3 API - Module Google::Cloud::Monitoring::V3::AlertPolicyService::Paths (v0.7.1)

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

Path helper methods for the AlertPolicyService API.

Methods

#alert_policy_condition_path

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

Create a fully-qualified AlertPolicyCondition resource string.

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

projects/{project}/alertPolicies/{alert_policy}/conditions/{condition}

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

organizations/{organization}/alertPolicies/{alert_policy}/conditions/{condition}

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

folders/{folder}/alertPolicies/{alert_policy}/conditions/{condition}

Parameters
  • folder (String)
  • alert_policy (String)
  • condition (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#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)

#folder_path

def folder_path(folder:) -> ::String

Create a fully-qualified Folder resource string.

The resource will be in the following format:

folders/{folder}

Parameter
  • folder (String)
Returns
  • (::String)

#organization_path

def organization_path(organization:) -> ::String

Create a fully-qualified Organization resource string.

The resource will be in the following format:

organizations/{organization}

Parameter
  • organization (String)
Returns
  • (::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}

Parameter
  • project (String)
Returns
  • (::String)

#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)