module Google::Cloud::ErrorReporting::V1beta1::ErrorGroupService::Paths

Path helper methods for the ErrorGroupService API.

Public Instance Methods

error_group_path(project:, group: raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/") click to toggle source

Create a fully-qualified ErrorGroup resource string.

The resource will be in the following format:

`projects/{project}/groups/{group}`

@param project [String] @param group [String]

@return [::String]

# File lib/google/cloud/error_reporting/v1beta1/error_group_service/paths.rb, line 38
def error_group_path project:, group:
  raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"

  "projects/#{project}/groups/#{group}"
end