Reference documentation and code samples for the Artifact Registry V1 API module Google::Cloud::ArtifactRegistry::V1::ArtifactRegistry::Paths.
Path helper methods for the ArtifactRegistry API.
Methods
#docker_image_path
def docker_image_path(project:, location:, repository:, docker_image:) -> ::String
Create a fully-qualified DockerImage resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/repositories/{repository}/dockerImages/{docker_image}
- project (String)
- location (String)
- repository (String)
- docker_image (String)
- (::String)
- (::ArgumentError)
#file_path
def file_path(project:, location:, repository:, file:) -> ::String
Create a fully-qualified File resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/repositories/{repository}/files/{file}
- project (String)
- location (String)
- repository (String)
- file (String)
- (::String)
- (::ArgumentError)
#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}
- project (String)
- location (String)
- (::String)
- (::ArgumentError)
#maven_artifact_path
def maven_artifact_path(project:, location:, repository:, maven_artifact:) -> ::String
Create a fully-qualified MavenArtifact resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/repositories/{repository}/mavenArtifacts/{maven_artifact}
- project (String)
- location (String)
- repository (String)
- maven_artifact (String)
- (::String)
- (::ArgumentError)
#npm_package_path
def npm_package_path(project:, location:, repository:, npm_package:) -> ::String
Create a fully-qualified NpmPackage resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/repositories/{repository}/npmPackages/{npm_package}
- project (String)
- location (String)
- repository (String)
- npm_package (String)
- (::String)
- (::ArgumentError)
#package_path
def package_path(project:, location:, repository:, package:) -> ::String
Create a fully-qualified Package resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/repositories/{repository}/packages/{package}
- project (String)
- location (String)
- repository (String)
- package (String)
- (::String)
- (::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
- project (String)
- (::String)
#python_package_path
def python_package_path(project:, location:, repository:, python_package:) -> ::String
Create a fully-qualified PythonPackage resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/repositories/{repository}/pythonPackages/{python_package}
- project (String)
- location (String)
- repository (String)
- python_package (String)
- (::String)
- (::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}
- project (String)
- location (String)
- repository (String)
- (::String)
- (::ArgumentError)
#secret_version_path
def secret_version_path(project:, secret:, secret_version:) -> ::String
Create a fully-qualified SecretVersion resource string.
The resource will be in the following format:
projects/{project}/secrets/{secret}/versions/{secret_version}
- project (String)
- secret (String)
- secret_version (String)
- (::String)
- (::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}
- project (String)
- location (String)
- repository (String)
- package (String)
- tag (String)
- (::String)
- (::ArgumentError)
#version_path
def version_path(project:, location:, repository:, package:, version:) -> ::String
Create a fully-qualified Version resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/versions/{version}
- project (String)
- location (String)
- repository (String)
- package (String)
- version (String)
- (::String)
- (::ArgumentError)
#vpcsc_config_path
def vpcsc_config_path(project:, location:) -> ::String
Create a fully-qualified VpcscConfig resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/vpcscConfig
- project (String)
- location (String)
- (::String)
- (::ArgumentError)