Class ProjectsResource.LocationsResource.MigrationJobsResource.GenerateTcpProxyScriptRequest
Generate a TCP Proxy configuration script to configure a cloud-hosted VM running a TCP Proxy.
Inheritance
ProjectsResource.LocationsResource.MigrationJobsResource.GenerateTcpProxyScriptRequest
Inherited Members
Namespace: Google.Apis.DatabaseMigrationService.v1
Assembly: Google.Apis.DatabaseMigrationService.v1.dll
Syntax
public class ProjectsResource.LocationsResource.MigrationJobsResource.GenerateTcpProxyScriptRequest : DatabaseMigrationServiceBaseServiceRequest<TcpProxyScript>, IClientServiceRequest<TcpProxyScript>, IClientServiceRequest
Constructors
GenerateTcpProxyScriptRequest(IClientService, GenerateTcpProxyScriptRequest, string)
Constructs a new GenerateTcpProxyScript request.
Declaration
public GenerateTcpProxyScriptRequest(IClientService service, GenerateTcpProxyScriptRequest body, string migrationJob)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GenerateTcpProxyScriptRequest | body | |
string | migrationJob |
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
MigrationJob
Name of the migration job resource to generate the TCP Proxy script.
Declaration
[RequestParameter("migrationJob", RequestParameterType.Path)]
public virtual string MigrationJob { 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 GenerateTcpProxyScript parameter list.
Declaration
protected override void InitParameters()