class ProjectsLocationsImageImports extends Resource (View source)

The "imageImports" collection of methods.

Typical usage is:

 $vmmigrationService = new Google\Service\VMMigrationService(...);
 $imageImports = $vmmigrationService->projects_locations_imageImports;

Methods

create(string $parent, ImageImport $postBody, array $optParams = [])

Creates a new ImageImport in a given project. (imageImports.create)

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

Deletes a single ImageImport. (imageImports.delete)

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

Gets details of a single ImageImport. (imageImports.get)

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

Lists ImageImports in a given project.

Details

Operation create(string $parent, ImageImport $postBody, array $optParams = [])

Creates a new ImageImport in a given project. (imageImports.create)

Parameters

string $parent

Required. The ImageImport's parent.

ImageImport $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation delete(string $name, array $optParams = [])

Deletes a single ImageImport. (imageImports.delete)

Parameters

string $name

Required. The ImageImport name.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Gets details of a single ImageImport. (imageImports.get)

Parameters

string $name

Required. The ImageImport name.

array $optParams

Optional parameters.

Return Value

ImageImport

Exceptions

Exception

ListImageImportsResponse listProjectsLocationsImageImports(string $parent, array $optParams = [])

Lists ImageImports in a given project.

(imageImports.listProjectsLocationsImageImports)

Parameters

string $parent

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

array $optParams

Optional parameters.

Return Value

ListImageImportsResponse

Exceptions

Exception