API hub V1 API - Module Google::Cloud::ApiHub::V1::LintingService::Paths (v0.1.0)

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

Path helper methods for the LintingService API.

Methods

#spec_path

def spec_path(project:, location:, api:, version:, spec:) -> ::String

Create a fully-qualified Spec resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}

Parameters
  • project (String)
  • location (String)
  • api (String)
  • version (String)
  • spec (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#style_guide_path

def style_guide_path(project:, location:, plugin:) -> ::String

Create a fully-qualified StyleGuide resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/plugins/{plugin}/styleGuide

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