Grafeas V1 API - Module Grafeas::V1::Grafeas::Paths (v0.5.0)

Reference documentation and code samples for the Grafeas V1 API module Grafeas::V1::Grafeas::Paths.

Path helper methods for the Grafeas API.

Methods

#note_path

def note_path(project:, note:) -> ::String

Create a fully-qualified Note resource string.

The resource will be in the following format:

projects/{project}/notes/{note}

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

#occurrence_path

def occurrence_path(project:, occurrence:) -> ::String

Create a fully-qualified Occurrence resource string.

The resource will be in the following format:

projects/{project}/occurrences/{occurrence}

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

#project_path

def project_path(project:) -> ::String

Create a fully-qualified Project resource string.

The resource will be in the following format:

projects/{project}

Parameter
  • project (String)
Returns
  • (::String)