Artifact Registry V1beta2 API - Module Google::Cloud::ArtifactRegistry::V1beta2::ArtifactRegistry::Paths (v0.5.0)

Reference documentation and code samples for the Artifact Registry V1beta2 API module Google::Cloud::ArtifactRegistry::V1beta2::ArtifactRegistry::Paths.

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)

#project_settings_path

def project_settings_path(project:) -> ::String

Create a fully-qualified ProjectSettings resource string.

The resource will be in the following format:

projects/{project}/projectSettings

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

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

#tag_path

def tag_path(project:, location:, repository:, package:, tag:) -> ::String

Create a fully-qualified Tag resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/tags/{tag}

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