Module: Google::Cloud::Billing::V1::CloudCatalog::Paths

Extended by:
Paths
Included in:
Client, Paths, Rest::Client
Defined in:
lib/google/cloud/billing/v1/cloud_catalog/paths.rb

Overview

Path helper methods for the CloudCatalog API.

Instance Method Summary collapse

Instance Method Details

#service_path(service:) ⇒ ::String

Create a fully-qualified Service resource string.

The resource will be in the following format:

services/{service}

Parameters:

  • service (String)

Returns:

  • (::String)


37
38
39
# File 'lib/google/cloud/billing/v1/cloud_catalog/paths.rb', line 37

def service_path service:
  "services/#{service}"
end