Class ProjectsResource.LocationsResource.MigrationJobsResource.DemoteDestinationRequest
Demotes the destination database to become a read replica of the source. This is applicable for the following migrations: 1. MySQL to Cloud SQL for MySQL 2. PostgreSQL to Cloud SQL for PostgreSQL 3. PostgreSQL to AlloyDB for PostgreSQL.
Inheritance
ProjectsResource.LocationsResource.MigrationJobsResource.DemoteDestinationRequest
Inherited Members
Namespace: Google.Apis.DatabaseMigrationService.v1
Assembly: Google.Apis.DatabaseMigrationService.v1.dll
Syntax
public class ProjectsResource.LocationsResource.MigrationJobsResource.DemoteDestinationRequest : DatabaseMigrationServiceBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
DemoteDestinationRequest(IClientService, DemoteDestinationRequest, string)
Constructs a new DemoteDestination request.
Declaration
public DemoteDestinationRequest(IClientService service, DemoteDestinationRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
DemoteDestinationRequest | 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 demote its destination.
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 DemoteDestination parameter list.
Declaration
protected override void InitParameters()