- 1.52.0 (latest)
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.9
- 1.1.1
- 0.5.0
- 0.4.0
public static final class ArtifactRegistryGrpc.ArtifactRegistryStub extends AbstractAsyncStub<ArtifactRegistryGrpc.ArtifactRegistryStub>
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.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > ArtifactRegistryGrpc.ArtifactRegistryStubMethods
build(Channel channel, CallOptions callOptions)
protected ArtifactRegistryGrpc.ArtifactRegistryStub build(Channel channel, CallOptions callOptions)
Name | Description |
channel | io.grpc.Channel |
callOptions | io.grpc.CallOptions |
Type | Description |
ArtifactRegistryGrpc.ArtifactRegistryStub |
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createRepository(CreateRepositoryRequest request, StreamObserver<Operation> responseObserver)
public void createRepository(CreateRepositoryRequest request, StreamObserver<Operation> responseObserver)
Creates a repository. The returned Operation will finish once the
repository has been created. Its response will be the created Repository.
Name | Description |
request | CreateRepositoryRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
createTag(CreateTagRequest request, StreamObserver<Tag> responseObserver)
public void createTag(CreateTagRequest request, StreamObserver<Tag> responseObserver)
Creates a tag.
Name | Description |
request | CreateTagRequest |
responseObserver | io.grpc.stub.StreamObserver<Tag> |
deletePackage(DeletePackageRequest request, StreamObserver<Operation> responseObserver)
public void deletePackage(DeletePackageRequest request, StreamObserver<Operation> responseObserver)
Deletes a package and all of its versions and tags. The returned operation
will complete once the package has been deleted.
Name | Description |
request | DeletePackageRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
deleteRepository(DeleteRepositoryRequest request, StreamObserver<Operation> responseObserver)
public void deleteRepository(DeleteRepositoryRequest request, StreamObserver<Operation> responseObserver)
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.
Name | Description |
request | DeleteRepositoryRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
deleteTag(DeleteTagRequest request, StreamObserver<Empty> responseObserver)
public void deleteTag(DeleteTagRequest request, StreamObserver<Empty> responseObserver)
Deletes a tag.
Name | Description |
request | DeleteTagRequest |
responseObserver | io.grpc.stub.StreamObserver<Empty> |
deleteVersion(DeleteVersionRequest request, StreamObserver<Operation> responseObserver)
public void deleteVersion(DeleteVersionRequest request, StreamObserver<Operation> responseObserver)
Deletes a version and all of its content. The returned operation will
complete once the version has been deleted.
Name | Description |
request | DeleteVersionRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
getFile(GetFileRequest request, StreamObserver<File> responseObserver)
public void getFile(GetFileRequest request, StreamObserver<File> responseObserver)
Gets a file.
Name | Description |
request | GetFileRequest |
responseObserver | io.grpc.stub.StreamObserver<File> |
getIamPolicy(GetIamPolicyRequest request, StreamObserver<Policy> responseObserver)
public void getIamPolicy(GetIamPolicyRequest request, StreamObserver<Policy> responseObserver)
Gets the IAM policy for a given resource.
Name | Description |
request | com.google.iam.v1.GetIamPolicyRequest |
responseObserver | io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> |
getPackage(GetPackageRequest request, StreamObserver<Package> responseObserver)
public void getPackage(GetPackageRequest request, StreamObserver<Package> responseObserver)
Gets a package.
Name | Description |
request | GetPackageRequest |
responseObserver | io.grpc.stub.StreamObserver<Package> |
getRepository(GetRepositoryRequest request, StreamObserver<Repository> responseObserver)
public void getRepository(GetRepositoryRequest request, StreamObserver<Repository> responseObserver)
Gets a repository.
Name | Description |
request | GetRepositoryRequest |
responseObserver | io.grpc.stub.StreamObserver<Repository> |
getTag(GetTagRequest request, StreamObserver<Tag> responseObserver)
public void getTag(GetTagRequest request, StreamObserver<Tag> responseObserver)
Gets a tag.
Name | Description |
request | GetTagRequest |
responseObserver | io.grpc.stub.StreamObserver<Tag> |
getVersion(GetVersionRequest request, StreamObserver<Version> responseObserver)
public void getVersion(GetVersionRequest request, StreamObserver<Version> responseObserver)
Gets a version
Name | Description |
request | GetVersionRequest |
responseObserver | io.grpc.stub.StreamObserver<Version> |
listFiles(ListFilesRequest request, StreamObserver<ListFilesResponse> responseObserver)
public void listFiles(ListFilesRequest request, StreamObserver<ListFilesResponse> responseObserver)
Lists files.
Name | Description |
request | ListFilesRequest |
responseObserver | io.grpc.stub.StreamObserver<ListFilesResponse> |
listPackages(ListPackagesRequest request, StreamObserver<ListPackagesResponse> responseObserver)
public void listPackages(ListPackagesRequest request, StreamObserver<ListPackagesResponse> responseObserver)
Lists packages.
Name | Description |
request | ListPackagesRequest |
responseObserver | io.grpc.stub.StreamObserver<ListPackagesResponse> |
listRepositories(ListRepositoriesRequest request, StreamObserver<ListRepositoriesResponse> responseObserver)
public void listRepositories(ListRepositoriesRequest request, StreamObserver<ListRepositoriesResponse> responseObserver)
Lists repositories.
Name | Description |
request | ListRepositoriesRequest |
responseObserver | io.grpc.stub.StreamObserver<ListRepositoriesResponse> |
listTags(ListTagsRequest request, StreamObserver<ListTagsResponse> responseObserver)
public void listTags(ListTagsRequest request, StreamObserver<ListTagsResponse> responseObserver)
Lists tags.
Name | Description |
request | ListTagsRequest |
responseObserver | io.grpc.stub.StreamObserver<ListTagsResponse> |
listVersions(ListVersionsRequest request, StreamObserver<ListVersionsResponse> responseObserver)
public void listVersions(ListVersionsRequest request, StreamObserver<ListVersionsResponse> responseObserver)
Lists versions.
Name | Description |
request | ListVersionsRequest |
responseObserver | io.grpc.stub.StreamObserver<ListVersionsResponse> |
setIamPolicy(SetIamPolicyRequest request, StreamObserver<Policy> responseObserver)
public void setIamPolicy(SetIamPolicyRequest request, StreamObserver<Policy> responseObserver)
Updates the IAM policy for a given resource.
Name | Description |
request | com.google.iam.v1.SetIamPolicyRequest |
responseObserver | io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> |
testIamPermissions(TestIamPermissionsRequest request, StreamObserver<TestIamPermissionsResponse> responseObserver)
public void testIamPermissions(TestIamPermissionsRequest request, StreamObserver<TestIamPermissionsResponse> responseObserver)
Tests if the caller has a list of permissions on a resource.
Name | Description |
request | com.google.iam.v1.TestIamPermissionsRequest |
responseObserver | io.grpc.stub.StreamObserver<com.google.iam.v1.TestIamPermissionsResponse> |
updateRepository(UpdateRepositoryRequest request, StreamObserver<Repository> responseObserver)
public void updateRepository(UpdateRepositoryRequest request, StreamObserver<Repository> responseObserver)
Updates a repository.
Name | Description |
request | UpdateRepositoryRequest |
responseObserver | io.grpc.stub.StreamObserver<Repository> |
updateTag(UpdateTagRequest request, StreamObserver<Tag> responseObserver)
public void updateTag(UpdateTagRequest request, StreamObserver<Tag> responseObserver)
Updates a tag.
Name | Description |
request | UpdateTagRequest |
responseObserver | io.grpc.stub.StreamObserver<Tag> |