class ProjectsLocationsSourcesDiskMigrationJobs extends Resource (View source)

The "diskMigrationJobs" collection of methods.

Typical usage is:

 $vmmigrationService = new Google\Service\VMMigrationService(...);
 $diskMigrationJobs = $vmmigrationService->projects_locations_sources_diskMigrationJobs;

Methods

cancel(string $name, CancelDiskMigrationJobRequest $postBody, array $optParams = [])

Cancels the disk migration job. (diskMigrationJobs.cancel)

run(string $name, RunDiskMigrationJobRequest $postBody, array $optParams = [])

Runs the disk migration job. (diskMigrationJobs.run)

Details

Operation cancel(string $name, CancelDiskMigrationJobRequest $postBody, array $optParams = [])

Cancels the disk migration job. (diskMigrationJobs.cancel)

Parameters

string $name

Required. The name of the DiskMigrationJob.

CancelDiskMigrationJobRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation run(string $name, RunDiskMigrationJobRequest $postBody, array $optParams = [])

Runs the disk migration job. (diskMigrationJobs.run)

Parameters

string $name

Required. The name of the DiskMigrationJob.

RunDiskMigrationJobRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception