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

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

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

#notification_channel_descriptor_path

def notification_channel_descriptor_path(project:, channel_descriptor:) -> ::String
def notification_channel_descriptor_path(organization:, channel_descriptor:) -> ::String
def notification_channel_descriptor_path(folder:, channel_descriptor:) -> ::String

Create a fully-qualified NotificationChannelDescriptor resource string.

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

projects/{project}/notificationChannelDescriptors/{channel_descriptor}

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

organizations/{organization}/notificationChannelDescriptors/{channel_descriptor}

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

folders/{folder}/notificationChannelDescriptors/{channel_descriptor}

Parameters
  • folder (String)
  • channel_descriptor (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#notification_channel_path

def notification_channel_path(project:, notification_channel:) -> ::String
def notification_channel_path(organization:, notification_channel:) -> ::String
def notification_channel_path(folder:, notification_channel:) -> ::String

Create a fully-qualified NotificationChannel resource string.

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

projects/{project}/notificationChannels/{notification_channel}

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

organizations/{organization}/notificationChannels/{notification_channel}

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

folders/{folder}/notificationChannels/{notification_channel}

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