public sealed class BackupDRClientImpl : BackupDRClient
Reference documentation and code samples for the Backup and DR Service v1 API class BackupDRClientImpl.
BackupDR client wrapper implementation, for convenient use.
Namespace
Google.Cloud.BackupDR.V1Assembly
Google.Cloud.BackupDR.V1.dll
Remarks
The BackupDR Service
Constructors
BackupDRClientImpl(BackupDRClient, BackupDRSettings, ILogger)
public BackupDRClientImpl(BackupDR.BackupDRClient grpcClient, BackupDRSettings settings, ILogger logger)
Constructs a client wrapper for the BackupDR service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient |
BackupDRBackupDRClient The underlying gRPC client. |
settings |
BackupDRSettings The base BackupDRSettings used within this client. |
logger |
ILogger Optional ILogger to use within this client. |
Properties
CreateManagementServerOperationsClient
public override OperationsClient CreateManagementServerOperationsClient { get; }
The long-running operations client for CreateManagementServer
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteManagementServerOperationsClient
public override OperationsClient DeleteManagementServerOperationsClient { get; }
The long-running operations client for DeleteManagementServer
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override BackupDR.BackupDRClient GrpcClient { get; }
The underlying gRPC BackupDR client
Property Value | |
---|---|
Type | Description |
BackupDRBackupDRClient |
IAMPolicyClient
public override IAMPolicyClient IAMPolicyClient { get; }
The IAMPolicyClient associated with this client.
Property Value | |
---|---|
Type | Description |
IAMPolicyClient |
LocationsClient
public override LocationsClient LocationsClient { get; }
The LocationsClient associated with this client.
Property Value | |
---|---|
Type | Description |
LocationsClient |
Methods
CreateManagementServer(CreateManagementServerRequest, CallSettings)
public override Operation<ManagementServer, OperationMetadata> CreateManagementServer(CreateManagementServerRequest request, CallSettings callSettings = null)
Creates a new ManagementServer in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateManagementServerRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationManagementServerOperationMetadata |
The RPC response. |
CreateManagementServerAsync(CreateManagementServerRequest, CallSettings)
public override Task<Operation<ManagementServer, OperationMetadata>> CreateManagementServerAsync(CreateManagementServerRequest request, CallSettings callSettings = null)
Creates a new ManagementServer in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateManagementServerRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationManagementServerOperationMetadata |
A Task containing the RPC response. |
DeleteManagementServer(DeleteManagementServerRequest, CallSettings)
public override Operation<Empty, OperationMetadata> DeleteManagementServer(DeleteManagementServerRequest request, CallSettings callSettings = null)
Deletes a single ManagementServer.
Parameters | |
---|---|
Name | Description |
request |
DeleteManagementServerRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
DeleteManagementServerAsync(DeleteManagementServerRequest, CallSettings)
public override Task<Operation<Empty, OperationMetadata>> DeleteManagementServerAsync(DeleteManagementServerRequest request, CallSettings callSettings = null)
Deletes a single ManagementServer.
Parameters | |
---|---|
Name | Description |
request |
DeleteManagementServerRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
GetManagementServer(GetManagementServerRequest, CallSettings)
public override ManagementServer GetManagementServer(GetManagementServerRequest request, CallSettings callSettings = null)
Gets details of a single ManagementServer.
Parameters | |
---|---|
Name | Description |
request |
GetManagementServerRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
ManagementServer |
The RPC response. |
GetManagementServerAsync(GetManagementServerRequest, CallSettings)
public override Task<ManagementServer> GetManagementServerAsync(GetManagementServerRequest request, CallSettings callSettings = null)
Gets details of a single ManagementServer.
Parameters | |
---|---|
Name | Description |
request |
GetManagementServerRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskManagementServer |
A Task containing the RPC response. |
ListManagementServers(ListManagementServersRequest, CallSettings)
public override PagedEnumerable<ListManagementServersResponse, ManagementServer> ListManagementServers(ListManagementServersRequest request, CallSettings callSettings = null)
Lists ManagementServers in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListManagementServersRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListManagementServersResponseManagementServer |
A pageable sequence of ManagementServer resources. |
ListManagementServersAsync(ListManagementServersRequest, CallSettings)
public override PagedAsyncEnumerable<ListManagementServersResponse, ManagementServer> ListManagementServersAsync(ListManagementServersRequest request, CallSettings callSettings = null)
Lists ManagementServers in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListManagementServersRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListManagementServersResponseManagementServer |
A pageable asynchronous sequence of ManagementServer resources. |