API Keys V2 API - Module Google::Cloud::ApiKeys::V2::ApiKeys::Paths (v0.6.0)

Reference documentation and code samples for the API Keys V2 API module Google::Cloud::ApiKeys::V2::ApiKeys::Paths.

Path helper methods for the ApiKeys API.

Methods

#key_path

def key_path(project:, location:, key:) -> ::String

Create a fully-qualified Key resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/keys/{key}

Parameters
  • project (String)
  • location (String)
  • key (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#location_path

def location_path(project:, location:) -> ::String

Create a fully-qualified Location resource string.

The resource will be in the following format:

projects/{project}/locations/{location}

Parameters
  • project (String)
  • location (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)