Class ProjectsResource.LocationsResource.ServicesResource.RestoreRequest
Restores a service from a backup.
Inheritance
ProjectsResource.LocationsResource.ServicesResource.RestoreRequest
Inherited Members
Namespace: Google.Apis.DataprocMetastore.v2
Assembly: Google.Apis.DataprocMetastore.v2.dll
Syntax
public class ProjectsResource.LocationsResource.ServicesResource.RestoreRequest : DataprocMetastoreBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
RestoreRequest(IClientService, GoogleCloudMetastoreV2RestoreServiceRequest, string)
Constructs a new Restore request.
Declaration
public RestoreRequest(IClientService service, GoogleCloudMetastoreV2RestoreServiceRequest body, string service_)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleCloudMetastoreV2RestoreServiceRequest | body | |
| string | service_ |
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
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Service_
Required. The relative resource name of the metastore service to run restore, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}.
Declaration
[RequestParameter("service", RequestParameterType.Path)]
public virtual string Service_ { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Restore parameter list.
Declaration
protected override void InitParameters()