Class ProjectsResource.LocationsResource.MigrationJobsResource.PromoteRequest
Promote a migration job, stopping replication to the destination and promoting the destination to be a standalone database.
Inheritance
ProjectsResource.LocationsResource.MigrationJobsResource.PromoteRequest
Inherited Members
Namespace: Google.Apis.DatabaseMigrationService.v1
Assembly: Google.Apis.DatabaseMigrationService.v1.dll
Syntax
public class ProjectsResource.LocationsResource.MigrationJobsResource.PromoteRequest : DatabaseMigrationServiceBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
PromoteRequest(IClientService, PromoteMigrationJobRequest, string)
Constructs a new Promote request.
Declaration
public PromoteRequest(IClientService service, PromoteMigrationJobRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
PromoteMigrationJobRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Name of the migration job resource to promote.
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
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Promote parameter list.
Declaration
protected override void InitParameters()