class ProjectsLocationsImageImportsImageImportJobs extends Resource (View source)

The "imageImportJobs" collection of methods.

Typical usage is:

 $vmmigrationService = new Google\Service\VMMigrationService(...);
 $imageImportJobs = $vmmigrationService->projects_locations_imageImports_imageImportJobs;

Methods

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

Initiates the cancellation of a running clone job. (imageImportJobs.cancel)

get(string $name, array $optParams = [])

Gets details of a single ImageImportJob. (imageImportJobs.get)

listProjectsLocationsImageImportsImageImportJobs(string $parent, array $optParams = [])

Lists ImageImportJobs in a given project.

Details

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

Initiates the cancellation of a running clone job. (imageImportJobs.cancel)

Parameters

string $name

Required. The image import job id.

CancelImageImportJobRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

ImageImportJob get(string $name, array $optParams = [])

Gets details of a single ImageImportJob. (imageImportJobs.get)

Parameters

string $name

Required. The ImageImportJob name.

array $optParams

Optional parameters.

Return Value

ImageImportJob

Exceptions

Exception

ListImageImportJobsResponse listProjectsLocationsImageImportsImageImportJobs(string $parent, array $optParams = [])

Lists ImageImportJobs in a given project.

(imageImportJobs.listProjectsLocationsImageImportsImageImportJobs)

Parameters

string $parent

Required. The parent, which owns this collection of targets.

array $optParams

Optional parameters.

Return Value

ListImageImportJobsResponse

Exceptions

Exception