Class ArtifactRegistry.ArtifactRegistryClient (1.0.0-beta06)

public class ArtifactRegistryClient : ClientBase<ArtifactRegistry.ArtifactRegistryClient>

Client for ArtifactRegistry

Inheritance

Object > ClientBase > ClientBase<ArtifactRegistry.ArtifactRegistryClient> > 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
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

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 = default(DateTime? ), 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 = default(DateTime? ), 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 = default(DateTime? ), 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 = default(DateTime? ), 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 = default(DateTime? ), 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 = default(DateTime? ), 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 = default(DateTime? ), 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 = default(DateTime? ), 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 = default(DateTime? ), 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 = default(DateTime? ), 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 = default(DateTime? ), 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 = default(DateTime? ), 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.

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 = default(DateTime? ), 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 = default(DateTime? ), 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 = default(DateTime? ), 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 = default(DateTime? ), 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 = default(DateTime? ), 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 = default(DateTime? ), 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 = default(DateTime? ), 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 = default(DateTime? ), 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 = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets a repository.

Parameters
NameDescription
requestGetRepositoryRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Repository

The response received from the server.

GetRepositoryAsync(GetRepositoryRequest, CallOptions)

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

Gets a repository.

Parameters
NameDescription
requestGetRepositoryRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Repository>

The call object.

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

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

Gets a repository.

Parameters
NameDescription
requestGetRepositoryRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Repository>

The call object.

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 = default(DateTime? ), 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 = default(DateTime? ), 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 = default(DateTime? ), 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 = default(DateTime? ), 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 = default(DateTime? ), 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 = default(DateTime? ), 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 = default(DateTime? ), 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 = default(DateTime? ), 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.

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 = default(DateTime? ), 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 = default(DateTime? ), 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 = default(DateTime? ), 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.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListPackagesResponse

The response received from the server.

ListPackagesAsync(ListPackagesRequest, CallOptions)

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

Lists packages.

Parameters
NameDescription
requestListPackagesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListPackagesResponse>

The call object.

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

public virtual AsyncUnaryCall<ListPackagesResponse> ListPackagesAsync(ListPackagesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), 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.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListPackagesResponse>

The call object.

ListRepositories(ListRepositoriesRequest, CallOptions)

public virtual ListRepositoriesResponse ListRepositories(ListRepositoriesRequest request, CallOptions options)

Lists repositories.

Parameters
NameDescription
requestListRepositoriesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListRepositoriesResponse

The response received from the server.

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

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

Lists repositories.

Parameters
NameDescription
requestListRepositoriesRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListRepositoriesResponse

The response received from the server.

ListRepositoriesAsync(ListRepositoriesRequest, CallOptions)

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

Lists repositories.

Parameters
NameDescription
requestListRepositoriesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListRepositoriesResponse>

The call object.

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

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

Lists repositories.

Parameters
NameDescription
requestListRepositoriesRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListRepositoriesResponse>

The call object.

ListTags(ListTagsRequest, CallOptions)

public virtual ListTagsResponse ListTags(ListTagsRequest request, CallOptions options)

Lists tags.

Parameters
NameDescription
requestListTagsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListTagsResponse

The response received from the server.

ListTags(ListTagsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Lists tags.

Parameters
NameDescription
requestListTagsRequest

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
ListTagsResponse

The response received from the server.

ListTagsAsync(ListTagsRequest, CallOptions)

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

Lists tags.

Parameters
NameDescription
requestListTagsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListTagsResponse>

The call object.

ListTagsAsync(ListTagsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Lists tags.

Parameters
NameDescription
requestListTagsRequest

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

The call object.

ListVersions(ListVersionsRequest, CallOptions)

public virtual ListVersionsResponse ListVersions(ListVersionsRequest request, CallOptions options)

Lists versions.

Parameters
NameDescription
requestListVersionsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListVersionsResponse

The response received from the server.

ListVersions(ListVersionsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Lists versions.

Parameters
NameDescription
requestListVersionsRequest

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
ListVersionsResponse

The response received from the server.

ListVersionsAsync(ListVersionsRequest, CallOptions)

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

Lists versions.

Parameters
NameDescription
requestListVersionsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListVersionsResponse>

The call object.

ListVersionsAsync(ListVersionsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Lists versions.

Parameters
NameDescription
requestListVersionsRequest

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

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

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

SetIamPolicy(SetIamPolicyRequest, CallOptions)

public virtual Policy SetIamPolicy(SetIamPolicyRequest request, CallOptions options)

Updates the IAM policy for a given resource.

Parameters
NameDescription
requestSetIamPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Policy

The response received from the server.

SetIamPolicy(SetIamPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Updates the IAM policy for a given resource.

Parameters
NameDescription
requestSetIamPolicyRequest

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.

SetIamPolicyAsync(SetIamPolicyRequest, CallOptions)

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

Updates the IAM policy for a given resource.

Parameters
NameDescription
requestSetIamPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Policy>

The call object.

SetIamPolicyAsync(SetIamPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Updates the IAM policy for a given resource.

Parameters
NameDescription
requestSetIamPolicyRequest

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.

TestIamPermissions(TestIamPermissionsRequest, CallOptions)

public virtual TestIamPermissionsResponse TestIamPermissions(TestIamPermissionsRequest request, CallOptions options)

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

Parameters
NameDescription
requestTestIamPermissionsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
TestIamPermissionsResponse

The response received from the server.

TestIamPermissions(TestIamPermissionsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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

Parameters
NameDescription
requestTestIamPermissionsRequest

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

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<TestIamPermissionsResponse>

The call object.

TestIamPermissionsAsync(TestIamPermissionsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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

Parameters
NameDescription
requestTestIamPermissionsRequest

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

The call object.

UpdateProjectSettings(UpdateProjectSettingsRequest, CallOptions)

public virtual ProjectSettings UpdateProjectSettings(UpdateProjectSettingsRequest request, CallOptions options)

Updates the Settings for the Project.

Parameters
NameDescription
requestUpdateProjectSettingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ProjectSettings

The response received from the server.

UpdateProjectSettings(UpdateProjectSettingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Updates the Settings for the Project.

Parameters
NameDescription
requestUpdateProjectSettingsRequest

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.

UpdateProjectSettingsAsync(UpdateProjectSettingsRequest, CallOptions)

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

Updates the Settings for the Project.

Parameters
NameDescription
requestUpdateProjectSettingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ProjectSettings>

The call object.

UpdateProjectSettingsAsync(UpdateProjectSettingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Updates the Settings for the Project.

Parameters
NameDescription
requestUpdateProjectSettingsRequest

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.

UpdateRepository(UpdateRepositoryRequest, CallOptions)

public virtual Repository UpdateRepository(UpdateRepositoryRequest request, CallOptions options)

Updates a repository.

Parameters
NameDescription
requestUpdateRepositoryRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Repository

The response received from the server.

UpdateRepository(UpdateRepositoryRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Updates a repository.

Parameters
NameDescription
requestUpdateRepositoryRequest

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.

UpdateRepositoryAsync(UpdateRepositoryRequest, CallOptions)

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

Updates a repository.

Parameters
NameDescription
requestUpdateRepositoryRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Repository>

The call object.

UpdateRepositoryAsync(UpdateRepositoryRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Updates a repository.

Parameters
NameDescription
requestUpdateRepositoryRequest

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.

UpdateTag(UpdateTagRequest, CallOptions)

public virtual Tag UpdateTag(UpdateTagRequest request, CallOptions options)

Updates a tag.

Parameters
NameDescription
requestUpdateTagRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Tag

The response received from the server.

UpdateTag(UpdateTagRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Updates a tag.

Parameters
NameDescription
requestUpdateTagRequest

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.

UpdateTagAsync(UpdateTagRequest, CallOptions)

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

Updates a tag.

Parameters
NameDescription
requestUpdateTagRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Tag>

The call object.

UpdateTagAsync(UpdateTagRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Updates a tag.

Parameters
NameDescription
requestUpdateTagRequest

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.