Class ProjectsResource.LocationsResource.ClustersResource.RestoreFromCloudSQLRequest
Restores an AlloyDB cluster from a CloudSQL resource.
Inheritance
ProjectsResource.LocationsResource.ClustersResource.RestoreFromCloudSQLRequest
Inherited Members
Namespace: Google.Apis.CloudAlloyDBAdmin.v1alpha
Assembly: Google.Apis.CloudAlloyDBAdmin.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.ClustersResource.RestoreFromCloudSQLRequest : CloudAlloyDBAdminBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
RestoreFromCloudSQLRequest(IClientService, RestoreFromCloudSQLRequest, string)
Constructs a new RestoreFromCloudSQL request.
Declaration
public RestoreFromCloudSQLRequest(IClientService service, RestoreFromCloudSQLRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
RestoreFromCloudSQLRequest | body | |
string | parent |
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
Parent
Required. The location of the new cluster. For the required format, see the comment on Cluster.name field.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { 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 RestoreFromCloudSQL parameter list.
Declaration
protected override void InitParameters()