Class ArtifactRegistry.ArtifactRegistryClient (1.0.0)

public class ArtifactRegistryClient : ClientBase<ArtifactRegistry.ArtifactRegistryClient>

Client for ArtifactRegistry

Inheritance

Object > ClientBase > ClientBase<ArtifactRegistry.ArtifactRegistryClient> > ArtifactRegistry.ArtifactRegistryClient

Namespace

Google.Cloud.ArtifactRegistry.V1

Assembly

Google.Cloud.ArtifactRegistry.V1.dll

Constructors

ArtifactRegistryClient()

protected ArtifactRegistryClient()

Protected parameterless constructor to allow creation of test doubles.

ArtifactRegistryClient(CallInvoker)

public ArtifactRegistryClient(CallInvoker callInvoker)

Creates a new client for ArtifactRegistry that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

ArtifactRegistryClient(ChannelBase)

public ArtifactRegistryClient(ChannelBase channel)

Creates a new client for ArtifactRegistry

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

ArtifactRegistryClient(ClientBase.ClientBaseConfiguration)

protected ArtifactRegistryClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

GetRepository(GetRepositoryRequest, CallOptions)

public virtual Repository GetRepository(GetRepositoryRequest request, CallOptions options)

Gets a repository.

Parameters
NameDescription
requestGetRepositoryRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Repository

The response received from the server.

GetRepository(GetRepositoryRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Repository GetRepository(GetRepositoryRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets a repository.

Parameters
NameDescription
requestGetRepositoryRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Repository

The response received from the server.

GetRepositoryAsync(GetRepositoryRequest, CallOptions)

public virtual AsyncUnaryCall<Repository> GetRepositoryAsync(GetRepositoryRequest request, CallOptions options)

Gets a repository.

Parameters
NameDescription
requestGetRepositoryRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Repository>

The call object.

GetRepositoryAsync(GetRepositoryRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Repository> GetRepositoryAsync(GetRepositoryRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets a repository.

Parameters
NameDescription
requestGetRepositoryRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Repository>

The call object.

ListDockerImages(ListDockerImagesRequest, CallOptions)

public virtual ListDockerImagesResponse ListDockerImages(ListDockerImagesRequest request, CallOptions options)

Lists docker images.

Parameters
NameDescription
requestListDockerImagesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListDockerImagesResponse

The response received from the server.

ListDockerImages(ListDockerImagesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListDockerImagesResponse ListDockerImages(ListDockerImagesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists docker images.

Parameters
NameDescription
requestListDockerImagesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListDockerImagesResponse

The response received from the server.

ListDockerImagesAsync(ListDockerImagesRequest, CallOptions)

public virtual AsyncUnaryCall<ListDockerImagesResponse> ListDockerImagesAsync(ListDockerImagesRequest request, CallOptions options)

Lists docker images.

Parameters
NameDescription
requestListDockerImagesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListDockerImagesResponse>

The call object.

ListDockerImagesAsync(ListDockerImagesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListDockerImagesResponse> ListDockerImagesAsync(ListDockerImagesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists docker images.

Parameters
NameDescription
requestListDockerImagesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListDockerImagesResponse>

The call object.

ListRepositories(ListRepositoriesRequest, CallOptions)

public virtual ListRepositoriesResponse ListRepositories(ListRepositoriesRequest request, CallOptions options)

Lists repositories.

Parameters
NameDescription
requestListRepositoriesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListRepositoriesResponse

The response received from the server.

ListRepositories(ListRepositoriesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListRepositoriesResponse ListRepositories(ListRepositoriesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists repositories.

Parameters
NameDescription
requestListRepositoriesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListRepositoriesResponse

The response received from the server.

ListRepositoriesAsync(ListRepositoriesRequest, CallOptions)

public virtual AsyncUnaryCall<ListRepositoriesResponse> ListRepositoriesAsync(ListRepositoriesRequest request, CallOptions options)

Lists repositories.

Parameters
NameDescription
requestListRepositoriesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListRepositoriesResponse>

The call object.

ListRepositoriesAsync(ListRepositoriesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListRepositoriesResponse> ListRepositoriesAsync(ListRepositoriesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists repositories.

Parameters
NameDescription
requestListRepositoriesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListRepositoriesResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override ArtifactRegistry.ArtifactRegistryClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
ArtifactRegistry.ArtifactRegistryClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.ArtifactRegistry.V1.ArtifactRegistry.ArtifactRegistryClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)