public class ArtifactRegistryClient : ClientBase<ArtifactRegistry.ArtifactRegistryClient>
Client for ArtifactRegistry
Inheritance
Object > ClientBase > ClientBase<ArtifactRegistry.ArtifactRegistryClient> > ArtifactRegistry.ArtifactRegistryClientNamespace
Google.Cloud.ArtifactRegistry.V1Assembly
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 | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
ArtifactRegistryClient(ChannelBase)
public ArtifactRegistryClient(ChannelBase channel)
Creates a new client for ArtifactRegistry
Parameter | |
---|---|
Name | Description |
channel | ChannelBase 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 | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration The client configuration. |
Methods
GetRepository(GetRepositoryRequest, CallOptions)
public virtual Repository GetRepository(GetRepositoryRequest request, CallOptions options)
Gets a repository.
Parameters | |
---|---|
Name | Description |
request | GetRepositoryRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetRepositoryRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Repository | The response received from the server. |
GetRepositoryAsync(GetRepositoryRequest, CallOptions)
public virtual AsyncUnaryCall<Repository> GetRepositoryAsync(GetRepositoryRequest request, CallOptions options)
Gets a repository.
Parameters | |
---|---|
Name | Description |
request | GetRepositoryRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetRepositoryRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Repository> | The call object. |
ListDockerImages(ListDockerImagesRequest, CallOptions)
public virtual ListDockerImagesResponse ListDockerImages(ListDockerImagesRequest request, CallOptions options)
Lists docker images.
Parameters | |
---|---|
Name | Description |
request | ListDockerImagesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListDockerImagesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListDockerImagesResponse | The response received from the server. |
ListDockerImagesAsync(ListDockerImagesRequest, CallOptions)
public virtual AsyncUnaryCall<ListDockerImagesResponse> ListDockerImagesAsync(ListDockerImagesRequest request, CallOptions options)
Lists docker images.
Parameters | |
---|---|
Name | Description |
request | ListDockerImagesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListDockerImagesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListDockerImagesResponse> | The call object. |
ListRepositories(ListRepositoriesRequest, CallOptions)
public virtual ListRepositoriesResponse ListRepositories(ListRepositoriesRequest request, CallOptions options)
Lists repositories.
Parameters | |
---|---|
Name | Description |
request | ListRepositoriesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListRepositoriesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListRepositoriesResponse | The response received from the server. |
ListRepositoriesAsync(ListRepositoriesRequest, CallOptions)
public virtual AsyncUnaryCall<ListRepositoriesResponse> ListRepositoriesAsync(ListRepositoriesRequest request, CallOptions options)
Lists repositories.
Parameters | |
---|---|
Name | Description |
request | ListRepositoriesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListRepositoriesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
ArtifactRegistry.ArtifactRegistryClient |