class ProjectsLocationsImportJobs extends Resource (View source)

The "importJobs" collection of methods.

Typical usage is:

 $migrationcenterService = new Google\Service\MigrationCenterAPI(...);
 $importJobs = $migrationcenterService->projects_locations_importJobs;

Methods

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

Creates an import job. (importJobs.create)

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

Deletes an import job. (importJobs.delete)

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

Gets the details of an import job. (importJobs.get)

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

Lists all import jobs. (importJobs.listProjectsLocationsImportJobs)

patch(string $name, ImportJob $postBody, array $optParams = [])

Updates an import job. (importJobs.patch)

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

Runs an import job. (importJobs.run)

validate(string $name, ValidateImportJobRequest $postBody, array $optParams = [])

Validates an import job. (importJobs.validate)

Details

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

Creates an import job. (importJobs.create)

Parameters

string $parent

Required. Value for parent.

ImportJob $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Deletes an import job. (importJobs.delete)

Parameters

string $name

Required. Name of the resource.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Gets the details of an import job. (importJobs.get)

Parameters

string $name

Required. Name of the resource.

array $optParams

Optional parameters.

Return Value

ImportJob

Exceptions

Exception

ListImportJobsResponse listProjectsLocationsImportJobs(string $parent, array $optParams = [])

Lists all import jobs. (importJobs.listProjectsLocationsImportJobs)

Parameters

string $parent

Required. Parent value for ListImportJobsRequest.

array $optParams

Optional parameters.

Return Value

ListImportJobsResponse

Exceptions

Exception

Operation patch(string $name, ImportJob $postBody, array $optParams = [])

Updates an import job. (importJobs.patch)

Parameters

string $name

Output only. The full name of the import job.

ImportJob $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Runs an import job. (importJobs.run)

Parameters

string $name

Required. The name of the import job to run.

RunImportJobRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation validate(string $name, ValidateImportJobRequest $postBody, array $optParams = [])

Validates an import job. (importJobs.validate)

Parameters

string $name

Required. The name of the import job to validate.

ValidateImportJobRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception