Class ProjectsResource.DatabasesResource.BackupSchedulesResource
The "backupSchedules" collection of methods.
Inherited Members
Namespace: Google.Apis.Firestore.v1
Assembly: Google.Apis.Firestore.v1.dll
Syntax
public class ProjectsResource.DatabasesResource.BackupSchedulesResource
Constructors
BackupSchedulesResource(IClientService)
Constructs a new resource.
Declaration
public BackupSchedulesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GoogleFirestoreAdminV1BackupSchedule, string)
Creates a backup schedule on a database. At most two backup schedules can be configured on a database, one daily backup schedule and one weekly backup schedule.
Declaration
public virtual ProjectsResource.DatabasesResource.BackupSchedulesResource.CreateRequest Create(GoogleFirestoreAdminV1BackupSchedule body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleFirestoreAdminV1BackupSchedule | body | The body of the request. |
string | parent | Required. The parent database. Format |
Returns
Type | Description |
---|---|
ProjectsResource.DatabasesResource.BackupSchedulesResource.CreateRequest |
Delete(string)
Deletes a backup schedule.
Declaration
public virtual ProjectsResource.DatabasesResource.BackupSchedulesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the backup schedule. Format
|
Returns
Type | Description |
---|---|
ProjectsResource.DatabasesResource.BackupSchedulesResource.DeleteRequest |
Get(string)
Gets information about a backup schedule.
Declaration
public virtual ProjectsResource.DatabasesResource.BackupSchedulesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the backup schedule. Format
|
Returns
Type | Description |
---|---|
ProjectsResource.DatabasesResource.BackupSchedulesResource.GetRequest |
List(string)
List backup schedules.
Declaration
public virtual ProjectsResource.DatabasesResource.BackupSchedulesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent database. Format is |
Returns
Type | Description |
---|---|
ProjectsResource.DatabasesResource.BackupSchedulesResource.ListRequest |
Patch(GoogleFirestoreAdminV1BackupSchedule, string)
Updates a backup schedule.
Declaration
public virtual ProjectsResource.DatabasesResource.BackupSchedulesResource.PatchRequest Patch(GoogleFirestoreAdminV1BackupSchedule body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleFirestoreAdminV1BackupSchedule | body | The body of the request. |
string | name | Output only. The unique backup schedule identifier across all locations and databases for the given
project. This will be auto-assigned. Format is
|
Returns
Type | Description |
---|---|
ProjectsResource.DatabasesResource.BackupSchedulesResource.PatchRequest |