@Generated("by gapic-generator-java")
Package com.google.devtools.artifactregistry.v1beta2
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()) {
RepositoryName name = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
Repository response = artifactRegistryClient.getRepository(name);
}
-
Class Summary Class Description AptArtifact A detailed representation of an Apt artifact.AptArtifact.Builder A detailed representation of an Apt artifact.AptArtifactProto ArtifactRegistryClient Service Description: The Artifact Registry API service.ArtifactRegistryClient.ListFilesFixedSizeCollection ArtifactRegistryClient.ListFilesPage ArtifactRegistryClient.ListFilesPagedResponse ArtifactRegistryClient.ListLocationsFixedSizeCollection ArtifactRegistryClient.ListLocationsPage ArtifactRegistryClient.ListLocationsPagedResponse ArtifactRegistryClient.ListPackagesFixedSizeCollection ArtifactRegistryClient.ListPackagesPage ArtifactRegistryClient.ListPackagesPagedResponse 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.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.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.FileProto GetFileRequest The request to retrieve a file.GetFileRequest.Builder The request to retrieve a file.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.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.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.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.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.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}.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.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.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.Version The body of a version resource.Version.Builder The body of a version resource.VersionProto 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.YumArtifact.PackageType Package type is either binary or source.