Sha256: eed231614e97f0f508f6c4f81e603194429905ec159fbfa48df803f5700253f9

Contents?: true

Size: 699 Bytes

Versions: 41

Compression:

Stored size: 699 Bytes

Contents

module Fog
  module Compute
    class Google
      class DiskType < Fog::Model
        identity :name

        attribute :kind
        attribute :id
        attribute :creation_timestamp, :aliases => "creationTimestamp"
        attribute :default_disk_size_gb, :aliases => "defaultDiskSizeGb"
        attribute :deprecated
        attribute :description
        attribute :self_link, :aliases => "selfLink"
        attribute :valid_disk_size, :aliases => "validDiskSize"
        attribute :zone

        def reload
          requires :identity, :zone

          data = collection.get(identity, zone)
          merge_attributes(data.attributes)
          self
        end
      end
    end
  end
end

Version data entries

41 entries across 41 versions & 2 rubygems

Version Path
fog-google-1.24.1 lib/fog/compute/google/models/disk_type.rb
fog-google-1.24.0 lib/fog/compute/google/models/disk_type.rb
fog-google-1.23.0 lib/fog/compute/google/models/disk_type.rb
fog-google-1.22.0 lib/fog/compute/google/models/disk_type.rb
fog-google-1.21.1 lib/fog/compute/google/models/disk_type.rb
fog-google-1.21.0 lib/fog/compute/google/models/disk_type.rb
fog-google-1.20.0 lib/fog/compute/google/models/disk_type.rb
fog-google-1.19.0 lib/fog/compute/google/models/disk_type.rb
fog-google-1.18.0 lib/fog/compute/google/models/disk_type.rb
fog-google-1.17.0 lib/fog/compute/google/models/disk_type.rb
fog-google-1.16.1 lib/fog/compute/google/models/disk_type.rb
fog-google-1.16.0 lib/fog/compute/google/models/disk_type.rb
fog-google-1.15.0 lib/fog/compute/google/models/disk_type.rb
fog-google-1.14.0 lib/fog/compute/google/models/disk_type.rb
gitlab-fog-google-1.14.0 lib/fog/compute/google/models/disk_type.rb
fog-google-1.13.0 lib/fog/compute/google/models/disk_type.rb
gitlab-fog-google-1.13.0 lib/fog/compute/google/models/disk_type.rb
fog-google-1.12.1 lib/fog/compute/google/models/disk_type.rb
fog-google-1.12.0 lib/fog/compute/google/models/disk_type.rb
fog-google-1.11.0 lib/fog/compute/google/models/disk_type.rb