public static final class ArtifactRegistryGrpc.ArtifactRegistryFutureStub extends AbstractFutureStub<ArtifactRegistryGrpc.ArtifactRegistryFutureStub>
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.AbstractFutureStub >
ArtifactRegistryGrpc.ArtifactRegistryFutureStub
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
protected ArtifactRegistryGrpc.ArtifactRegistryFutureStub build(Channel channel, CallOptions callOptions)
Parameters |
---|
Name | Description |
channel | io.grpc.Channel
|
callOptions | io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
public ListenableFuture<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.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
public ListenableFuture<Tag> createTag(CreateTagRequest request)
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Tag> | |
public ListenableFuture<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.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
public ListenableFuture<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.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
public ListenableFuture<Empty> deleteTag(DeleteTagRequest request)
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Empty> | |
public ListenableFuture<Operation> deleteVersion(DeleteVersionRequest request)
Deletes a version and all of its content. The returned operation will
complete once the version has been deleted.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
public ListenableFuture<DockerImage> getDockerImage(GetDockerImageRequest request)
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<DockerImage> | |
public ListenableFuture<File> getFile(GetFileRequest request)
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<File> | |
public ListenableFuture<Policy> getIamPolicy(GetIamPolicyRequest request)
Gets the IAM policy for a given resource.
Parameter |
---|
Name | Description |
request | com.google.iam.v1.GetIamPolicyRequest
|
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy> | |
public ListenableFuture<MavenArtifact> getMavenArtifact(GetMavenArtifactRequest request)
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<MavenArtifact> | |
public ListenableFuture<NpmPackage> getNpmPackage(GetNpmPackageRequest request)
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<NpmPackage> | |
public ListenableFuture<Package> getPackage(GetPackageRequest request)
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Package> | |
public ListenableFuture<ProjectSettings> getProjectSettings(GetProjectSettingsRequest request)
Retrieves the Settings for the Project.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ProjectSettings> | |
public ListenableFuture<PythonPackage> getPythonPackage(GetPythonPackageRequest request)
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<PythonPackage> | |
public ListenableFuture<Repository> getRepository(GetRepositoryRequest request)
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Repository> | |
public ListenableFuture<Tag> getTag(GetTagRequest request)
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Tag> | |
public ListenableFuture<VPCSCConfig> getVPCSCConfig(GetVPCSCConfigRequest request)
Retrieves the VPCSC Config for the Project.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<VPCSCConfig> | |
public ListenableFuture<Version> getVersion(GetVersionRequest request)
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Version> | |
public ListenableFuture<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.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
public ListenableFuture<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.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
public ListenableFuture<ListDockerImagesResponse> listDockerImages(ListDockerImagesRequest request)
public ListenableFuture<ListFilesResponse> listFiles(ListFilesRequest request)
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ListFilesResponse> | |
public ListenableFuture<ListMavenArtifactsResponse> listMavenArtifacts(ListMavenArtifactsRequest request)
public ListenableFuture<ListNpmPackagesResponse> listNpmPackages(ListNpmPackagesRequest request)
public ListenableFuture<ListPackagesResponse> listPackages(ListPackagesRequest request)
public ListenableFuture<ListPythonPackagesResponse> listPythonPackages(ListPythonPackagesRequest request)
public ListenableFuture<ListRepositoriesResponse> listRepositories(ListRepositoriesRequest request)
public ListenableFuture<ListTagsResponse> listTags(ListTagsRequest request)
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ListTagsResponse> | |
public ListenableFuture<ListVersionsResponse> listVersions(ListVersionsRequest request)
public ListenableFuture<Policy> setIamPolicy(SetIamPolicyRequest request)
Updates the IAM policy for a given resource.
Parameter |
---|
Name | Description |
request | com.google.iam.v1.SetIamPolicyRequest
|
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy> | |
public ListenableFuture<TestIamPermissionsResponse> testIamPermissions(TestIamPermissionsRequest request)
Tests if the caller has a list of permissions on a resource.
Parameter |
---|
Name | Description |
request | com.google.iam.v1.TestIamPermissionsRequest
|
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.TestIamPermissionsResponse> | |
public ListenableFuture<ProjectSettings> updateProjectSettings(UpdateProjectSettingsRequest request)
Updates the Settings for the Project.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ProjectSettings> | |
public ListenableFuture<Repository> updateRepository(UpdateRepositoryRequest request)
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Repository> | |
public ListenableFuture<Tag> updateTag(UpdateTagRequest request)
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Tag> | |
public ListenableFuture<VPCSCConfig> updateVPCSCConfig(UpdateVPCSCConfigRequest request)
Updates the VPCSC Config for the Project.
Returns |
---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<VPCSCConfig> | |