public sealed class ArtifactRegistryClientImpl : ArtifactRegistryClientArtifactRegistry client wrapper implementation, for convenient use.
Namespace
Google.Cloud.ArtifactRegistry.V1Assembly
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 | |
|---|---|
| Name | Description |
grpcClient |
ArtifactRegistry.ArtifactRegistryClientThe underlying gRPC client. |
settings |
ArtifactRegistrySettingsThe base ArtifactRegistrySettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
CreateRepositoryOperationsClient
public override OperationsClient CreateRepositoryOperationsClient { get; }The long-running operations client for CreateRepository.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeletePackageOperationsClient
public override OperationsClient DeletePackageOperationsClient { get; }The long-running operations client for DeletePackage.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteRepositoryOperationsClient
public override OperationsClient DeleteRepositoryOperationsClient { get; }The long-running operations client for DeleteRepository.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteVersionOperationsClient
public override OperationsClient DeleteVersionOperationsClient { get; }The long-running operations client for DeleteVersion.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
GrpcClient
public override ArtifactRegistry.ArtifactRegistryClient GrpcClient { get; }The underlying gRPC ArtifactRegistry client
| Property Value | |
|---|---|
| Type | Description |
ArtifactRegistry.ArtifactRegistryClient |
|
ImportAptArtifactsOperationsClient
public override OperationsClient ImportAptArtifactsOperationsClient { get; }The long-running operations client for ImportAptArtifacts.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
ImportYumArtifactsOperationsClient
public override OperationsClient ImportYumArtifactsOperationsClient { get; }The long-running operations client for ImportYumArtifacts.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
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 | |
|---|---|
| Name | Description |
request |
CreateRepositoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Operation<Repository, OperationMetadata> |
The RPC response. |
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 | |
|---|---|
| Name | Description |
request |
CreateRepositoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation<Repository, OperationMetadata>> |
A Task containing the RPC response. |
CreateTag(CreateTagRequest, CallSettings)
public override Tag CreateTag(CreateTagRequest request, CallSettings callSettings = null)Creates a tag.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateTagRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Tag |
The RPC response. |
CreateTagAsync(CreateTagRequest, CallSettings)
public override Task<Tag> CreateTagAsync(CreateTagRequest request, CallSettings callSettings = null)Creates a tag.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateTagRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Tag> |
A Task containing the RPC response. |
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 | |
|---|---|
| Name | Description |
request |
DeletePackageRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Operation<Empty, OperationMetadata> |
The RPC response. |
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 | |
|---|---|
| Name | Description |
request |
DeletePackageRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation<Empty, OperationMetadata>> |
A Task containing the RPC response. |
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 | |
|---|---|
| Name | Description |
request |
DeleteRepositoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Operation<Empty, OperationMetadata> |
The RPC response. |
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 | |
|---|---|
| Name | Description |
request |
DeleteRepositoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation<Empty, OperationMetadata>> |
A Task containing the RPC response. |
DeleteTag(DeleteTagRequest, CallSettings)
public override void DeleteTag(DeleteTagRequest request, CallSettings callSettings = null)Deletes a tag.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteTagRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
DeleteTagAsync(DeleteTagRequest, CallSettings)
public override Task DeleteTagAsync(DeleteTagRequest request, CallSettings callSettings = null)Deletes a tag.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteTagRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
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 | |
|---|---|
| Name | Description |
request |
DeleteVersionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Operation<Empty, OperationMetadata> |
The RPC response. |
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 | |
|---|---|
| Name | Description |
request |
DeleteVersionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation<Empty, OperationMetadata>> |
A Task containing the RPC response. |
GetDockerImage(GetDockerImageRequest, CallSettings)
public override DockerImage GetDockerImage(GetDockerImageRequest request, CallSettings callSettings = null)Gets a docker image.
| Parameters | |
|---|---|
| Name | Description |
request |
GetDockerImageRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
DockerImage |
The RPC response. |
GetDockerImageAsync(GetDockerImageRequest, CallSettings)
public override Task<DockerImage> GetDockerImageAsync(GetDockerImageRequest request, CallSettings callSettings = null)Gets a docker image.
| Parameters | |
|---|---|
| Name | Description |
request |
GetDockerImageRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<DockerImage> |
A Task containing the RPC response. |
GetFile(GetFileRequest, CallSettings)
public override File GetFile(GetFileRequest request, CallSettings callSettings = null)Gets a file.
| Parameters | |
|---|---|
| Name | Description |
request |
GetFileRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
File |
The RPC response. |
GetFileAsync(GetFileRequest, CallSettings)
public override Task<File> GetFileAsync(GetFileRequest request, CallSettings callSettings = null)Gets a file.
| Parameters | |
|---|---|
| Name | Description |
request |
GetFileRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<File> |
A Task containing the RPC response. |
GetIamPolicy(GetIamPolicyRequest, CallSettings)
public override Policy GetIamPolicy(GetIamPolicyRequest request, CallSettings callSettings = null)Gets the IAM policy for a given resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetIamPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Policy |
The RPC response. |
GetIamPolicyAsync(GetIamPolicyRequest, CallSettings)
public override Task<Policy> GetIamPolicyAsync(GetIamPolicyRequest request, CallSettings callSettings = null)Gets the IAM policy for a given resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetIamPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Policy> |
A Task containing the RPC response. |
GetPackage(GetPackageRequest, CallSettings)
public override Package GetPackage(GetPackageRequest request, CallSettings callSettings = null)Gets a package.
| Parameters | |
|---|---|
| Name | Description |
request |
GetPackageRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Package |
The RPC response. |
GetPackageAsync(GetPackageRequest, CallSettings)
public override Task<Package> GetPackageAsync(GetPackageRequest request, CallSettings callSettings = null)Gets a package.
| Parameters | |
|---|---|
| Name | Description |
request |
GetPackageRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Package> |
A Task containing the RPC response. |
GetProjectSettings(GetProjectSettingsRequest, CallSettings)
public override ProjectSettings GetProjectSettings(GetProjectSettingsRequest request, CallSettings callSettings = null)Retrieves the Settings for the Project.
| Parameters | |
|---|---|
| Name | Description |
request |
GetProjectSettingsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ProjectSettings |
The RPC response. |
GetProjectSettingsAsync(GetProjectSettingsRequest, CallSettings)
public override Task<ProjectSettings> GetProjectSettingsAsync(GetProjectSettingsRequest request, CallSettings callSettings = null)Retrieves the Settings for the Project.
| Parameters | |
|---|---|
| Name | Description |
request |
GetProjectSettingsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<ProjectSettings> |
A Task containing the RPC response. |
GetRepository(GetRepositoryRequest, CallSettings)
public override Repository GetRepository(GetRepositoryRequest request, CallSettings callSettings = null)Gets a repository.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRepositoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Repository |
The RPC response. |
GetRepositoryAsync(GetRepositoryRequest, CallSettings)
public override Task<Repository> GetRepositoryAsync(GetRepositoryRequest request, CallSettings callSettings = null)Gets a repository.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRepositoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Repository> |
A Task containing the RPC response. |
GetTag(GetTagRequest, CallSettings)
public override Tag GetTag(GetTagRequest request, CallSettings callSettings = null)Gets a tag.
| Parameters | |
|---|---|
| Name | Description |
request |
GetTagRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Tag |
The RPC response. |
GetTagAsync(GetTagRequest, CallSettings)
public override Task<Tag> GetTagAsync(GetTagRequest request, CallSettings callSettings = null)Gets a tag.
| Parameters | |
|---|---|
| Name | Description |
request |
GetTagRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Tag> |
A Task containing the RPC response. |
GetVersion(GetVersionRequest, CallSettings)
public override Version GetVersion(GetVersionRequest request, CallSettings callSettings = null)Gets a version
| Parameters | |
|---|---|
| Name | Description |
request |
GetVersionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Version |
The RPC response. |
GetVersionAsync(GetVersionRequest, CallSettings)
public override Task<Version> GetVersionAsync(GetVersionRequest request, CallSettings callSettings = null)Gets a version
| Parameters | |
|---|---|
| Name | Description |
request |
GetVersionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Version> |
A Task containing the RPC response. |
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 | |
|---|---|
| Name | Description |
request |
ImportAptArtifactsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Operation<ImportAptArtifactsResponse, ImportAptArtifactsMetadata> |
The RPC response. |
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 | |
|---|---|
| Name | Description |
request |
ImportAptArtifactsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation<ImportAptArtifactsResponse, ImportAptArtifactsMetadata>> |
A Task containing the RPC response. |
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 | |
|---|---|
| Name | Description |
request |
ImportYumArtifactsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Operation<ImportYumArtifactsResponse, ImportYumArtifactsMetadata> |
The RPC response. |
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 | |
|---|---|
| Name | Description |
request |
ImportYumArtifactsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation<ImportYumArtifactsResponse, ImportYumArtifactsMetadata>> |
A Task containing the RPC response. |
ListDockerImages(ListDockerImagesRequest, CallSettings)
public override PagedEnumerable<ListDockerImagesResponse, DockerImage> ListDockerImages(ListDockerImagesRequest request, CallSettings callSettings = null)Lists docker images.
| Parameters | |
|---|---|
| Name | Description |
request |
ListDockerImagesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerable<ListDockerImagesResponse, DockerImage> |
A pageable sequence of DockerImage resources. |
ListDockerImagesAsync(ListDockerImagesRequest, CallSettings)
public override PagedAsyncEnumerable<ListDockerImagesResponse, DockerImage> ListDockerImagesAsync(ListDockerImagesRequest request, CallSettings callSettings = null)Lists docker images.
| Parameters | |
|---|---|
| Name | Description |
request |
ListDockerImagesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerable<ListDockerImagesResponse, DockerImage> |
A pageable asynchronous sequence of DockerImage resources. |
ListFiles(ListFilesRequest, CallSettings)
public override PagedEnumerable<ListFilesResponse, File> ListFiles(ListFilesRequest request, CallSettings callSettings = null)Lists files.
| Parameters | |
|---|---|
| Name | Description |
request |
ListFilesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerable<ListFilesResponse, File> |
A pageable sequence of File resources. |
ListFilesAsync(ListFilesRequest, CallSettings)
public override PagedAsyncEnumerable<ListFilesResponse, File> ListFilesAsync(ListFilesRequest request, CallSettings callSettings = null)Lists files.
| Parameters | |
|---|---|
| Name | Description |
request |
ListFilesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerable<ListFilesResponse, File> |
A pageable asynchronous sequence of File resources. |
ListPackages(ListPackagesRequest, CallSettings)
public override PagedEnumerable<ListPackagesResponse, Package> ListPackages(ListPackagesRequest request, CallSettings callSettings = null)Lists packages.
| Parameters | |
|---|---|
| Name | Description |
request |
ListPackagesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerable<ListPackagesResponse, Package> |
A pageable sequence of Package resources. |
ListPackagesAsync(ListPackagesRequest, CallSettings)
public override PagedAsyncEnumerable<ListPackagesResponse, Package> ListPackagesAsync(ListPackagesRequest request, CallSettings callSettings = null)Lists packages.
| Parameters | |
|---|---|
| Name | Description |
request |
ListPackagesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerable<ListPackagesResponse, Package> |
A pageable asynchronous sequence of Package resources. |
ListRepositories(ListRepositoriesRequest, CallSettings)
public override PagedEnumerable<ListRepositoriesResponse, Repository> ListRepositories(ListRepositoriesRequest request, CallSettings callSettings = null)Lists repositories.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRepositoriesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerable<ListRepositoriesResponse, Repository> |
A pageable sequence of Repository resources. |
ListRepositoriesAsync(ListRepositoriesRequest, CallSettings)
public override PagedAsyncEnumerable<ListRepositoriesResponse, Repository> ListRepositoriesAsync(ListRepositoriesRequest request, CallSettings callSettings = null)Lists repositories.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRepositoriesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerable<ListRepositoriesResponse, Repository> |
A pageable asynchronous sequence of Repository resources. |
ListTags(ListTagsRequest, CallSettings)
public override PagedEnumerable<ListTagsResponse, Tag> ListTags(ListTagsRequest request, CallSettings callSettings = null)Lists tags.
| Parameters | |
|---|---|
| Name | Description |
request |
ListTagsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerable<ListTagsResponse, Tag> |
A pageable sequence of Tag resources. |
ListTagsAsync(ListTagsRequest, CallSettings)
public override PagedAsyncEnumerable<ListTagsResponse, Tag> ListTagsAsync(ListTagsRequest request, CallSettings callSettings = null)Lists tags.
| Parameters | |
|---|---|
| Name | Description |
request |
ListTagsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerable<ListTagsResponse, Tag> |
A pageable asynchronous sequence of Tag resources. |
ListVersions(ListVersionsRequest, CallSettings)
public override PagedEnumerable<ListVersionsResponse, Version> ListVersions(ListVersionsRequest request, CallSettings callSettings = null)Lists versions.
| Parameters | |
|---|---|
| Name | Description |
request |
ListVersionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerable<ListVersionsResponse, Version> |
A pageable sequence of Version resources. |
ListVersionsAsync(ListVersionsRequest, CallSettings)
public override PagedAsyncEnumerable<ListVersionsResponse, Version> ListVersionsAsync(ListVersionsRequest request, CallSettings callSettings = null)Lists versions.
| Parameters | |
|---|---|
| Name | Description |
request |
ListVersionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerable<ListVersionsResponse, Version> |
A pageable asynchronous sequence of Version resources. |
SetIamPolicy(SetIamPolicyRequest, CallSettings)
public override Policy SetIamPolicy(SetIamPolicyRequest request, CallSettings callSettings = null)Updates the IAM policy for a given resource.
| Parameters | |
|---|---|
| Name | Description |
request |
SetIamPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Policy |
The RPC response. |
SetIamPolicyAsync(SetIamPolicyRequest, CallSettings)
public override Task<Policy> SetIamPolicyAsync(SetIamPolicyRequest request, CallSettings callSettings = null)Updates the IAM policy for a given resource.
| Parameters | |
|---|---|
| Name | Description |
request |
SetIamPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Policy> |
A Task containing the RPC response. |
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 | |
|---|---|
| Name | Description |
request |
TestIamPermissionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TestIamPermissionsResponse |
The RPC response. |
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 | |
|---|---|
| Name | Description |
request |
TestIamPermissionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<TestIamPermissionsResponse> |
A Task containing the RPC response. |
UpdateProjectSettings(UpdateProjectSettingsRequest, CallSettings)
public override ProjectSettings UpdateProjectSettings(UpdateProjectSettingsRequest request, CallSettings callSettings = null)Updates the Settings for the Project.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateProjectSettingsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ProjectSettings |
The RPC response. |
UpdateProjectSettingsAsync(UpdateProjectSettingsRequest, CallSettings)
public override Task<ProjectSettings> UpdateProjectSettingsAsync(UpdateProjectSettingsRequest request, CallSettings callSettings = null)Updates the Settings for the Project.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateProjectSettingsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<ProjectSettings> |
A Task containing the RPC response. |
UpdateRepository(UpdateRepositoryRequest, CallSettings)
public override Repository UpdateRepository(UpdateRepositoryRequest request, CallSettings callSettings = null)Updates a repository.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateRepositoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Repository |
The RPC response. |
UpdateRepositoryAsync(UpdateRepositoryRequest, CallSettings)
public override Task<Repository> UpdateRepositoryAsync(UpdateRepositoryRequest request, CallSettings callSettings = null)Updates a repository.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateRepositoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Repository> |
A Task containing the RPC response. |
UpdateTag(UpdateTagRequest, CallSettings)
public override Tag UpdateTag(UpdateTagRequest request, CallSettings callSettings = null)Updates a tag.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateTagRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Tag |
The RPC response. |
UpdateTagAsync(UpdateTagRequest, CallSettings)
public override Task<Tag> UpdateTagAsync(UpdateTagRequest request, CallSettings callSettings = null)Updates a tag.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateTagRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Tag> |
A Task containing the RPC response. |