Cloud Monitoring V3 API - Module Google::Cloud::Monitoring::V3::ServiceMonitoringService::Paths (v0.17.0)

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

Path helper methods for the ServiceMonitoringService 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)

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

#service_level_objective_path

def service_level_objective_path(project:, service:, service_level_objective:) -> ::String
def service_level_objective_path(organization:, service:, service_level_objective:) -> ::String
def service_level_objective_path(folder:, service:, service_level_objective:) -> ::String

Create a fully-qualified ServiceLevelObjective resource string.

Overloads
def service_level_objective_path(project:, service:, service_level_objective:) -> ::String
The resource will be in the following format:

projects/{project}/services/{service}/serviceLevelObjectives/{service_level_objective}

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

organizations/{organization}/services/{service}/serviceLevelObjectives/{service_level_objective}

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

folders/{folder}/services/{service}/serviceLevelObjectives/{service_level_objective}

Parameters
  • folder (String)
  • service (String)
  • service_level_objective (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#service_path

def service_path(project:, service:) -> ::String
def service_path(organization:, service:) -> ::String
def service_path(folder:, service:) -> ::String

Create a fully-qualified Service resource string.

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

projects/{project}/services/{service}

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

organizations/{organization}/services/{service}

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

folders/{folder}/services/{service}

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