Class ArtifactRegistryClientImpl (1.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)

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.ArtifactRegistryClient

The underlying gRPC client.

settings ArtifactRegistrySettings

The 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
Overrides

Methods

GetRepository(GetRepositoryRequest, CallSettings)

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

Gets a repository.

Parameters
Name Description
request GetRepositoryRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Repository

The RPC response.

Overrides

GetRepositoryAsync(GetRepositoryRequest, CallSettings)

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

Gets a repository.

Parameters
Name Description
request GetRepositoryRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<Repository>

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
Name Description
request ListDockerImagesRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request ListDockerImagesRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerable<ListDockerImagesResponse, DockerImage>

A pageable asynchronous sequence of DockerImage resources.

Overrides

ListRepositories(ListRepositoriesRequest, CallSettings)

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

Lists repositories.

Parameters
Name Description
request ListRepositoriesRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request ListRepositoriesRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerable<ListRepositoriesResponse, Repository>

A pageable asynchronous sequence of Repository resources.

Overrides