Class ProjectsResource.LocationsResource.ImportJobsResource
The "importJobs" collection of methods.
Inherited Members
Namespace: Google.Apis.MigrationCenterAPI.v1
Assembly: Google.Apis.MigrationCenterAPI.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ImportJobsResource
Constructors
ImportJobsResource(IClientService)
Constructs a new resource.
Declaration
public ImportJobsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
ImportDataFiles
Gets the ImportDataFiles resource.
Declaration
public virtual ProjectsResource.LocationsResource.ImportJobsResource.ImportDataFilesResource ImportDataFiles { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.ImportJobsResource.ImportDataFilesResource |
Methods
Create(ImportJob, string)
Creates an import job.
Declaration
public virtual ProjectsResource.LocationsResource.ImportJobsResource.CreateRequest Create(ImportJob body, string parent)
Parameters
Type | Name | Description |
---|---|---|
ImportJob | body | The body of the request. |
string | parent | Required. Value for parent. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ImportJobsResource.CreateRequest |
Delete(string)
Deletes an import job.
Declaration
public virtual ProjectsResource.LocationsResource.ImportJobsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the resource. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ImportJobsResource.DeleteRequest |
Get(string)
Gets the details of an import job.
Declaration
public virtual ProjectsResource.LocationsResource.ImportJobsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the resource. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ImportJobsResource.GetRequest |
List(string)
Lists all import jobs.
Declaration
public virtual ProjectsResource.LocationsResource.ImportJobsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Parent value for |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ImportJobsResource.ListRequest |
Patch(ImportJob, string)
Updates an import job.
Declaration
public virtual ProjectsResource.LocationsResource.ImportJobsResource.PatchRequest Patch(ImportJob body, string name)
Parameters
Type | Name | Description |
---|---|---|
ImportJob | body | The body of the request. |
string | name | Output only. The full name of the import job. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ImportJobsResource.PatchRequest |
Run(RunImportJobRequest, string)
Runs an import job.
Declaration
public virtual ProjectsResource.LocationsResource.ImportJobsResource.RunRequest Run(RunImportJobRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
RunImportJobRequest | body | The body of the request. |
string | name | Required. The name of the import job to run. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ImportJobsResource.RunRequest |
Validate(ValidateImportJobRequest, string)
Validates an import job.
Declaration
public virtual ProjectsResource.LocationsResource.ImportJobsResource.ValidateRequest Validate(ValidateImportJobRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
ValidateImportJobRequest | body | The body of the request. |
string | name | Required. The name of the import job to validate. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ImportJobsResource.ValidateRequest |