Class ArtifactRegistryGrpc.ArtifactRegistryFutureStub

  • Enclosing class:
    ArtifactRegistryGrpc

    public static final class ArtifactRegistryGrpc.ArtifactRegistryFutureStub
    extends io.grpc.stub.AbstractFutureStub<ArtifactRegistryGrpc.ArtifactRegistryFutureStub>
    A stub to allow clients to do ListenableFuture-style rpc calls to service ArtifactRegistry.
     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.
     
    • Method Detail

      • importAptArtifacts

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> importAptArtifacts​(ImportAptArtifactsRequest request)
         Imports Apt artifacts. The returned Operation will complete once the
         resources are imported. Package, Version, and File resources are created
         based on the imported artifacts. Imported artifacts that conflict with
         existing resources are ignored.
         
      • importYumArtifacts

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> importYumArtifacts​(ImportYumArtifactsRequest request)
         Imports Yum (RPM) artifacts. The returned Operation will complete once the
         resources are imported. Package, Version, and File resources are created
         based on the imported artifacts. Imported artifacts that conflict with
         existing resources are ignored.
         
      • getRepository

        public com.google.common.util.concurrent.ListenableFuture<Repository> getRepository​(GetRepositoryRequest request)
         Gets a repository.
         
      • createRepository

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createRepository​(CreateRepositoryRequest request)
         Creates a repository. The returned Operation will finish once the
         repository has been created. Its response will be the created Repository.
         
      • updateRepository

        public com.google.common.util.concurrent.ListenableFuture<Repository> updateRepository​(UpdateRepositoryRequest request)
         Updates a repository.
         
      • deleteRepository

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> deleteRepository​(DeleteRepositoryRequest request)
         Deletes a repository and all of its contents. The returned Operation will
         finish once the repository has been deleted. It will not have any Operation
         metadata and will return a google.protobuf.Empty response.
         
      • getPackage

        public com.google.common.util.concurrent.ListenableFuture<Package> getPackage​(GetPackageRequest request)
         Gets a package.
         
      • deletePackage

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> deletePackage​(DeletePackageRequest request)
         Deletes a package and all of its versions and tags. The returned operation
         will complete once the package has been deleted.
         
      • getVersion

        public com.google.common.util.concurrent.ListenableFuture<Version> getVersion​(GetVersionRequest request)
         Gets a version
         
      • deleteVersion

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> deleteVersion​(DeleteVersionRequest request)
         Deletes a version and all of its content. The returned operation will
         complete once the version has been deleted.
         
      • getFile

        public com.google.common.util.concurrent.ListenableFuture<File> getFile​(GetFileRequest request)
         Gets a file.
         
      • getTag

        public com.google.common.util.concurrent.ListenableFuture<Tag> getTag​(GetTagRequest request)
         Gets a tag.
         
      • createTag

        public com.google.common.util.concurrent.ListenableFuture<Tag> createTag​(CreateTagRequest request)
         Creates a tag.
         
      • updateTag

        public com.google.common.util.concurrent.ListenableFuture<Tag> updateTag​(UpdateTagRequest request)
         Updates a tag.
         
      • deleteTag

        public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteTag​(DeleteTagRequest request)
         Deletes a tag.
         
      • setIamPolicy

        public com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy> setIamPolicy​(com.google.iam.v1.SetIamPolicyRequest request)
         Updates the IAM policy for a given resource.
         
      • getIamPolicy

        public com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy> getIamPolicy​(com.google.iam.v1.GetIamPolicyRequest request)
         Gets the IAM policy for a given resource.
         
      • testIamPermissions

        public com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.TestIamPermissionsResponse> testIamPermissions​(com.google.iam.v1.TestIamPermissionsRequest request)
         Tests if the caller has a list of permissions on a resource.