Class ArtifactRegistryClientImpl (2.0.0)

public sealed class ArtifactRegistryClientImpl : ArtifactRegistryClient

ArtifactRegistry client wrapper implementation, for convenient use.

Inheritance

Object > ArtifactRegistryClient > ArtifactRegistryClientImpl

Namespace

Google.Cloud.ArtifactRegistry.V1

Assembly

Google.Cloud.ArtifactRegistry.V1.dll

Remarks

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.

Constructors

ArtifactRegistryClientImpl(ArtifactRegistry.ArtifactRegistryClient, ArtifactRegistrySettings, ILogger)

public ArtifactRegistryClientImpl(ArtifactRegistry.ArtifactRegistryClient grpcClient, ArtifactRegistrySettings settings, ILogger logger)

Constructs a client wrapper for the ArtifactRegistry service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientArtifactRegistry.ArtifactRegistryClient

The underlying gRPC client.

settingsArtifactRegistrySettings

The base ArtifactRegistrySettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

CreateRepositoryOperationsClient

public override OperationsClient CreateRepositoryOperationsClient { get; }

The long-running operations client for CreateRepository.

Property Value
TypeDescription
OperationsClient
Overrides

DeletePackageOperationsClient

public override OperationsClient DeletePackageOperationsClient { get; }

The long-running operations client for DeletePackage.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteRepositoryOperationsClient

public override OperationsClient DeleteRepositoryOperationsClient { get; }

The long-running operations client for DeleteRepository.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteVersionOperationsClient

public override OperationsClient DeleteVersionOperationsClient { get; }

The long-running operations client for DeleteVersion.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override ArtifactRegistry.ArtifactRegistryClient GrpcClient { get; }

The underlying gRPC ArtifactRegistry client

Property Value
TypeDescription
ArtifactRegistry.ArtifactRegistryClient
Overrides

ImportAptArtifactsOperationsClient

public override OperationsClient ImportAptArtifactsOperationsClient { get; }

The long-running operations client for ImportAptArtifacts.

Property Value
TypeDescription
OperationsClient
Overrides

ImportYumArtifactsOperationsClient

public override OperationsClient ImportYumArtifactsOperationsClient { get; }

The long-running operations client for ImportYumArtifacts.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

CreateRepository(CreateRepositoryRequest, CallSettings)

public override Operation<Repository, OperationMetadata> CreateRepository(CreateRepositoryRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Repository, OperationMetadata>

The RPC response.

Overrides

CreateRepositoryAsync(CreateRepositoryRequest, CallSettings)

public override async Task<Operation<Repository, OperationMetadata>> CreateRepositoryAsync(CreateRepositoryRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Repository, OperationMetadata>>

A Task containing the RPC response.

Overrides

CreateTag(CreateTagRequest, CallSettings)

public override Tag CreateTag(CreateTagRequest request, CallSettings callSettings = null)

Creates a tag.

Parameters
NameDescription
requestCreateTagRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Tag

The RPC response.

Overrides

CreateTagAsync(CreateTagRequest, CallSettings)

public override Task<Tag> CreateTagAsync(CreateTagRequest request, CallSettings callSettings = null)

Creates a tag.

Parameters
NameDescription
requestCreateTagRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Tag>

A Task containing the RPC response.

Overrides

DeletePackage(DeletePackageRequest, CallSettings)

public override Operation<Empty, OperationMetadata> DeletePackage(DeletePackageRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, OperationMetadata>

The RPC response.

Overrides

DeletePackageAsync(DeletePackageRequest, CallSettings)

public override async Task<Operation<Empty, OperationMetadata>> DeletePackageAsync(DeletePackageRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, OperationMetadata>>

A Task containing the RPC response.

Overrides

DeleteRepository(DeleteRepositoryRequest, CallSettings)

public override Operation<Empty, OperationMetadata> DeleteRepository(DeleteRepositoryRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, OperationMetadata>

The RPC response.

Overrides

DeleteRepositoryAsync(DeleteRepositoryRequest, CallSettings)

public override async Task<Operation<Empty, OperationMetadata>> DeleteRepositoryAsync(DeleteRepositoryRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, OperationMetadata>>

A Task containing the RPC response.

Overrides

DeleteTag(DeleteTagRequest, CallSettings)

public override void DeleteTag(DeleteTagRequest request, CallSettings callSettings = null)

Deletes a tag.

Parameters
NameDescription
requestDeleteTagRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteTagAsync(DeleteTagRequest, CallSettings)

public override Task DeleteTagAsync(DeleteTagRequest request, CallSettings callSettings = null)

Deletes a tag.

Parameters
NameDescription
requestDeleteTagRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Overrides

DeleteVersion(DeleteVersionRequest, CallSettings)

public override Operation<Empty, OperationMetadata> DeleteVersion(DeleteVersionRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestDeleteVersionRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, OperationMetadata>

The RPC response.

Overrides

DeleteVersionAsync(DeleteVersionRequest, CallSettings)

public override async Task<Operation<Empty, OperationMetadata>> DeleteVersionAsync(DeleteVersionRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestDeleteVersionRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, OperationMetadata>>

A Task containing the RPC response.

Overrides

GetDockerImage(GetDockerImageRequest, CallSettings)

public override DockerImage GetDockerImage(GetDockerImageRequest request, CallSettings callSettings = null)

Gets a docker image.

Parameters
NameDescription
requestGetDockerImageRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
DockerImage

The RPC response.

Overrides

GetDockerImageAsync(GetDockerImageRequest, CallSettings)

public override Task<DockerImage> GetDockerImageAsync(GetDockerImageRequest request, CallSettings callSettings = null)

Gets a docker image.

Parameters
NameDescription
requestGetDockerImageRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<DockerImage>

A Task containing the RPC response.

Overrides

GetFile(GetFileRequest, CallSettings)

public override File GetFile(GetFileRequest request, CallSettings callSettings = null)

Gets a file.

Parameters
NameDescription
requestGetFileRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
File

The RPC response.

Overrides

GetFileAsync(GetFileRequest, CallSettings)

public override Task<File> GetFileAsync(GetFileRequest request, CallSettings callSettings = null)

Gets a file.

Parameters
NameDescription
requestGetFileRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<File>

A Task containing the RPC response.

Overrides

GetIamPolicy(GetIamPolicyRequest, CallSettings)

public override Policy GetIamPolicy(GetIamPolicyRequest request, CallSettings callSettings = null)

Gets the IAM policy for a given resource.

Parameters
NameDescription
requestGetIamPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Policy

The RPC response.

Overrides

GetIamPolicyAsync(GetIamPolicyRequest, CallSettings)

public override Task<Policy> GetIamPolicyAsync(GetIamPolicyRequest request, CallSettings callSettings = null)

Gets the IAM policy for a given resource.

Parameters
NameDescription
requestGetIamPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Policy>

A Task containing the RPC response.

Overrides

GetPackage(GetPackageRequest, CallSettings)

public override Package GetPackage(GetPackageRequest request, CallSettings callSettings = null)

Gets a package.

Parameters
NameDescription
requestGetPackageRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Package

The RPC response.

Overrides

GetPackageAsync(GetPackageRequest, CallSettings)

public override Task<Package> GetPackageAsync(GetPackageRequest request, CallSettings callSettings = null)

Gets a package.

Parameters
NameDescription
requestGetPackageRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Package>

A Task containing the RPC response.

Overrides

GetProjectSettings(GetProjectSettingsRequest, CallSettings)

public override ProjectSettings GetProjectSettings(GetProjectSettingsRequest request, CallSettings callSettings = null)

Retrieves the Settings for the Project.

Parameters
NameDescription
requestGetProjectSettingsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ProjectSettings

The RPC response.

Overrides

GetProjectSettingsAsync(GetProjectSettingsRequest, CallSettings)

public override Task<ProjectSettings> GetProjectSettingsAsync(GetProjectSettingsRequest request, CallSettings callSettings = null)

Retrieves the Settings for the Project.

Parameters
NameDescription
requestGetProjectSettingsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<ProjectSettings>

A Task containing the RPC response.

Overrides

GetRepository(GetRepositoryRequest, CallSettings)

public override Repository GetRepository(GetRepositoryRequest request, CallSettings callSettings = null)

Gets a repository.

Parameters
NameDescription
requestGetRepositoryRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Repository

The RPC response.

Overrides

GetRepositoryAsync(GetRepositoryRequest, CallSettings)

public override Task<Repository> GetRepositoryAsync(GetRepositoryRequest request, CallSettings callSettings = null)

Gets a repository.

Parameters
NameDescription
requestGetRepositoryRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Repository>

A Task containing the RPC response.

Overrides

GetTag(GetTagRequest, CallSettings)

public override Tag GetTag(GetTagRequest request, CallSettings callSettings = null)

Gets a tag.

Parameters
NameDescription
requestGetTagRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Tag

The RPC response.

Overrides

GetTagAsync(GetTagRequest, CallSettings)

public override Task<Tag> GetTagAsync(GetTagRequest request, CallSettings callSettings = null)

Gets a tag.

Parameters
NameDescription
requestGetTagRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Tag>

A Task containing the RPC response.

Overrides

GetVersion(GetVersionRequest, CallSettings)

public override Version GetVersion(GetVersionRequest request, CallSettings callSettings = null)

Gets a version

Parameters
NameDescription
requestGetVersionRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Version

The RPC response.

Overrides

GetVersionAsync(GetVersionRequest, CallSettings)

public override Task<Version> GetVersionAsync(GetVersionRequest request, CallSettings callSettings = null)

Gets a version

Parameters
NameDescription
requestGetVersionRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Version>

A Task containing the RPC response.

Overrides

ImportAptArtifacts(ImportAptArtifactsRequest, CallSettings)

public override Operation<ImportAptArtifactsResponse, ImportAptArtifactsMetadata> ImportAptArtifacts(ImportAptArtifactsRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<ImportAptArtifactsResponse, ImportAptArtifactsMetadata>

The RPC response.

Overrides

ImportAptArtifactsAsync(ImportAptArtifactsRequest, CallSettings)

public override async Task<Operation<ImportAptArtifactsResponse, ImportAptArtifactsMetadata>> ImportAptArtifactsAsync(ImportAptArtifactsRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<ImportAptArtifactsResponse, ImportAptArtifactsMetadata>>

A Task containing the RPC response.

Overrides

ImportYumArtifacts(ImportYumArtifactsRequest, CallSettings)

public override Operation<ImportYumArtifactsResponse, ImportYumArtifactsMetadata> ImportYumArtifacts(ImportYumArtifactsRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<ImportYumArtifactsResponse, ImportYumArtifactsMetadata>

The RPC response.

Overrides

ImportYumArtifactsAsync(ImportYumArtifactsRequest, CallSettings)

public override async Task<Operation<ImportYumArtifactsResponse, ImportYumArtifactsMetadata>> ImportYumArtifactsAsync(ImportYumArtifactsRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<ImportYumArtifactsResponse, ImportYumArtifactsMetadata>>

A Task containing the RPC response.

Overrides

ListDockerImages(ListDockerImagesRequest, CallSettings)

public override PagedEnumerable<ListDockerImagesResponse, DockerImage> ListDockerImages(ListDockerImagesRequest request, CallSettings callSettings = null)

Lists docker images.

Parameters
NameDescription
requestListDockerImagesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListDockerImagesResponse, DockerImage>

A pageable sequence of DockerImage resources.

Overrides

ListDockerImagesAsync(ListDockerImagesRequest, CallSettings)

public override PagedAsyncEnumerable<ListDockerImagesResponse, DockerImage> ListDockerImagesAsync(ListDockerImagesRequest request, CallSettings callSettings = null)

Lists docker images.

Parameters
NameDescription
requestListDockerImagesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListDockerImagesResponse, DockerImage>

A pageable asynchronous sequence of DockerImage resources.

Overrides

ListFiles(ListFilesRequest, CallSettings)

public override PagedEnumerable<ListFilesResponse, File> ListFiles(ListFilesRequest request, CallSettings callSettings = null)

Lists files.

Parameters
NameDescription
requestListFilesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListFilesResponse, File>

A pageable sequence of File resources.

Overrides

ListFilesAsync(ListFilesRequest, CallSettings)

public override PagedAsyncEnumerable<ListFilesResponse, File> ListFilesAsync(ListFilesRequest request, CallSettings callSettings = null)

Lists files.

Parameters
NameDescription
requestListFilesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListFilesResponse, File>

A pageable asynchronous sequence of File resources.

Overrides

ListPackages(ListPackagesRequest, CallSettings)

public override PagedEnumerable<ListPackagesResponse, Package> ListPackages(ListPackagesRequest request, CallSettings callSettings = null)

Lists packages.

Parameters
NameDescription
requestListPackagesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListPackagesResponse, Package>

A pageable sequence of Package resources.

Overrides

ListPackagesAsync(ListPackagesRequest, CallSettings)

public override PagedAsyncEnumerable<ListPackagesResponse, Package> ListPackagesAsync(ListPackagesRequest request, CallSettings callSettings = null)

Lists packages.

Parameters
NameDescription
requestListPackagesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListPackagesResponse, Package>

A pageable asynchronous sequence of Package resources.

Overrides

ListRepositories(ListRepositoriesRequest, CallSettings)

public override PagedEnumerable<ListRepositoriesResponse, Repository> ListRepositories(ListRepositoriesRequest request, CallSettings callSettings = null)

Lists repositories.

Parameters
NameDescription
requestListRepositoriesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListRepositoriesResponse, Repository>

A pageable sequence of Repository resources.

Overrides

ListRepositoriesAsync(ListRepositoriesRequest, CallSettings)

public override PagedAsyncEnumerable<ListRepositoriesResponse, Repository> ListRepositoriesAsync(ListRepositoriesRequest request, CallSettings callSettings = null)

Lists repositories.

Parameters
NameDescription
requestListRepositoriesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListRepositoriesResponse, Repository>

A pageable asynchronous sequence of Repository resources.

Overrides

ListTags(ListTagsRequest, CallSettings)

public override PagedEnumerable<ListTagsResponse, Tag> ListTags(ListTagsRequest request, CallSettings callSettings = null)

Lists tags.

Parameters
NameDescription
requestListTagsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListTagsResponse, Tag>

A pageable sequence of Tag resources.

Overrides

ListTagsAsync(ListTagsRequest, CallSettings)

public override PagedAsyncEnumerable<ListTagsResponse, Tag> ListTagsAsync(ListTagsRequest request, CallSettings callSettings = null)

Lists tags.

Parameters
NameDescription
requestListTagsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListTagsResponse, Tag>

A pageable asynchronous sequence of Tag resources.

Overrides

ListVersions(ListVersionsRequest, CallSettings)

public override PagedEnumerable<ListVersionsResponse, Version> ListVersions(ListVersionsRequest request, CallSettings callSettings = null)

Lists versions.

Parameters
NameDescription
requestListVersionsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListVersionsResponse, Version>

A pageable sequence of Version resources.

Overrides

ListVersionsAsync(ListVersionsRequest, CallSettings)

public override PagedAsyncEnumerable<ListVersionsResponse, Version> ListVersionsAsync(ListVersionsRequest request, CallSettings callSettings = null)

Lists versions.

Parameters
NameDescription
requestListVersionsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListVersionsResponse, Version>

A pageable asynchronous sequence of Version resources.

Overrides

SetIamPolicy(SetIamPolicyRequest, CallSettings)

public override Policy SetIamPolicy(SetIamPolicyRequest request, CallSettings callSettings = null)

Updates the IAM policy for a given resource.

Parameters
NameDescription
requestSetIamPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Policy

The RPC response.

Overrides

SetIamPolicyAsync(SetIamPolicyRequest, CallSettings)

public override Task<Policy> SetIamPolicyAsync(SetIamPolicyRequest request, CallSettings callSettings = null)

Updates the IAM policy for a given resource.

Parameters
NameDescription
requestSetIamPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Policy>

A Task containing the RPC response.

Overrides

TestIamPermissions(TestIamPermissionsRequest, CallSettings)

public override TestIamPermissionsResponse TestIamPermissions(TestIamPermissionsRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestTestIamPermissionsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TestIamPermissionsResponse

The RPC response.

Overrides

TestIamPermissionsAsync(TestIamPermissionsRequest, CallSettings)

public override Task<TestIamPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestTestIamPermissionsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<TestIamPermissionsResponse>

A Task containing the RPC response.

Overrides

UpdateProjectSettings(UpdateProjectSettingsRequest, CallSettings)

public override ProjectSettings UpdateProjectSettings(UpdateProjectSettingsRequest request, CallSettings callSettings = null)

Updates the Settings for the Project.

Parameters
NameDescription
requestUpdateProjectSettingsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ProjectSettings

The RPC response.

Overrides

UpdateProjectSettingsAsync(UpdateProjectSettingsRequest, CallSettings)

public override Task<ProjectSettings> UpdateProjectSettingsAsync(UpdateProjectSettingsRequest request, CallSettings callSettings = null)

Updates the Settings for the Project.

Parameters
NameDescription
requestUpdateProjectSettingsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<ProjectSettings>

A Task containing the RPC response.

Overrides

UpdateRepository(UpdateRepositoryRequest, CallSettings)

public override Repository UpdateRepository(UpdateRepositoryRequest request, CallSettings callSettings = null)

Updates a repository.

Parameters
NameDescription
requestUpdateRepositoryRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Repository

The RPC response.

Overrides

UpdateRepositoryAsync(UpdateRepositoryRequest, CallSettings)

public override Task<Repository> UpdateRepositoryAsync(UpdateRepositoryRequest request, CallSettings callSettings = null)

Updates a repository.

Parameters
NameDescription
requestUpdateRepositoryRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Repository>

A Task containing the RPC response.

Overrides

UpdateTag(UpdateTagRequest, CallSettings)

public override Tag UpdateTag(UpdateTagRequest request, CallSettings callSettings = null)

Updates a tag.

Parameters
NameDescription
requestUpdateTagRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Tag

The RPC response.

Overrides

UpdateTagAsync(UpdateTagRequest, CallSettings)

public override Task<Tag> UpdateTagAsync(UpdateTagRequest request, CallSettings callSettings = null)

Updates a tag.

Parameters
NameDescription
requestUpdateTagRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Tag>

A Task containing the RPC response.

Overrides