Backup for GKE v1 API - Class BackupForGKE.BackupForGKEClient (2.3.0)

public class BackupForGKE.BackupForGKEClient : ClientBase<BackupForGKE.BackupForGKEClient>

Reference documentation and code samples for the Backup for GKE v1 API class BackupForGKE.BackupForGKEClient.

Client for BackupForGKE

Inheritance

object > ClientBase > ClientBaseBackupForGKEBackupForGKEClient > BackupForGKE.BackupForGKEClient

Namespace

Google.Cloud.GkeBackup.V1

Assembly

Google.Cloud.GkeBackup.V1.dll

Constructors

BackupForGKEClient()

protected BackupForGKEClient()

Protected parameterless constructor to allow creation of test doubles.

BackupForGKEClient(CallInvoker)

public BackupForGKEClient(CallInvoker callInvoker)

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

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

BackupForGKEClient(ChannelBase)

public BackupForGKEClient(ChannelBase channel)

Creates a new client for BackupForGKE

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

BackupForGKEClient(ClientBaseConfiguration)

protected BackupForGKEClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateBackup(CreateBackupRequest, CallOptions)

public virtual Operation CreateBackup(CreateBackupRequest request, CallOptions options)

Creates a Backup for the given BackupPlan.

Parameters
NameDescription
requestCreateBackupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateBackup(CreateBackupRequest, Metadata, DateTime?, CancellationToken)

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

Creates a Backup for the given BackupPlan.

Parameters
NameDescription
requestCreateBackupRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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.

CreateBackupAsync(CreateBackupRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateBackupAsync(CreateBackupRequest request, CallOptions options)

Creates a Backup for the given BackupPlan.

Parameters
NameDescription
requestCreateBackupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateBackupAsync(CreateBackupRequest, Metadata, DateTime?, CancellationToken)

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

Creates a Backup for the given BackupPlan.

Parameters
NameDescription
requestCreateBackupRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallOperation

The call object.

CreateBackupPlan(CreateBackupPlanRequest, CallOptions)

public virtual Operation CreateBackupPlan(CreateBackupPlanRequest request, CallOptions options)

Creates a new BackupPlan in a given location.

Parameters
NameDescription
requestCreateBackupPlanRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateBackupPlan(CreateBackupPlanRequest, Metadata, DateTime?, CancellationToken)

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

Creates a new BackupPlan in a given location.

Parameters
NameDescription
requestCreateBackupPlanRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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.

CreateBackupPlanAsync(CreateBackupPlanRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateBackupPlanAsync(CreateBackupPlanRequest request, CallOptions options)

Creates a new BackupPlan in a given location.

Parameters
NameDescription
requestCreateBackupPlanRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateBackupPlanAsync(CreateBackupPlanRequest, Metadata, DateTime?, CancellationToken)

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

Creates a new BackupPlan in a given location.

Parameters
NameDescription
requestCreateBackupPlanRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallOperation

The call object.

CreateIAMPolicyClient()

public virtual IAMPolicy.IAMPolicyClient CreateIAMPolicyClient()

Creates a new instance of IAMPolicy.IAMPolicyClient using the same call invoker as this client.

Returns
TypeDescription
IAMPolicyIAMPolicyClient

A new IAMPolicy.IAMPolicyClient for the same target as this client.

CreateLocationsClient()

public virtual Locations.LocationsClient CreateLocationsClient()

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

Returns
TypeDescription
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
TypeDescription
OperationsOperationsClient

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

CreateRestore(CreateRestoreRequest, CallOptions)

public virtual Operation CreateRestore(CreateRestoreRequest request, CallOptions options)

Creates a new Restore for the given RestorePlan.

Parameters
NameDescription
requestCreateRestoreRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateRestore(CreateRestoreRequest, Metadata, DateTime?, CancellationToken)

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

Creates a new Restore for the given RestorePlan.

Parameters
NameDescription
requestCreateRestoreRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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.

CreateRestoreAsync(CreateRestoreRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateRestoreAsync(CreateRestoreRequest request, CallOptions options)

Creates a new Restore for the given RestorePlan.

Parameters
NameDescription
requestCreateRestoreRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateRestoreAsync(CreateRestoreRequest, Metadata, DateTime?, CancellationToken)

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

Creates a new Restore for the given RestorePlan.

Parameters
NameDescription
requestCreateRestoreRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallOperation

The call object.

CreateRestorePlan(CreateRestorePlanRequest, CallOptions)

public virtual Operation CreateRestorePlan(CreateRestorePlanRequest request, CallOptions options)

Creates a new RestorePlan in a given location.

Parameters
NameDescription
requestCreateRestorePlanRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateRestorePlan(CreateRestorePlanRequest, Metadata, DateTime?, CancellationToken)

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

Creates a new RestorePlan in a given location.

Parameters
NameDescription
requestCreateRestorePlanRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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.

CreateRestorePlanAsync(CreateRestorePlanRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateRestorePlanAsync(CreateRestorePlanRequest request, CallOptions options)

Creates a new RestorePlan in a given location.

Parameters
NameDescription
requestCreateRestorePlanRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateRestorePlanAsync(CreateRestorePlanRequest, Metadata, DateTime?, CancellationToken)

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

Creates a new RestorePlan in a given location.

Parameters
NameDescription
requestCreateRestorePlanRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallOperation

The call object.

DeleteBackup(DeleteBackupRequest, CallOptions)

public virtual Operation DeleteBackup(DeleteBackupRequest request, CallOptions options)

Deletes an existing Backup.

Parameters
NameDescription
requestDeleteBackupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteBackup(DeleteBackupRequest, Metadata, DateTime?, CancellationToken)

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

Deletes an existing Backup.

Parameters
NameDescription
requestDeleteBackupRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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.

DeleteBackupAsync(DeleteBackupRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteBackupAsync(DeleteBackupRequest request, CallOptions options)

Deletes an existing Backup.

Parameters
NameDescription
requestDeleteBackupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteBackupAsync(DeleteBackupRequest, Metadata, DateTime?, CancellationToken)

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

Deletes an existing Backup.

Parameters
NameDescription
requestDeleteBackupRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallOperation

The call object.

DeleteBackupPlan(DeleteBackupPlanRequest, CallOptions)

public virtual Operation DeleteBackupPlan(DeleteBackupPlanRequest request, CallOptions options)

Deletes an existing BackupPlan.

Parameters
NameDescription
requestDeleteBackupPlanRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteBackupPlan(DeleteBackupPlanRequest, Metadata, DateTime?, CancellationToken)

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

Deletes an existing BackupPlan.

Parameters
NameDescription
requestDeleteBackupPlanRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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.

DeleteBackupPlanAsync(DeleteBackupPlanRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteBackupPlanAsync(DeleteBackupPlanRequest request, CallOptions options)

Deletes an existing BackupPlan.

Parameters
NameDescription
requestDeleteBackupPlanRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteBackupPlanAsync(DeleteBackupPlanRequest, Metadata, DateTime?, CancellationToken)

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

Deletes an existing BackupPlan.

Parameters
NameDescription
requestDeleteBackupPlanRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallOperation

The call object.

DeleteRestore(DeleteRestoreRequest, CallOptions)

public virtual Operation DeleteRestore(DeleteRestoreRequest request, CallOptions options)

Deletes an existing Restore.

Parameters
NameDescription
requestDeleteRestoreRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteRestore(DeleteRestoreRequest, Metadata, DateTime?, CancellationToken)

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

Deletes an existing Restore.

Parameters
NameDescription
requestDeleteRestoreRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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.

DeleteRestoreAsync(DeleteRestoreRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteRestoreAsync(DeleteRestoreRequest request, CallOptions options)

Deletes an existing Restore.

Parameters
NameDescription
requestDeleteRestoreRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteRestoreAsync(DeleteRestoreRequest, Metadata, DateTime?, CancellationToken)

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

Deletes an existing Restore.

Parameters
NameDescription
requestDeleteRestoreRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallOperation

The call object.

DeleteRestorePlan(DeleteRestorePlanRequest, CallOptions)

public virtual Operation DeleteRestorePlan(DeleteRestorePlanRequest request, CallOptions options)

Deletes an existing RestorePlan.

Parameters
NameDescription
requestDeleteRestorePlanRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteRestorePlan(DeleteRestorePlanRequest, Metadata, DateTime?, CancellationToken)

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

Deletes an existing RestorePlan.

Parameters
NameDescription
requestDeleteRestorePlanRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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.

DeleteRestorePlanAsync(DeleteRestorePlanRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteRestorePlanAsync(DeleteRestorePlanRequest request, CallOptions options)

Deletes an existing RestorePlan.

Parameters
NameDescription
requestDeleteRestorePlanRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteRestorePlanAsync(DeleteRestorePlanRequest, Metadata, DateTime?, CancellationToken)

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

Deletes an existing RestorePlan.

Parameters
NameDescription
requestDeleteRestorePlanRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallOperation

The call object.

GetBackup(GetBackupRequest, CallOptions)

public virtual Backup GetBackup(GetBackupRequest request, CallOptions options)

Retrieve the details of a single Backup.

Parameters
NameDescription
requestGetBackupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Backup

The response received from the server.

GetBackup(GetBackupRequest, Metadata, DateTime?, CancellationToken)

public virtual Backup GetBackup(GetBackupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieve the details of a single Backup.

Parameters
NameDescription
requestGetBackupRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
Backup

The response received from the server.

GetBackupAsync(GetBackupRequest, CallOptions)

public virtual AsyncUnaryCall<Backup> GetBackupAsync(GetBackupRequest request, CallOptions options)

Retrieve the details of a single Backup.

Parameters
NameDescription
requestGetBackupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallBackup

The call object.

GetBackupAsync(GetBackupRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Backup> GetBackupAsync(GetBackupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieve the details of a single Backup.

Parameters
NameDescription
requestGetBackupRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallBackup

The call object.

GetBackupPlan(GetBackupPlanRequest, CallOptions)

public virtual BackupPlan GetBackupPlan(GetBackupPlanRequest request, CallOptions options)

Retrieve the details of a single BackupPlan.

Parameters
NameDescription
requestGetBackupPlanRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
BackupPlan

The response received from the server.

GetBackupPlan(GetBackupPlanRequest, Metadata, DateTime?, CancellationToken)

public virtual BackupPlan GetBackupPlan(GetBackupPlanRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieve the details of a single BackupPlan.

Parameters
NameDescription
requestGetBackupPlanRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
BackupPlan

The response received from the server.

GetBackupPlanAsync(GetBackupPlanRequest, CallOptions)

public virtual AsyncUnaryCall<BackupPlan> GetBackupPlanAsync(GetBackupPlanRequest request, CallOptions options)

Retrieve the details of a single BackupPlan.

Parameters
NameDescription
requestGetBackupPlanRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallBackupPlan

The call object.

GetBackupPlanAsync(GetBackupPlanRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<BackupPlan> GetBackupPlanAsync(GetBackupPlanRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieve the details of a single BackupPlan.

Parameters
NameDescription
requestGetBackupPlanRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallBackupPlan

The call object.

GetRestore(GetRestoreRequest, CallOptions)

public virtual Restore GetRestore(GetRestoreRequest request, CallOptions options)

Retrieves the details of a single Restore.

Parameters
NameDescription
requestGetRestoreRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Restore

The response received from the server.

GetRestore(GetRestoreRequest, Metadata, DateTime?, CancellationToken)

public virtual Restore GetRestore(GetRestoreRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieves the details of a single Restore.

Parameters
NameDescription
requestGetRestoreRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
Restore

The response received from the server.

GetRestoreAsync(GetRestoreRequest, CallOptions)

public virtual AsyncUnaryCall<Restore> GetRestoreAsync(GetRestoreRequest request, CallOptions options)

Retrieves the details of a single Restore.

Parameters
NameDescription
requestGetRestoreRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallRestore

The call object.

GetRestoreAsync(GetRestoreRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Restore> GetRestoreAsync(GetRestoreRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieves the details of a single Restore.

Parameters
NameDescription
requestGetRestoreRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallRestore

The call object.

GetRestorePlan(GetRestorePlanRequest, CallOptions)

public virtual RestorePlan GetRestorePlan(GetRestorePlanRequest request, CallOptions options)

Retrieve the details of a single RestorePlan.

Parameters
NameDescription
requestGetRestorePlanRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
RestorePlan

The response received from the server.

GetRestorePlan(GetRestorePlanRequest, Metadata, DateTime?, CancellationToken)

public virtual RestorePlan GetRestorePlan(GetRestorePlanRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieve the details of a single RestorePlan.

Parameters
NameDescription
requestGetRestorePlanRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
RestorePlan

The response received from the server.

GetRestorePlanAsync(GetRestorePlanRequest, CallOptions)

public virtual AsyncUnaryCall<RestorePlan> GetRestorePlanAsync(GetRestorePlanRequest request, CallOptions options)

Retrieve the details of a single RestorePlan.

Parameters
NameDescription
requestGetRestorePlanRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallRestorePlan

The call object.

GetRestorePlanAsync(GetRestorePlanRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<RestorePlan> GetRestorePlanAsync(GetRestorePlanRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieve the details of a single RestorePlan.

Parameters
NameDescription
requestGetRestorePlanRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallRestorePlan

The call object.

GetVolumeBackup(GetVolumeBackupRequest, CallOptions)

public virtual VolumeBackup GetVolumeBackup(GetVolumeBackupRequest request, CallOptions options)

Retrieve the details of a single VolumeBackup.

Parameters
NameDescription
requestGetVolumeBackupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
VolumeBackup

The response received from the server.

GetVolumeBackup(GetVolumeBackupRequest, Metadata, DateTime?, CancellationToken)

public virtual VolumeBackup GetVolumeBackup(GetVolumeBackupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieve the details of a single VolumeBackup.

Parameters
NameDescription
requestGetVolumeBackupRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
VolumeBackup

The response received from the server.

GetVolumeBackupAsync(GetVolumeBackupRequest, CallOptions)

public virtual AsyncUnaryCall<VolumeBackup> GetVolumeBackupAsync(GetVolumeBackupRequest request, CallOptions options)

Retrieve the details of a single VolumeBackup.

Parameters
NameDescription
requestGetVolumeBackupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallVolumeBackup

The call object.

GetVolumeBackupAsync(GetVolumeBackupRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<VolumeBackup> GetVolumeBackupAsync(GetVolumeBackupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieve the details of a single VolumeBackup.

Parameters
NameDescription
requestGetVolumeBackupRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallVolumeBackup

The call object.

GetVolumeRestore(GetVolumeRestoreRequest, CallOptions)

public virtual VolumeRestore GetVolumeRestore(GetVolumeRestoreRequest request, CallOptions options)

Retrieve the details of a single VolumeRestore.

Parameters
NameDescription
requestGetVolumeRestoreRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
VolumeRestore

The response received from the server.

GetVolumeRestore(GetVolumeRestoreRequest, Metadata, DateTime?, CancellationToken)

public virtual VolumeRestore GetVolumeRestore(GetVolumeRestoreRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieve the details of a single VolumeRestore.

Parameters
NameDescription
requestGetVolumeRestoreRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
VolumeRestore

The response received from the server.

GetVolumeRestoreAsync(GetVolumeRestoreRequest, CallOptions)

public virtual AsyncUnaryCall<VolumeRestore> GetVolumeRestoreAsync(GetVolumeRestoreRequest request, CallOptions options)

Retrieve the details of a single VolumeRestore.

Parameters
NameDescription
requestGetVolumeRestoreRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallVolumeRestore

The call object.

GetVolumeRestoreAsync(GetVolumeRestoreRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<VolumeRestore> GetVolumeRestoreAsync(GetVolumeRestoreRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieve the details of a single VolumeRestore.

Parameters
NameDescription
requestGetVolumeRestoreRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallVolumeRestore

The call object.

ListBackupPlans(ListBackupPlansRequest, CallOptions)

public virtual ListBackupPlansResponse ListBackupPlans(ListBackupPlansRequest request, CallOptions options)

Lists BackupPlans in a given location.

Parameters
NameDescription
requestListBackupPlansRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListBackupPlansResponse

The response received from the server.

ListBackupPlans(ListBackupPlansRequest, Metadata, DateTime?, CancellationToken)

public virtual ListBackupPlansResponse ListBackupPlans(ListBackupPlansRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists BackupPlans in a given location.

Parameters
NameDescription
requestListBackupPlansRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
ListBackupPlansResponse

The response received from the server.

ListBackupPlansAsync(ListBackupPlansRequest, CallOptions)

public virtual AsyncUnaryCall<ListBackupPlansResponse> ListBackupPlansAsync(ListBackupPlansRequest request, CallOptions options)

Lists BackupPlans in a given location.

Parameters
NameDescription
requestListBackupPlansRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListBackupPlansResponse

The call object.

ListBackupPlansAsync(ListBackupPlansRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListBackupPlansResponse> ListBackupPlansAsync(ListBackupPlansRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists BackupPlans in a given location.

Parameters
NameDescription
requestListBackupPlansRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallListBackupPlansResponse

The call object.

ListBackups(ListBackupsRequest, CallOptions)

public virtual ListBackupsResponse ListBackups(ListBackupsRequest request, CallOptions options)

Lists the Backups for a given BackupPlan.

Parameters
NameDescription
requestListBackupsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListBackupsResponse

The response received from the server.

ListBackups(ListBackupsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListBackupsResponse ListBackups(ListBackupsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists the Backups for a given BackupPlan.

Parameters
NameDescription
requestListBackupsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
ListBackupsResponse

The response received from the server.

ListBackupsAsync(ListBackupsRequest, CallOptions)

public virtual AsyncUnaryCall<ListBackupsResponse> ListBackupsAsync(ListBackupsRequest request, CallOptions options)

Lists the Backups for a given BackupPlan.

Parameters
NameDescription
requestListBackupsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListBackupsResponse

The call object.

ListBackupsAsync(ListBackupsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListBackupsResponse> ListBackupsAsync(ListBackupsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists the Backups for a given BackupPlan.

Parameters
NameDescription
requestListBackupsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallListBackupsResponse

The call object.

ListRestorePlans(ListRestorePlansRequest, CallOptions)

public virtual ListRestorePlansResponse ListRestorePlans(ListRestorePlansRequest request, CallOptions options)

Lists RestorePlans in a given location.

Parameters
NameDescription
requestListRestorePlansRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListRestorePlansResponse

The response received from the server.

ListRestorePlans(ListRestorePlansRequest, Metadata, DateTime?, CancellationToken)

public virtual ListRestorePlansResponse ListRestorePlans(ListRestorePlansRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists RestorePlans in a given location.

Parameters
NameDescription
requestListRestorePlansRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
ListRestorePlansResponse

The response received from the server.

ListRestorePlansAsync(ListRestorePlansRequest, CallOptions)

public virtual AsyncUnaryCall<ListRestorePlansResponse> ListRestorePlansAsync(ListRestorePlansRequest request, CallOptions options)

Lists RestorePlans in a given location.

Parameters
NameDescription
requestListRestorePlansRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListRestorePlansResponse

The call object.

ListRestorePlansAsync(ListRestorePlansRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListRestorePlansResponse> ListRestorePlansAsync(ListRestorePlansRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists RestorePlans in a given location.

Parameters
NameDescription
requestListRestorePlansRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallListRestorePlansResponse

The call object.

ListRestores(ListRestoresRequest, CallOptions)

public virtual ListRestoresResponse ListRestores(ListRestoresRequest request, CallOptions options)

Lists the Restores for a given RestorePlan.

Parameters
NameDescription
requestListRestoresRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListRestoresResponse

The response received from the server.

ListRestores(ListRestoresRequest, Metadata, DateTime?, CancellationToken)

public virtual ListRestoresResponse ListRestores(ListRestoresRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists the Restores for a given RestorePlan.

Parameters
NameDescription
requestListRestoresRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
ListRestoresResponse

The response received from the server.

ListRestoresAsync(ListRestoresRequest, CallOptions)

public virtual AsyncUnaryCall<ListRestoresResponse> ListRestoresAsync(ListRestoresRequest request, CallOptions options)

Lists the Restores for a given RestorePlan.

Parameters
NameDescription
requestListRestoresRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListRestoresResponse

The call object.

ListRestoresAsync(ListRestoresRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListRestoresResponse> ListRestoresAsync(ListRestoresRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists the Restores for a given RestorePlan.

Parameters
NameDescription
requestListRestoresRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallListRestoresResponse

The call object.

ListVolumeBackups(ListVolumeBackupsRequest, CallOptions)

public virtual ListVolumeBackupsResponse ListVolumeBackups(ListVolumeBackupsRequest request, CallOptions options)

Lists the VolumeBackups for a given Backup.

Parameters
NameDescription
requestListVolumeBackupsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListVolumeBackupsResponse

The response received from the server.

ListVolumeBackups(ListVolumeBackupsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListVolumeBackupsResponse ListVolumeBackups(ListVolumeBackupsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists the VolumeBackups for a given Backup.

Parameters
NameDescription
requestListVolumeBackupsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
ListVolumeBackupsResponse

The response received from the server.

ListVolumeBackupsAsync(ListVolumeBackupsRequest, CallOptions)

public virtual AsyncUnaryCall<ListVolumeBackupsResponse> ListVolumeBackupsAsync(ListVolumeBackupsRequest request, CallOptions options)

Lists the VolumeBackups for a given Backup.

Parameters
NameDescription
requestListVolumeBackupsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListVolumeBackupsResponse

The call object.

ListVolumeBackupsAsync(ListVolumeBackupsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListVolumeBackupsResponse> ListVolumeBackupsAsync(ListVolumeBackupsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists the VolumeBackups for a given Backup.

Parameters
NameDescription
requestListVolumeBackupsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallListVolumeBackupsResponse

The call object.

ListVolumeRestores(ListVolumeRestoresRequest, CallOptions)

public virtual ListVolumeRestoresResponse ListVolumeRestores(ListVolumeRestoresRequest request, CallOptions options)

Lists the VolumeRestores for a given Restore.

Parameters
NameDescription
requestListVolumeRestoresRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListVolumeRestoresResponse

The response received from the server.

ListVolumeRestores(ListVolumeRestoresRequest, Metadata, DateTime?, CancellationToken)

public virtual ListVolumeRestoresResponse ListVolumeRestores(ListVolumeRestoresRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists the VolumeRestores for a given Restore.

Parameters
NameDescription
requestListVolumeRestoresRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
ListVolumeRestoresResponse

The response received from the server.

ListVolumeRestoresAsync(ListVolumeRestoresRequest, CallOptions)

public virtual AsyncUnaryCall<ListVolumeRestoresResponse> ListVolumeRestoresAsync(ListVolumeRestoresRequest request, CallOptions options)

Lists the VolumeRestores for a given Restore.

Parameters
NameDescription
requestListVolumeRestoresRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListVolumeRestoresResponse

The call object.

ListVolumeRestoresAsync(ListVolumeRestoresRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListVolumeRestoresResponse> ListVolumeRestoresAsync(ListVolumeRestoresRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists the VolumeRestores for a given Restore.

Parameters
NameDescription
requestListVolumeRestoresRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallListVolumeRestoresResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override BackupForGKE.BackupForGKEClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
BackupForGKEBackupForGKEClient
Overrides

UpdateBackup(UpdateBackupRequest, CallOptions)

public virtual Operation UpdateBackup(UpdateBackupRequest request, CallOptions options)

Update a Backup.

Parameters
NameDescription
requestUpdateBackupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateBackup(UpdateBackupRequest, Metadata, DateTime?, CancellationToken)

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

Update a Backup.

Parameters
NameDescription
requestUpdateBackupRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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.

UpdateBackupAsync(UpdateBackupRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateBackupAsync(UpdateBackupRequest request, CallOptions options)

Update a Backup.

Parameters
NameDescription
requestUpdateBackupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

UpdateBackupAsync(UpdateBackupRequest, Metadata, DateTime?, CancellationToken)

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

Update a Backup.

Parameters
NameDescription
requestUpdateBackupRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallOperation

The call object.

UpdateBackupPlan(UpdateBackupPlanRequest, CallOptions)

public virtual Operation UpdateBackupPlan(UpdateBackupPlanRequest request, CallOptions options)

Update a BackupPlan.

Parameters
NameDescription
requestUpdateBackupPlanRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateBackupPlan(UpdateBackupPlanRequest, Metadata, DateTime?, CancellationToken)

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

Update a BackupPlan.

Parameters
NameDescription
requestUpdateBackupPlanRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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.

UpdateBackupPlanAsync(UpdateBackupPlanRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateBackupPlanAsync(UpdateBackupPlanRequest request, CallOptions options)

Update a BackupPlan.

Parameters
NameDescription
requestUpdateBackupPlanRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

UpdateBackupPlanAsync(UpdateBackupPlanRequest, Metadata, DateTime?, CancellationToken)

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

Update a BackupPlan.

Parameters
NameDescription
requestUpdateBackupPlanRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallOperation

The call object.

UpdateRestore(UpdateRestoreRequest, CallOptions)

public virtual Operation UpdateRestore(UpdateRestoreRequest request, CallOptions options)

Update a Restore.

Parameters
NameDescription
requestUpdateRestoreRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateRestore(UpdateRestoreRequest, Metadata, DateTime?, CancellationToken)

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

Update a Restore.

Parameters
NameDescription
requestUpdateRestoreRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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.

UpdateRestoreAsync(UpdateRestoreRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateRestoreAsync(UpdateRestoreRequest request, CallOptions options)

Update a Restore.

Parameters
NameDescription
requestUpdateRestoreRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

UpdateRestoreAsync(UpdateRestoreRequest, Metadata, DateTime?, CancellationToken)

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

Update a Restore.

Parameters
NameDescription
requestUpdateRestoreRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallOperation

The call object.

UpdateRestorePlan(UpdateRestorePlanRequest, CallOptions)

public virtual Operation UpdateRestorePlan(UpdateRestorePlanRequest request, CallOptions options)

Update a RestorePlan.

Parameters
NameDescription
requestUpdateRestorePlanRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateRestorePlan(UpdateRestorePlanRequest, Metadata, DateTime?, CancellationToken)

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

Update a RestorePlan.

Parameters
NameDescription
requestUpdateRestorePlanRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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.

UpdateRestorePlanAsync(UpdateRestorePlanRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateRestorePlanAsync(UpdateRestorePlanRequest request, CallOptions options)

Update a RestorePlan.

Parameters
NameDescription
requestUpdateRestorePlanRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

UpdateRestorePlanAsync(UpdateRestorePlanRequest, Metadata, DateTime?, CancellationToken)

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

Update a RestorePlan.

Parameters
NameDescription
requestUpdateRestorePlanRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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
AsyncUnaryCallOperation

The call object.