Cloud Monitoring V3 API - Module Google::Cloud::Monitoring::V3::GroupService::Paths (v0.8.0)

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

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

#group_path

def group_path(project:, group:) -> ::String
def group_path(organization:, group:) -> ::String
def group_path(folder:, group:) -> ::String

Create a fully-qualified Group resource string.

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

projects/{project}/groups/{group}

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

organizations/{organization}/groups/{group}

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

folders/{folder}/groups/{group}

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

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