Module: GoogleExtensions::AttachedDisk
- Defined in:
- app/lib/google_extensions/attached_disk.rb
Instance Method Summary collapse
Instance Method Details
#_delete ⇒ Object
9 10 |
# File 'app/lib/google_extensions/attached_disk.rb', line 9 def _delete end |
#id ⇒ Object
6 7 |
# File 'app/lib/google_extensions/attached_disk.rb', line 6 def id end |
#insert_attrs ⇒ Object
12 13 14 15 16 |
# File 'app/lib/google_extensions/attached_disk.rb', line 12 def insert_attrs attrs = { name: device_name, size_gb: disk_size_gb } attrs[:source_image] = source if source.present? attrs end |
#persisted? ⇒ Boolean
3 4 |
# File 'app/lib/google_extensions/attached_disk.rb', line 3 def persisted? end |
#size_gb ⇒ Object
18 19 20 |
# File 'app/lib/google_extensions/attached_disk.rb', line 18 def size_gb disk_size_gb end |