Cloud Firestore Admin V1 API - Class Google::Cloud::Firestore::Admin::V1::BackupSchedule (v1.1.0)

Reference documentation and code samples for the Cloud Firestore Admin V1 API class Google::Cloud::Firestore::Admin::V1::BackupSchedule.

A backup schedule for a Cloud Firestore Database.

This resource is owned by the database it is backing up, and is deleted along with the database. The actual backups are not though.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::Timestamp) — Output only. The timestamp at which this backup schedule was created and effective since.

    No backups will be created for this schedule before this time.

#daily_recurrence

def daily_recurrence() -> ::Google::Cloud::Firestore::Admin::V1::DailyRecurrence
Returns

#daily_recurrence=

def daily_recurrence=(value) -> ::Google::Cloud::Firestore::Admin::V1::DailyRecurrence
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — Output only. The unique backup schedule identifier across all locations and databases for the given project.

    This will be auto-assigned.

    Format is projects/{project}/databases/{database}/backupSchedules/{backup_schedule}

#retention

def retention() -> ::Google::Protobuf::Duration
Returns
  • (::Google::Protobuf::Duration) — At what relative time in the future, compared to its creation time, the backup should be deleted, e.g. keep backups for 7 days.

    The maximum supported retention period is 14 weeks.

#retention=

def retention=(value) -> ::Google::Protobuf::Duration
Parameter
  • value (::Google::Protobuf::Duration) — At what relative time in the future, compared to its creation time, the backup should be deleted, e.g. keep backups for 7 days.

    The maximum supported retention period is 14 weeks.

Returns
  • (::Google::Protobuf::Duration) — At what relative time in the future, compared to its creation time, the backup should be deleted, e.g. keep backups for 7 days.

    The maximum supported retention period is 14 weeks.

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::Timestamp) — Output only. The timestamp at which this backup schedule was most recently updated. When a backup schedule is first created, this is the same as create_time.

#weekly_recurrence

def weekly_recurrence() -> ::Google::Cloud::Firestore::Admin::V1::WeeklyRecurrence
Returns

#weekly_recurrence=

def weekly_recurrence=(value) -> ::Google::Cloud::Firestore::Admin::V1::WeeklyRecurrence
Parameter
Returns