Method: Google::Cloud::Monitoring::V3::SnoozeService::Paths#project_path

Defined in:
lib/google/cloud/monitoring/v3/snooze_service/paths.rb

#project_path(project:) ⇒ ::String

Create a fully-qualified Project resource string.

The resource will be in the following format:

projects/{project}

Parameters:

  • project (String)

Returns:

  • (::String)
[View source]

89
90
91
# File 'lib/google/cloud/monitoring/v3/snooze_service/paths.rb', line 89

def project_path project:
  "projects/#{project}"
end