Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.InstancesResource.RestoreRequest

Restores an existing instance's file share from a backup. The capacity of the instance needs to be equal to or larger than the capacity of the backup (and also equal to or larger than the minimum capacity of the tier).

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Operation>
CloudFilestoreBaseServiceRequest<Operation>
ProjectsResource.LocationsResource.InstancesResource.RestoreRequest
Implements
IClientServiceRequest<Operation>
IClientServiceRequest
Inherited Members
CloudFilestoreBaseServiceRequest<Operation>.Xgafv
CloudFilestoreBaseServiceRequest<Operation>.AccessToken
CloudFilestoreBaseServiceRequest<Operation>.Alt
CloudFilestoreBaseServiceRequest<Operation>.Callback
CloudFilestoreBaseServiceRequest<Operation>.Fields
CloudFilestoreBaseServiceRequest<Operation>.Key
CloudFilestoreBaseServiceRequest<Operation>.OauthToken
CloudFilestoreBaseServiceRequest<Operation>.PrettyPrint
CloudFilestoreBaseServiceRequest<Operation>.QuotaUser
CloudFilestoreBaseServiceRequest<Operation>.UploadType
CloudFilestoreBaseServiceRequest<Operation>.UploadProtocol
ClientServiceRequest<Operation>.Execute()
ClientServiceRequest<Operation>.ExecuteAsStream()
ClientServiceRequest<Operation>.ExecuteAsync()
ClientServiceRequest<Operation>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Operation>.ExecuteAsStreamAsync()
ClientServiceRequest<Operation>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Operation>.CreateRequest(bool?)
ClientServiceRequest<Operation>.GenerateRequestUri()
ClientServiceRequest<Operation>.GetDefaultETagAction(string)
ClientServiceRequest<Operation>.ETagAction
ClientServiceRequest<Operation>.ModifyRequest
ClientServiceRequest<Operation>.ValidateParameters
ClientServiceRequest<Operation>.ApiVersion
ClientServiceRequest<Operation>.RequestParameters
ClientServiceRequest<Operation>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudFilestore.v1
Assembly: Google.Apis.CloudFilestore.v1.dll
Syntax
public class ProjectsResource.LocationsResource.InstancesResource.RestoreRequest : CloudFilestoreBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest

Constructors

RestoreRequest(IClientService, RestoreInstanceRequest, string)

Constructs a new Restore request.

Declaration
public RestoreRequest(IClientService service, RestoreInstanceRequest body, string name)
Parameters
Type Name Description
IClientService service
RestoreInstanceRequest body
string name

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Operation>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Operation>.MethodName

Name

Required. The resource name of the instance, in the format projects/{project_number}/locations/{location_id}/instances/{instance_id}.

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
ClientServiceRequest<Operation>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<Operation>.GetBody()

InitParameters()

Initializes Restore parameter list.

Declaration
protected override void InitParameters()
Overrides
CloudFilestoreBaseServiceRequest<Operation>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX