Class ProjectsResource.LocationsResource.BackupsResource
The "backups" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudAlloyDBAdmin.v1beta
Assembly: Google.Apis.CloudAlloyDBAdmin.v1beta.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 |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.BackupsResource.PatchRequest |