@Generated("by gapic-generator-java")
Package com.google.devtools.artifactregistry.v1
A client to Artifact Registry API
The interfaces provided are listed below, along with usage samples.
======================= ArtifactRegistryClient =======================
Service Description: The Artifact Registry API service.
Artifact Registry is an artifact management system for storing artifacts from different package management systems.
The resources managed by this API are:
- Repositories, which group packages and their data.
- Packages, which group versions and their tags.
- Versions, which are specific forms of a package.
- Tags, which represent alternative names for versions.
- Files, which contain content and are optionally associated with a Package or Version.
Sample for ArtifactRegistryClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ArtifactRegistryClient artifactRegistryClient = ArtifactRegistryClient.create()) {
DockerImageName name =
DockerImageName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[DOCKER_IMAGE]");
DockerImage response = artifactRegistryClient.getDockerImage(name);
}
-
Class Summary Class Description AptArtifact A detailed representation of an Apt artifact.AptArtifact.Builder A detailed representation of an Apt artifact.AptArtifactProto ArtifactProto ArtifactRegistryClient Service Description: The Artifact Registry API service.ArtifactRegistryClient.ListDockerImagesFixedSizeCollection ArtifactRegistryClient.ListDockerImagesPage ArtifactRegistryClient.ListDockerImagesPagedResponse ArtifactRegistryClient.ListFilesFixedSizeCollection ArtifactRegistryClient.ListFilesPage ArtifactRegistryClient.ListFilesPagedResponse ArtifactRegistryClient.ListLocationsFixedSizeCollection ArtifactRegistryClient.ListLocationsPage ArtifactRegistryClient.ListLocationsPagedResponse ArtifactRegistryClient.ListMavenArtifactsFixedSizeCollection ArtifactRegistryClient.ListMavenArtifactsPage ArtifactRegistryClient.ListMavenArtifactsPagedResponse ArtifactRegistryClient.ListNpmPackagesFixedSizeCollection ArtifactRegistryClient.ListNpmPackagesPage ArtifactRegistryClient.ListNpmPackagesPagedResponse ArtifactRegistryClient.ListPackagesFixedSizeCollection ArtifactRegistryClient.ListPackagesPage ArtifactRegistryClient.ListPackagesPagedResponse ArtifactRegistryClient.ListPythonPackagesFixedSizeCollection ArtifactRegistryClient.ListPythonPackagesPage ArtifactRegistryClient.ListPythonPackagesPagedResponse ArtifactRegistryClient.ListRepositoriesFixedSizeCollection ArtifactRegistryClient.ListRepositoriesPage ArtifactRegistryClient.ListRepositoriesPagedResponse ArtifactRegistryClient.ListTagsFixedSizeCollection ArtifactRegistryClient.ListTagsPage ArtifactRegistryClient.ListTagsPagedResponse ArtifactRegistryClient.ListVersionsFixedSizeCollection ArtifactRegistryClient.ListVersionsPage ArtifactRegistryClient.ListVersionsPagedResponse ArtifactRegistryGrpc The Artifact Registry API service.ArtifactRegistryGrpc.ArtifactRegistryBlockingStub A stub to allow clients to do synchronous rpc calls to service ArtifactRegistry.ArtifactRegistryGrpc.ArtifactRegistryFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service ArtifactRegistry.ArtifactRegistryGrpc.ArtifactRegistryImplBase Base class for the server implementation of the service ArtifactRegistry.ArtifactRegistryGrpc.ArtifactRegistryStub A stub to allow clients to do asynchronous rpc calls to service ArtifactRegistry.ArtifactRegistrySettings Settings class to configure an instance ofArtifactRegistryClient
.ArtifactRegistrySettings.Builder Builder for ArtifactRegistrySettings.BatchDeleteVersionsMetadata The metadata of an LRO from deleting multiple versions.BatchDeleteVersionsMetadata.Builder The metadata of an LRO from deleting multiple versions.CreateRepositoryRequest The request to create a new repository.CreateRepositoryRequest.Builder The request to create a new repository.CreateTagRequest The request to create a new tag.CreateTagRequest.Builder The request to create a new tag.DeletePackageRequest The request to delete a package.DeletePackageRequest.Builder The request to delete a package.DeleteRepositoryRequest The request to delete a repository.DeleteRepositoryRequest.Builder The request to delete a repository.DeleteTagRequest The request to delete a tag.DeleteTagRequest.Builder The request to delete a tag.DeleteVersionRequest The request to delete a version.DeleteVersionRequest.Builder The request to delete a version.DockerImage DockerImage represents a docker artifact.DockerImage.Builder DockerImage represents a docker artifact.DockerImageName DockerImageName.Builder Builder for projects/{project}/locations/{location}/repositories/{repository}/dockerImages/{docker_image}.File Files store content that is potentially associated with Packages or Versions.File.Builder Files store content that is potentially associated with Packages or Versions.FileName FileName.Builder Builder for projects/{project}/locations/{location}/repositories/{repository}/files/{file}.FileProto GetDockerImageRequest The request to get docker images.GetDockerImageRequest.Builder The request to get docker images.GetFileRequest The request to retrieve a file.GetFileRequest.Builder The request to retrieve a file.GetMavenArtifactRequest The request to get maven artifacts.GetMavenArtifactRequest.Builder The request to get maven artifacts.GetNpmPackageRequest The request to get npm packages.GetNpmPackageRequest.Builder The request to get npm packages.GetPackageRequest The request to retrieve a package.GetPackageRequest.Builder The request to retrieve a package.GetProjectSettingsRequest Gets the redirection status for a project.GetProjectSettingsRequest.Builder Gets the redirection status for a project.GetPythonPackageRequest The request to get python packages.GetPythonPackageRequest.Builder The request to get python packages.GetRepositoryRequest The request to retrieve a repository.GetRepositoryRequest.Builder The request to retrieve a repository.GetTagRequest The request to retrieve a tag.GetTagRequest.Builder The request to retrieve a tag.GetVersionRequest The request to retrieve a version.GetVersionRequest.Builder The request to retrieve a version.GetVPCSCConfigRequest Gets the VPC SC config for a project.GetVPCSCConfigRequest.Builder Gets the VPC SC config for a project.Hash A hash of file content.Hash.Builder A hash of file content.ImportAptArtifactsErrorInfo Error information explaining why a package was not imported.ImportAptArtifactsErrorInfo.Builder Error information explaining why a package was not imported.ImportAptArtifactsGcsSource Google Cloud Storage location where the artifacts currently reside.ImportAptArtifactsGcsSource.Builder Google Cloud Storage location where the artifacts currently reside.ImportAptArtifactsMetadata The operation metadata for importing artifacts.ImportAptArtifactsMetadata.Builder The operation metadata for importing artifacts.ImportAptArtifactsRequest The request to import new apt artifacts.ImportAptArtifactsRequest.Builder The request to import new apt artifacts.ImportAptArtifactsResponse The response message from importing APT artifacts.ImportAptArtifactsResponse.Builder The response message from importing APT artifacts.ImportYumArtifactsErrorInfo Error information explaining why a package was not imported.ImportYumArtifactsErrorInfo.Builder Error information explaining why a package was not imported.ImportYumArtifactsGcsSource Google Cloud Storage location where the artifacts currently reside.ImportYumArtifactsGcsSource.Builder Google Cloud Storage location where the artifacts currently reside.ImportYumArtifactsMetadata The operation metadata for importing artifacts.ImportYumArtifactsMetadata.Builder The operation metadata for importing artifacts.ImportYumArtifactsRequest The request to import new yum artifacts.ImportYumArtifactsRequest.Builder The request to import new yum artifacts.ImportYumArtifactsResponse The response message from importing YUM artifacts.ImportYumArtifactsResponse.Builder The response message from importing YUM artifacts.ListDockerImagesRequest The request to list docker images.ListDockerImagesRequest.Builder The request to list docker images.ListDockerImagesResponse The response from listing docker images.ListDockerImagesResponse.Builder The response from listing docker images.ListFilesRequest The request to list files.ListFilesRequest.Builder The request to list files.ListFilesResponse The response from listing files.ListFilesResponse.Builder The response from listing files.ListMavenArtifactsRequest The request to list maven artifacts.ListMavenArtifactsRequest.Builder The request to list maven artifacts.ListMavenArtifactsResponse The response from listing maven artifacts.ListMavenArtifactsResponse.Builder The response from listing maven artifacts.ListNpmPackagesRequest The request to list npm packages.ListNpmPackagesRequest.Builder The request to list npm packages.ListNpmPackagesResponse The response from listing npm packages.ListNpmPackagesResponse.Builder The response from listing npm packages.ListPackagesRequest The request to list packages.ListPackagesRequest.Builder The request to list packages.ListPackagesResponse The response from listing packages.ListPackagesResponse.Builder The response from listing packages.ListPythonPackagesRequest The request to list python packages.ListPythonPackagesRequest.Builder The request to list python packages.ListPythonPackagesResponse The response from listing python packages.ListPythonPackagesResponse.Builder The response from listing python packages.ListRepositoriesRequest The request to list repositories.ListRepositoriesRequest.Builder The request to list repositories.ListRepositoriesResponse The response from listing repositories.ListRepositoriesResponse.Builder The response from listing repositories.ListTagsRequest The request to list tags.ListTagsRequest.Builder The request to list tags.ListTagsResponse The response from listing tags.ListTagsResponse.Builder The response from listing tags.ListVersionsRequest The request to list versions.ListVersionsRequest.Builder The request to list versions.ListVersionsResponse The response from listing versions.ListVersionsResponse.Builder The response from listing versions.LocationName LocationName.Builder Builder for projects/{project}/locations/{location}.MavenArtifact MavenArtifact represents a maven artifact.MavenArtifact.Builder MavenArtifact represents a maven artifact.MavenArtifactName MavenArtifactName.Builder Builder for projects/{project}/locations/{location}/repositories/{repository}/mavenArtifacts/{maven_artifact}.NpmPackage NpmPackage represents an npm artifact.NpmPackage.Builder NpmPackage represents an npm artifact.NpmPackageName NpmPackageName.Builder Builder for projects/{project}/locations/{location}/repositories/{repository}/npmPackages/{npm_package}.OperationMetadata Metadata type for longrunning-operations, currently empty.OperationMetadata.Builder Metadata type for longrunning-operations, currently empty.Package Packages are named collections of versions.Package.Builder Packages are named collections of versions.PackageName PackageName.Builder Builder for projects/{project}/locations/{location}/repositories/{repository}/packages/{package}.PackageProto ProjectSettings The Artifact Registry settings that apply to a Project.ProjectSettings.Builder The Artifact Registry settings that apply to a Project.ProjectSettingsName ProjectSettingsName.Builder Builder for projects/{project}/projectSettings.PythonPackage PythonPackage represents a python artifact.PythonPackage.Builder PythonPackage represents a python artifact.PythonPackageName PythonPackageName.Builder Builder for projects/{project}/locations/{location}/repositories/{repository}/pythonPackages/{python_package}.Repository A Repository for storing artifacts with a specific format.Repository.Builder A Repository for storing artifacts with a specific format.Repository.MavenRepositoryConfig MavenRepositoryConfig is maven related repository details.Repository.MavenRepositoryConfig.Builder MavenRepositoryConfig is maven related repository details.RepositoryName RepositoryName.Builder Builder for projects/{project}/locations/{location}/repositories/{repository}.RepositoryProto ServiceProto SettingsProto Tag Tags point to a version and represent an alternative name that can be used to access the version.Tag.Builder Tags point to a version and represent an alternative name that can be used to access the version.TagProto UpdateProjectSettingsRequest Sets the settings of the project.UpdateProjectSettingsRequest.Builder Sets the settings of the project.UpdateRepositoryRequest The request to update a repository.UpdateRepositoryRequest.Builder The request to update a repository.UpdateTagRequest The request to create or update a tag.UpdateTagRequest.Builder The request to create or update a tag.UpdateVPCSCConfigRequest Sets the VPCSC config of the project.UpdateVPCSCConfigRequest.Builder Sets the VPCSC config of the project.Version The body of a version resource.Version.Builder The body of a version resource.VersionProto VPCSCConfig The Artifact Registry VPC SC config that apply to a Project.VPCSCConfig.Builder The Artifact Registry VPC SC config that apply to a Project.VpcscConfigName VpcscConfigName.Builder Builder for projects/{project}/locations/{location}/vpcscConfig.VPCSCConfigProto YumArtifact A detailed representation of a Yum artifact.YumArtifact.Builder A detailed representation of a Yum artifact.YumArtifactProto -
Enum Summary Enum Description AptArtifact.PackageType Package type is either binary or source.Hash.HashType The algorithm used to compute the hash.ImportAptArtifactsErrorInfo.SourceCase ImportAptArtifactsRequest.SourceCase ImportYumArtifactsErrorInfo.SourceCase ImportYumArtifactsRequest.SourceCase ProjectSettings.RedirectionState The possible redirection states for legacy repositories.Repository.Format A package format.Repository.FormatConfigCase Repository.MavenRepositoryConfig.VersionPolicy VersionPolicy is the version policy for the repository.VersionView The view, which determines what version information is returned in a response.VPCSCConfig.VPCSCPolicy VPCSCPolicy is the VPC SC policy for project and location.YumArtifact.PackageType Package type is either binary or source.