Module: Google::Cloud::Kms::V1::AutokeyAdmin::Paths

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

Overview

Path helper methods for the AutokeyAdmin API.

Instance Method Summary collapse

Instance Method Details

#autokey_config_path(folder:) ⇒ ::String

Create a fully-qualified AutokeyConfig resource string.

The resource will be in the following format:

folders/{folder}/autokeyConfig

Parameters:

  • folder (String)

Returns:

  • (::String)


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

def autokey_config_path folder:
  "folders/#{folder}/autokeyConfig"
end

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


51
52
53
# File 'lib/google/cloud/kms/v1/autokey_admin/paths.rb', line 51

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