API hub V1 API - Module Google::Cloud::ApiHub::V1::ApiHubDependencies::Paths (v0.2.0)

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

Path helper methods for the ApiHubDependencies API.

Methods

#attribute_path

def attribute_path(project:, location:, attribute:) -> ::String

Create a fully-qualified Attribute resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/attributes/{attribute}

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

#dependency_path

def dependency_path(project:, location:, dependency:) -> ::String

Create a fully-qualified Dependency resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/dependencies/{dependency}

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