Class ProjectsResource.LocationsResource.MigrationJobsResource.RestartRequest
Restart a stopped or failed migration job, resetting the destination instance to its original state and starting the migration process from scratch.
Inheritance
ProjectsResource.LocationsResource.MigrationJobsResource.RestartRequest
Inherited Members
Namespace: Google.Apis.DatabaseMigrationService.v1beta1
Assembly: Google.Apis.DatabaseMigrationService.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.MigrationJobsResource.RestartRequest : DatabaseMigrationServiceBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
RestartRequest(IClientService, RestartMigrationJobRequest, string)
Constructs a new Restart request.
Declaration
public RestartRequest(IClientService service, RestartMigrationJobRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
RestartMigrationJobRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DatabaseMigrationService.v1beta1.Data.Operation>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DatabaseMigrationService.v1beta1.Data.Operation>.MethodName
Name
Name of the migration job resource to restart.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DatabaseMigrationService.v1beta1.Data.Operation>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DatabaseMigrationService.v1beta1.Data.Operation>.GetBody()
InitParameters()
Initializes Restart parameter list.
Declaration
protected override void InitParameters()