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)
public ArtifactRegistryClientImpl(ArtifactRegistry.ArtifactRegistryClient grpcClient, ArtifactRegistrySettings settings)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. |
Properties
GrpcClient
public override ArtifactRegistry.ArtifactRegistryClient GrpcClient { get; }The underlying gRPC ArtifactRegistry client
| Property Value | |
|---|---|
| Type | Description |
ArtifactRegistry.ArtifactRegistryClient |
|
Methods
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. |
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. |
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. |