Artifact Registry v1 API - Class ArtifactRegistry.ArtifactRegistryClient (2.1.0)

Stay organized with collections Save and categorize content based on your preferences.
public class ArtifactRegistryClient : ClientBase<ArtifactRegistry.ArtifactRegistryClient>

Reference documentation and code samples for the Artifact Registry v1 API class 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

CreateLocationsClient()

public virtual Locations.LocationsClient CreateLocationsClient()

Creates a new instance of Locations.LocationsClient using the same call invoker as this client.

Returns
TypeDescription
Locations.LocationsClient

A new Locations.LocationsClient for the same target as this client.

CreateOperationsClient()

public virtual Operations.OperationsClient CreateOperationsClient()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client.

Returns
TypeDescription
Operations.OperationsClient

A new Operations client for the same target as this client.

CreateRepository(CreateRepositoryRequest, CallOptions)

public virtual Operation CreateRepository(CreateRepositoryRequest request, CallOptions options)

Creates a repository. The returned Operation will finish once the repository has been created. Its response will be the created Repository.

Parameters
NameDescription
requestCreateRepositoryRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateRepository(CreateRepositoryRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation CreateRepository(CreateRepositoryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Creates a repository. The returned Operation will finish once the repository has been created. Its response will be the created Repository.

Parameters
NameDescription
requestCreateRepositoryRequest

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
Operation

The response received from the server.

CreateRepositoryAsync(CreateRepositoryRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateRepositoryAsync(CreateRepositoryRequest request, CallOptions options)

Creates a repository. The returned Operation will finish once the repository has been created. Its response will be the created Repository.

Parameters
NameDescription
requestCreateRepositoryRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

CreateRepositoryAsync(CreateRepositoryRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateRepositoryAsync(CreateRepositoryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Creates a repository. The returned Operation will finish once the repository has been created. Its response will be the created Repository.

Parameters
NameDescription
requestCreateRepositoryRequest

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<Operation>

The call object.

CreateTag(CreateTagRequest, CallOptions)

public virtual Tag CreateTag(CreateTagRequest request, CallOptions options)

Creates a tag.

Parameters
NameDescription
requestCreateTagRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Tag

The response received from the server.

CreateTag(CreateTagRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Tag CreateTag(CreateTagRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Creates a tag.

Parameters
NameDescription
requestCreateTagRequest

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
Tag

The response received from the server.

CreateTagAsync(CreateTagRequest, CallOptions)

public virtual AsyncUnaryCall<Tag> CreateTagAsync(CreateTagRequest request, CallOptions options)

Creates a tag.

Parameters
NameDescription
requestCreateTagRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Tag>

The call object.

CreateTagAsync(CreateTagRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Tag> CreateTagAsync(CreateTagRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Creates a tag.

Parameters
NameDescription
requestCreateTagRequest

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<Tag>

The call object.

DeletePackage(DeletePackageRequest, CallOptions)

public virtual Operation DeletePackage(DeletePackageRequest request, CallOptions options)

Deletes a package and all of its versions and tags. The returned operation will complete once the package has been deleted.

Parameters
NameDescription
requestDeletePackageRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeletePackage(DeletePackageRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation DeletePackage(DeletePackageRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Deletes a package and all of its versions and tags. The returned operation will complete once the package has been deleted.

Parameters
NameDescription
requestDeletePackageRequest

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
Operation

The response received from the server.

DeletePackageAsync(DeletePackageRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeletePackageAsync(DeletePackageRequest request, CallOptions options)

Deletes a package and all of its versions and tags. The returned operation will complete once the package has been deleted.

Parameters
NameDescription
requestDeletePackageRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

DeletePackageAsync(DeletePackageRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeletePackageAsync(DeletePackageRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Deletes a package and all of its versions and tags. The returned operation will complete once the package has been deleted.

Parameters
NameDescription
requestDeletePackageRequest

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<Operation>

The call object.

DeleteRepository(DeleteRepositoryRequest, CallOptions)

public virtual Operation DeleteRepository(DeleteRepositoryRequest request, CallOptions options)

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
NameDescription
requestDeleteRepositoryRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteRepository(DeleteRepositoryRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation DeleteRepository(DeleteRepositoryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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
NameDescription
requestDeleteRepositoryRequest

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
Operation

The response received from the server.

DeleteRepositoryAsync(DeleteRepositoryRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteRepositoryAsync(DeleteRepositoryRequest request, CallOptions options)

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
NameDescription
requestDeleteRepositoryRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

DeleteRepositoryAsync(DeleteRepositoryRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteRepositoryAsync(DeleteRepositoryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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
NameDescription
requestDeleteRepositoryRequest

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<Operation>

The call object.

DeleteTag(DeleteTagRequest, CallOptions)

public virtual Empty DeleteTag(DeleteTagRequest request, CallOptions options)

Deletes a tag.

Parameters
NameDescription
requestDeleteTagRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteTag(DeleteTagRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Empty DeleteTag(DeleteTagRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Deletes a tag.

Parameters
NameDescription
requestDeleteTagRequest

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
Empty

The response received from the server.

DeleteTagAsync(DeleteTagRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteTagAsync(DeleteTagRequest request, CallOptions options)

Deletes a tag.

Parameters
NameDescription
requestDeleteTagRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

DeleteTagAsync(DeleteTagRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteTagAsync(DeleteTagRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Deletes a tag.

Parameters
NameDescription
requestDeleteTagRequest

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<Empty>

The call object.

DeleteVersion(DeleteVersionRequest, CallOptions)

public virtual Operation DeleteVersion(DeleteVersionRequest request, CallOptions options)

Deletes a version and all of its content. The returned operation will complete once the version has been deleted.

Parameters
NameDescription
requestDeleteVersionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteVersion(DeleteVersionRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation DeleteVersion(DeleteVersionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Deletes a version and all of its content. The returned operation will complete once the version has been deleted.

Parameters
NameDescription
requestDeleteVersionRequest

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
Operation

The response received from the server.

DeleteVersionAsync(DeleteVersionRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteVersionAsync(DeleteVersionRequest request, CallOptions options)

Deletes a version and all of its content. The returned operation will complete once the version has been deleted.

Parameters
NameDescription
requestDeleteVersionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

DeleteVersionAsync(DeleteVersionRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteVersionAsync(DeleteVersionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Deletes a version and all of its content. The returned operation will complete once the version has been deleted.

Parameters
NameDescription
requestDeleteVersionRequest

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<Operation>

The call object.

GetDockerImage(GetDockerImageRequest, CallOptions)

public virtual DockerImage GetDockerImage(GetDockerImageRequest request, CallOptions options)

Gets a docker image.

Parameters
NameDescription
requestGetDockerImageRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
DockerImage

The response received from the server.

GetDockerImage(GetDockerImageRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual DockerImage GetDockerImage(GetDockerImageRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Gets a docker image.

Parameters
NameDescription
requestGetDockerImageRequest

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
DockerImage

The response received from the server.

GetDockerImageAsync(GetDockerImageRequest, CallOptions)

public virtual AsyncUnaryCall<DockerImage> GetDockerImageAsync(GetDockerImageRequest request, CallOptions options)

Gets a docker image.

Parameters
NameDescription
requestGetDockerImageRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<DockerImage>

The call object.

GetDockerImageAsync(GetDockerImageRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<DockerImage> GetDockerImageAsync(GetDockerImageRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Gets a docker image.

Parameters
NameDescription
requestGetDockerImageRequest

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<DockerImage>

The call object.

GetFile(GetFileRequest, CallOptions)

public virtual File GetFile(GetFileRequest request, CallOptions options)

Gets a file.

Parameters
NameDescription
requestGetFileRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
File

The response received from the server.

GetFile(GetFileRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual File GetFile(GetFileRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Gets a file.

Parameters
NameDescription
requestGetFileRequest

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
File

The response received from the server.

GetFileAsync(GetFileRequest, CallOptions)

public virtual AsyncUnaryCall<File> GetFileAsync(GetFileRequest request, CallOptions options)

Gets a file.

Parameters
NameDescription
requestGetFileRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<File>

The call object.

GetFileAsync(GetFileRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<File> GetFileAsync(GetFileRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Gets a file.

Parameters
NameDescription
requestGetFileRequest

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<File>

The call object.

GetIamPolicy(GetIamPolicyRequest, CallOptions)

public virtual Policy GetIamPolicy(GetIamPolicyRequest request, CallOptions options)

Gets the IAM policy for a given resource.

Parameters
NameDescription
requestGetIamPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Policy

The response received from the server.

GetIamPolicy(GetIamPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Policy GetIamPolicy(GetIamPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Gets the IAM policy for a given resource.

Parameters
NameDescription
requestGetIamPolicyRequest

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
Policy

The response received from the server.

GetIamPolicyAsync(GetIamPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicyRequest request, CallOptions options)

Gets the IAM policy for a given resource.

Parameters
NameDescription
requestGetIamPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Policy>

The call object.

GetIamPolicyAsync(GetIamPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Gets the IAM policy for a given resource.

Parameters
NameDescription
requestGetIamPolicyRequest

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<Policy>

The call object.

GetPackage(GetPackageRequest, CallOptions)

public virtual Package GetPackage(GetPackageRequest request, CallOptions options)

Gets a package.

Parameters
NameDescription
requestGetPackageRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Package

The response received from the server.

GetPackage(GetPackageRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Package GetPackage(GetPackageRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Gets a package.

Parameters
NameDescription
requestGetPackageRequest

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
Package

The response received from the server.

GetPackageAsync(GetPackageRequest, CallOptions)

public virtual AsyncUnaryCall<Package> GetPackageAsync(GetPackageRequest request, CallOptions options)

Gets a package.

Parameters
NameDescription
requestGetPackageRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Package>

The call object.

GetPackageAsync(GetPackageRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Package> GetPackageAsync(GetPackageRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Gets a package.

Parameters
NameDescription
requestGetPackageRequest

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<Package>

The call object.

GetProjectSettings(GetProjectSettingsRequest, CallOptions)

public virtual ProjectSettings GetProjectSettings(GetProjectSettingsRequest request, CallOptions options)

Retrieves the Settings for the Project.

Parameters
NameDescription
requestGetProjectSettingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ProjectSettings

The response received from the server.

GetProjectSettings(GetProjectSettingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ProjectSettings GetProjectSettings(GetProjectSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Retrieves the Settings for the Project.

Parameters
NameDescription
requestGetProjectSettingsRequest

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
ProjectSettings

The response received from the server.

GetProjectSettingsAsync(GetProjectSettingsRequest, CallOptions)

public virtual AsyncUnaryCall<ProjectSettings> GetProjectSettingsAsync(GetProjectSettingsRequest request, CallOptions options)

Retrieves the Settings for the Project.

Parameters
NameDescription
requestGetProjectSettingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ProjectSettings>

The call object.

GetProjectSettingsAsync(GetProjectSettingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ProjectSettings> GetProjectSettingsAsync(GetProjectSettingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Retrieves the Settings for the Project.

Parameters
NameDescription
requestGetProjectSettingsRequest

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<ProjectSettings>

The call object.

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 = null, 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 = null, 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.

GetTag(GetTagRequest, CallOptions)

public virtual Tag GetTag(GetTagRequest request, CallOptions options)

Gets a tag.

Parameters
NameDescription
requestGetTagRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Tag

The response received from the server.

GetTag(GetTagRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Tag GetTag(GetTagRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Gets a tag.

Parameters
NameDescription
requestGetTagRequest

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
Tag

The response received from the server.

GetTagAsync(GetTagRequest, CallOptions)

public virtual AsyncUnaryCall<Tag> GetTagAsync(GetTagRequest request, CallOptions options)

Gets a tag.

Parameters
NameDescription
requestGetTagRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Tag>

The call object.

GetTagAsync(GetTagRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Tag> GetTagAsync(GetTagRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Gets a tag.

Parameters
NameDescription
requestGetTagRequest

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<Tag>

The call object.

GetVersion(GetVersionRequest, CallOptions)

public virtual Version GetVersion(GetVersionRequest request, CallOptions options)

Gets a version

Parameters
NameDescription
requestGetVersionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Version

The response received from the server.

GetVersion(GetVersionRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Version GetVersion(GetVersionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Gets a version

Parameters
NameDescription
requestGetVersionRequest

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
Version

The response received from the server.

GetVersionAsync(GetVersionRequest, CallOptions)

public virtual AsyncUnaryCall<Version> GetVersionAsync(GetVersionRequest request, CallOptions options)

Gets a version

Parameters
NameDescription
requestGetVersionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Version>

The call object.

GetVersionAsync(GetVersionRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Version> GetVersionAsync(GetVersionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Gets a version

Parameters
NameDescription
requestGetVersionRequest

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<Version>

The call object.

ImportAptArtifacts(ImportAptArtifactsRequest, CallOptions)

public virtual Operation ImportAptArtifacts(ImportAptArtifactsRequest request, CallOptions options)

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
NameDescription
requestImportAptArtifactsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

ImportAptArtifacts(ImportAptArtifactsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation ImportAptArtifacts(ImportAptArtifactsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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
NameDescription
requestImportAptArtifactsRequest

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
Operation

The response received from the server.

ImportAptArtifactsAsync(ImportAptArtifactsRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> ImportAptArtifactsAsync(ImportAptArtifactsRequest request, CallOptions options)

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
NameDescription
requestImportAptArtifactsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

ImportAptArtifactsAsync(ImportAptArtifactsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> ImportAptArtifactsAsync(ImportAptArtifactsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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
NameDescription
requestImportAptArtifactsRequest

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<Operation>

The call object.

ImportYumArtifacts(ImportYumArtifactsRequest, CallOptions)

public virtual Operation ImportYumArtifacts(ImportYumArtifactsRequest request, CallOptions options)

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
NameDescription
requestImportYumArtifactsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

ImportYumArtifacts(ImportYumArtifactsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation ImportYumArtifacts(ImportYumArtifactsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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
NameDescription
requestImportYumArtifactsRequest

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
Operation

The response received from the server.

ImportYumArtifactsAsync(ImportYumArtifactsRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> ImportYumArtifactsAsync(ImportYumArtifactsRequest request, CallOptions options)

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
NameDescription
requestImportYumArtifactsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

ImportYumArtifactsAsync(ImportYumArtifactsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> ImportYumArtifactsAsync(ImportYumArtifactsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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
NameDescription
requestImportYumArtifactsRequest

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<Operation>

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 = null, 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 = null, 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.

ListFiles(ListFilesRequest, CallOptions)

public virtual ListFilesResponse ListFiles(ListFilesRequest request, CallOptions options)

Lists files.

Parameters
NameDescription
requestListFilesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListFilesResponse

The response received from the server.

ListFiles(ListFilesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListFilesResponse ListFiles(ListFilesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Lists files.

Parameters
NameDescription
requestListFilesRequest

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
ListFilesResponse

The response received from the server.

ListFilesAsync(ListFilesRequest, CallOptions)

public virtual AsyncUnaryCall<ListFilesResponse> ListFilesAsync(ListFilesRequest request, CallOptions options)

Lists files.

Parameters
NameDescription
requestListFilesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListFilesResponse>

The call object.

ListFilesAsync(ListFilesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListFilesResponse> ListFilesAsync(ListFilesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Lists files.

Parameters
NameDescription
requestListFilesRequest

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<ListFilesResponse>

The call object.

ListPackages(ListPackagesRequest, CallOptions)

public virtual ListPackagesResponse ListPackages(ListPackagesRequest request, CallOptions options)

Lists packages.

Parameters
NameDescription
requestListPackagesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListPackagesResponse

The response received from the server.

ListPackages(ListPackagesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListPackagesResponse ListPackages(ListPackagesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Lists packages.

Parameters
NameDescription
requestListPackagesRequest

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.

cancellationToken