API hub V1 API - Module Google::Cloud::ApiHub::V1::ApiHubDiscovery::Paths (v0.6.0)

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

Path helper methods for the ApiHubDiscovery API.

Methods

#discovered_api_observation_path

def discovered_api_observation_path(project:, location:, discovered_api_observation:) -> ::String

Create a fully-qualified DiscoveredApiObservation resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}

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

#discovered_api_operation_path

def discovered_api_operation_path(project:, location:, discovered_api_observation:, discovered_api_operation:) -> ::String

Create a fully-qualified DiscoveredApiOperation resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}/discoveredApiOperations/{discovered_api_operation}

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