Module Google::Cloud::ArtifactRegistry::V1::ArtifactRegistry::Paths (v0.2.2)

Path helper methods for the ArtifactRegistry API.

Methods

#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)

#repository_path

def repository_path(project:, location:, repository:) -> ::String

Create a fully-qualified Repository resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/repositories/{repository}

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