Class ArtifactRegistryGrpc.ArtifactRegistryBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<ArtifactRegistryGrpc.ArtifactRegistryBlockingV2Stub>
com.google.devtools.artifactregistry.v1.ArtifactRegistryGrpc.ArtifactRegistryBlockingV2Stub
- Enclosing class:
- ArtifactRegistryGrpc
public static final class ArtifactRegistryGrpc.ArtifactRegistryBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<ArtifactRegistryGrpc.ArtifactRegistryBlockingV2Stub>
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionDeletes multiple versions across a repository.build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) createAttachment(CreateAttachmentRequest request) Creates an attachment.createRepository(CreateRepositoryRequest request) Creates a repository.createRule(CreateRuleRequest request) Creates a rule.createTag(CreateTagRequest request) Creates a tag.deleteAttachment(DeleteAttachmentRequest request) Deletes an attachment.deleteFile(DeleteFileRequest request) Deletes a file and all of its content.deletePackage(DeletePackageRequest request) Deletes a package and all of its versions and tags.deleteRepository(DeleteRepositoryRequest request) Deletes a repository and all of its contents.com.google.protobuf.EmptydeleteRule(DeleteRuleRequest request) Deletes a rule.com.google.protobuf.EmptydeleteTag(DeleteTagRequest request) Deletes a tag.deleteVersion(DeleteVersionRequest request) Deletes a version and all of its content.exportArtifact(ExportArtifactRequest request) Exports an artifact to a Cloud Storage bucket.getAttachment(GetAttachmentRequest request) Gets an attachment.getDockerImage(GetDockerImageRequest request) Gets a docker image.getFile(GetFileRequest request) Gets a file.getIamPolicy(GetIamPolicyRequest request) Gets the IAM policy for a given resource.getMavenArtifact(GetMavenArtifactRequest request) Gets a maven artifact.getNpmPackage(GetNpmPackageRequest request) Gets a npm package.getPackage(GetPackageRequest request) Gets a package.Retrieves the Settings for the Project.getPythonPackage(GetPythonPackageRequest request) Gets a python package.getRepository(GetRepositoryRequest request) Gets a repository.getRule(GetRuleRequest request) Gets a rule.getTag(GetTagRequest request) Gets a tag.getVersion(GetVersionRequest request) Gets a versiongetVPCSCConfig(GetVPCSCConfigRequest request) Retrieves the VPCSC Config for the Project.Imports Apt artifacts.Imports Yum (RPM) artifacts.listAttachments(ListAttachmentsRequest request) Lists attachments.listDockerImages(ListDockerImagesRequest request) Lists docker images.listFiles(ListFilesRequest request) Lists files.Lists maven artifacts.listNpmPackages(ListNpmPackagesRequest request) Lists npm packages.listPackages(ListPackagesRequest request) Lists packages.Lists python packages.listRepositories(ListRepositoriesRequest request) Lists repositories.listRules(ListRulesRequest request) Lists rules.listTags(ListTagsRequest request) Lists tags.listVersions(ListVersionsRequest request) Lists versions.setIamPolicy(SetIamPolicyRequest request) Updates the IAM policy for a given resource.Tests if the caller has a list of permissions on a resource.updateFile(UpdateFileRequest request) Updates a file.updatePackage(UpdatePackageRequest request) Updates a package.Updates the Settings for the Project.updateRepository(UpdateRepositoryRequest request) Updates a repository.updateRule(UpdateRuleRequest request) Updates a rule.updateTag(UpdateTagRequest request) Updates a tag.updateVersion(UpdateVersionRequest request) Updates a version.Updates the VPCSC Config for the Project.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected ArtifactRegistryGrpc.ArtifactRegistryBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ArtifactRegistryGrpc.ArtifactRegistryBlockingV2Stub>
-
listDockerImages
public ListDockerImagesResponse listDockerImages(ListDockerImagesRequest request) throws io.grpc.StatusException Lists docker images.
- Throws:
io.grpc.StatusException
-
getDockerImage
Gets a docker image.
- Throws:
io.grpc.StatusException
-
listMavenArtifacts
public ListMavenArtifactsResponse listMavenArtifacts(ListMavenArtifactsRequest request) throws io.grpc.StatusException Lists maven artifacts.
- Throws:
io.grpc.StatusException
-
getMavenArtifact
public MavenArtifact getMavenArtifact(GetMavenArtifactRequest request) throws io.grpc.StatusException Gets a maven artifact.
- Throws:
io.grpc.StatusException
-
listNpmPackages
public ListNpmPackagesResponse listNpmPackages(ListNpmPackagesRequest request) throws io.grpc.StatusException Lists npm packages.
- Throws:
io.grpc.StatusException
-
getNpmPackage
Gets a npm package.
- Throws:
io.grpc.StatusException
-
listPythonPackages
public ListPythonPackagesResponse listPythonPackages(ListPythonPackagesRequest request) throws io.grpc.StatusException Lists python packages.
- Throws:
io.grpc.StatusException
-
getPythonPackage
public PythonPackage getPythonPackage(GetPythonPackageRequest request) throws io.grpc.StatusException Gets a python package.
- Throws:
io.grpc.StatusException
-
importAptArtifacts
public Operation importAptArtifacts(ImportAptArtifactsRequest request) throws io.grpc.StatusException 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.
- Throws:
io.grpc.StatusException
-
importYumArtifacts
public Operation importYumArtifacts(ImportYumArtifactsRequest request) throws io.grpc.StatusException 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.
- Throws:
io.grpc.StatusException
-
listRepositories
public ListRepositoriesResponse listRepositories(ListRepositoriesRequest request) throws io.grpc.StatusException Lists repositories.
- Throws:
io.grpc.StatusException
-
getRepository
Gets a repository.
- Throws:
io.grpc.StatusException
-
createRepository
Creates a repository. The returned Operation will finish once the repository has been created. Its response will be the created Repository.
- Throws:
io.grpc.StatusException
-
updateRepository
Updates a repository.
- Throws:
io.grpc.StatusException
-
deleteRepository
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.
- Throws:
io.grpc.StatusException
-
listPackages
public ListPackagesResponse listPackages(ListPackagesRequest request) throws io.grpc.StatusException Lists packages.
- Throws:
io.grpc.StatusException
-
getPackage
Gets a package.
- Throws:
io.grpc.StatusException
-
deletePackage
Deletes a package and all of its versions and tags. The returned operation will complete once the package has been deleted.
- Throws:
io.grpc.StatusException
-
listVersions
public ListVersionsResponse listVersions(ListVersionsRequest request) throws io.grpc.StatusException Lists versions.
- Throws:
io.grpc.StatusException
-
getVersion
Gets a version
- Throws:
io.grpc.StatusException
-
deleteVersion
Deletes a version and all of its content. The returned operation will complete once the version has been deleted.
- Throws:
io.grpc.StatusException
-
batchDeleteVersions
public Operation batchDeleteVersions(BatchDeleteVersionsRequest request) throws io.grpc.StatusException Deletes multiple versions across a repository. The returned operation will complete once the versions have been deleted.
- Throws:
io.grpc.StatusException
-
updateVersion
Updates a version.
- Throws:
io.grpc.StatusException
-
listFiles
Lists files.
- Throws:
io.grpc.StatusException
-
getFile
Gets a file.
- Throws:
io.grpc.StatusException
-
deleteFile
Deletes a file and all of its content. It is only allowed on generic repositories. The returned operation will complete once the file has been deleted.
- Throws:
io.grpc.StatusException
-
updateFile
Updates a file.
- Throws:
io.grpc.StatusException
-
listTags
Lists tags.
- Throws:
io.grpc.StatusException
-
getTag
Gets a tag.
- Throws:
io.grpc.StatusException
-
createTag
Creates a tag.
- Throws:
io.grpc.StatusException
-
updateTag
Updates a tag.
- Throws:
io.grpc.StatusException
-
deleteTag
Deletes a tag.
- Throws:
io.grpc.StatusException
-
createRule
Creates a rule.
- Throws:
io.grpc.StatusException
-
listRules
Lists rules.
- Throws:
io.grpc.StatusException
-
getRule
Gets a rule.
- Throws:
io.grpc.StatusException
-
updateRule
Updates a rule.
- Throws:
io.grpc.StatusException
-
deleteRule
public com.google.protobuf.Empty deleteRule(DeleteRuleRequest request) throws io.grpc.StatusException Deletes a rule.
- Throws:
io.grpc.StatusException
-
setIamPolicy
Updates the IAM policy for a given resource.
- Throws:
io.grpc.StatusException
-
getIamPolicy
Gets the IAM policy for a given resource.
- Throws:
io.grpc.StatusException
-
testIamPermissions
public TestIamPermissionsResponse testIamPermissions(TestIamPermissionsRequest request) throws io.grpc.StatusException Tests if the caller has a list of permissions on a resource.
- Throws:
io.grpc.StatusException
-
getProjectSettings
public ProjectSettings getProjectSettings(GetProjectSettingsRequest request) throws io.grpc.StatusException Retrieves the Settings for the Project.
- Throws:
io.grpc.StatusException
-
updateProjectSettings
public ProjectSettings updateProjectSettings(UpdateProjectSettingsRequest request) throws io.grpc.StatusException Updates the Settings for the Project.
- Throws:
io.grpc.StatusException
-
getVPCSCConfig
Retrieves the VPCSC Config for the Project.
- Throws:
io.grpc.StatusException
-
updateVPCSCConfig
public VPCSCConfig updateVPCSCConfig(UpdateVPCSCConfigRequest request) throws io.grpc.StatusException Updates the VPCSC Config for the Project.
- Throws:
io.grpc.StatusException
-
updatePackage
Updates a package.
- Throws:
io.grpc.StatusException
-
listAttachments
public ListAttachmentsResponse listAttachments(ListAttachmentsRequest request) throws io.grpc.StatusException Lists attachments.
- Throws:
io.grpc.StatusException
-
getAttachment
Gets an attachment.
- Throws:
io.grpc.StatusException
-
createAttachment
Creates an attachment. The returned Operation will finish once the attachment has been created. Its response will be the created attachment.
- Throws:
io.grpc.StatusException
-
deleteAttachment
Deletes an attachment. The returned Operation will finish once the attachments has been deleted. It will not have any Operation metadata and will return a `google.protobuf.Empty` response.
- Throws:
io.grpc.StatusException
-
exportArtifact
Exports an artifact to a Cloud Storage bucket.
- Throws:
io.grpc.StatusException
-