Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

MigrationCenter

import { MigrationCenter } from "https://googleapis.deno.dev/v1/migrationcenter:v1.ts";

A unified platform that helps you accelerate your end-to-end cloud journey from your current on-premises or cloud environments to Google Cloud.

class MigrationCenter {
constructor(client?: CredentialsClient, baseUrl?: string);
async projectsLocationsAssetsAggregateValues(parent: string, req: AggregateAssetsValuesRequest): Promise<AggregateAssetsValuesResponse>;
async projectsLocationsAssetsBatchDelete(parent: string, req: BatchDeleteAssetsRequest): Promise<Empty>;
async projectsLocationsAssetsBatchUpdate(parent: string, req: BatchUpdateAssetsRequest): Promise<BatchUpdateAssetsResponse>;
async projectsLocationsAssetsDelete(name: string, opts?: ProjectsLocationsAssetsDeleteOptions): Promise<Empty>;
async projectsLocationsAssetsGet(name: string, opts?: ProjectsLocationsAssetsGetOptions): Promise<Asset>;
async projectsLocationsAssetsList(parent: string, opts?: ProjectsLocationsAssetsListOptions): Promise<ListAssetsResponse>;
async projectsLocationsAssetsPatch(
name: string,
req: Asset,
): Promise<Asset>;
async projectsLocationsAssetsReportAssetFrames(
parent: string,
req: Frames,
): Promise<ReportAssetFramesResponse>;
async projectsLocationsDiscoveryClientsCreate(
parent: string,
): Promise<Operation>;
async projectsLocationsDiscoveryClientsDelete(name: string, opts?: ProjectsLocationsDiscoveryClientsDeleteOptions): Promise<Operation>;
async projectsLocationsDiscoveryClientsGet(name: string): Promise<DiscoveryClient>;
async projectsLocationsDiscoveryClientsList(parent: string, opts?: ProjectsLocationsDiscoveryClientsListOptions): Promise<ListDiscoveryClientsResponse>;
async projectsLocationsDiscoveryClientsPatch(
name: string,
): Promise<Operation>;
async projectsLocationsDiscoveryClientsSendHeartbeat(name: string, req: SendDiscoveryClientHeartbeatRequest): Promise<Operation>;
async projectsLocationsGet(name: string): Promise<Location>;
async projectsLocationsGetSettings(name: string): Promise<Settings>;
async projectsLocationsGroupsAddAssets(group: string, req: AddAssetsToGroupRequest): Promise<Operation>;
async projectsLocationsGroupsCreate(
parent: string,
req: Group,
): Promise<Operation>;
async projectsLocationsGroupsDelete(name: string, opts?: ProjectsLocationsGroupsDeleteOptions): Promise<Operation>;
async projectsLocationsGroupsGet(name: string): Promise<Group>;
async projectsLocationsGroupsList(parent: string, opts?: ProjectsLocationsGroupsListOptions): Promise<ListGroupsResponse>;
async projectsLocationsGroupsPatch(
name: string,
req: Group,
): Promise<Operation>;
async projectsLocationsGroupsRemoveAssets(group: string, req: RemoveAssetsFromGroupRequest): Promise<Operation>;
async projectsLocationsImportJobsCreate(
parent: string,
req: ImportJob,
): Promise<Operation>;
async projectsLocationsImportJobsDelete(name: string, opts?: ProjectsLocationsImportJobsDeleteOptions): Promise<Operation>;
async projectsLocationsImportJobsGet(name: string, opts?: ProjectsLocationsImportJobsGetOptions): Promise<ImportJob>;
async projectsLocationsImportJobsImportDataFilesCreate(
parent: string,
): Promise<Operation>;
async projectsLocationsImportJobsImportDataFilesDelete(name: string, opts?: ProjectsLocationsImportJobsImportDataFilesDeleteOptions): Promise<Operation>;
async projectsLocationsImportJobsImportDataFilesGet(name: string): Promise<ImportDataFile>;
async projectsLocationsImportJobsImportDataFilesList(parent: string, opts?: ProjectsLocationsImportJobsImportDataFilesListOptions): Promise<ListImportDataFilesResponse>;
async projectsLocationsImportJobsList(parent: string, opts?: ProjectsLocationsImportJobsListOptions): Promise<ListImportJobsResponse>;
async projectsLocationsImportJobsPatch(
name: string,
req: ImportJob,
): Promise<Operation>;
async projectsLocationsImportJobsRun(name: string, req: RunImportJobRequest): Promise<Operation>;
async projectsLocationsImportJobsValidate(name: string, req: ValidateImportJobRequest): Promise<Operation>;
async projectsLocationsList(name: string, opts?: ProjectsLocationsListOptions): Promise<ListLocationsResponse>;
async projectsLocationsOperationsCancel(name: string, req: CancelOperationRequest): Promise<Empty>;
async projectsLocationsOperationsDelete(name: string): Promise<Empty>;
async projectsLocationsOperationsGet(name: string): Promise<Operation>;
async projectsLocationsOperationsList(name: string, opts?: ProjectsLocationsOperationsListOptions): Promise<ListOperationsResponse>;
async projectsLocationsPreferenceSetsCreate(
parent: string,
): Promise<Operation>;
async projectsLocationsPreferenceSetsDelete(name: string, opts?: ProjectsLocationsPreferenceSetsDeleteOptions): Promise<Operation>;
async projectsLocationsPreferenceSetsGet(name: string): Promise<PreferenceSet>;
async projectsLocationsPreferenceSetsList(parent: string, opts?: ProjectsLocationsPreferenceSetsListOptions): Promise<ListPreferenceSetsResponse>;
async projectsLocationsPreferenceSetsPatch(
name: string,
): Promise<Operation>;
async projectsLocationsReportConfigsCreate(
parent: string,
): Promise<Operation>;
async projectsLocationsReportConfigsDelete(name: string, opts?: ProjectsLocationsReportConfigsDeleteOptions): Promise<Operation>;
async projectsLocationsReportConfigsGet(name: string): Promise<ReportConfig>;
async projectsLocationsReportConfigsList(parent: string, opts?: ProjectsLocationsReportConfigsListOptions): Promise<ListReportConfigsResponse>;
async projectsLocationsReportConfigsReportsCreate(
parent: string,
req: Report,
): Promise<Operation>;
async projectsLocationsReportConfigsReportsDelete(name: string, opts?: ProjectsLocationsReportConfigsReportsDeleteOptions): Promise<Operation>;
async projectsLocationsReportConfigsReportsGet(name: string, opts?: ProjectsLocationsReportConfigsReportsGetOptions): Promise<Report>;
async projectsLocationsReportConfigsReportsList(parent: string, opts?: ProjectsLocationsReportConfigsReportsListOptions): Promise<ListReportsResponse>;
async projectsLocationsSourcesCreate(
parent: string,
req: Source,
): Promise<Operation>;
async projectsLocationsSourcesDelete(name: string, opts?: ProjectsLocationsSourcesDeleteOptions): Promise<Operation>;
async projectsLocationsSourcesErrorFramesGet(name: string, opts?: ProjectsLocationsSourcesErrorFramesGetOptions): Promise<ErrorFrame>;
async projectsLocationsSourcesErrorFramesList(parent: string, opts?: ProjectsLocationsSourcesErrorFramesListOptions): Promise<ListErrorFramesResponse>;
async projectsLocationsSourcesGet(name: string): Promise<Source>;
async projectsLocationsSourcesList(parent: string, opts?: ProjectsLocationsSourcesListOptions): Promise<ListSourcesResponse>;
async projectsLocationsSourcesPatch(
name: string,
req: Source,
): Promise<Operation>;
async projectsLocationsUpdateSettings(
name: string,
req: Settings,
): Promise<Operation>;
}

§Constructors

§
new MigrationCenter(client?: CredentialsClient, baseUrl?: string)
[src]

§Methods

§
projectsLocationsAssetsAggregateValues(parent: string, req: AggregateAssetsValuesRequest): Promise<AggregateAssetsValuesResponse>
[src]

Aggregates the requested fields based on provided function.

@param parent

Required. Parent value for AggregateAssetsValuesRequest.

§
projectsLocationsAssetsBatchDelete(parent: string, req: BatchDeleteAssetsRequest): Promise<Empty>
[src]

Deletes list of Assets.

@param parent

Required. Parent value for batch asset delete.

§
projectsLocationsAssetsBatchUpdate(parent: string, req: BatchUpdateAssetsRequest): Promise<BatchUpdateAssetsResponse>
[src]

Updates the parameters of a list of assets.

@param parent

Required. Parent value for batch asset update.

§
projectsLocationsAssetsDelete(name: string, opts?: ProjectsLocationsAssetsDeleteOptions): Promise<Empty>
[src]

Deletes an asset.

@param name

Required. Name of the resource.

§
projectsLocationsAssetsGet(name: string, opts?: ProjectsLocationsAssetsGetOptions): Promise<Asset>
[src]

Gets the details of an asset.

@param name

Required. Name of the resource.

§
projectsLocationsAssetsList(parent: string, opts?: ProjectsLocationsAssetsListOptions): Promise<ListAssetsResponse>
[src]

Lists all the assets in a given project and location.

@param parent

Required. Parent value for ListAssetsRequest.

§
projectsLocationsAssetsPatch(name: string, req: Asset, opts?: ProjectsLocationsAssetsPatchOptions): Promise<Asset>
[src]

Updates the parameters of an asset.

@param name

Output only. The full name of the asset.

§
projectsLocationsAssetsReportAssetFrames(parent: string, req: Frames, opts?: ProjectsLocationsAssetsReportAssetFramesOptions): Promise<ReportAssetFramesResponse>
[src]

Reports a set of frames.

@param parent

Required. Parent of the resource.

§
projectsLocationsDiscoveryClientsCreate(parent: string, req: DiscoveryClient, opts?: ProjectsLocationsDiscoveryClientsCreateOptions): Promise<Operation>
[src]

Creates a new discovery client.

@param parent

Required. Parent resource.

§
projectsLocationsDiscoveryClientsDelete(name: string, opts?: ProjectsLocationsDiscoveryClientsDeleteOptions): Promise<Operation>
[src]

Deletes a discovery client.

@param name

Required. The discovery client name.

§
projectsLocationsDiscoveryClientsGet(name: string): Promise<DiscoveryClient>
[src]

Gets the details of a discovery client.

@param name

Required. The discovery client name.

§
projectsLocationsDiscoveryClientsList(parent: string, opts?: ProjectsLocationsDiscoveryClientsListOptions): Promise<ListDiscoveryClientsResponse>
[src]

Lists all the discovery clients in a given project and location.

@param parent

Required. Parent resource.

§
projectsLocationsDiscoveryClientsPatch(name: string, req: DiscoveryClient, opts?: ProjectsLocationsDiscoveryClientsPatchOptions): Promise<Operation>
[src]

Updates a discovery client.

@param name

Output only. Identifier. Full name of this discovery client.

§
projectsLocationsDiscoveryClientsSendHeartbeat(name: string, req: SendDiscoveryClientHeartbeatRequest): Promise<Operation>
[src]

Sends a discovery client heartbeat. Healthy clients are expected to send heartbeats regularly (normally every few minutes).

@param name

Required. The discovery client name.

§
projectsLocationsGet(name: string): Promise<Location>
[src]

Gets information about a location.

@param name

Resource name for the location.

§
projectsLocationsGetSettings(name: string): Promise<Settings>
[src]

Gets the details of regional settings.

@param name

Required. Name of the resource.

§
projectsLocationsGroupsAddAssets(group: string, req: AddAssetsToGroupRequest): Promise<Operation>
[src]

Adds assets to a group.

@param group

Required. Group reference.

§
projectsLocationsGroupsCreate(parent: string, req: Group, opts?: ProjectsLocationsGroupsCreateOptions): Promise<Operation>
[src]

Creates a new group in a given project and location.

@param parent

Required. Value for parent.

§
projectsLocationsGroupsDelete(name: string, opts?: ProjectsLocationsGroupsDeleteOptions): Promise<Operation>
[src]

Deletes a group.

@param name

Required. Name of the group resource.

§
projectsLocationsGroupsGet(name: string): Promise<Group>
[src]

Gets the details of a group.

@param name

Required. Name of the resource.

§
projectsLocationsGroupsList(parent: string, opts?: ProjectsLocationsGroupsListOptions): Promise<ListGroupsResponse>
[src]

Lists all groups in a given project and location.

@param parent

Required. Parent value for ListGroupsRequest.

§
projectsLocationsGroupsPatch(name: string, req: Group, opts?: ProjectsLocationsGroupsPatchOptions): Promise<Operation>
[src]

Updates the parameters of a group.

@param name

Output only. The name of the group.

§
projectsLocationsGroupsRemoveAssets(group: string, req: RemoveAssetsFromGroupRequest): Promise<Operation>
[src]

Removes assets from a group.

@param group

Required. Group reference.

§
projectsLocationsImportJobsCreate(parent: string, req: ImportJob, opts?: ProjectsLocationsImportJobsCreateOptions): Promise<Operation>
[src]

Creates an import job.

@param parent

Required. Value for parent.

§
projectsLocationsImportJobsDelete(name: string, opts?: ProjectsLocationsImportJobsDeleteOptions): Promise<Operation>
[src]

Deletes an import job.

@param name

Required. Name of the resource.

§
projectsLocationsImportJobsGet(name: string, opts?: ProjectsLocationsImportJobsGetOptions): Promise<ImportJob>
[src]

Gets the details of an import job.

@param name

Required. Name of the resource.

§
projectsLocationsImportJobsImportDataFilesCreate(parent: string, req: ImportDataFile, opts?: ProjectsLocationsImportJobsImportDataFilesCreateOptions): Promise<Operation>
[src]

Creates an import data file.

@param parent

Required. Name of the parent of the ImportDataFile.

§
projectsLocationsImportJobsImportDataFilesDelete(name: string, opts?: ProjectsLocationsImportJobsImportDataFilesDeleteOptions): Promise<Operation>
[src]

Delete an import data file.

@param name

Required. Name of the ImportDataFile to delete.

§
projectsLocationsImportJobsImportDataFilesGet(name: string): Promise<ImportDataFile>
[src]

Gets an import data file.

@param name

Required. Name of the ImportDataFile.

§
projectsLocationsImportJobsImportDataFilesList(parent: string, opts?: ProjectsLocationsImportJobsImportDataFilesListOptions): Promise<ListImportDataFilesResponse>
[src]

List import data files.

@param parent

Required. Name of the parent of the ImportDataFiles resource.

§
projectsLocationsImportJobsList(parent: string, opts?: ProjectsLocationsImportJobsListOptions): Promise<ListImportJobsResponse>
[src]

Lists all import jobs.

@param parent

Required. Parent value for ListImportJobsRequest.

§
projectsLocationsImportJobsPatch(name: string, req: ImportJob, opts?: ProjectsLocationsImportJobsPatchOptions): Promise<Operation>
[src]

Updates an import job.

@param name

Output only. The full name of the import job.

§
projectsLocationsImportJobsRun(name: string, req: RunImportJobRequest): Promise<Operation>
[src]

Runs an import job.

@param name

Required. The name of the import job to run.

§
projectsLocationsImportJobsValidate(name: string, req: ValidateImportJobRequest): Promise<Operation>
[src]

Validates an import job.

@param name

Required. The name of the import job to validate.

§
projectsLocationsList(name: string, opts?: ProjectsLocationsListOptions): Promise<ListLocationsResponse>
[src]

Lists information about the supported locations for this service.

@param name

The resource that owns the locations collection, if applicable.

§
projectsLocationsOperationsCancel(name: string, req: CancelOperationRequest): Promise<Empty>
[src]

Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

@param name

The name of the operation resource to be cancelled.

§
projectsLocationsOperationsDelete(name: string): Promise<Empty>
[src]

Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.

@param name

The name of the operation resource to be deleted.

§
projectsLocationsOperationsGet(name: string): Promise<Operation>
[src]

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

@param name

The name of the operation resource.

§
projectsLocationsOperationsList(name: string, opts?: ProjectsLocationsOperationsListOptions): Promise<ListOperationsResponse>
[src]

Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.

@param name

The name of the operation's parent resource.

§
projectsLocationsPreferenceSetsCreate(parent: string, req: PreferenceSet, opts?: ProjectsLocationsPreferenceSetsCreateOptions): Promise<Operation>
[src]

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

@param parent

Required. Value for parent.

§
projectsLocationsPreferenceSetsDelete(name: string, opts?: ProjectsLocationsPreferenceSetsDeleteOptions): Promise<Operation>
[src]

Deletes a preference set.

@param name

Required. Name of the group resource.

§
projectsLocationsPreferenceSetsGet(name: string): Promise<PreferenceSet>
[src]

Gets the details of a preference set.

@param name

Required. Name of the resource.

§
projectsLocationsPreferenceSetsList(parent: string, opts?: ProjectsLocationsPreferenceSetsListOptions): Promise<ListPreferenceSetsResponse>
[src]

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

@param parent

Required. Parent value for ListPreferenceSetsRequest.

§
projectsLocationsPreferenceSetsPatch(name: string, req: PreferenceSet, opts?: ProjectsLocationsPreferenceSetsPatchOptions): Promise<Operation>
[src]

Updates the parameters of a preference set.

@param name

Output only. Name of the preference set.

§
projectsLocationsReportConfigsCreate(parent: string, req: ReportConfig, opts?: ProjectsLocationsReportConfigsCreateOptions): Promise<Operation>
[src]

Creates a report configuration.

@param parent

Required. Value for parent.

§
projectsLocationsReportConfigsDelete(name: string, opts?: ProjectsLocationsReportConfigsDeleteOptions): Promise<Operation>
[src]

Deletes a ReportConfig.

@param name

Required. Name of the resource.

§
projectsLocationsReportConfigsGet(name: string): Promise<ReportConfig>
[src]

Gets details of a single ReportConfig.

@param name

Required. Name of the resource.

§
projectsLocationsReportConfigsList(parent: string, opts?: ProjectsLocationsReportConfigsListOptions): Promise<ListReportConfigsResponse>
[src]

Lists ReportConfigs in a given project and location.

@param parent

Required. Parent value for ListReportConfigsRequest.

§
projectsLocationsReportConfigsReportsCreate(parent: string, req: Report, opts?: ProjectsLocationsReportConfigsReportsCreateOptions): Promise<Operation>
[src]

Creates a report.

@param parent

Required. Value for parent.

§
projectsLocationsReportConfigsReportsDelete(name: string, opts?: ProjectsLocationsReportConfigsReportsDeleteOptions): Promise<Operation>
[src]

Deletes a Report.

@param name

Required. Name of the resource.

§
projectsLocationsReportConfigsReportsGet(name: string, opts?: ProjectsLocationsReportConfigsReportsGetOptions): Promise<Report>
[src]

Gets details of a single Report.

@param name

Required. Name of the resource.

§
projectsLocationsReportConfigsReportsList(parent: string, opts?: ProjectsLocationsReportConfigsReportsListOptions): Promise<ListReportsResponse>
[src]

Lists Reports in a given ReportConfig.

@param parent

Required. Parent value for ListReportsRequest.

§
projectsLocationsSourcesCreate(parent: string, req: Source, opts?: ProjectsLocationsSourcesCreateOptions): Promise<Operation>
[src]

Creates a new source in a given project and location.

@param parent

Required. Value for parent.

§
projectsLocationsSourcesDelete(name: string, opts?: ProjectsLocationsSourcesDeleteOptions): Promise<Operation>
[src]

Deletes a source.

@param name

Required. Name of the resource.

§
projectsLocationsSourcesErrorFramesGet(name: string, opts?: ProjectsLocationsSourcesErrorFramesGetOptions): Promise<ErrorFrame>
[src]

Gets the details of an error frame.

@param name

Required. The name of the frame to retrieve. Format: projects/{project}/locations/{location}/sources/{source}/errorFrames/{error_frame}

§
projectsLocationsSourcesErrorFramesList(parent: string, opts?: ProjectsLocationsSourcesErrorFramesListOptions): Promise<ListErrorFramesResponse>
[src]

Lists all error frames in a given source and location.

@param parent

Required. Parent value (the source) for ListErrorFramesRequest.

§
projectsLocationsSourcesGet(name: string): Promise<Source>
[src]

Gets the details of a source.

@param name

Required. Name of the resource.

§
projectsLocationsSourcesList(parent: string, opts?: ProjectsLocationsSourcesListOptions): Promise<ListSourcesResponse>
[src]

Lists all the sources in a given project and location.

@param parent

Required. Parent value for ListSourcesRequest.

§
projectsLocationsSourcesPatch(name: string, req: Source, opts?: ProjectsLocationsSourcesPatchOptions): Promise<Operation>
[src]

Updates the parameters of a source.

@param name

Output only. The full name of the source.

§
projectsLocationsUpdateSettings(name: string, req: Settings, opts?: ProjectsLocationsUpdateSettingsOptions): Promise<Operation>
[src]

Updates the regional-level project settings.

@param name

Output only. The name of the resource.