Send feedback
Class ArtifactRegistryGrpc.ArtifactRegistryBlockingStub (1.33.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.33.0 keyboard_arrow_down
public static final class ArtifactRegistryGrpc . ArtifactRegistryBlockingStub extends AbstractBlockingStub<ArtifactRegistryGrpc . ArtifactRegistryBlockingStub >
A stub to allow clients to do synchronous 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.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractBlockingStub >
ArtifactRegistryGrpc.ArtifactRegistryBlockingStub
Inherited Members
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractBlockingStub.<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
public Operation batchDeleteVersions ( BatchDeleteVersionsRequest request )
Deletes multiple versions across a repository. The returned operation will
complete once the versions have been deleted.
protected ArtifactRegistryGrpc . ArtifactRegistryBlockingStub 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 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.
public Tag createTag ( CreateTagRequest request )
Returns Type Description Tag
public 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.
public 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.
public Empty deleteTag ( DeleteTagRequest request )
Returns Type Description Empty
public Operation deleteVersion ( DeleteVersionRequest request )
Deletes a version and all of its content. The returned operation will
complete once the version has been deleted.
public DockerImage getDockerImage ( GetDockerImageRequest request )
public File getFile ( GetFileRequest request )
Returns Type Description File
public 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.iam.v1.Policy
public MavenArtifact getMavenArtifact ( GetMavenArtifactRequest request )
public NpmPackage getNpmPackage ( GetNpmPackageRequest request )
public Package getPackage ( GetPackageRequest request )
public ProjectSettings getProjectSettings ( GetProjectSettingsRequest request )
Retrieves the Settings for the Project.
public PythonPackage getPythonPackage ( GetPythonPackageRequest request )
public Repository getRepository ( GetRepositoryRequest request )
public Tag getTag ( GetTagRequest request )
Returns Type Description Tag
public VPCSCConfig getVPCSCConfig ( GetVPCSCConfigRequest request )
Retrieves the VPCSC Config for the Project.
public Version getVersion ( GetVersionRequest request )
public 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.
public 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.
public ListDockerImagesResponse listDockerImages ( ListDockerImagesRequest request )
public ListFilesResponse listFiles ( ListFilesRequest request )
public ListMavenArtifactsResponse listMavenArtifacts ( ListMavenArtifactsRequest request )
public ListNpmPackagesResponse listNpmPackages ( ListNpmPackagesRequest request )
public ListPackagesResponse listPackages ( ListPackagesRequest request )
public ListPythonPackagesResponse listPythonPackages ( ListPythonPackagesRequest request )
public ListRepositoriesResponse listRepositories ( ListRepositoriesRequest request )
public ListTagsResponse listTags ( ListTagsRequest request )
public ListVersionsResponse listVersions ( ListVersionsRequest request )
public 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.iam.v1.Policy
public 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.iam.v1.TestIamPermissionsResponse
public ProjectSettings updateProjectSettings ( UpdateProjectSettingsRequest request )
Updates the Settings for the Project.
public Repository updateRepository ( UpdateRepositoryRequest request )
public Tag updateTag ( UpdateTagRequest request )
Returns Type Description Tag
public VPCSCConfig updateVPCSCConfig ( UpdateVPCSCConfigRequest request )
Updates the VPCSC Config for the Project.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]