Path helper methods for the Grafeas API.
Extended By
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)