Cloud Monitoring V3 API - Module Google::Cloud::Monitoring::V3::UptimeCheckService::Paths (v0.18.0)

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

Path helper methods for the UptimeCheckService 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}

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

#function_path

def function_path(project:, location:, function:) -> ::String

Create a fully-qualified Function resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/functions/{function}

Parameters
  • project (String)
  • location (String)
  • function (String)
Returns
  • (::String)
Raises
  • (::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}

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)

#uptime_check_config_path

def uptime_check_config_path(project:, uptime_check_config:) -> ::String
def uptime_check_config_path(organization:, uptime_check_config:) -> ::String
def uptime_check_config_path(folder:, uptime_check_config:) -> ::String

Create a fully-qualified UptimeCheckConfig resource string.

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

projects/{project}/uptimeCheckConfigs/{uptime_check_config}

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

organizations/{organization}/uptimeCheckConfigs/{uptime_check_config}

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

folders/{folder}/uptimeCheckConfigs/{uptime_check_config}

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