Migration Center v1 API - Class MigrationCenter.MigrationCenterBase (1.2.0)

[BindServiceMethod(typeof(MigrationCenter), "BindService")]
public abstract class MigrationCenter.MigrationCenterBase

Reference documentation and code samples for the Migration Center v1 API class MigrationCenter.MigrationCenterBase.

Base class for server-side implementations of MigrationCenter

Inheritance

object > MigrationCenter.MigrationCenterBase

Namespace

Google.Cloud.MigrationCenter.V1

Assembly

Google.Cloud.MigrationCenter.V1.dll

Methods

AddAssetsToGroup(AddAssetsToGroupRequest, ServerCallContext)

public virtual Task<Operation> AddAssetsToGroup(AddAssetsToGroupRequest request, ServerCallContext context)

Adds assets to a group.

Parameters
Name Description
request AddAssetsToGroupRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

AggregateAssetsValues(AggregateAssetsValuesRequest, ServerCallContext)

public virtual Task<AggregateAssetsValuesResponse> AggregateAssetsValues(AggregateAssetsValuesRequest request, ServerCallContext context)

Aggregates the requested fields based on provided function.

Parameters
Name Description
request AggregateAssetsValuesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskAggregateAssetsValuesResponse

The response to send back to the client (wrapped by a task).

BatchDeleteAssets(BatchDeleteAssetsRequest, ServerCallContext)

public virtual Task<Empty> BatchDeleteAssets(BatchDeleteAssetsRequest request, ServerCallContext context)

Deletes list of Assets.

Parameters
Name Description
request BatchDeleteAssetsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskEmpty

The response to send back to the client (wrapped by a task).

BatchUpdateAssets(BatchUpdateAssetsRequest, ServerCallContext)

public virtual Task<BatchUpdateAssetsResponse> BatchUpdateAssets(BatchUpdateAssetsRequest request, ServerCallContext context)

Updates the parameters of a list of assets.

Parameters
Name Description
request BatchUpdateAssetsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskBatchUpdateAssetsResponse

The response to send back to the client (wrapped by a task).

CreateGroup(CreateGroupRequest, ServerCallContext)

public virtual Task<Operation> CreateGroup(CreateGroupRequest request, ServerCallContext context)

Creates a new group in a given project and location.

Parameters
Name Description
request CreateGroupRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

CreateImportDataFile(CreateImportDataFileRequest, ServerCallContext)

public virtual Task<Operation> CreateImportDataFile(CreateImportDataFileRequest request, ServerCallContext context)

Creates an import data file.

Parameters
Name Description
request CreateImportDataFileRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

CreateImportJob(CreateImportJobRequest, ServerCallContext)

public virtual Task<Operation> CreateImportJob(CreateImportJobRequest request, ServerCallContext context)

Creates an import job.

Parameters
Name Description
request CreateImportJobRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

CreatePreferenceSet(CreatePreferenceSetRequest, ServerCallContext)

public virtual Task<Operation> CreatePreferenceSet(CreatePreferenceSetRequest request, ServerCallContext context)

Creates a new preference set in a given project and location.

Parameters
Name Description
request CreatePreferenceSetRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

CreateReport(CreateReportRequest, ServerCallContext)

public virtual Task<Operation> CreateReport(CreateReportRequest request, ServerCallContext context)

Creates a report.

Parameters
Name Description
request CreateReportRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

CreateReportConfig(CreateReportConfigRequest, ServerCallContext)

public virtual Task<Operation> CreateReportConfig(CreateReportConfigRequest request, ServerCallContext context)

Creates a report configuration.

Parameters
Name Description
request CreateReportConfigRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

CreateSource(CreateSourceRequest, ServerCallContext)

public virtual Task<Operation> CreateSource(CreateSourceRequest request, ServerCallContext context)

Creates a new source in a given project and location.

Parameters
Name Description
request CreateSourceRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteAsset(DeleteAssetRequest, ServerCallContext)

public virtual Task<Empty> DeleteAsset(DeleteAssetRequest request, ServerCallContext context)

Deletes an asset.

Parameters
Name Description
request DeleteAssetRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskEmpty

The response to send back to the client (wrapped by a task).

DeleteGroup(DeleteGroupRequest, ServerCallContext)

public virtual Task<Operation> DeleteGroup(DeleteGroupRequest request, ServerCallContext context)

Deletes a group.

Parameters
Name Description
request DeleteGroupRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteImportDataFile(DeleteImportDataFileRequest, ServerCallContext)

public virtual Task<Operation> DeleteImportDataFile(DeleteImportDataFileRequest request, ServerCallContext context)

Delete an import data file.

Parameters
Name Description
request DeleteImportDataFileRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteImportJob(DeleteImportJobRequest, ServerCallContext)

public virtual Task<Operation> DeleteImportJob(DeleteImportJobRequest request, ServerCallContext context)

Deletes an import job.

Parameters
Name Description
request DeleteImportJobRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

DeletePreferenceSet(DeletePreferenceSetRequest, ServerCallContext)

public virtual Task<Operation> DeletePreferenceSet(DeletePreferenceSetRequest request, ServerCallContext context)

Deletes a preference set.

Parameters
Name Description
request DeletePreferenceSetRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteReport(DeleteReportRequest, ServerCallContext)

public virtual Task<Operation> DeleteReport(DeleteReportRequest request, ServerCallContext context)

Deletes a Report.

Parameters
Name Description
request DeleteReportRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteReportConfig(DeleteReportConfigRequest, ServerCallContext)

public virtual Task<Operation> DeleteReportConfig(DeleteReportConfigRequest request, ServerCallContext context)

Deletes a ReportConfig.

Parameters
Name Description
request DeleteReportConfigRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteSource(DeleteSourceRequest, ServerCallContext)

public virtual Task<Operation> DeleteSource(DeleteSourceRequest request, ServerCallContext context)

Deletes a source.

Parameters
Name Description
request DeleteSourceRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

GetAsset(GetAssetRequest, ServerCallContext)

public virtual Task<Asset> GetAsset(GetAssetRequest request, ServerCallContext context)

Gets the details of an asset.

Parameters
Name Description
request GetAssetRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskAsset

The response to send back to the client (wrapped by a task).

GetErrorFrame(GetErrorFrameRequest, ServerCallContext)

public virtual Task<ErrorFrame> GetErrorFrame(GetErrorFrameRequest request, ServerCallContext context)

Gets the details of an error frame.

Parameters
Name Description
request GetErrorFrameRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskErrorFrame

The response to send back to the client (wrapped by a task).

GetGroup(GetGroupRequest, ServerCallContext)

public virtual Task<Group> GetGroup(GetGroupRequest request, ServerCallContext context)

Gets the details of a group.

Parameters
Name Description
request GetGroupRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskGroup

The response to send back to the client (wrapped by a task).

GetImportDataFile(GetImportDataFileRequest, ServerCallContext)

public virtual Task<ImportDataFile> GetImportDataFile(GetImportDataFileRequest request, ServerCallContext context)

Gets an import data file.

Parameters
Name Description
request GetImportDataFileRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskImportDataFile

The response to send back to the client (wrapped by a task).

GetImportJob(GetImportJobRequest, ServerCallContext)

public virtual Task<ImportJob> GetImportJob(GetImportJobRequest request, ServerCallContext context)

Gets the details of an import job.

Parameters
Name Description
request GetImportJobRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskImportJob

The response to send back to the client (wrapped by a task).

GetPreferenceSet(GetPreferenceSetRequest, ServerCallContext)

public virtual Task<PreferenceSet> GetPreferenceSet(GetPreferenceSetRequest request, ServerCallContext context)

Gets the details of a preference set.

Parameters
Name Description
request GetPreferenceSetRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskPreferenceSet

The response to send back to the client (wrapped by a task).

GetReport(GetReportRequest, ServerCallContext)

public virtual Task<Report> GetReport(GetReportRequest request, ServerCallContext context)

Gets details of a single Report.

Parameters
Name Description
request GetReportRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskReport

The response to send back to the client (wrapped by a task).

GetReportConfig(GetReportConfigRequest, ServerCallContext)

public virtual Task<ReportConfig> GetReportConfig(GetReportConfigRequest request, ServerCallContext context)

Gets details of a single ReportConfig.

Parameters
Name Description
request GetReportConfigRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskReportConfig

The response to send back to the client (wrapped by a task).

GetSettings(GetSettingsRequest, ServerCallContext)

public virtual Task<Settings> GetSettings(GetSettingsRequest request, ServerCallContext context)

Gets the details of regional settings.

Parameters
Name Description
request GetSettingsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskSettings

The response to send back to the client (wrapped by a task).

GetSource(GetSourceRequest, ServerCallContext)

public virtual Task<Source> GetSource(GetSourceRequest request, ServerCallContext context)

Gets the details of a source.

Parameters
Name Description
request GetSourceRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskSource

The response to send back to the client (wrapped by a task).

ListAssets(ListAssetsRequest, ServerCallContext)

public virtual Task<ListAssetsResponse> ListAssets(ListAssetsRequest request, ServerCallContext context)

Lists all the assets in a given project and location.

Parameters
Name Description
request ListAssetsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListAssetsResponse

The response to send back to the client (wrapped by a task).

ListErrorFrames(ListErrorFramesRequest, ServerCallContext)

public virtual Task<ListErrorFramesResponse> ListErrorFrames(ListErrorFramesRequest request, ServerCallContext context)

Lists all error frames in a given source and location.

Parameters
Name Description
request ListErrorFramesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListErrorFramesResponse

The response to send back to the client (wrapped by a task).

ListGroups(ListGroupsRequest, ServerCallContext)

public virtual Task<ListGroupsResponse> ListGroups(ListGroupsRequest request, ServerCallContext context)

Lists all groups in a given project and location.

Parameters
Name Description
request ListGroupsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListGroupsResponse

The response to send back to the client (wrapped by a task).

ListImportDataFiles(ListImportDataFilesRequest, ServerCallContext)

public virtual Task<ListImportDataFilesResponse> ListImportDataFiles(ListImportDataFilesRequest request, ServerCallContext context)

List import data files.

Parameters
Name Description
request ListImportDataFilesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListImportDataFilesResponse

The response to send back to the client (wrapped by a task).

ListImportJobs(ListImportJobsRequest, ServerCallContext)

public virtual Task<ListImportJobsResponse> ListImportJobs(ListImportJobsRequest request, ServerCallContext context)

Lists all import jobs.

Parameters
Name Description
request ListImportJobsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListImportJobsResponse

The response to send back to the client (wrapped by a task).

ListPreferenceSets(ListPreferenceSetsRequest, ServerCallContext)

public virtual Task<ListPreferenceSetsResponse> ListPreferenceSets(ListPreferenceSetsRequest request, ServerCallContext context)

Lists all the preference sets in a given project and location.

Parameters
Name Description
request ListPreferenceSetsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListPreferenceSetsResponse

The response to send back to the client (wrapped by a task).

ListReportConfigs(ListReportConfigsRequest, ServerCallContext)

public virtual Task<ListReportConfigsResponse> ListReportConfigs(ListReportConfigsRequest request, ServerCallContext context)

Lists ReportConfigs in a given project and location.

Parameters
Name Description
request ListReportConfigsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListReportConfigsResponse

The response to send back to the client (wrapped by a task).

ListReports(ListReportsRequest, ServerCallContext)

public virtual Task<ListReportsResponse> ListReports(ListReportsRequest request, ServerCallContext context)

Lists Reports in a given ReportConfig.

Parameters
Name Description
request ListReportsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListReportsResponse

The response to send back to the client (wrapped by a task).

ListSources(ListSourcesRequest, ServerCallContext)

public virtual Task<ListSourcesResponse> ListSources(ListSourcesRequest request, ServerCallContext context)

Lists all the sources in a given project and location.

Parameters
Name Description
request ListSourcesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListSourcesResponse

The response to send back to the client (wrapped by a task).

RemoveAssetsFromGroup(RemoveAssetsFromGroupRequest, ServerCallContext)

public virtual Task<Operation> RemoveAssetsFromGroup(RemoveAssetsFromGroupRequest request, ServerCallContext context)

Removes assets from a group.

Parameters
Name Description
request RemoveAssetsFromGroupRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

ReportAssetFrames(ReportAssetFramesRequest, ServerCallContext)

public virtual Task<ReportAssetFramesResponse> ReportAssetFrames(ReportAssetFramesRequest request, ServerCallContext context)

Reports a set of frames.

Parameters
Name Description
request ReportAssetFramesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskReportAssetFramesResponse

The response to send back to the client (wrapped by a task).

RunImportJob(RunImportJobRequest, ServerCallContext)

public virtual Task<Operation> RunImportJob(RunImportJobRequest request, ServerCallContext context)

Runs an import job.

Parameters
Name Description
request RunImportJobRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

UpdateAsset(UpdateAssetRequest, ServerCallContext)

public virtual Task<Asset> UpdateAsset(UpdateAssetRequest request, ServerCallContext context)

Updates the parameters of an asset.

Parameters
Name Description
request UpdateAssetRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskAsset

The response to send back to the client (wrapped by a task).

UpdateGroup(UpdateGroupRequest, ServerCallContext)

public virtual Task<Operation> UpdateGroup(UpdateGroupRequest request, ServerCallContext context)

Updates the parameters of a group.

Parameters
Name Description
request UpdateGroupRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

UpdateImportJob(UpdateImportJobRequest, ServerCallContext)

public virtual Task<Operation> UpdateImportJob(UpdateImportJobRequest request, ServerCallContext context)

Updates an import job.

Parameters
Name Description
request UpdateImportJobRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

UpdatePreferenceSet(UpdatePreferenceSetRequest, ServerCallContext)

public virtual Task<Operation> UpdatePreferenceSet(UpdatePreferenceSetRequest request, ServerCallContext context)

Updates the parameters of a preference set.

Parameters
Name Description
request UpdatePreferenceSetRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

UpdateSettings(UpdateSettingsRequest, ServerCallContext)

public virtual Task<Operation> UpdateSettings(UpdateSettingsRequest request, ServerCallContext context)

Updates the regional-level project settings.

Parameters
Name Description
request UpdateSettingsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

UpdateSource(UpdateSourceRequest, ServerCallContext)

public virtual Task<Operation> UpdateSource(UpdateSourceRequest request, ServerCallContext context)

Updates the parameters of a source.

Parameters
Name Description
request UpdateSourceRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

ValidateImportJob(ValidateImportJobRequest, ServerCallContext)

public virtual Task<Operation> ValidateImportJob(ValidateImportJobRequest request, ServerCallContext context)

Validates an import job.

Parameters
Name Description
request ValidateImportJobRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).