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
System.Object
ProjectsResource.LocationsResource.MigrationJobsResource.RestartRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.DatabaseMigrationService.v1beta1
Assembly: Google.Apis.DatabaseMigrationService.v1beta1.dll
Syntax
public class 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 | |
System.String | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.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 |
---|---|
System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DatabaseMigrationService.v1beta1.Data.Operation>.GetBody()
InitParameters()
Initializes Restart parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.DatabaseMigrationService.v1beta1.DatabaseMigrationServiceBaseServiceRequest<Google.Apis.DatabaseMigrationService.v1beta1.Data.Operation>.InitParameters()