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

Defined in:
lib/google/cloud/monitoring/v3/metric_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)

169
170
171
# File 'lib/google/cloud/monitoring/v3/metric_service/paths.rb', line 169

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