Artifact Registry v1beta2 API - Class ArtifactRegistry.ArtifactRegistryClient (2.0.0-beta05)

public class ArtifactRegistry.ArtifactRegistryClient : ClientBase<ArtifactRegistry.ArtifactRegistryClient>

Reference documentation and code samples for the Artifact Registry v1beta2 API class ArtifactRegistry.ArtifactRegistryClient.

Client for ArtifactRegistry

Inheritance

object > ClientBase > ClientBaseArtifactRegistryArtifactRegistryClient > ArtifactRegistry.ArtifactRegistryClient

Namespace

Google.Cloud.ArtifactRegistry.V1Beta2

Assembly

Google.Cloud.ArtifactRegistry.V1Beta2.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(ClientBaseConfiguration)

protected ArtifactRegistryClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

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
Type Description
LocationsLocationsClient

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
Type Description
OperationsOperationsClient

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

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

CreateRepository(CreateRepositoryRequest, Metadata, DateTime?, CancellationToken)

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

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

Parameters
Name Description
request CreateRepositoryRequest

The request to send to the server.

headers Metadata

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

deadline 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
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
Name Description
request CreateRepositoryRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CreateRepositoryAsync(CreateRepositoryRequest, Metadata, DateTime?, CancellationToken)

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

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

Parameters
Name Description
request CreateRepositoryRequest

The request to send to the server.

headers Metadata

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

deadline 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
AsyncUnaryCallOperation

The call object.

CreateTag(CreateTagRequest, CallOptions)

public virtual Tag CreateTag(CreateTagRequest request, CallOptions options)

Creates a tag.

Parameters
Name Description
request CreateTagRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Tag

The response received from the server.

CreateTag(CreateTagRequest, Metadata, DateTime?, CancellationToken)

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

Creates a tag.

Parameters
Name Description
request CreateTagRequest

The request to send to the server.

headers Metadata

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

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

The response received from the server.

CreateTagAsync(CreateTagRequest, CallOptions)

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

Creates a tag.

Parameters
Name Description
request CreateTagRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallTag

The call object.

CreateTagAsync(CreateTagRequest, Metadata, DateTime?, CancellationToken)

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

Creates a tag.

Parameters
Name Description
request CreateTagRequest

The request to send to the server.

headers Metadata

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

deadline 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
AsyncUnaryCallTag

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

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

DeletePackage(DeletePackageRequest, Metadata, DateTime?, CancellationToken)

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

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

Parameters
Name Description
request DeletePackageRequest

The request to send to the server.

headers Metadata

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

deadline 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
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
Name Description
request DeletePackageRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeletePackageAsync(DeletePackageRequest, Metadata, DateTime?, CancellationToken)

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

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

Parameters
Name Description
request DeletePackageRequest

The request to send to the server.

headers Metadata

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

deadline 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
AsyncUnaryCallOperation

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

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

DeleteRepository(DeleteRepositoryRequest, Metadata, DateTime?, CancellationToken)

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

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

The request to send to the server.

headers Metadata

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

deadline 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
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
Name Description
request DeleteRepositoryRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteRepositoryAsync(DeleteRepositoryRequest, Metadata, DateTime?, CancellationToken)

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

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

The request to send to the server.

headers Metadata

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

deadline 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
AsyncUnaryCallOperation

The call object.

DeleteTag(DeleteTagRequest, CallOptions)

public virtual Empty DeleteTag(DeleteTagRequest request, CallOptions options)

Deletes a tag.

Parameters
Name Description
request DeleteTagRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Empty

The response received from the server.

DeleteTag(DeleteTagRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a tag.

Parameters
Name Description
request DeleteTagRequest

The request to send to the server.

headers Metadata

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

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

The response received from the server.

DeleteTagAsync(DeleteTagRequest, CallOptions)

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

Deletes a tag.

Parameters
Name Description
request DeleteTagRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

DeleteTagAsync(DeleteTagRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a tag.

Parameters
Name Description
request DeleteTagRequest

The request to send to the server.

headers Metadata

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

deadline 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
AsyncUnaryCallEmpty

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

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

DeleteVersion(DeleteVersionRequest, Metadata, DateTime?, CancellationToken)

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

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

Parameters
Name Description
request DeleteVersionRequest

The request to send to the server.

headers Metadata

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

deadline 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
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
Name Description
request DeleteVersionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteVersionAsync(DeleteVersionRequest, Metadata, DateTime?, CancellationToken)

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

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

Parameters
Name Description
request DeleteVersionRequest

The request to send to the server.

headers Metadata

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

deadline 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
AsyncUnaryCallOperation

The call object.

GetFile(GetFileRequest, CallOptions)

public virtual File GetFile(GetFileRequest request, CallOptions options)

Gets a file.

Parameters
Name Description
request GetFileRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
File

The response received from the server.

GetFile(GetFileRequest, Metadata, DateTime?, CancellationToken)

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

Gets a file.

Parameters
Name Description
request GetFileRequest

The request to send to the server.

headers Metadata

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

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

The response received from the server.

GetFileAsync(GetFileRequest, CallOptions)

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

Gets a file.

Parameters
Name Description
request GetFileRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallFile

The call object.

GetFileAsync(GetFileRequest, Metadata, DateTime?, CancellationToken)

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

Gets a file.

Parameters
Name Description
request GetFileRequest

The request to send to the server.

headers Metadata

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

deadline 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
AsyncUnaryCallFile

The call object.

GetIamPolicy(GetIamPolicyRequest, CallOptions)

public virtual Policy GetIamPolicy(GetIamPolicyRequest request, CallOptions options)

Gets the IAM policy for a given resource.

Parameters
Name Description
request GetIamPolicyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Policy

The response received from the server.

GetIamPolicy(GetIamPolicyRequest, Metadata, DateTime?, CancellationToken)

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

Gets the IAM policy for a given resource.

Parameters
Name Description
request GetIamPolicyRequest

The request to send to the server.

headers Metadata

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

deadline 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
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
Name Description
request GetIamPolicyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallPolicy

The call object.

GetIamPolicyAsync(GetIamPolicyRequest, Metadata, DateTime?, CancellationToken)

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

Gets the IAM policy for a given resource.

Parameters
Name Description
request GetIamPolicyRequest

The request to send to the server.

headers Metadata

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

deadline 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
AsyncUnaryCallPolicy

The call object.

GetPackage(GetPackageRequest, CallOptions)

public virtual Package GetPackage(GetPackageRequest request, CallOptions options)

Gets a package.

Parameters
Name Description
request GetPackageRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Package

The response received from the server.

GetPackage(GetPackageRequest, Metadata, DateTime?, CancellationToken)

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

Gets a package.

Parameters
Name Description
request GetPackageRequest

The request to send to the server.

headers Metadata

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

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

The response received from the server.

GetPackageAsync(GetPackageRequest, CallOptions)

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

Gets a package.

Parameters
Name Description
request GetPackageRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallPackage

The call object.

GetPackageAsync(GetPackageRequest, Metadata, DateTime?, CancellationToken)

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

Gets a package.

Parameters
Name Description
request GetPackageRequest

The request to send to the server.

headers Metadata

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

deadline 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
AsyncUnaryCallPackage

The call object.

GetProjectSettings(GetProjectSettingsRequest, CallOptions)

public virtual ProjectSettings GetProjectSettings(GetProjectSettingsRequest request, CallOptions options)

Retrieves the Settings for the Project.

Parameters
Name Description
request GetProjectSettingsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ProjectSettings

The response received from the server.

GetProjectSettings(GetProjectSettingsRequest, Metadata, DateTime?, CancellationToken)

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

Retrieves the Settings for the Project.

Parameters
Name Description
request GetProjectSettingsRequest

The request to send to the server.

headers Metadata

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

deadline 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
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
Name Description
request GetProjectSettingsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallProjectSettings

The call object.

GetProjectSettingsAsync(GetProjectSettingsRequest, Metadata, DateTime?, CancellationToken)

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

Retrieves the Settings for the Project.

Parameters
Name Description
request GetProjectSettingsRequest

The request to send to the server.

headers Metadata

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

deadline 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
AsyncUnaryCallProjectSettings

The call object.

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, DateTime?, CancellationToken)

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

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

The call object.

GetRepositoryAsync(GetRepositoryRequest, Metadata, DateTime?, CancellationToken)

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

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

The call object.

GetTag(GetTagRequest, CallOptions)

public virtual Tag GetTag(GetTagRequest request, CallOptions options)

Gets a tag.

Parameters
Name Description
request GetTagRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Tag

The response received from the server.

GetTag(GetTagRequest, Metadata, DateTime?, CancellationToken)

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

Gets a tag.

Parameters
Name Description
request GetTagRequest

The request to send to the server.

headers Metadata

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

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

The response received from the server.

GetTagAsync(GetTagRequest, CallOptions)

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

Gets a tag.

Parameters
Name Description
request GetTagRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallTag

The call object.

GetTagAsync(GetTagRequest, Metadata, DateTime?, CancellationToken)

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

Gets a tag.

Parameters
Name Description
request GetTagRequest

The request to send to the server.

headers Metadata

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

deadline 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
AsyncUnaryCallTag

The call object.

GetVersion(GetVersionRequest, CallOptions)

public virtual Version GetVersion(GetVersionRequest request, CallOptions options)

Gets a version

Parameters
Name Description
request GetVersionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Version

The response received from the server.

GetVersion(GetVersionRequest, Metadata, DateTime?, CancellationToken)

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

Gets a version

Parameters
Name Description
request GetVersionRequest

The request to send to the server.

headers Metadata

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

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

The response received from the server.

GetVersionAsync(GetVersionRequest, CallOptions)

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

Gets a version

Parameters
Name Description
request GetVersionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallVersion

The call object.

GetVersionAsync(GetVersionRequest, Metadata, DateTime?, CancellationToken)

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

Gets a version

Parameters
Name Description
request GetVersionRequest

The request to send to the server.

headers Metadata

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

deadline 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
AsyncUnaryCallVersion

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

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

ImportAptArtifacts(ImportAptArtifactsRequest, Metadata, DateTime?, CancellationToken)

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

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

The request to send to the server.

headers Metadata

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

deadline 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
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
Name Description
request ImportAptArtifactsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

ImportAptArtifactsAsync(ImportAptArtifactsRequest, Metadata, DateTime?, CancellationToken)

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

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

The request to send to the server.

headers Metadata

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

deadline 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
AsyncUnaryCallOperation

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

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

ImportYumArtifacts(ImportYumArtifactsRequest, Metadata, DateTime?, CancellationToken)

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

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

The request to send to the server.

headers Metadata

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

deadline 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
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
Name Description
request ImportYumArtifactsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

ImportYumArtifactsAsync(ImportYumArtifactsRequest, Metadata, DateTime?, CancellationToken)

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

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

The request to send to the server.

headers Metadata

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

deadline 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
AsyncUnaryCallOperation

The call object.

ListFiles(ListFilesRequest, CallOptions)

public virtual ListFilesResponse ListFiles(ListFilesRequest request, CallOptions options)

Lists files.

Parameters
Name Description
request ListFilesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListFilesResponse

The response received from the server.

ListFiles(ListFilesRequest, Metadata, DateTime?, CancellationToken)

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

Lists files.

Parameters
Name Description
request ListFilesRequest

The request to send to the server.

headers Metadata

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

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

The response received from the server.

ListFilesAsync(ListFilesRequest, CallOptions)

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

Lists files.

Parameters
Name Description
request ListFilesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListFilesResponse

The call object.

ListFilesAsync(ListFilesRequest, Metadata, DateTime?, CancellationToken)

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

Lists files.

Parameters
Name Description
request ListFilesRequest

The request to send to the server.

headers Metadata

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

deadline 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
AsyncUnaryCallListFilesResponse

The call object.

ListPackages(ListPackagesRequest, CallOptions)

public virtual ListPackagesResponse ListPackages(ListPackagesRequest request, CallOptions options)

Lists packages.

Parameters
Name Description
request ListPackagesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListPackagesResponse

The response received from the server.

ListPackages(ListPackagesRequest, Metadata, DateTime?, CancellationToken)

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

Lists packages.

Parameters
Name Description
request ListPackagesRequest

The request to send to the server.

headers Metadata

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

deadline 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
ListPackagesResponse

The response received from the server.

ListPackagesAsync(ListPackagesRequest, CallOptions)

public virtual AsyncUnaryCall<ListPackagesResponse> ListPackagesAsync(ListPackagesRequest request, CallOptions options)

Lists packages.

Parameters
Name Description
request ListPackagesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListPackagesResponse

The call object.

ListPackagesAsync(ListPackagesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListPackagesResponse> ListPackagesAsync(ListPackagesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists packages.

Parameters
Name Description
request ListPackagesRequest

The request to send to the server.

headers Metadata

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

deadline 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
AsyncUnaryCallListPackagesResponse

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, DateTime?, CancellationToken)

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

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

The call object.

ListRepositoriesAsync(ListRepositoriesRequest, Metadata, DateTime?, CancellationToken)

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

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

The call object.

ListTags(ListTagsRequest, CallOptions)

public virtual ListTagsResponse ListTags(ListTagsRequest request, CallOptions options)

Lists tags.

Parameters
Name Description
request ListTagsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListTagsResponse

The response received from the server.

ListTags(ListTagsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListTagsResponse ListTags(ListTagsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists tags.

Parameters
Name Description
request ListTagsRequest

The request to send to the server.

headers Metadata

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

deadline 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
ListTagsResponse

The response received from the server.

ListTagsAsync(ListTagsRequest, CallOptions)

public virtual AsyncUnaryCall<ListTagsResponse> ListTagsAsync(ListTagsRequest request, CallOptions options)

Lists tags.

Parameters
Name Description
request ListTagsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListTagsResponse

The call object.

ListTagsAsync(ListTagsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListTagsResponse> ListTagsAsync(ListTagsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists tags.

Parameters
Name Description
request ListTagsRequest

The request to send to the server.

headers Metadata

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

deadline 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
AsyncUnaryCallListTagsResponse

The call object.

ListVersions(ListVersionsRequest, CallOptions)

public virtual ListVersionsResponse ListVersions(ListVersionsRequest request, CallOptions options)

Lists versions.

Parameters
Name Description
request ListVersionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListVersionsResponse

The response received from the server.

ListVersions(ListVersionsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListVersionsResponse ListVersions(ListVersionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists versions.

Parameters
Name Description
request ListVersionsRequest

The request to send to the server.

headers Metadata

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

deadline 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
ListVersionsResponse

The response received from the server.

ListVersionsAsync(ListVersionsRequest, CallOptions)

public virtual AsyncUnaryCall<ListVersionsResponse> ListVersionsAsync(ListVersionsRequest request, CallOptions options)

Lists versions.

Parameters
Name Description
request ListVersionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListVersionsResponse

The call object.

ListVersionsAsync(ListVersionsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListVersionsResponse> ListVersionsAsync(ListVersionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists versions.

Parameters
Name Description
request ListVersionsRequest

The request to send to the server.

headers Metadata

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

deadline 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
AsyncUnaryCallListVersionsResponse

The call object.

NewInstance(ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
ArtifactRegistryArtifactRegistryClient
Overrides

SetIamPolicy(SetIamPolicyRequest, CallOptions)

public virtual Policy SetIamPolicy(SetIamPolicyRequest request, CallOptions options)

Updates the IAM policy for a given resource.

Parameters
Name Description
request SetIamPolicyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Policy

The response received from the server.

SetIamPolicy(SetIamPolicyRequest, Metadata, DateTime?, CancellationToken)

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

Updates the IAM policy for a given resource.

Parameters
Name Description
request SetIamPolicyRequest

The request to send to the server.

headers Metadata

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

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

The response received from the server.

SetIamPolicyAsync(SetIamPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicyRequest request, CallOptions options)

Updates the IAM policy for a given resource.

Parameters
Name Description
request SetIamPolicyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallPolicy

The call object.

SetIamPolicyAsync(SetIamPolicyRequest, Metadata, DateTime?, CancellationToken)

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

Updates the IAM policy for a given resource.

Parameters
Name Description
request SetIamPolicyRequest

The request to send to the server.

headers Metadata

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

deadline 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
AsyncUnaryCallPolicy

The call object.

TestIamPermissions(TestIamPermissionsRequest, CallOptions)

public virtual TestIamPermissionsResponse TestIamPermissions(TestIamPermissionsRequest request, CallOptions options)

Tests if the caller has a list of permissions on a resource.

Parameters
Name Description
request TestIamPermissionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
TestIamPermissionsResponse

The response received from the server.

TestIamPermissions(TestIamPermissionsRequest, Metadata, DateTime?, CancellationToken)

public virtual TestIamPermissionsResponse TestIamPermissions(TestIamPermissionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Tests if the caller has a list of permissions on a resource.

Parameters
Name Description
request TestIamPermissionsRequest

The request to send to the server.

headers Metadata

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

deadline 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
TestIamPermissionsResponse

The response received from the server.

TestIamPermissionsAsync(TestIamPermissionsRequest, CallOptions)

public virtual AsyncUnaryCall<TestIamPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRequest request, CallOptions options)

Tests if the caller has a list of permissions on a resource.

Parameters
Name Description
request TestIamPermissionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallTestIamPermissionsResponse

The call object.

TestIamPermissionsAsync(TestIamPermissionsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<TestIamPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Tests if the caller has a list of permissions on a resource.

Parameters
Name Description
request TestIamPermissionsRequest

The request to send to the server.

headers Metadata

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

deadline 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
AsyncUnaryCallTestIamPermissionsResponse

The call object.

UpdateProjectSettings(UpdateProjectSettingsRequest, CallOptions)

public virtual ProjectSettings UpdateProjectSettings(UpdateProjectSettingsRequest request, CallOptions options)

Updates the Settings for the Project.

Parameters
Name Description
request UpdateProjectSettingsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ProjectSettings

The response received from the server.

UpdateProjectSettings(UpdateProjectSettingsRequest, Metadata, DateTime?, CancellationToken)

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

Updates the Settings for the Project.

Parameters
Name Description
request UpdateProjectSettingsRequest

The request to send to the server.

headers Metadata

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

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

The response received from the server.

UpdateProjectSettingsAsync(UpdateProjectSettingsRequest, CallOptions)

public virtual AsyncUnaryCall<ProjectSettings> UpdateProjectSettingsAsync(UpdateProjectSettingsRequest request, CallOptions options)

Updates the Settings for the Project.

Parameters
Name Description
request UpdateProjectSettingsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallProjectSettings

The call object.

UpdateProjectSettingsAsync(UpdateProjectSettingsRequest, Metadata, DateTime?, CancellationToken)

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

Updates the Settings for the Project.

Parameters
Name Description
request UpdateProjectSettingsRequest

The request to send to the server.

headers Metadata

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

deadline 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
AsyncUnaryCallProjectSettings

The call object.

UpdateRepository(UpdateRepositoryRequest, CallOptions)

public virtual Repository UpdateRepository(UpdateRepositoryRequest request, CallOptions options)

Updates a repository.

Parameters
Name Description
request UpdateRepositoryRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Repository

The response received from the server.

UpdateRepository(UpdateRepositoryRequest, Metadata, DateTime?, CancellationToken)

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

Updates a repository.

Parameters
Name Description
request UpdateRepositoryRequest

The request to send to the server.

headers Metadata

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

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

UpdateRepositoryAsync(UpdateRepositoryRequest, CallOptions)

public virtual AsyncUnaryCall<Repository> UpdateRepositoryAsync(UpdateRepositoryRequest request, CallOptions options)

Updates a repository.

Parameters
Name Description
request UpdateRepositoryRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallRepository

The call object.

UpdateRepositoryAsync(UpdateRepositoryRequest, Metadata, DateTime?, CancellationToken)

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

Updates a repository.

Parameters
Name Description
request UpdateRepositoryRequest

The request to send to the server.

headers Metadata

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

deadline 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
AsyncUnaryCallRepository

The call object.

UpdateTag(UpdateTagRequest, CallOptions)

public virtual Tag UpdateTag(UpdateTagRequest request, CallOptions options)

Updates a tag.

Parameters
Name Description
request UpdateTagRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Tag

The response received from the server.

UpdateTag(UpdateTagRequest, Metadata, DateTime?, CancellationToken)

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

Updates a tag.

Parameters
Name Description
request UpdateTagRequest

The request to send to the server.

headers Metadata

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

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

The response received from the server.

UpdateTagAsync(UpdateTagRequest, CallOptions)

public virtual AsyncUnaryCall<Tag> UpdateTagAsync(UpdateTagRequest request, CallOptions options)

Updates a tag.

Parameters
Name Description
request UpdateTagRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallTag

The call object.

UpdateTagAsync(UpdateTagRequest, Metadata, DateTime?, CancellationToken)

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

Updates a tag.

Parameters
Name Description
request UpdateTagRequest

The request to send to the server.

headers Metadata

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

deadline 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
AsyncUnaryCallTag

The call object.