Artifact Registry v1 API - Class ArtifactRegistry.ArtifactRegistryBase (2.2.0)

[BindServiceMethod(typeof(ArtifactRegistry), "BindService")]
public abstract class ArtifactRegistry.ArtifactRegistryBase

Reference documentation and code samples for the Artifact Registry v1 API class ArtifactRegistry.ArtifactRegistryBase.

Base class for server-side implementations of ArtifactRegistry

Inheritance

object > ArtifactRegistry.ArtifactRegistryBase

Namespace

GoogleCloudGoogle.Cloud.ArtifactRegistryV1

Assembly

Google.Cloud.ArtifactRegistry.V1.dll

Methods

CreateRepository(CreateRepositoryRequest, ServerCallContext)

public virtual Task<Operation> CreateRepository(CreateRepositoryRequest request, ServerCallContext context)

Creates a repository. The returned Operation will finish once the repository has been created. Its response will be the created Repository.

Parameters
NameDescription
requestCreateRepositoryRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

CreateTag(CreateTagRequest, ServerCallContext)

public virtual Task<Tag> CreateTag(CreateTagRequest request, ServerCallContext context)

Creates a tag.

Parameters
NameDescription
requestCreateTagRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskTag

The response to send back to the client (wrapped by a task).

DeletePackage(DeletePackageRequest, ServerCallContext)

public virtual Task<Operation> DeletePackage(DeletePackageRequest request, ServerCallContext context)

Deletes a package and all of its versions and tags. The returned operation will complete once the package has been deleted.

Parameters
NameDescription
requestDeletePackageRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteRepository(DeleteRepositoryRequest, ServerCallContext)

public virtual Task<Operation> DeleteRepository(DeleteRepositoryRequest request, ServerCallContext context)

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.

Parameters
NameDescription
requestDeleteRepositoryRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteTag(DeleteTagRequest, ServerCallContext)

public virtual Task<Empty> DeleteTag(DeleteTagRequest request, ServerCallContext context)

Deletes a tag.

Parameters
NameDescription
requestDeleteTagRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskEmpty

The response to send back to the client (wrapped by a task).

DeleteVersion(DeleteVersionRequest, ServerCallContext)

public virtual Task<Operation> DeleteVersion(DeleteVersionRequest request, ServerCallContext context)

Deletes a version and all of its content. The returned operation will complete once the version has been deleted.

Parameters
NameDescription
requestDeleteVersionRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

GetDockerImage(GetDockerImageRequest, ServerCallContext)

public virtual Task<DockerImage> GetDockerImage(GetDockerImageRequest request, ServerCallContext context)

Gets a docker image.

Parameters
NameDescription
requestGetDockerImageRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskDockerImage

The response to send back to the client (wrapped by a task).

GetFile(GetFileRequest, ServerCallContext)

public virtual Task<File> GetFile(GetFileRequest request, ServerCallContext context)

Gets a file.

Parameters
NameDescription
requestGetFileRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskFile

The response to send back to the client (wrapped by a task).

GetIamPolicy(GetIamPolicyRequest, ServerCallContext)

public virtual Task<Policy> GetIamPolicy(GetIamPolicyRequest request, ServerCallContext context)

Gets the IAM policy for a given resource.

Parameters
NameDescription
requestGetIamPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskPolicy

The response to send back to the client (wrapped by a task).

GetMavenArtifact(GetMavenArtifactRequest, ServerCallContext)

public virtual Task<MavenArtifact> GetMavenArtifact(GetMavenArtifactRequest request, ServerCallContext context)

Gets a maven artifact.

Parameters
NameDescription
requestGetMavenArtifactRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskMavenArtifact

The response to send back to the client (wrapped by a task).

GetNpmPackage(GetNpmPackageRequest, ServerCallContext)

public virtual Task<NpmPackage> GetNpmPackage(GetNpmPackageRequest request, ServerCallContext context)

Gets a npm package.

Parameters
NameDescription
requestGetNpmPackageRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskNpmPackage

The response to send back to the client (wrapped by a task).

GetPackage(GetPackageRequest, ServerCallContext)

public virtual Task<Package> GetPackage(GetPackageRequest request, ServerCallContext context)

Gets a package.

Parameters
NameDescription
requestGetPackageRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskPackage

The response to send back to the client (wrapped by a task).

GetProjectSettings(GetProjectSettingsRequest, ServerCallContext)

public virtual Task<ProjectSettings> GetProjectSettings(GetProjectSettingsRequest request, ServerCallContext context)

Retrieves the Settings for the Project.

Parameters
NameDescription
requestGetProjectSettingsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskProjectSettings

The response to send back to the client (wrapped by a task).

GetPythonPackage(GetPythonPackageRequest, ServerCallContext)

public virtual Task<PythonPackage> GetPythonPackage(GetPythonPackageRequest request, ServerCallContext context)

Gets a python package.

Parameters
NameDescription
requestGetPythonPackageRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskPythonPackage

The response to send back to the client (wrapped by a task).

GetRepository(GetRepositoryRequest, ServerCallContext)

public virtual Task<Repository> GetRepository(GetRepositoryRequest request, ServerCallContext context)

Gets a repository.

Parameters
NameDescription
requestGetRepositoryRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskRepository

The response to send back to the client (wrapped by a task).

GetTag(GetTagRequest, ServerCallContext)

public virtual Task<Tag> GetTag(GetTagRequest request, ServerCallContext context)

Gets a tag.

Parameters
NameDescription
requestGetTagRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskTag

The response to send back to the client (wrapped by a task).

GetVersion(GetVersionRequest, ServerCallContext)

public virtual Task<Version> GetVersion(GetVersionRequest request, ServerCallContext context)

Gets a version

Parameters
NameDescription
requestGetVersionRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskVersion

The response to send back to the client (wrapped by a task).

GetVPCSCConfig(GetVPCSCConfigRequest, ServerCallContext)

public virtual Task<VPCSCConfig> GetVPCSCConfig(GetVPCSCConfigRequest request, ServerCallContext context)

Retrieves the VPCSC Config for the Project.

Parameters
NameDescription
requestGetVPCSCConfigRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskVPCSCConfig

The response to send back to the client (wrapped by a task).

ImportAptArtifacts(ImportAptArtifactsRequest, ServerCallContext)

public virtual Task<Operation> ImportAptArtifacts(ImportAptArtifactsRequest request, ServerCallContext context)

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.

Parameters
NameDescription
requestImportAptArtifactsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

ImportYumArtifacts(ImportYumArtifactsRequest, ServerCallContext)

public virtual Task<Operation> ImportYumArtifacts(ImportYumArtifactsRequest request, ServerCallContext context)

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.

Parameters
NameDescription
requestImportYumArtifactsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

ListDockerImages(ListDockerImagesRequest, ServerCallContext)

public virtual Task<ListDockerImagesResponse> ListDockerImages(ListDockerImagesRequest request, ServerCallContext context)

Lists docker images.

Parameters
NameDescription
requestListDockerImagesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListDockerImagesResponse

The response to send back to the client (wrapped by a task).

ListFiles(ListFilesRequest, ServerCallContext)

public virtual Task<ListFilesResponse> ListFiles(ListFilesRequest request, ServerCallContext context)

Lists files.

Parameters
NameDescription
requestListFilesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListFilesResponse

The response to send back to the client (wrapped by a task).

ListMavenArtifacts(ListMavenArtifactsRequest, ServerCallContext)

public virtual Task<ListMavenArtifactsResponse> ListMavenArtifacts(ListMavenArtifactsRequest request, ServerCallContext context)

Lists maven artifacts.

Parameters
NameDescription
requestListMavenArtifactsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListMavenArtifactsResponse

The response to send back to the client (wrapped by a task).

ListNpmPackages(ListNpmPackagesRequest, ServerCallContext)

public virtual Task<ListNpmPackagesResponse> ListNpmPackages(ListNpmPackagesRequest request, ServerCallContext context)

Lists npm packages.

Parameters
NameDescription
requestListNpmPackagesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListNpmPackagesResponse

The response to send back to the client (wrapped by a task).

ListPackages(ListPackagesRequest, ServerCallContext)

public virtual Task<ListPackagesResponse> ListPackages(ListPackagesRequest request, ServerCallContext context)

Lists packages.

Parameters
NameDescription
requestListPackagesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListPackagesResponse

The response to send back to the client (wrapped by a task).

ListPythonPackages(ListPythonPackagesRequest, ServerCallContext)

public virtual Task<ListPythonPackagesResponse> ListPythonPackages(ListPythonPackagesRequest request, ServerCallContext context)

Lists python packages.

Parameters
NameDescription
requestListPythonPackagesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListPythonPackagesResponse

The response to send back to the client (wrapped by a task).

ListRepositories(ListRepositoriesRequest, ServerCallContext)

public virtual Task<ListRepositoriesResponse> ListRepositories(ListRepositoriesRequest request, ServerCallContext context)

Lists repositories.

Parameters
NameDescription
requestListRepositoriesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListRepositoriesResponse

The response to send back to the client (wrapped by a task).

ListTags(ListTagsRequest, ServerCallContext)

public virtual Task<ListTagsResponse> ListTags(ListTagsRequest request, ServerCallContext context)

Lists tags.

Parameters
NameDescription
requestListTagsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListTagsResponse

The response to send back to the client (wrapped by a task).

ListVersions(ListVersionsRequest, ServerCallContext)

public virtual Task<ListVersionsResponse> ListVersions(ListVersionsRequest request, ServerCallContext context)

Lists versions.

Parameters
NameDescription
requestListVersionsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListVersionsResponse

The response to send back to the client (wrapped by a task).

SetIamPolicy(SetIamPolicyRequest, ServerCallContext)

public virtual Task<Policy> SetIamPolicy(SetIamPolicyRequest request, ServerCallContext context)

Updates the IAM policy for a given resource.

Parameters
NameDescription
requestSetIamPolicyRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskPolicy

The response to send back to the client (wrapped by a task).

TestIamPermissions(TestIamPermissionsRequest, ServerCallContext)

public virtual Task<TestIamPermissionsResponse> TestIamPermissions(TestIamPermissionsRequest request, ServerCallContext context)

Tests if the caller has a list of permissions on a resource.

Parameters
NameDescription
requestTestIamPermissionsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskTestIamPermissionsResponse

The response to send back to the client (wrapped by a task).

UpdateProjectSettings(UpdateProjectSettingsRequest, ServerCallContext)

public virtual Task<ProjectSettings> UpdateProjectSettings(UpdateProjectSettingsRequest request, ServerCallContext context)

Updates the Settings for the Project.

Parameters
NameDescription
requestUpdateProjectSettingsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskProjectSettings

The response to send back to the client (wrapped by a task).

UpdateRepository(UpdateRepositoryRequest, ServerCallContext)

public virtual Task<Repository> UpdateRepository(UpdateRepositoryRequest request, ServerCallContext context)

Updates a repository.

Parameters
NameDescription
requestUpdateRepositoryRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskRepository

The response to send back to the client (wrapped by a task).

UpdateTag(UpdateTagRequest, ServerCallContext)

public virtual Task<Tag> UpdateTag(UpdateTagRequest request, ServerCallContext context)

Updates a tag.

Parameters
NameDescription
requestUpdateTagRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskTag

The response to send back to the client (wrapped by a task).

UpdateVPCSCConfig(UpdateVPCSCConfigRequest, ServerCallContext)

public virtual Task<VPCSCConfig> UpdateVPCSCConfig(UpdateVPCSCConfigRequest request, ServerCallContext context)

Updates the VPCSC Config for the Project.

Parameters
NameDescription
requestUpdateVPCSCConfigRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskVPCSCConfig

The response to send back to the client (wrapped by a task).