Class: Google::Cloud::GkeBackup::V1::BackupPlan::Schedule

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/gkebackup/v1/backup_plan.rb

Overview

Defines scheduling parameters for automatically creating Backups via this BackupPlan.

Instance Attribute Summary collapse

Instance Attribute Details

#cron_schedule::String

Returns Optional. A standard cron string that defines a repeating schedule for creating Backups via this BackupPlan. This is mutually exclusive with the rpo_config field since at most one schedule can be defined for a BackupPlan. If this is defined, then backup_retain_days must also be defined.

Default (empty): no automatic backup creation will occur.

Returns:

  • (::String)

    Optional. A standard cron string that defines a repeating schedule for creating Backups via this BackupPlan. This is mutually exclusive with the rpo_config field since at most one schedule can be defined for a BackupPlan. If this is defined, then backup_retain_days must also be defined.

    Default (empty): no automatic backup creation will occur.



190
191
192
193
# File 'proto_docs/google/cloud/gkebackup/v1/backup_plan.rb', line 190

class Schedule
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#next_scheduled_backup_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Start time of next scheduled backup under this BackupPlan by either cron_schedule or rpo config.

Returns:

  • (::Google::Protobuf::Timestamp)

    Output only. Start time of next scheduled backup under this BackupPlan by either cron_schedule or rpo config.



190
191
192
193
# File 'proto_docs/google/cloud/gkebackup/v1/backup_plan.rb', line 190

class Schedule
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#paused::Boolean

Returns Optional. This flag denotes whether automatic Backup creation is paused for this BackupPlan.

Default: False.

Returns:

  • (::Boolean)

    Optional. This flag denotes whether automatic Backup creation is paused for this BackupPlan.

    Default: False



190
191
192
193
# File 'proto_docs/google/cloud/gkebackup/v1/backup_plan.rb', line 190

class Schedule
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#rpo_config::Google::Cloud::GkeBackup::V1::RpoConfig

Returns Optional. Defines the RPO schedule configuration for this BackupPlan. This is mutually exclusive with the cron_schedule field since at most one schedule can be defined for a BackupPLan. If this is defined, then backup_retain_days must also be defined.

Default (empty): no automatic backup creation will occur.

Returns:



190
191
192
193
# File 'proto_docs/google/cloud/gkebackup/v1/backup_plan.rb', line 190

class Schedule
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end