Class: Fog::Google::SQL::BackupRun

Inherits:
Model
  • Object
show all
Defined in:
lib/fog/google/models/sql/backup_run.rb

Overview

A database instance backup run resource

Constant Summary collapse

DONE_STATE =
'DONE'

Instance Method Summary collapse

Instance Method Details

#ready?Boolean

Checks if the instance backup run is done

Returns:

  • (Boolean)

    True if the backup run is done; False otherwise



28
29
30
# File 'lib/fog/google/models/sql/backup_run.rb', line 28

def ready?
  self.state == DONE_STATE
end