Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.RestoreTemplatesResource

The "restoreTemplates" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.RestoreTemplatesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Backupdr.v1beta
Assembly: Google.Apis.Backupdr.v1beta.dll
Syntax
public class ProjectsResource.LocationsResource.RestoreTemplatesResource

Constructors

RestoreTemplatesResource(IClientService)

Constructs a new resource.

Declaration
public RestoreTemplatesResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

Executions

Gets the Executions resource.

Declaration
public virtual ProjectsResource.LocationsResource.RestoreTemplatesResource.ExecutionsResource Executions { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.RestoreTemplatesResource.ExecutionsResource

Methods

Create(RestoreTemplate, string)

Creates a new RestoreTemplate in a given project and location.

Declaration
public virtual ProjectsResource.LocationsResource.RestoreTemplatesResource.CreateRequest Create(RestoreTemplate body, string parent)
Parameters
Type Name Description
RestoreTemplate body

The body of the request.

string parent

Required. The restore template project and location in the format 'projects/{project_id}/locations/{location}'.

Returns
Type Description
ProjectsResource.LocationsResource.RestoreTemplatesResource.CreateRequest

Delete(string)

Deletes a RestoreTemplate.

Declaration
public virtual ProjectsResource.LocationsResource.RestoreTemplatesResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The name of the restore template to delete. Format: 'projects/{project_id}/locations/{location}/restoreTemplates/{restore_template_id}'

Returns
Type Description
ProjectsResource.LocationsResource.RestoreTemplatesResource.DeleteRequest

Get(string)

Gets details of a RestoreTemplate.

Declaration
public virtual ProjectsResource.LocationsResource.RestoreTemplatesResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The name of the restore template to retrieve. Format: 'projects/{project_id}/locations/{location}/restoreTemplates/{restore_template_id}'

Returns
Type Description
ProjectsResource.LocationsResource.RestoreTemplatesResource.GetRequest

List(string)

Lists RestoreTemplates in a given project and location.

Declaration
public virtual ProjectsResource.LocationsResource.RestoreTemplatesResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The project and location from which to list the restore templates. Format: projects/{project}/locations/{location}.

Returns
Type Description
ProjectsResource.LocationsResource.RestoreTemplatesResource.ListRequest

Patch(RestoreTemplate, string)

Updates the settings of a RestoreTemplate.

Declaration
public virtual ProjectsResource.LocationsResource.RestoreTemplatesResource.PatchRequest Patch(RestoreTemplate body, string name)
Parameters
Type Name Description
RestoreTemplate body

The body of the request.

string name

Identifier. The resource name of the RestoreTemplate.

Returns
Type Description
ProjectsResource.LocationsResource.RestoreTemplatesResource.PatchRequest

Run(RunRestoreTemplateRequest, string)

Runs a RestoreTemplate.

Declaration
public virtual ProjectsResource.LocationsResource.RestoreTemplatesResource.RunRequest Run(RunRestoreTemplateRequest body, string name)
Parameters
Type Name Description
RunRestoreTemplateRequest body

The body of the request.

string name

Required. The name of the restore template to run. Format: 'projects/{project_id}/locations/{location}/restoreTemplates/{restore_template_id}'

Returns
Type Description
ProjectsResource.LocationsResource.RestoreTemplatesResource.RunRequest
In this article
Back to top Generated by DocFX