Module: Google::Cloud::Kms::Inventory::V1::KeyDashboardService::Paths

Extended by:
Paths
Included in:
Client, Paths, Rest::Client
Defined in:
lib/google/cloud/kms/inventory/v1/key_dashboard_service/paths.rb

Overview

Path helper methods for the KeyDashboardService API.

Instance Method Summary collapse

Instance Method Details

#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)


38
39
40
# File 'lib/google/cloud/kms/inventory/v1/key_dashboard_service/paths.rb', line 38

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