Migration Center v1 API - Class MigrationCenter.MigrationCenterBase (1.0.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
NameDescription
requestAddAssetsToGroupRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestAggregateAssetsValuesRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestBatchDeleteAssetsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestBatchUpdateAssetsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestCreateGroupRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestCreateImportDataFileRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestCreateImportJobRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestCreatePreferenceSetRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestCreateReportRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestCreateReportConfigRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestCreateSourceRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestDeleteAssetRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestDeleteGroupRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestDeleteImportDataFileRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestDeleteImportJobRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestDeletePreferenceSetRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestDeleteReportRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestDeleteReportConfigRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestDeleteSourceRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestGetAssetRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestGetErrorFrameRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestGetGroupRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestGetImportDataFileRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestGetImportJobRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestGetPreferenceSetRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestGetReportRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestGetReportConfigRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestGetSettingsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestGetSourceRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestListAssetsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestListErrorFramesRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestListGroupsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestListImportDataFilesRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestListImportJobsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestListPreferenceSetsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestListReportConfigsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestListReportsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestListSourcesRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestRemoveAssetsFromGroupRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestReportAssetFramesRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestRunImportJobRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestUpdateAssetRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestUpdateGroupRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestUpdateImportJobRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestUpdatePreferenceSetRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestUpdateSettingsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestUpdateSourceRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestValidateImportJobRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskOperation

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