Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.BackupsResource

The "backups" collection of methods.

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

Constructors

BackupsResource(IClientService)

Constructs a new resource.

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

Methods

Create(Backup, string)

Creates a new Backup in a given project and location.

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

The body of the request.

string parent

Required. Value for parent.

Returns
Type Description
ProjectsResource.LocationsResource.BackupsResource.CreateRequest

Delete(string)

Deletes a single Backup.

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

Required. Name of the resource. For the required format, see the comment on the Backup.name field.

Returns
Type Description
ProjectsResource.LocationsResource.BackupsResource.DeleteRequest

Get(string)

Gets details of a single Backup.

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

Required. Name of the resource

Returns
Type Description
ProjectsResource.LocationsResource.BackupsResource.GetRequest

List(string)

Lists Backups in a given project and location.

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

Required. Parent value for ListBackupsRequest

Returns
Type Description
ProjectsResource.LocationsResource.BackupsResource.ListRequest

Patch(Backup, string)

Updates the parameters of a single Backup.

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

The body of the request.

string name

Output only. The name of the backup resource with the format: * projects/{project}/locations/{region}/backups/{backup_id} where the cluster and backup ID segments should satisfy the regex expression [a-z]([a-z0-9-]{0,61}[a-z0-9])?, e.g. 1-63 characters of lowercase letters, numbers, and dashes, starting with a letter, and ending with a letter or number. For more details see https://google.aip.dev/122. The prefix of the backup resource name is the name of the parent resource: * projects/{project}/locations/{region}

Returns
Type Description
ProjectsResource.LocationsResource.BackupsResource.PatchRequest
In this article
Back to top Generated by DocFX