API hub V1 API - Module Google::Cloud::ApiHub::V1::ApiHubAddon::Paths (v1.3.0)

Reference documentation and code samples for the API hub V1 API module Google::Cloud::ApiHub::V1::ApiHubAddon::Paths.

Path helper methods for the ApiHubAddon API.

Methods

#addon_path

def addon_path(project:, location:, addon:) -> ::String

Create a fully-qualified Addon resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/addons/{addon}

Parameters
  • project (String)
  • location (String)
  • addon (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)